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 | version="1.3.1"> |
---|
9 | <!-- --> |
---|
10 | <!-- POSC License Agreement |
---|
11 | This file is distributed under the POSC License Agreement at |
---|
12 | http://www.posc.org/about/license.shtml. |
---|
13 | Use of this file constitutes agreement with the POSC License Agreement. |
---|
14 | --> |
---|
15 | <!-- --> |
---|
16 | <xsd:include schemaLocation="typ_dataTypes.xsd"/> |
---|
17 | <xsd:include schemaLocation="attgrp_uid.xsd"/> |
---|
18 | <!-- --> |
---|
19 | <xsd:complexType name="cs_axisDefinition"> |
---|
20 | <xsd:annotation> |
---|
21 | <xsd:documentation>Metadata by which the array structure of a compound value is defined. |
---|
22 | This defines one axis of an array. |
---|
23 | </xsd:documentation> |
---|
24 | </xsd:annotation> |
---|
25 | <xsd:sequence> |
---|
26 | <xsd:element name="order" type="witsml:positiveCount" minOccurs="1" maxOccurs="1"> |
---|
27 | <xsd:annotation> |
---|
28 | <xsd:documentation>The order of this axis. The order should |
---|
29 | begin with one and increment by one for each additional axis. |
---|
30 | The order indicates how fast the index of the axis varies |
---|
31 | in the serialized list of values. |
---|
32 | The index of an axis with an order of one varies the slowest. |
---|
33 | The index of an axis with an order of two varies the next slowest. |
---|
34 | And so on. This is the same ordering that is used in the C programming language. |
---|
35 | For example, the following array: |
---|
36 | [ x axis ] |
---|
37 | | z11 z12 z13 |
---|
38 | y axis: z21 z22 z23 |
---|
39 | | z31 z32 z33 |
---|
40 | | z41 z42 z43 |
---|
41 | may be encoded as follows: |
---|
42 | axisDefinition[order=1].name='x' |
---|
43 | axisDefinition[order=1].count='3' |
---|
44 | axisDefinition[order=2].name='y' |
---|
45 | axisDefinition[order=2].count='4' |
---|
46 | { z11 z21 z31 z41 z12 z22 z32 z42 z13 z23 z33 z43 } |
---|
47 | or alternatively: |
---|
48 | axisDefinition[order=1].name='y' |
---|
49 | axisDefinition[order=1].count='4' |
---|
50 | axisDefinition[order=2].name='x' |
---|
51 | axisDefinition[order=2].count='3' |
---|
52 | { z11 z12 z13 z21 z22 z23 z31 z32 z33 z41 z42 z43 } |
---|
53 | </xsd:documentation> |
---|
54 | </xsd:annotation> |
---|
55 | </xsd:element> |
---|
56 | <xsd:element name="count" type="witsml:positiveCount" minOccurs="1" maxOccurs="1"> |
---|
57 | <xsd:annotation> |
---|
58 | <xsd:documentation>The count of elements along this axis of the array.</xsd:documentation> |
---|
59 | </xsd:annotation> |
---|
60 | </xsd:element> |
---|
61 | <xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1"> |
---|
62 | <xsd:annotation> |
---|
63 | <xsd:documentation>The name of the array axis.</xsd:documentation> |
---|
64 | </xsd:annotation> |
---|
65 | </xsd:element> |
---|
66 | <xsd:element name="propertyType" type="witsml:nameString" minOccurs="0" maxOccurs="1"> |
---|
67 | <xsd:annotation> |
---|
68 | <xsd:documentation>The property type by which the array axis is classified.</xsd:documentation> |
---|
69 | </xsd:annotation> |
---|
70 | </xsd:element> |
---|
71 | <xsd:element name="uom" type="witsml:uomString" minOccurs="0" maxOccurs="1"> |
---|
72 | <xsd:annotation> |
---|
73 | <xsd:documentation>A string representing the units of measure of the axis values.</xsd:documentation> |
---|
74 | </xsd:annotation> |
---|
75 | </xsd:element> |
---|
76 | <xsd:choice minOccurs="1" maxOccurs="1"> |
---|
77 | <xsd:element name="doubleValues" type="witsml:listOfDouble" minOccurs="0" maxOccurs="1"> |
---|
78 | <xsd:annotation> |
---|
79 | <xsd:documentation>The serialziation of the axis positions of an array as a |
---|
80 | whitespace-delimited list values of type xsd:double. If the length of this list |
---|
81 | is less than 'count' then the difference in the last two values represents the increment |
---|
82 | to be used to fill out the list. For example, the list '2 4' with count=4 |
---|
83 | represents the list '2 4 6 8'.</xsd:documentation> |
---|
84 | </xsd:annotation> |
---|
85 | </xsd:element> |
---|
86 | <xsd:element name="stringValues" type="witsml:listOfString" minOccurs="0" maxOccurs="1"> |
---|
87 | <xsd:annotation> |
---|
88 | <xsd:documentation>The serialziation of the axis positions of an array as |
---|
89 | a whitespace-delimited list values of type xsd:String. |
---|
90 | Note: the serialization of string elements with embedded whitespace cannot |
---|
91 | be properly decoded.</xsd:documentation> |
---|
92 | </xsd:annotation> |
---|
93 | </xsd:element> |
---|
94 | </xsd:choice> |
---|
95 | </xsd:sequence> |
---|
96 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
97 | <xsd:annotation> |
---|
98 | <xsd:documentation>Unique identifier for the axis. </xsd:documentation> |
---|
99 | </xsd:annotation> |
---|
100 | </xsd:attributeGroup> |
---|
101 | </xsd:complexType> |
---|
102 | </xsd:schema> |
---|