[16] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsd:schema |
---|
| 3 | elementFormDefault="qualified" |
---|
| 4 | attributeFormDefault="unqualified" |
---|
| 5 | targetNamespace="http://www.witsml.org/schemas/131" |
---|
| 6 | xmlns:witsml="http://www.witsml.org/schemas/131" |
---|
| 7 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
---|
| 8 | <!-- --> |
---|
| 9 | <!-- POSC License Agreement |
---|
| 10 | This file is distributed under the POSC License Agreement at |
---|
| 11 | http://www.posc.org/about/license.shtml. |
---|
| 12 | Use of this file constitutes agreement with the POSC License Agreement. |
---|
| 13 | --> |
---|
| 14 | <!-- --> |
---|
| 15 | <xsd:include schemaLocation="typ_dataTypes.xsd"/> |
---|
| 16 | <!-- --> |
---|
| 17 | <xsd:annotation> |
---|
| 18 | <xsd:documentation>Schema for listing standardized values as an alternative |
---|
| 19 | to using an enumeration in XML Schema.</xsd:documentation> |
---|
| 20 | </xsd:annotation> |
---|
| 21 | <!-- --> |
---|
| 22 | <xsd:element name="enumListSet" type="witsml:enumListSet"> |
---|
| 23 | <xsd:annotation> |
---|
| 24 | <xsd:documentation>A container for enumeration lists.</xsd:documentation> |
---|
| 25 | </xsd:annotation> |
---|
| 26 | </xsd:element> |
---|
| 27 | <!-- --> |
---|
| 28 | <xsd:complexType name="enumListSet"> |
---|
| 29 | <xsd:sequence> |
---|
| 30 | <xsd:element name="enumList" type="witsml:enumList" minOccurs="1" maxOccurs="unbounded"> |
---|
| 31 | <xsd:annotation> |
---|
| 32 | <xsd:documentation>A single enumeration list.</xsd:documentation> |
---|
| 33 | </xsd:annotation> |
---|
| 34 | </xsd:element> |
---|
| 35 | </xsd:sequence> |
---|
| 36 | <xsd:attribute name="version" type="witsml:schemaVersionString" use="required"> |
---|
| 37 | <xsd:annotation> |
---|
| 38 | <xsd:documentation>Data object schema version. The fourth level must match the |
---|
| 39 | version of the schema constraints (enumerations and XML loader files) that are assumed |
---|
| 40 | by the document instance.</xsd:documentation> |
---|
| 41 | </xsd:annotation> |
---|
| 42 | </xsd:attribute> |
---|
| 43 | </xsd:complexType> |
---|
| 44 | <!-- --> |
---|
| 45 | <xsd:complexType name="enumList"> |
---|
| 46 | <xsd:sequence> |
---|
| 47 | <xsd:element name="name" type="witsml:str32" minOccurs="1" maxOccurs="1"> |
---|
| 48 | <xsd:annotation> |
---|
| 49 | <xsd:documentation>The name of the list.</xsd:documentation> |
---|
| 50 | </xsd:annotation> |
---|
| 51 | </xsd:element> |
---|
| 52 | <xsd:element name="description" type="witsml:commentString" minOccurs="0" maxOccurs="1"> |
---|
| 53 | <xsd:annotation> |
---|
| 54 | <xsd:documentation>A description of the list. |
---|
| 55 | This specifies what the individual values represent.</xsd:documentation> |
---|
| 56 | </xsd:annotation> |
---|
| 57 | </xsd:element> |
---|
| 58 | <xsd:element name="namingSystem" type="witsml:nameString" minOccurs="0" maxOccurs="1"> |
---|
| 59 | <xsd:annotation> |
---|
| 60 | <xsd:documentation>The naming system within which the terms are defined.</xsd:documentation> |
---|
| 61 | </xsd:annotation> |
---|
| 62 | </xsd:element> |
---|
| 63 | <xsd:element name="value" type="witsml:enumValue" minOccurs="1" maxOccurs="unbounded"> |
---|
| 64 | <xsd:annotation> |
---|
| 65 | <xsd:documentation>A description of an enumberation value.</xsd:documentation> |
---|
| 66 | </xsd:annotation> |
---|
| 67 | </xsd:element> |
---|
| 68 | </xsd:sequence> |
---|
| 69 | </xsd:complexType> |
---|
| 70 | <!-- --> |
---|
| 71 | <xsd:complexType name="enumValue"> |
---|
| 72 | <xsd:sequence> |
---|
| 73 | <xsd:element name="name" type="witsml:kindString" minOccurs="1" maxOccurs="1"> |
---|
| 74 | <xsd:annotation> |
---|
| 75 | <xsd:documentation>The name of the value.</xsd:documentation> |
---|
| 76 | </xsd:annotation> |
---|
| 77 | </xsd:element> |
---|
| 78 | <xsd:element name="description" type="witsml:commentString" minOccurs="0" maxOccurs="1"> |
---|
| 79 | <xsd:annotation> |
---|
| 80 | <xsd:documentation>A description of the value. </xsd:documentation> |
---|
| 81 | </xsd:annotation> |
---|
| 82 | </xsd:element> |
---|
| 83 | <xsd:element name="deprecated" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> |
---|
| 84 | <xsd:annotation> |
---|
| 85 | <xsd:documentation>True (false or 1) indicates that the value has |
---|
| 86 | been deprecated and may be removed in future versions.</xsd:documentation> |
---|
| 87 | </xsd:annotation> |
---|
| 88 | </xsd:element> |
---|
| 89 | </xsd:sequence> |
---|
| 90 | </xsd:complexType> |
---|
| 91 | <!-- --> |
---|
| 92 | </xsd:schema> |
---|