Documentation for WITSML_Composite

Table of Contents

Master schema documentation file: WITSML_Composite.xsd.html


Schema Document Properties

Target Namespace
Version 1.3.1
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition

Declared Namespaces

Prefix Namespace
Schema Component Representation
<xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="" version="1.3.1">
<xsd:include schemaLocation="cs_location.xsd"/>
<xsd:include schemaLocation="cs_referencePoint.xsd"/>
<xsd:include schemaLocation="cs_wellCRS.xsd"/>
<xsd:include schemaLocation="cs_wellDatum.xsd"/>

Global Definitions

Model Group: grp_well

Name grp_well
Documentation The non-contextual content of a WITSML Well object.
XML Instance Representation
<witsml:nameLegal> witsml:nameString </witsml:nameLegal> [0..1]

'Legal name of the well.'

<witsml:numLicense> witsml:nameString </witsml:numLicense> [0..1]

'License number of the well.'

<witsml:numGovt> witsml:nameString </witsml:numGovt> [0..1]

'Government assigned well number.'

<witsml:dTimLicense> witsml:timestamp </witsml:dTimLicense> [0..1]

'Date and time license was issued.'

<witsml:field> witsml:nameString </witsml:field> [0..1]

'Name of the field in which the well is located.'

<witsml:country> witsml:str32 </witsml:country> [0..1]

'Country in which well is located.'

<witsml:state> witsml:str32 </witsml:state> [0..1]

'State or province in which well is located.'

<witsml:county> witsml:str32 </witsml:county> [0..1]

'County in which the well is located.'

<witsml:region> witsml:str32 </witsml:region> [0..1]

'Geo-political region.'

<witsml:district> witsml:str32 </witsml:district> [0..1]

'Geo-political district name.'

<witsml:block> witsml:str32 </witsml:block> [0..1]

'Block name in which well is located.'

<witsml:timeZone> witsml:timeZone </witsml:timeZone> [0..1]

'The time zone in which well is located. It is the deviation in hours and minutes from UTC. This should be the normal time zone at the well and not a seasonally adjusted value such as daylight savings time. While the time zone is optional in a date time value, it is strongly advised that the zone always be specified in each date time value. The time zone in a date time value may use seasonally adjusted values.'

<witsml:operator> witsml:nameString </witsml:operator> [0..1]

'Operator company name.'

<witsml:operatorDiv> witsml:nameString </witsml:operatorDiv> [0..1]

'Division of operator company.'

<witsml:pcInterest> witsml:dimensionlessMeasure </witsml:pcInterest> [0..1]

'Interest for Operator. Commonly in percent.'

<witsml:numAPI> witsml:str32 </witsml:numAPI> [0..1]

'American Petroleum Institute well number.'

<witsml:statusWell> witsml:WellStatus </witsml:statusWell> [0..1]

'POSC Well status.'

<witsml:purposeWell> witsml:WellPurpose </witsml:purposeWell> [0..1]

'POSC well purpose.'

<witsml:fluidWell> witsml:WellFluid </witsml:fluidWell> [0..1]

'POSC well fluid. The type of fluid being produced from or injected into a well facility.'

<witsml:directionWell> witsml:WellDirection </witsml:directionWell> [0..1]

'POSC well direction. The direction of flow of the fluids in a well facility (generally, injected or produced, or some combination).'

<witsml:dTimSpud> witsml:timestamp </witsml:dTimSpud> [0..1]

'Date and time at which well was spudded.'

<witsml:dTimPa> witsml:timestamp </witsml:dTimPa> [0..1]

'Date and time at which well was plugged and abandoned.'

<witsml:wellheadElevation> witsml:wellElevationCoord </witsml:wellheadElevation> [0..1]

'Elevation of wellhead relative to a wellDatum.'

<witsml:wellDatum> witsml:cs_wellDatum </witsml:wellDatum> [0..*]

'A datum to which elevations and depths are referenced.'

<witsml:groundElevation> witsml:wellElevationCoord </witsml:groundElevation> [0..1]

'Elevation of ground level (land rigs).'

<witsml:waterDepth> witsml:wellVerticalDepthCoord </witsml:waterDepth> [0..1]

'Depth of water (not land rigs).'

<witsml:wellLocation> witsml:cs_location </witsml:wellLocation> [0..*]

'the 2D coordinates of the well surface point in one coordinate reference system. This is where the well crosses ground level on land and crosses the platform offshore.'

<witsml:referencePoint> witsml:cs_referencePoint </witsml:referencePoint> [0..*]

'Defines a reference point within the context of the well.'

<witsml:wellCRS> witsml:cs_wellCRS </witsml:wellCRS> [0..*]

'A coordinate reference system that was used within the context of this well.'

h-269201247 h-269201247 h-269201247 h-622169519 h-269201247 h-1080026357 h-1080026357 h-1080026357 h-1080026357 h-1080026357 h-1080026357 h-990650498 h-269201247 h-269201247 h1273944132 h-1080026357 h1490011301 h622370507 h1144218295 h1547366892 h-622169519 h-622169519 h-456498133 h-1833440233 h-456498133 h-1009811941 h1016572191 h-1029910801 h96414604
Schema Component Representation
<xsd:group name="grp_well">
<xsd:element name="nameLegal" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="numLicense" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="numGovt" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="dTimLicense" type=" witsml:timestamp " minOccurs="0" maxOccurs="1"/>
<xsd:element name="field" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="country" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="state" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="county" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="region" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="district" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="block" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="timeZone" type=" witsml:timeZone " minOccurs="0" maxOccurs="1"/>
<xsd:element name="operator" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="operatorDiv" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="pcInterest" type=" witsml:dimensionlessMeasure " minOccurs="0" maxOccurs="1"/>
<xsd:element name="numAPI" type=" witsml:str32 " minOccurs="0" maxOccurs="1"/>
<xsd:element name="statusWell" type=" witsml:WellStatus " minOccurs="0" maxOccurs="1"/>
<xsd:element name="purposeWell" type=" witsml:WellPurpose " minOccurs="0" maxOccurs="1"/>
<xsd:element name="fluidWell" type=" witsml:WellFluid " minOccurs="0" maxOccurs="1"/>
<xsd:element name="directionWell" type=" witsml:WellDirection " minOccurs="0" maxOccurs="1"/>
<xsd:element name="dTimSpud" type=" witsml:timestamp " minOccurs="0" maxOccurs="1"/>
<xsd:element name="dTimPa" type=" witsml:timestamp " minOccurs="0" maxOccurs="1"/>
<xsd:element name="wellheadElevation" type=" witsml:wellElevationCoord " minOccurs="0" maxOccurs="1"/>
<xsd:element name="wellDatum" type=" witsml:cs_wellDatum " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="groundElevation" type=" witsml:wellElevationCoord " minOccurs="0" maxOccurs="1"/>
<xsd:element name="waterDepth" type=" witsml:wellVerticalDepthCoord " minOccurs="0" maxOccurs="1"/>
<xsd:element name="wellLocation" type=" witsml:cs_location " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="referencePoint" type=" witsml:cs_referencePoint " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="wellCRS" type=" witsml:cs_wellCRS " minOccurs="0" maxOccurs="unbounded"/>


Complex Type:

Schema Component Type


Schema Component Name
Super-types: Address < AusAddress (by extension)
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<extension base=" Address ">
<element name="state" type=" AusStates "/>
<element name="postcode">
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
<attribute name="country" type=" string " fixed="Australia"/>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)


Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See:

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See:

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See:

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See:

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See:

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See:

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See:

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: