<xsd:simpleType name="anyDate"><xsd:annotation><xsd:documentation>A union of date and dateTime, so that time is not mandatory.</xsd:documentation></xsd:annotation><xsd:union memberTypes="xsd:dateTime xsd:date xsd:gYearMonth xsd:gYear"/></xsd:simpleType>

The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.

<xsd:complexType name="abstractMeasure" abstract="true"><xsd:annotation><xsd:documentation>The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractDouble"/></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="abstractDouble"><xsd:annotation><xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:double"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

The intended abstract supertype of all "units of measure".This abstract type allows the maximum length of a UOM enumeration to be centrally defined. This type is abstract in the sense that it should not be used directly except to derive another type.

<xsd:simpleType name="abstractUomEnum"><xsd:annotation><xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined. This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="24"/></xsd:restriction></xsd:simpleType>

The intended abstract supertype of all strings.This abstract type allows the control over whitespace for all strings to be defined at a high level. This type should not be used directly except to derive another type.

Diagram

Type

restriction of xsd:string

Facets

whiteSpace

collapse

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

<xsd:simpleType name="abstractString"><xsd:annotation><xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level. This type should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:whiteSpace value="collapse"><xsd:annotation><xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.</xsd:documentation></xsd:annotation></xsd:whiteSpace><xsd:minLength value="1"><xsd:annotation><xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not allowed.</xsd:documentation></xsd:annotation></xsd:minLength></xsd:restriction></xsd:simpleType>

A type with a classType attribute. This allows a user to give a classification of something, and to specify the type of classification that it is. There is no control over the class values, or the class types.

<xsd:complexType name="typeOptionalClassString"><xsd:annotation><xsd:documentation>A type with a classType attribute. This allows a user to give a classification of something, and to specify the type of classification that it is. There is no control over the class values, or the class types.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractNameString"><xsd:attribute name="classType" type="witsml:kindString" use="optional"><xsd:annotation><xsd:documentation>This identifies the classification system to which the class belongs.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable) semantic information will be extracted from the name by a third party.This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an enumeration.

<xsd:simpleType name="abstractNameString"><xsd:annotation><xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable) semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an enumeration.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="64"/></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="kindString" final="#all"><xsd:annotation><xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an enumerated list.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractTypeEnum"></xsd:restriction></xsd:simpleType>

The intended abstract supertype of all enumerated "types".This abstract type allows the maximum length of a type enumeration to be centrally defined.This type should not be used directly except to derive another type.It should also be used for uncontrolled strings which are candidates to become enumerations at a future date.

<xsd:simpleType name="abstractTypeEnum"><xsd:annotation><xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined. This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a future date.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="40"/></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="abstractBoolean"><xsd:annotation><xsd:documentation>This type disallows an "empty" boolean value. This type should not be used directly except to derive another type. All boolean types should be derived from this type rather than using xsd:boolen.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:boolean"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="abstractDate"><xsd:annotation><xsd:documentation>This type disallows an "empty" date value. This type should not be used directly except to derive another type. All dateTime types should be derived from this type rather than using xsd:dateTime.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:date"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="timestamp" final="#all"><xsd:annotation><xsd:documentation>A date with the time of day and an optional time zone. While the time zone is optional, it is strongly advised that the zone always be specified in each date time value.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractDateTime"/></xsd:simpleType>

<xsd:simpleType name="abstractDateTime"><xsd:annotation><xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be derived from this type rather than using xsd:dateTime.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:dateTime"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

pattern

[Z]|([-+](([01][0-9])|(2[0-3])):[0-5][0-9])

Source

<xsd:simpleType name="timeZone" final="#all"><xsd:annotation><xsd:documentation>A time zone conforming to the XSD:dateTime specification. It should be of the form "Z" or "shh.mm" where "s" is "+" or "-", "hh" is 00 to 23 and "mm" is 00 to 59.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:pattern value="[Z]|([-+](([01][0-9])|(2[0-3])):[0-5][0-9])"/></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="abstractYear"><xsd:annotation><xsd:documentation>This type disallows an "empty" gYear value. This type should not be used directly except to derive another type. All year types should be derived from this type rather than using xsd:gYear.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:gYear"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

