grp_productVolume.xsd 6.66 KB
<?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_businessAssociate.xsd"/>
	<xsd:include schemaLocation="cs_geographicContext.xsd"/>
	<xsd:include schemaLocation="typ_catalog_New.xsd"/>
	<xsd:include schemaLocation="cs_productVolumeFacility.xsd"/>
	<!--                                                         -->
	<xsd:group name="grp_productVolume">
		<xsd:annotation>
			<xsd:documentation>The non-contextual content of a WITSML Product Volume object.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The name of the facility which is represented by this report. 
					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="contextFacility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>The name and type of a facility whose context is relevant to the represented installation.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The type of report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="periodKind" type="witsml:ReportingPeriod" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The type of period that is being reported.
					This value must be consistent with the reporting start and end values.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:choice minOccurs="1" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The reporting period. 
					If one value from a pair are given the both values must be given.</xsd:documentation>
				</xsd:annotation>
				<xsd:sequence>
					<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
						<xsd:annotation>
							<xsd:documentation>The beginning date and time that the report represents.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="1" maxOccurs="1">
						<xsd:annotation>
							<xsd:documentation>The ending date and time that the report 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 report represents.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="dateEnd" type="witsml:date" minOccurs="1" maxOccurs="1">
						<xsd:annotation>
							<xsd:documentation>The ending date that the report represents.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
				</xsd:sequence>
			</xsd:choice>
			<xsd:element name="operator" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The operator of the facilities in the report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="title" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The tile of the report if different from the name of the report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="geographicContext" type="witsml:cs_geographicContext" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The geographic context of the report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="issueDate" type="witsml:date" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The date that the report was issued.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="issuedBy" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The person or company that issued the report. This may
					contain the role of the person or company within the context of the report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="approvalDate" type="witsml:date" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The date that the report was approved.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="approver" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The person or company that approved the report. This may
					contain the role of the person or company within the context of the report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="productFlowModel" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The Product Flow Model for the overall installation. This model represents
					all Product Flow Units referenced within this report.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="standardTempPres" type="witsml:StandardTempPress" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Defines the standard temperature and pressure to
					which all standard volumes in this report have been corrected.
					This applies to all elements whose name is suffixed by Std and
					documented to be corrected to conditions of standard temperature and pressure.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="facility" type="witsml:cs_productVolumeFacility" minOccurs="1" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>A facility for which product information is being reported.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:group>
</xsd:schema>