grp_wellTest.xsd 4.62 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_fluidLevelTest.xsd"/>
	<xsd:include schemaLocation="cs_injectionTestData.xsd"/>
	<xsd:include schemaLocation="cs_productionTestData.xsd"/>
	<xsd:include schemaLocation="typ_catalog_New.xsd"/>
	<!--                                                         -->
	<xsd:group name="grp_wellTest">
		<xsd:annotation>
			<xsd:documentation>The non-contextual content of a WITSML Well Test object.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="testDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The date-time of well test.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="previousTestDate" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The date-time of the previous well test.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="lastValidTest" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The date-time of the last valid well test.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="testReason" type="witsml:TestReason" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The reason for the well test: initial, periodic, revision.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="testType" type="witsml:kindString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The type of well production test.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="chokeOrificeSize" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The size of the opening in the flow choke at the wellhead.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="productFlowPort" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>A port on a Product Flow Unit that is represented by this test.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="productFlowUnit" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The Product Flow Unit represented by the port.
					This is defined within the Product Flow Model</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 that represents the above Product Flow Unit.</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 StdTempPres.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:choice minOccurs="1" maxOccurs="1">
				<xsd:element name="fluidLevelTest" type="witsml:cs_fluidLevelTest" minOccurs="0" maxOccurs="1">
					<xsd:annotation>
						<xsd:documentation>Data from a fluid level test.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="productionTest" type="witsml:cs_productionTestData" minOccurs="0" maxOccurs="1">
					<xsd:annotation>
						<xsd:documentation>Data from a production test.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="injectionTest" type="witsml:cs_injectionTestData" minOccurs="0" maxOccurs="1">
					<xsd:annotation>
						<xsd:documentation>Data from an injection test.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
		</xsd:sequence>
	</xsd:group>
</xsd:schema>