<xsd:complexType name="yAxisAzimuth"><xsd:annotation><xsd:documentation>The angle of a Y axis from North. This is a variation of planeAngleMeasure with an attribute defining the direction of north.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:planeAngleUom" use="required"><xsd:annotation><xsd:documentation>The unit of measure of the azimuth value.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="northDirection" type="witsml:AziRef" use="optional"><xsd:annotation><xsd:documentation>Specifies the direction to be considered North for the y axis.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

40

enumeration

magnetic north

The north direction as defined by the magnetic north pole at the time of the measurement. The magnetic north pole is the direction that a magnet will point to when freely rotating.

enumeration

grid north

The north direction is defined by the coordinate grid in the projection coordinate system.

enumeration

true north

The north direction as defined by the true north pole. The true north pole is an average of the actual measured north axis, which is the axis of rotation of the earth.

enumeration

unknown

The value is not known. This value should not be usedin normal situations. All reasonable attempts should be made to determinethe appropriate value. Use of this value may result in rejection in some situations.

<xsd:simpleType name="AziRef"><xsd:restriction base="witsml:abstractTypeEnum"><xsd:enumeration value="magnetic north"><xsd:annotation><xsd:documentation>The north direction as defined by the magnetic north pole at the time of the measurement. The magnetic north pole is the direction that a magnet will point to when freely rotating.</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="grid north"><xsd:annotation><xsd:documentation>The north direction is defined by the coordinate grid in the projection coordinate system.</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="true north"><xsd:annotation><xsd:documentation>The north direction as defined by the true north pole. The true north pole is an average of the actual measured north axis, which is the axis of rotation of the earth.</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="unknown"><xsd:annotation><xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate value. Use of this value may result in rejection in some situations.</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType>

<xsd:complexType name="volumePerVolumeMeasurePercent"><xsd:annotation><xsd:documentation>A volume per volume measure that is constrained to a unit of percent.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:PercentUom" use="required"/></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="unitlessQuantity" final="#all"><xsd:annotation><xsd:documentation>A unitless quantity. This should not be confused with a dimensionless measure.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractDouble"/></xsd:simpleType>

The unit of measure for the quantity.The uom is mandatory unless the value represents a unitless quantity.

Source

<xsd:complexType name="genericMeasure"><xsd:annotation><xsd:documentation>A generic measure type. This should not be used except in situations where the underlying class of data is captured elsewhere. For example, for a log curve.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:uomString" use="optional"><xsd:annotation><xsd:documentation>The unit of measure for the quantity. The uom is mandatory unless the value represents a unitless quantity.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="nonNegativeCount" final="#all"><xsd:annotation><xsd:documentation>A non-negative integer (zero based count or index) with a maximum value of 32767 (2-bytes). For items that represent "number of" something or a "sequential" count or index.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractShort"><xsd:minInclusive value="0"><xsd:annotation><xsd:documentation>This value can be zero but cannot be negative.</xsd:documentation></xsd:annotation></xsd:minInclusive></xsd:restriction></xsd:simpleType>

<xsd:simpleType name="abstractShort"><xsd:annotation><xsd:documentation>This type disallows an "empty" short value. This type should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:short"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

Representation of a number as a double, possibly qualified as a ratio of doubles. Ratio component attributes 'numerator' and 'denominator' may be both present or both absent. When ratio component attributes are present, the ratio represented is to be used withthe double representation included for human readability.A 'canonical' representation, according to the following rules, is suggested:Only use numerator/denominator when the representation of the number as double is not sufficiently precise (i. e. causes errors of accumulation).Express both numerator and denominator as integers (doubles with integer values) reduced to 'least common denominator' if possible.

The unit of measure for the quantity.If for some reason a uom is not appropriate for the quantity,a unit of "Euc" should be used.

Source

