cs_productVolumePeriod.xsd
6.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
version="1.3.1">
<!-- -->
<!-- POSC License Agreement
This file is distributed under the POSC License Agreement at
http://www.posc.org/about/license.shtml.
Use of this file constitutes agreement with the POSC License Agreement.
-->
<!-- -->
<xsd:include schemaLocation="cs_datedComment.xsd"/>
<xsd:include schemaLocation="typ_dataTypes_New.xsd"/>
<xsd:include schemaLocation="typ_catalog_New.xsd"/>
<xsd:include schemaLocation="typ_catalog_prodVol.xsd"/>
<xsd:include schemaLocation="typ_dataTypes_prodVol.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<xsd:complexType name="cs_productVolumePeriod">
<xsd:annotation>
<xsd:documentation>WITSML - Product Volume Period Component Schema.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="kind" type="witsml:ReportingPeriod" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The type of period that is being reported. If not
specified and a time is not given then the period is defined by the reporting period.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A reporting period that is different from the overall report period.
For example, a particular day within a monthly report.
This period must conform to the kind of interval.
If one value from a pair are given then both values must be given.</xsd:documentation>
</xsd:annotation>
<xsd:element name="dTim" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The beginning date and time that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence>
<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The beginning date and time that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The ending date and time that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="dateStart" type="witsml:date" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The beginning date that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dateEnd" type="witsml:date" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The ending date that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:element name="volume" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The uncorrected volume of the product.
A positive value for an inlet port indicates flow into the port.
A negative value for an inlet port indicates flow out of the port.
A positive value for an outlet port indicates flow out of the port.
A negative value for an outlet port indicates flow into of the port.
This convention is designed such that a positive sign indicates
an expected condition based on the intended port direction
while a negative sign indicates an anomolous condition.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="volumeStd" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The volume of the fluid, corrected to standard
conditions of temperature and pressure. The sign of the value
should conform to the above description of volume.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="flowRate" type="witsml:volumeFlowRateMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The flow rate of the product. The sign of the value
should conform to the above description of volume.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="temp" type="witsml:thermodynamicTemperatureMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Temperature of the product.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="pres" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Pressure of the product.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="mass" type="witsml:massMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The mass of the product.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="work" type="witsml:workMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>A timestamped remark about the amounts.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>Unique identifier for the Product Volume Period. </xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
</xsd:schema>