root / projects / DailyProductionReport_1.0 / XML / Version1.0 / WITSML131 / obj_message.xsd @ 16

Revision 16, 4.9 kB (checked in by ryland, 15 years ago)
Line 
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="cs_documentInfo.xsd"/>
16        <xsd:include schemaLocation="grp_message.xsd"/>
17        <xsd:include schemaLocation="cs_commonData.xsd"/>
18        <xsd:include schemaLocation="cs_customData.xsd"/>
19        <xsd:include schemaLocation="attgrp_uid.xsd"/>
20        <!--                                                         -->
21        <xsd:annotation>
22                <xsd:documentation> WITSML message schema. </xsd:documentation>
23        </xsd:annotation>
24        <!--                                                         -->
25        <xsd:element name="messages" type="witsml:obj_messages">
26                <xsd:annotation>
27                        <xsd:documentation>The WITSML API mandated plural root element which allows
28                        multiple singular objects to be sent. The plural name is formed by adding
29                        an "s" to the singular name.</xsd:documentation>
30                </xsd:annotation>
31        </xsd:element>
32        <!--                                                         -->
33        <xsd:complexType name="obj_messages">
34                <xsd:sequence>
35                        <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
36                                <xsd:annotation>
37                                        <xsd:documentation>Information about the XML message instance.  </xsd:documentation>
38                                </xsd:annotation>
39                        </xsd:element>
40                        <xsd:element name="message" type="witsml:obj_message" minOccurs="1" maxOccurs="unbounded">
41                                <xsd:annotation>
42                                        <xsd:documentation>A single message.  </xsd:documentation>
43                                </xsd:annotation>
44                        </xsd:element>
45                </xsd:sequence>
46                <xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
47                        <xsd:annotation>
48                                <xsd:documentation>Data object schema version.  The fourth level must match the
49                                version of the schema constraints (enumerations and XML loader files) that are assumed
50                                by the document instance.</xsd:documentation>
51                        </xsd:annotation>
52                </xsd:attribute>
53        </xsd:complexType>
54        <!--                                                         -->
55        <xsd:complexType name="obj_message">
56                <xsd:sequence>
57                        <xsd:element name="nameWell" type="witsml:nameString" minOccurs="1" maxOccurs="1">
58                                <xsd:annotation>
59                                        <xsd:documentation>Human recognizable context for the well that contains the wellbore.  </xsd:documentation>
60                                </xsd:annotation>
61                        </xsd:element>
62                        <xsd:element name="nameWellbore" type="witsml:nameString" minOccurs="1" maxOccurs="1">
63                                <xsd:annotation>
64                                        <xsd:documentation>Human recognizable context for the wellbore that contains the message.  </xsd:documentation>
65                                </xsd:annotation>
66                        </xsd:element>
67                        <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
68                                <xsd:annotation>
69                                        <xsd:documentation>Human recognizable context for the risk.  </xsd:documentation>
70                                </xsd:annotation>
71                        </xsd:element>
72                        <xsd:group ref="witsml:grp_message" minOccurs="0" maxOccurs="1">
73                                <xsd:annotation>
74                                        <xsd:documentation>The non-contextual elements for a Message.</xsd:documentation>
75                                </xsd:annotation>
76                        </xsd:group>
77                        <xsd:element name="commonData" type="witsml:cs_commonData" minOccurs="0" maxOccurs="1">
78                                <xsd:annotation>
79                                        <xsd:documentation>A container element that contains elements that are common to all data
80                                        objects.  </xsd:documentation>
81                                </xsd:annotation>
82                        </xsd:element>
83                        <xsd:element name="customData" type="witsml:cs_customData" minOccurs="0" maxOccurs="1">
84                                <xsd:annotation>
85                                        <xsd:documentation>A container element that can contain custom or user defined
86                                        data elements.</xsd:documentation>
87                                </xsd:annotation>
88                        </xsd:element>
89                </xsd:sequence>
90                <xsd:attribute name="uidWell" type="witsml:uidString" use="optional">
91                        <xsd:annotation>
92                                <xsd:documentation>Unique identifier for the well. This uniquely represents
93                                the well referenced by the (possibly non-unique) nameWell. </xsd:documentation>
94                        </xsd:annotation>
95                </xsd:attribute>
96                <xsd:attribute name="uidWellbore" type="witsml:uidString" use="optional">
97                        <xsd:annotation>
98                                <xsd:documentation>Unique identifier for the wellbore. This uniquely represents
99                                the wellbore referenced by the (possibly non-unique) nameWellbore. </xsd:documentation>
100                        </xsd:annotation>
101                </xsd:attribute>
102                <xsd:attributeGroup ref="witsml:attgrp_uid">
103                        <xsd:annotation>
104                                <xsd:documentation>Unique identifier for the message.</xsd:documentation>
105                                </xsd:annotation>
106                </xsd:attributeGroup>
107        </xsd:complexType>
108</xsd:schema>
Note: See TracBrowser for help on using the browser.