<xsd:complexType name="ratioGenericMeasure"><xsd:annotation><xsd:documentation>Representation of a number as a double, possibly qualified as a ratio of doubles. Ratio component attributes 'numerator' and 'denominator' may be both present or both absent. When ratio component attributes are present, the ratio represented is to be used with the double representation included for human readability. A 'canonical' representation, according to the following rules, is suggested: Only use numerator/denominator when the representation of the number as double is not sufficiently precise (i. e. causes errors of accumulation). Express both numerator and denominator as integers (doubles with integer values) reduced to 'least common denominator' if possible.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:uomString" use="required"><xsd:annotation><xsd:documentation>The unit of measure for the quantity. If for some reason a uom is not appropriate for the quantity, a unit of "Euc" should be used.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="numerator" type="witsml:unitlessQuantity" use="optional"/><xsd:attribute name="denominator" type="witsml:unitlessQuantity" use="optional"/></xsd:extension></xsd:simpleContent></xsd:complexType>

A reference to the unique identifier (uid attribute) in the nodereferenced by the name value. This attribute is required within the context of a WITSML server.

Source

<xsd:complexType name="refNameString" final="#all"><xsd:annotation><xsd:documentation>A reference to a name in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractNameString"><xsd:attribute name="uidRef" type="witsml:refString" use="optional"><xsd:annotation><xsd:documentation>A reference to the unique identifier (uid attribute) in the node referenced by the name value. This attribute is required within the context of a WITSML server.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="refString" final="#all"><xsd:annotation><xsd:documentation>A reference to the unique identifier of another element. This value represents a foreign key from one element to another. The value should match the value of an attribute of type uidString.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractUidString"/></xsd:simpleType>

The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server).Spaces are not allowed.

<xsd:simpleType name="abstractUidString"><xsd:annotation><xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="64"/><xsd:pattern value="[^ ]*"/></xsd:restriction></xsd:simpleType>

A reference to the unique identifier (uid attribute) in the objectreferenced by the name value. This attribute is required within the context of a WITSML server.

Source

<xsd:complexType name="refObjectString" final="#all"><xsd:annotation><xsd:documentation>A reference to a name in another object. This value represents a foreign key from one object to another. Knowledge of the object being referenced is defined by an attribute.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractNameString"><xsd:attribute name="object" type="witsml:nameString" use="required"><xsd:annotation><xsd:documentation>The name of the singular object being referenced.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="uidRef" type="witsml:refString" use="optional"><xsd:annotation><xsd:documentation>A reference to the unique identifier (uid attribute) in the object referenced by the name value. This attribute is required within the context of a WITSML server.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be extracted from the name by a third party.This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an enumeration.

<xsd:simpleType name="nameString" final="#all"><xsd:annotation><xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an enumeration.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractNameString"/></xsd:simpleType>

A reference to the unique identifier (uid attribute) in the nodereferenced by the index value. This attribute is required within the context of a WITSML server.

Source

<xsd:complexType name="refPositiveCount" final="#all"><xsd:annotation><xsd:documentation>A reference to a index value in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractPositiveCount"><xsd:attribute name="uidRef" type="witsml:refString" use="optional"><xsd:annotation><xsd:documentation>A reference to the unique identifier (uid attribute) in the node referenced by the index value. This attribute is required within the context of a WITSML server.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

A reference to a wellDatum in the current well. This value must match the uid value in a WellDatum. This value represents a foreign key from one element to another.This is an exception to the convention that a foreign key must utilize both a human contextual name and a uid value. For messages outside the context ofa server then this value will commonly match the value of the name of the wellDatum (e.g., 'KB') if uids are not not used in that context.This was a compromise in order to allow the coordinate structures to be simpleand still be usable both within the context of a server and outside the context of a server.

<xsd:simpleType name="refWellDatum" final="#all"><xsd:annotation><xsd:documentation>A reference to a wellDatum in the current well. This value must match the uid value in a WellDatum. This value represents a foreign key from one element to another. This is an exception to the convention that a foreign key must utilize both a human contextual name and a uid value. For messages outside the context of a server then this value will commonly match the value of the name of the wellDatum (e.g., 'KB') if uids are not not used in that context. This was a compromise in order to allow the coordinate structures to be simple and still be usable both within the context of a server and outside the context of a server.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractUidString"/></xsd:simpleType>

A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

4000

This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a VARCHAR2 in Oracle 8.

Source

