cs_productVolumeFacility.xsd
5.94 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
<?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="typ_dataTypes.xsd"/>
<xsd:include schemaLocation="cs_datedComment.xsd"/>
<xsd:include schemaLocation="cs_productVolumeFlow.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<xsd:complexType name="cs_productVolumeFacility">
<xsd:annotation>
<xsd:documentation>WITSML - Report Facility Component Schema.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="witsml:facilityIdentifierStruct" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The name of the facility. The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="facilityParent1" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>For facilities whose name is unique within the context of another
facility, the name of the parent facility. For example, if name represents a completion,
then facilityParent1 would represent the name of the well within which name was unique.
The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="facilityParent2" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>For facilities whose name is unique within the context of another
facility, the name of the parent facility of parent1.
The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="unit" type="witsml:refNameString" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The Product Flow Unit representing the facility.
This must be unique within the context of the Product Flow Network.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="network" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The Product Flow Network representing the facility.
This can only be given if unit is given.
This is only required if the network is not the same as the primary network
that represents the Product Flow Model.
This must be unique within the context of the Product Flow Model represented
by this report.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:element name="contextFacility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The name and type of a facility whose context is relevant to this facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="wellProducing" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>True (or 1) indicates that the well is producing.
False (or 0) or not given indicates that the well is not producing.
This only applies if the facility is a well or wellbore.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="wellInjecting" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>True (or 1) indicates that the well is injecting.
False (or 0) or not given indicates that the well is not injecting.
This only applies if the facility is a well or wellbore.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="capacity" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The storage capacity of the facility (e.g., a tank).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="operationTime" type="witsml:timeMeasure" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The amount of time that the facility was active during the
reporting period.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="downtimeReason" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The reason for any down time during the reporting period.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="flow" type="witsml:cs_productVolumeFlow" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Reports a flow of a 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 facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>Unique identifier for the Product Volume Facility. </xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
</xsd:schema>