mpr-xsd-change-details.txt 6.26 KB
1) NEW Introduced new simple type enumeration:

<xsd:simpleType name="WellTestType">

and changed inside <xsd:group name="grp_wellTest">

		<xsd:element name="testType" type="witsml:kindString" minOccurs="0">

to be

	<xsd:element name="testType" type="witsml:WellTestType" minOccurs="0">

2) NEW Introduced new simple type enumeration:

<xsd:simpleType name="FluidSampleComponents">

and changed inside <xsd:complexType name="cs_fluidResultComposition">

<xsd:element name="componentName" type="witsml:nameString"/>

to be

<xsd:element name="componentName" type="witsml:FluidSampleComponents"/>

3) uid mandatory was dropped in the end.
	
4) Made installation mandatory in production operation report

inside <xsd:complexType name="cs_productionOperationInstallationReport">

changed

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="1">


5) Made installation mandatory in production operation shutdown

inside <xsd:complexType name="cs_productionOperationShutdown">

changed

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="1">

6) Made installation mandatory in production operation third party processing

inside <xsd:complexType name="cs_productionOperationThirdPartyProcessing">

changed

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="1">

6) Made name mandatory in product volume facility

inside <xsd:complexType name="cs_productVolumeFacility">

changed

<xsd:element name="name" type="witsml:facilityIdentifierStruct">

to be

<xsd:element name="name" type="witsml:facilityIdentifierStruct" minOccurs="1">

7) Use mandatory flow uid attribute group in product volume flow

inside 	<xsd:complexType name="cs_productVolumeFlow">

changed

<xsd:attributeGroup ref="witsml:attgrp_uid">

to be

<xsd:attributeGroup ref="witsml:flow_attgrp_uid">

8) Made facility mandatory in fluid sample

inside <xsd:group name="grp_fluidSample">

changed

<xsd:element name="facility" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="facility" type="witsml:facilityIdentifierStruct" minOccurs="1">

9) Made installation mandatory in production operation 

inside <xsd:group name="grp_productionOperation">

changed

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="1">


10) Made installation mandatory in product volume

inside <xsd:group name="grp_productVolume">

changed

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0">

to be

<xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="1">


11) Removed minOccurs=0 in several places in product volume for dates (default minOccurs is 1)

inside <xsd:group name="grp_productVolume">

changed 

<xsd:choice minOccurs="0">
	<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="0">
		</xsd:element>
		<xsd:element name="dTimEnd" type="witsml:timestamp" minOccurs="0">
		</xsd:element>
	</xsd:sequence>
	<xsd:sequence>
		<xsd:element name="dateStart" type="witsml:date" minOccurs="0">
		</xsd:element>
		<xsd:element name="dateEnd" type="witsml:date" minOccurs="0">
		</xsd:element>
	</xsd:sequence>
	<xsd:element name="month" type="witsml:month" minOccurs="0">
	</xsd:element>
</xsd:choice>

to be

<xsd:choice minOccurs="0">
	<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">			
		</xsd:element>
		<xsd:element name="dTimEnd" type="witsml:timestamp">				
		</xsd:element>
	</xsd:sequence>
	<xsd:sequence>
		<xsd:element name="dateStart" type="witsml:date">			
		</xsd:element>
		<xsd:element name="dateEnd" type="witsml:date">				
		</xsd:element>
	</xsd:sequence>
	<xsd:element name="month" type="witsml:month">					
	</xsd:element>
</xsd:choice>

12) Made nameFluidSample and name mandatory in fluid analysus result

inside <xsd:complexType name="obj_fluidAnalysisResult">

changed

<xsd:element name="nameFluidSample" type="witsml:nameString" minOccurs="0">

to be

<xsd:element name="nameFluidSample" type="witsml:nameString" minOccurs="1">

and

changed 

<xsd:element name="name" type="witsml:nameString">

to be

<xsd:element name="name" type="witsml:nameString" minOccurs="1">

13)  Made name mandatory in fluid sample

inside <xsd:complexType name="obj_fluidSample">

changed

<xsd:element name="name" type="witsml:nameString">

to be

<xsd:element name="name" type="witsml:nameString" minOccurs="1">

14) Made nameWell mandatory in well test

inside <xsd:complexType name="obj_wellTest">

changed

<xsd:element name="nameWell" type="witsml:nameString">

to be

<xsd:element name="nameWell" type="witsml:nameString" minOccurs="1">

15) Renamed wellhead temperature to be DSCT and added line density to facility parameter enum

inside <xsd:simpleType name="FacilityParameter">

changed

			<xsd:enumeration value="wellhead temperature">
				<xsd:annotation>
					<xsd:documentation>The wellhead temperature</xsd:documentation>
				</xsd:annotation>
				
to be

			<xsd:enumeration value="wellhead temperature DSCT">
				<xsd:annotation>
					<xsd:documentation>The wellhead temperature downstream choke</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="line density">
				<xsd:annotation>
					<xsd:documentation>The density as measured along a given line</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			
16) Made kind attribute required for facility identifier struct

inside <xsd:complexType name="facilityIdentifierStruct">

changed

<xsd:attribute name="kind" type="witsml:ReportingFacility" use="optional">

to be

<xsd:attribute name="kind" type="witsml:ReportingFacility" use="required">