<xsd:simpleType name="commentString" final="#all"><xsd:annotation><xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractCommentString"/></xsd:simpleType>

The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).

<xsd:simpleType name="abstractCommentString"><xsd:annotation><xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractMaximumLengthString"/></xsd:simpleType>

<xsd:simpleType name="abstractMaximumLengthString"><xsd:annotation><xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="4000"><xsd:annotation><xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a VARCHAR2 in Oracle 8.</xsd:documentation></xsd:annotation></xsd:maxLength></xsd:restriction></xsd:simpleType>

An encoded value or values. The encoding may utilize any of several xsd encodings. Something external to the value mustdefine the encoding. The uom attribute is optional because the value may be a string or unitless quantity. If the value is a measure thenthe uom must be specified.

<xsd:complexType name="encodedArrayString"><xsd:annotation><xsd:documentation>An encoded value or values. The encoding may utilize any of several xsd encodings. Something external to the value must define the encoding. The uom attribute is optional because the value may be a string or unitless quantity. If the value is a measure then the uom must be specified.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMaximumLengthString"><xsd:attribute name="uom" type="witsml:uomString" use="optional"/></xsd:extension></xsd:simpleContent></xsd:complexType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

32

Source

<xsd:simpleType name="encodedValueString" final="#all"><xsd:annotation><xsd:documentation>A single value. The encoding may utilize any of several xsd encodings. Something external to the value must define the encoding.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="32"/></xsd:restriction></xsd:simpleType>

A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server).

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

64

pattern

[^ ]*

Source

<xsd:simpleType name="uidString" final="#all"><xsd:annotation><xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server).</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractUidString"/></xsd:simpleType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

16

pattern

1\.3\.1\.([1-9]|([1-9][0-9]))

Source

<xsd:simpleType name="schemaVersionString" final="#all"><xsd:annotation><xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent on the constraints defined in enumerations and XML loader files.</xsd:documentation></xsd:annotation><xsd:restriction base="witsml:abstractString"><xsd:maxLength value="16"/><xsd:pattern value="1\.3\.1\.([1-9]|([1-9][0-9]))"/></xsd:restriction></xsd:simpleType>

<xsd:complexType name="nameStruct" final="#all"><xsd:annotation><xsd:documentation>The name of something within a naming system.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractNameString"><xsd:attribute name="namingSystem" type="witsml:nameString" use="optional"><xsd:annotation><xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:complexType name="wellKnownNameStruct" final="#all"><xsd:annotation><xsd:documentation>The name of something within a mandatory naming system with an optional code.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractNameString"><xsd:attribute name="namingSystem" type="witsml:nameString" use="required"><xsd:annotation><xsd:documentation>The naming system within the name is unique.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="code" type="witsml:kindString" use="optional"><xsd:annotation><xsd:documentation>A unique (short) code associated with the name.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="abstractUncollapsedString"><xsd:annotation><xsd:documentation>The intended abstract supertype of all strings that must maintain whitespace. The type abstractString should normally be used. This type should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:minLength value="1"><xsd:annotation><xsd:documentation>The empty string is not allowed.</xsd:documentation></xsd:annotation></xsd:minLength></xsd:restriction></xsd:simpleType>

A measured depth coordinate in a wellbore. Positive moving from the reference datum toward the bottomhole.All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.

<xsd:complexType name="measuredDepthCoord" final="#all"><xsd:annotation><xsd:documentation>A measured depth coordinate in a wellbore. Positive moving from the reference datum toward the bottomhole. All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:MeasuredDepthUom" use="required"><xsd:annotation><xsd:documentation>The unit of measure of the quantity value.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="datum" type="witsml:refWellDatum" use="optional"><xsd:annotation><xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. This value is assumed to match the uid value in a WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

A vertical (gravity based) depth coordinate within the context of a well.Positive moving downward from the reference datum. All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.

<xsd:complexType name="wellVerticalDepthCoord" final="#all"><xsd:annotation><xsd:documentation>A vertical (gravity based) depth coordinate within the context of a well. Positive moving downward from the reference datum. All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required"><xsd:annotation><xsd:documentation>The unit of measure of the quantity value.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="datum" type="witsml:refWellDatum" use="optional"><xsd:annotation><xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

