David Price

Upgraded to final MPR XSD - note new BaseURI so imports break.

This diff could not be displayed because it is too large.
# Saved by TopBraid on Tue Sep 20 20:27:24 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0
# imports: http://www.witsml.org/schemas/131
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
......@@ -14,5 +14,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/131> , <http://spinrdf.org/spin> ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:witsml="http://www.witsml.org/schemas/131" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.witsml.org/schemas/131" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.3.1">
<xsd:schema xmlns:witsml="http://www.epim.no/schemas/mprml/1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.epim.no/schemas/mprml/1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0">
<!-- -->
<!-- Energistics License Agreement -->
<!-- This file is distributed under the Energistics License Agreement at -->
<!-- http://www.posc.org/about/license.shtml. -->
<!-- Use of this file constitutes agreement with the Energistics License Agreement. -->
<!-- -->
<!-- change log-->
<!-- 25/10-2011, changed reportVersion tag under context element from beeing a string representation to be specified in the form of 1.0, 1.1,2.0,2.1-->
<!-- 25/10-2011, changed global namespace to be http://www.epim.no/schemas/mprml/1-->
<!-- 25/10-2011, changed version attribute to reflect correct version and name from 1.0.0.0(PRODML) to 1.0(MPRML)-->
<!-- 25/10-2011, added salt to grp_commonPropertiesProductVolume -->
<xsd:attributeGroup name="attgrp_uid">
<xsd:attribute name="uid" type="witsml:uidString" use="optional">
<xsd:annotation>
......@@ -3697,7 +3703,6 @@
<xsd:documentation>The date and time at which the parameter applies. If no time is specified then the value is static.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dTimStart" type="witsml:timestamp" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The beginning date and time that the period represents.</xsd:documentation>
......@@ -3708,7 +3713,6 @@
<xsd:documentation>The ending date and time that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dateStart" type="witsml:date" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The beginning date that the period represents.</xsd:documentation>
......@@ -3719,8 +3723,6 @@
<xsd:documentation>The ending date that the period represents.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:element name="measureValue" type="witsml:generalQualifiedMeasure" maxOccurs="unbounded">
<xsd:annotation>
......@@ -4055,6 +4057,11 @@
<xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="work" type="witsml:workMeasure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="balanceDetail" type="witsml:cs_productVolumeSalesDetail" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Provides details on the sale.</xsd:documentation>
......@@ -4203,7 +4210,7 @@
<xsd:restriction base="witsml:abstractTypeEnum">
<xsd:enumeration value="bill of lading">
<xsd:annotation>
<xsd:documentation>xxxxxxxxxxxx</xsd:documentation>
<xsd:documentation>The bill of lading date for the cargo involved</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="transaction date">
......@@ -5261,6 +5268,12 @@
<xsd:documentation>The basic sediment and water as measured on the previous reporting period (e.g., day).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="salt" type="witsml:densityMeasure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Salt content. The product formed by neutralization of an acid and a base. The term is more specifically applied to sodium
chloride.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="densityValue" type="witsml:cs_densityValue" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
......@@ -6889,7 +6902,7 @@
<xsd:documentation>A textual comment about the report.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="reportVersion" type="witsml:commentString" minOccurs="0">
<xsd:element name="reportVersion" type="witsml:reportVersionString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The current report version.</xsd:documentation>
</xsd:annotation>
......@@ -7709,6 +7722,16 @@
<xsd:documentation>Pressure</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="choke size">
<xsd:annotation>
<xsd:documentation>Size of choke</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="density">
<xsd:annotation>
<xsd:documentation>Density</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<!--added msv-->
</xsd:restriction>
</xsd:simpleType>
......@@ -11241,8 +11264,21 @@
</xsd:annotation>
<xsd:restriction base="witsml:abstractString">
<xsd:maxLength value="16"/>
<xsd:pattern value="1\.0\.0\.[1-9]?[0-9]\(PRODML\)"/>
<xsd:pattern value="[1-9]\.[0-9]\(MPRML\)"/>
</xsd:restriction>
<!--modified by msv-->
</xsd:simpleType>
<!--added by msv-->
<xsd:simpleType name="reportVersionString">
<xsd:annotation>
<xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent the constraints defined in enumerations and XML
loader files.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="witsml:abstractString">
<xsd:maxLength value="16"/>
<xsd:pattern value="[1-9]\.[0-9]"/>
</xsd:restriction>
<!--modified by msv-->
</xsd:simpleType>
<xsd:complexType name="nameStruct">
<xsd:annotation>
......
# Saved by TopBraid on Thu Oct 06 15:30:05 BST 2011
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.witsml.org/schemas/131
# imports: http://www.reportinghub.no/np/data/npd
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix p131: <http://www.witsml.org/schemas/131#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
......@@ -18,5 +15,5 @@
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/131> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/data/npd> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Thu Oct 06 15:30:05 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......