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

Revision 16, 9.4 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        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        <!--                                                         -->
18        <xsd:complexType name="cs_documentInfo">
19                <xsd:annotation>
20                        <xsd:documentation>A  schema to capture a set of data that is
21                        relevant for many exchange documents. It includes information about the
22                        file that was created, and high-level information about the data that is
23                        being exchanged within the file.</xsd:documentation>
24                </xsd:annotation>
25                <xsd:sequence>
26                        <xsd:element name="DocumentName" type="witsml:nameStruct" minOccurs="1" maxOccurs="1">
27                                <xsd:annotation>
28                                        <xsd:documentation>An identifier for the document. This is
29                                        intended to be unique within the context of the NamingSystem.</xsd:documentation>
30                                </xsd:annotation>
31                        </xsd:element>
32                        <xsd:element name="DocumentAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
33                                <xsd:annotation>
34                                        <xsd:documentation>Zero or more alternate names for the document.
35                                        These names do not need to be unique within the naming system.</xsd:documentation>
36                                </xsd:annotation>
37                        </xsd:element>
38                        <xsd:element name="DocumentDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
39                                <xsd:annotation>
40                                        <xsd:documentation>The date of the creation of the document.
41                                        This is not the same as the date that the file was created.
42                                        For this date, the document is considered to be the set of
43                                        information associated with this document information.
44                                        For example, the document may be a seismic binset.
45                                        This represents the date that the binset was created.
46                                        The FileCreation information would capture the date that
47                                        the XML file was created to send or exchange the binset.</xsd:documentation>
48                                </xsd:annotation>
49                        </xsd:element>
50                        <xsd:element name="documentClass" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
51                                <xsd:annotation>
52                                        <xsd:documentation>A document class. Examples of classes would be a
53                                        metadata classification or a set of keywords. </xsd:documentation>
54                                </xsd:annotation>
55                        </xsd:element>
56                        <xsd:element name="FileCreationInformation" type="witsml:fileCreationType" minOccurs="0" maxOccurs="1">
57                                <xsd:annotation>
58                                        <xsd:documentation>The information about the creation of the
59                                        exchange file. This is not about the creation of the data within
60                                        the file, but the creation of the file itself.</xsd:documentation>
61                                </xsd:annotation>
62                        </xsd:element>
63                        <xsd:element name="SecurityInformation" type="witsml:securityInfoType" minOccurs="0" maxOccurs="5">
64                                <xsd:annotation>
65                                        <xsd:documentation>Information about the security to be applied to
66                                        this file. More than one classification can be given.</xsd:documentation>
67                                </xsd:annotation>
68                        </xsd:element>
69                        <xsd:element name="Disclaimer" type="witsml:commentString" minOccurs="0" maxOccurs="1">
70                                <xsd:annotation>
71                                        <xsd:documentation>A free-form string that allows a disclaimer to
72                                        accompany the information.</xsd:documentation>
73                                </xsd:annotation>
74                        </xsd:element>
75                        <xsd:element name="AuditTrail" type="witsml:auditType" minOccurs="0" maxOccurs="1">
76                                <xsd:annotation>
77                                        <xsd:documentation>A collection of events that can document the
78                                        history of the data.</xsd:documentation>
79                                </xsd:annotation>
80                        </xsd:element>
81                        <xsd:element name="Owner" type="witsml:nameString" minOccurs="0" maxOccurs="1">
82                                <xsd:annotation>
83                                        <xsd:documentation>The owner of the data.</xsd:documentation>
84                                </xsd:annotation>
85                        </xsd:element>
86                        <xsd:element name="Comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
87                                <xsd:annotation>
88                                        <xsd:documentation>An optional comment about the document.</xsd:documentation>
89                                </xsd:annotation>
90                        </xsd:element>
91                </xsd:sequence>
92        </xsd:complexType>
93        <!--                                                         -->
94        <xsd:complexType name="fileCreationType">
95                <xsd:annotation>
96                        <xsd:documentation>A block of information about the creation of the XML file.
97                        This is different than the creation of the data that is included within the file.</xsd:documentation>
98                </xsd:annotation>
99                <xsd:sequence>
100                        <xsd:element name="FileCreationDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
101                                <xsd:annotation>
102                                        <xsd:documentation>The date and time that the file was created.</xsd:documentation>
103                                </xsd:annotation>
104                        </xsd:element>
105                        <xsd:element name="SoftwareName" type="witsml:nameString" minOccurs="0" maxOccurs="1">
106                                <xsd:annotation>
107                                        <xsd:documentation>If appropriate, the software that created the file.
108                                        This is a free form string, and may include whatever information
109                                        is deemed relevant.</xsd:documentation>
110                                </xsd:annotation>
111                        </xsd:element>
112                        <xsd:element name="FileCreator" type="witsml:nameString" minOccurs="0" maxOccurs="1">
113                                <xsd:annotation>
114                                        <xsd:documentation>The person or business associate that created
115                                        the file.</xsd:documentation>
116                                </xsd:annotation>
117                        </xsd:element>
118                        <xsd:element name="Comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
119                                <xsd:annotation>
120                                        <xsd:documentation>Any comment that would be useful to further
121                                        explain the creation of this instance document.</xsd:documentation>
122                                </xsd:annotation>
123                        </xsd:element>
124                </xsd:sequence>
125        </xsd:complexType>
126        <!--                                                         -->
127        <xsd:complexType name="securityInfoType">
128                <xsd:annotation>
129                        <xsd:documentation>Information about the security classification of the document.
130                        This is intended as a documentation of the security so that the file will not
131                        inadvertently be sent to someone who is not allowed access to the data.
132                        This block also carries a date that the security classification expires.
133                        For example, a well log is confidential for a period of time, and then
134                        becomes open.
135                        All security classes are characterized by their classification systems.</xsd:documentation>
136                </xsd:annotation>
137                <xsd:sequence>
138                        <xsd:element name="Class" type="witsml:kindString" minOccurs="0" maxOccurs="1">
139                                <xsd:annotation>
140                                        <xsd:documentation>The security class in which this document is
141                                        classified. Examples would be confidential, partner confidential,
142                                        tight. The meaning of the class is determined by the System in which
143                                        it is defined.</xsd:documentation>
144                                </xsd:annotation>
145                        </xsd:element>
146                        <xsd:element name="System" type="witsml:kindString" minOccurs="0" maxOccurs="1">
147                                <xsd:annotation>
148                                        <xsd:documentation>The security classification system.
149                                        This gives context to the meaning of the Class value.</xsd:documentation>
150                                </xsd:annotation>
151                        </xsd:element>
152                        <xsd:element name="EndDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
153                                <xsd:annotation>
154                                        <xsd:documentation>The date on which this security class is no
155                                        longer applicable.</xsd:documentation>
156                                </xsd:annotation>
157                        </xsd:element>
158                        <xsd:element name="Comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
159                                <xsd:annotation>
160                                        <xsd:documentation>A general comment to further define the security
161                                        class.</xsd:documentation>
162                                </xsd:annotation>
163                        </xsd:element>
164                </xsd:sequence>
165        </xsd:complexType>
166        <!--                                                         -->
167        <xsd:complexType name="auditType">
168                <xsd:annotation>
169                        <xsd:documentation>The audit records what happened to the data, to produce
170                        the data that is in this file. It consists of one or more events.</xsd:documentation>
171                </xsd:annotation>
172                <xsd:sequence>
173                        <xsd:element name="Event" type="witsml:eventType" minOccurs="1" maxOccurs="unbounded"/>
174                </xsd:sequence>
175        </xsd:complexType>
176        <!--                                                         -->
177        <xsd:complexType name="eventType">
178                <xsd:annotation>
179                        <xsd:documentation>An event type captures the basic information about an
180                        event that has affected the data.</xsd:documentation>
181                </xsd:annotation>
182                <xsd:sequence>
183                        <xsd:element name="EventDate" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
184                                <xsd:annotation>
185                                        <xsd:documentation>The date on which the event took place.</xsd:documentation>
186                                </xsd:annotation>
187                        </xsd:element>
188                        <xsd:element name="ResponsibleParty" type="witsml:nameString" minOccurs="0" maxOccurs="1">
189                                <xsd:annotation>
190                                        <xsd:documentation>The party responsible for the event.</xsd:documentation>
191                                </xsd:annotation>
192                        </xsd:element>
193                        <xsd:element name="Comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
194                                <xsd:annotation>
195                                        <xsd:documentation>A free form comment that can further
196                                        define the event that occurred.</xsd:documentation>
197                                </xsd:annotation>
198                        </xsd:element>
199                </xsd:sequence>
200        </xsd:complexType>
201        <!--                                                         -->
202</xsd:schema>
Note: See TracBrowser for help on using the browser.