A vertical (gravity based) elevation coordinate within the context of a well.Positive moving upward from the reference datum. All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.

The unit of measure of the quantity value.If not given then the default unit of measure of the explicitlyor implicitly given datum must be assumed.

Source

<xsd:complexType name="wellElevationCoord" final="#all"><xsd:annotation><xsd:documentation>A vertical (gravity based) elevation coordinate within the context of a well. Positive moving upward from the reference datum. All coordinates with the same datum (and same uom) can be considered to be in the same Coordinate Reference System and are thus directly comparable.</xsd:documentation></xsd:annotation><xsd:simpleContent><xsd:extension base="witsml:abstractMeasure"><xsd:attribute name="uom" type="witsml:WellVerticalCoordinateUom" use="required"><xsd:annotation><xsd:documentation>The unit of measure of the quantity value. If not given then the default unit of measure of the explicitly or implicitly given datum must be assumed.</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="datum" type="witsml:refWellDatum" use="optional"><xsd:annotation><xsd:documentation>A pointer to the reference datum for this coordinate value as defined in WellDatum. If not given then the default WellDatum must be assumed.</xsd:documentation></xsd:annotation></xsd:attribute></xsd:extension></xsd:simpleContent></xsd:complexType>

<xsd:simpleType name="abstractInt"><xsd:annotation><xsd:documentation>This type disallows an "empty" int value. This type should not be used directly except to derive another type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:int"><xsd:pattern value=".+"/></xsd:restriction></xsd:simpleType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

40

enumeration

planned

enumeration

unplanned

enumeration

downtime

enumeration

unknown

The value is not known. This value should not be usedin normal situations. All reasonable attempts should be made to determinethe appropriate value. Use of this value may result in rejection in some situations.

Source

<xsd:simpleType name="ActivityClassType"><xsd:restriction base="witsml:abstractTypeEnum"><xsd:enumeration value="planned"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="unplanned"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="downtime"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="unknown"><xsd:annotation><xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate value. Use of this value may result in rejection in some situations.</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

40

enumeration

oil seal

enumeration

mud lube

enumeration

other

enumeration

unknown

The value is not known. This value should not be usedin normal situations. All reasonable attempts should be made to determinethe appropriate value. Use of this value may result in rejection in some situations.

Source

<xsd:simpleType name="BearingType"><xsd:restriction base="witsml:abstractTypeEnum"><xsd:enumeration value="oil seal"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="mud lube"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="other"><xsd:annotation><xsd:documentation/></xsd:annotation></xsd:enumeration><xsd:enumeration value="unknown"><xsd:annotation><xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate value. Use of this value may result in rejection in some situations.</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType>

Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and trailing spaces.

minLength

1

The empty string is not allowed.This constraint conbined with the whiteSpace collapse constraint meansthat a blank value is not allowed.

maxLength

40

enumeration

BC

Broken Cone

enumeration

BT

Broken teeth/cutters

enumeration

BU

Balled Up

enumeration

CC

Cracked Cone

enumeration

CD

Cone Dragged

enumeration

CI

Cone Interference

enumeration

CR

Cored

enumeration

CT

Chipped Teeth

enumeration

ER

Erosion

enumeration

FC

Flat Crested Wear

enumeration

HC

Heat Checking

enumeration

JD

Junk Damage

enumeration

LC

Lost Nozzle

enumeration

LN

Lost Nozzle

enumeration

LT

Lost Teeth/Cutters

enumeration

NO

No Dull/No Other Wear

enumeration

OC

Off-Center Wear

enumeration

PB

Pinched Bit

enumeration

PN

Plugged Nozzle

enumeration

RG

Rounded Gauge

enumeration

RO

Ring Out

enumeration

SD

Shirttail Damage

enumeration

SS

Self-Sharpening Wear

enumeration

TR

Tracking

enumeration

WO

WashOut on Bit

enumeration

WT

Worn Teeth/Cutters

enumeration

unknown

The value is not known. This value should not be usedin normal situations. All reasonable attempts should be made to determinethe appropriate value. Use of this value may result in rejection in some situations.