Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
xsd-d-si
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
D-PTB
D-SI
xsd-d-si
Commits
4afe392f
Commit
4afe392f
authored
6 years ago
by
Daniel Hutzschenreuter
Browse files
Options
Downloads
Patches
Plain Diff
Create SI_Format.xsd
parent
2f614542
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SI_Format.xsd
+836
-0
836 additions, 0 deletions
SI_Format.xsd
with
836 additions
and
0 deletions
SI_Format.xsd
0 → 100644
+
836
−
0
View file @
4afe392f
<?xml version="1.1" encoding="UTF-8"?>
<xs:schema
version=
"1.1.0"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
targetNamespace=
"https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI"
xmlns:si=
"https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI"
elementFormDefault=
"qualified"
>
<!--
XML-schema implementation of the unified SmartCom meta data format for the exchange of measurement data
in digital ICT applications.
THIS SCHEMA IS A PROTOTYPE FOR THE INTERNAL USE IN EMPRI 17IND02 SMARTCOM PROJECT AND THE INTERNAL.
ANY DISTRIBUTION REQUIRES THE PERMISSION BY THE SMARTCOM CONSORTIUM (smartcom@ptb.de).
Authors: all contributing SmartCom JRP partners
Contact: smartcom@ptb.de
Version: 1.1.0
Date: 2019-02-14
DOI: (not assigned to this version)
Acknowledgment
The development of the unified meta data format for the exchange of measurement data in ICT applications and
its implementation using XML is funded by the joint research project EMPIR 17IND02 (title: SmartCom).
The EMPIR initiative is co-funded by the European Union's Horizon 2020 research and innovation programme
and the EMPIR Participating States.
-->
<!--
##############################################################################################
First part of the XML-schema: Elements for the SI-based exchange of measured quantities.
##############################################################################################
-->
<!--
Meta data element definition for a real measurement quantity.
The following statements of a real quantity are possible.
[(m)-mandatory, (o)-optional]
1. Basic measured quantity
(m) - element value
(m) - element unit
(o) - element label
(o) - element dateTime
2. Measured quantity with expanded measurement uncertainty
(m) - element value
(m) - element unit
(o) - element label
(o) - element dateTime
(m) - element uncertainty
(m) - element coverageFactor
(m) - element coverageProbability
(o) - element distribution
3. Measured quantity with uncertainty coverage interval (probabilistic-symmetric or shortest)
(m) - element value
(m) - element unit
(o) - element label
(o) - element dateTime
(m) - element intervalType
(m) - element intervalMin
(m) - element intervalMax
(m) - element coverageProbability
(o) - element distribution
Example:
<si:real>
<si:value>1</si:value>
<si:unit>\metre</si:unit>
</si:real>
Integration into external XML-schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:si="https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI">
<xs:element name="individualElement">
<xs:complexType>
<xs:sequence>
<xs:element ref="si:real"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:element>
-->
<xs:element
name=
"real"
>
<xs:complexType>
<xs:annotation>
<xs:documentation>
Implementation of a real valued quantity.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"value"
type=
"si:decimalType"
/>
<xs:element
name=
"unit"
type=
"xs:string"
/>
<!-- optional label -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional timestamp -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
<!-- optional choice of uncertainty statements -->
<xs:choice
minOccurs=
"0"
>
<!-- specific for statement of expanded measurement uncertainty -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueType"
/>
<xs:element
name=
"coverageFactor"
type=
"si:kValueType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
<!-- specific for statement of coverage interval measurement uncertainty (probabilistic symmetric or shortest interval) -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"intervalType"
type=
"si:intervalType"
/>
<xs:element
name=
"intervalMin"
type=
"si:decimalType"
/>
<xs:element
name=
"intervalMax"
type=
"si:decimalType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
Meta data element definition for a list of comma separated independent real measurement quantities.
It is planned to provide a refinement of the comma separated collection of real valued quantities
in future versions of the DCC if required.
Example:
<si:realCS>
<si:pattern>value,unit</si:pattern>
<si:values>1,\metre,2,\second</si:values>
</si:realCS>
Integration into external XML-schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:si="https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI">
<xs:element name="individualElement">
<xs:complexType>
<xs:sequence>
<xs:element ref="si:realCS"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-->
<xs:element
name=
"realCS"
>
<xs:complexType>
<xs:annotation>
<xs:documentation>
Real comma seperated values.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"value"
type=
"si:decimalCSType"
/>
<xs:element
name=
"unit"
type=
"xs:string"
/>
<!-- optional label -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional timestamp -->
<xs:element
name=
"dateTime"
type=
"si:dateTimeCSType"
minOccurs=
"0"
/>
<!-- optional choice of uncertainty statements -->
<xs:choice
minOccurs=
"0"
>
<!-- specific for statement of expanded measurement uncertainty -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueCSType"
/>
<xs:element
name=
"coverageFactor"
type=
"si:kValueCSType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueCSType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
<!-- specific for statement of coverage interval measurement uncertainty (probabilistic symmetric or shortest interval) -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"intervalType"
type=
"si:intervalCSType"
/>
<xs:element
name=
"intervalMin"
type=
"si:decimalCSType"
/>
<xs:element
name=
"intervalMax"
type=
"si:decimalCSType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueCSType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
Meta data element definition for a complex measurement quantity.
The following statements of a real quantity are possible.
[(m)-mandatory, (o)-optional]
1. Basic measured quantity
(m) - element value1
(m) - element value2
(m) - element unit
(o) - element unitPhase
(o) - element label
(o) - element dateTime
It is recommended to provide complex values in the Cartesian form instead
of the polar coordinate form. The difference between both forms is the
way the values of the elements value1, value2, unit and unitPhase are
provided. The following rules apply:
Cartesian form:
(m) value1 .. real part of value
(m) value2 .. imaginary part of value
(m) unit .. unit of real and imaginary part (do not provide unitPhase)
Polar coordinate form:
(m) value1 .. amplitude value
(m) value2 .. phase angle value
(m) unit .. unit of aplitude
(m) unitPhase .. unit of phase angle (must be an angle)
2. Measured quantity with ellipsoid coverage region
(m) - element value1
(m) - element value2
(m) - element unit
(o) - element unitPhase
(o) - element label
(o) - element dateTime
(m) - element ellipsoidRegion (sub structure)
(m) - element uncertainty (for value 1)
(m) - element covariance
(m) - element uncertainty (for value 2)
(m) - element coverageFactor
(m) - element coverageProbability
(o) - element distribution
3. Measured quantity with rectangle coverage region
(m) - element value1
(m) - element value2
(m) - element unit
(o) - element unitPhase
(o) - element label
(o) - element dateTime
(m) - element rectangleRegion (sub-structure)
(m) - element uncertainty (for value 1)
(m) - element uncertainty (for value 2)
(m) - element coverageFactor
(m) - element coverageProbability
(o) - element distribution
Example:
<si:complex>
<si:value1>2</si:value1>
<si:value2>1</si:value2>
<si:unit>\metre</si:unit>
</si:real>
Integration into external XML-schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:si="https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI">
<xs:element name="individualElement">
<xs:complexType>
<xs:sequence>
<xs:element ref="si:complex"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:element>
-->
<xs:element
name=
"complex"
>
<xs:annotation>
<xs:documentation>
atomic complex quantity element
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<!-- mandatory value (real part or amplitude) -->
<xs:element
name=
"value1"
type=
"si:decimalType"
/>
<!-- mandatory value (imaginary part or phase angle) -->
<xs:element
name=
"value2"
type=
"si:decimalType"
/>
<!-- mandatory unit -->
<xs:element
name=
"unit"
type=
"xs:string"
/>
<!-- optional unit additional for polar form -->
<xs:element
name=
"unitPhase"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional label -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional timestamp -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
<!-- optional uncertainty statement: either elliptical or rectangular region
Taxonomy of elements reviewed by NPL and subject to appropriate changes -->
<xs:choice
minOccurs=
"0"
>
<xs:element
ref=
"si:ellipsoidalRegion"
/>
<xs:element
ref=
"si:rectangularRegion"
/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- Structure under development by NPL and PTB -->
<xs:element
name=
"ellipsoidalRegion"
>
<xs:complexType>
<xs:sequence>
<!-- upper triangular covariance matrix values (minimum of 3 entries) -->
<xs:choice
minOccurs=
"3"
maxOccurs=
"unbounded"
>
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueType"
/>
<xs:element
name=
"covariance"
type=
"si:decimalType"
/>
</xs:choice>
<!-- coverage properties of region -->
<xs:element
name=
"coverageFactor"
type=
"si:kValueType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- Structure under development by NPL and PTB -->
<xs:element
name=
"rectangularRegion"
>
<xs:complexType>
<xs:sequence>
<!-- list of expanded uncertainties (minimum of 2 elements)-->
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueType"
minOccurs=
"2"
maxOccurs=
"unbounded"
/>
<!-- coverage properties of region -->
<xs:element
name=
"coverageFactor"
type=
"si:kValueType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- comma seperated complex type under development -->
<xs:element
name=
"complexCS"
>
<xs:annotation>
<xs:documentation>
comma seperated complex quantity element
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<!-- mandatory value (real part or amplitude) -->
<xs:element
name=
"value1"
type=
"si:decimalCSType"
/>
<!-- mandatory value (imaginary part or phase angle) -->
<xs:element
name=
"value2"
type=
"si:decimalCSType"
/>
<!-- mandatory unit -->
<xs:element
name=
"unit"
type=
"xs:string"
/>
<!-- optional unit additional for polar form -->
<xs:element
name=
"unitPhase"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional label -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional timestamp -->
<xs:element
name=
"dateTime"
type=
"si:dateTimeCSType"
minOccurs=
"0"
/>
<!-- optional uncertainty statement to be inplemented -->
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
Meta data element definition for a list of basic measurement quantities.
It is planned to provide amendments and if required changes to the list structure in future
versions of the meta data format.
A list can provide the following vector structures:
1: A list of si:real quantities
- optional global timestamp, label and/or uncertainty statement
- optional multivariate hyper-elliptical or hyper-rectangular coverage region
2: A list of si:complex quantities
- optional global timestamp, label and/or uncertainty statement
- optional multivariate hyper-elliptical or hyper-rectangular coverage region
3: A recursive list of si:list elements
- optional global timestamp and global label
4: A si:realCS element with a comma separated vector of real quantities
- optional global label
- optional multivariate hyper-elliptical or hyper-rectangular coverage region
5: A si:complexCS element with a comma separated vector of real quantities
- optional global label
- optional multivariate hyper-elliptical or hyper-rectangular coverage region
Example (list with local units):
<si:list>
<si:real>
<si:value>1</si:value>
<si:unit>\metre</si:unit>
</si:real>
<si:real>
<si:value>1</si:value>
<si:unit>\metre</si:unit>
</si:real>
<si:real>
<si:value>1</si:value>
<si:unit>\metre</si:unit>
</si:real>
</si:list>
Integration into external XML-schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:si="https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI">
<xs:element name="individualElement">
<xs:complexType>
<xs:sequence>
<xs:element ref="si:list"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-->
<xs:element
name=
"list"
>
<xs:complexType>
<xs:annotation>
<xs:documentation>
List of basic meta data structure element. Recursion with lists allowed.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- collection of measured quantities -->
<xs:choice>
<!--
### Definition 1:
### list of real elements with
### - optional global timestamp, label and/or uncertainty statement
-->
<xs:sequence>
<!-- mandatory list of real elements -->
<xs:element
ref=
"si:real"
maxOccurs=
"unbounded"
/>
<!-- optional label of the list -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional global time statement -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
<!-- optional global uncertainty statements -->
<xs:choice
minOccurs=
"0"
>
<!-- statement of expanded measurement uncertainty that applies for each real element in the list -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueType"
/>
<xs:element
name=
"coverageFactor"
type=
"si:kValueType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
<!-- statement of coverage interval measurement uncertainty (probabilistic symmetric or shortest interval) that
applies for each real element in the list -->
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"intervalType"
type=
"si:intervalType"
/>
<xs:element
name=
"intervalMin"
type=
"si:decimalType"
/>
<xs:element
name=
"intervalMax"
type=
"si:decimalType"
/>
<xs:element
name=
"coverageProbability"
type=
"si:probabilityValueType"
/>
<!-- optional information about distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
<!-- statement of a coverage regione that provides a global multivariate uncertainty specification -->
<xs:sequence>
<xs:choice
minOccurs=
"0"
>
<xs:element
ref=
"si:ellipsoidalRegion"
/>
<xs:element
ref=
"si:rectangularRegion"
/>
</xs:choice>
</xs:sequence>
</xs:choice>
</xs:sequence>
<!--
### Definition 2:
### list of complex elements with
### - optional global timestamp, label and/or uncertainty statement
-->
<xs:sequence>
<!-- mandatory list of complex elements -->
<xs:element
ref=
"si:complex"
maxOccurs=
"unbounded"
/>
<!-- optional label of the list -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional global time statement -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
<!-- optional global uncertainty statement -->
<xs:choice
minOccurs=
"0"
>
<xs:element
ref=
"si:ellipsoidalRegion"
/>
<xs:element
ref=
"si:rectangularRegion"
/>
</xs:choice>
</xs:sequence>
<!--
### Definition 3:
### recursive list of lists with
### - optional global timestamp and/or global label
-->
<!-- list of lists without global property statement -->
<xs:sequence>
<!-- mandatory statement of a list of quantities or lists -->
<xs:element
ref=
"si:list"
maxOccurs=
"unbounded"
/>
<!-- optional label of the list -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional global time statement -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
</xs:sequence>
<!--
### Definition 4:
### comma separated real quantity in list
-->
<xs:sequence>
<!-- mandatory statement of a comma seperated real quantity -->
<xs:element
ref=
"si:realCS"
/>
<!-- optional label of the list -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional statement of a coverage regione that provides a global multivariate uncertainty specification -->
<xs:choice
minOccurs=
"0"
>
<xs:element
ref=
"si:ellipsoidalRegion"
/>
<xs:element
ref=
"si:rectangularRegion"
/>
</xs:choice>
</xs:sequence>
<!--
### Definition 5:
### comma separated complex quantity in list
-->
<xs:sequence>
<!-- mandatory statement of a comma seperated complex quantity -->
<xs:element
ref=
"si:complexCS"
/>
<!-- optional label of the list -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional statement of a coverage regione that provides a global multivariate uncertainty specification -->
<xs:choice
minOccurs=
"0"
>
<xs:element
ref=
"si:ellipsoidalRegion"
/>
<xs:element
ref=
"si:rectangularRegion"
/>
</xs:choice>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
The definition of a element for constants in the context of the
meta-data format: The following constants are considered:
1.) Fundamental physical constants and key-values with empirical standard deviation for uncertainty
2.) Values of mathematical constants. If such a constant can only be provided in finite precision,
then a rounding error can be provided as uncertainty.
-->
<xs:element
name=
"constant"
>
<xs:complexType>
<xs:annotation>
<xs:documentation>
Implementation of the representation of fundamental physical constants
and mathematical constants.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- mandatory information -->
<xs:element
name=
"value"
type=
"si:decimalType"
/>
<xs:element
name=
"unit"
type=
"xs:string"
/>
<!-- optional label -->
<xs:element
name=
"label"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- optional timestamp -->
<xs:element
name=
"dateTime"
type=
"xs:dateTime"
minOccurs=
"0"
/>
<!-- optional uncertainty -->
<xs:element
name=
"uncertainty"
type=
"si:uncertaintyValueType"
minOccurs=
"0"
/>
<!-- optional distribution -->
<xs:element
name=
"distribution"
type=
"xs:string"
minOccurs=
"0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
The definition of the adapter for arbitrary measurement data to the SI unit based
metadata format.
Example:
<si:hybrid>
<si:real>
<si:value>1</si:value>
<si:unit>\metre</si:unit>
</si:real>
<si:real>
<si:value>3.28084</si:value>
<si:unit>\feet</si:unit>
</si:real>
</si:hybrid>
Integration into external XML-schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:si="https://gitlab1.ptb.de/D-SI-public/xml/tree/master/SI">
<xs:element name="individualElement">
<xs:complexType>
<xs:sequence>
<xs:element ref="si:hybrid"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-->
<xs:element
name=
"hybrid"
>
<xs:complexType>
<xs:annotation>
<xs:documentation>
Adapter for non-SI units and other XML formats.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<!-- mandatory adapter for at least one SI quantity and additional (non-) SI quantities -->
<xs:choice>
<xs:element
ref=
"si:real"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"si:complex"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"si:list"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"si:realCS"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"si:complexCS"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
</xs:choice>
<!-- optional adapter for any other user specific XML structure elements -->
<xs:any
minOccurs=
"0"
namespace=
"##other"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
##############################################################################################
Second part of the XML-schema: internally used simple data types.
##############################################################################################
-->
<xs:simpleType
name=
"decimalType"
>
<xs:annotation>
<xs:documentation>
Comma separated string of si:decimal values.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"[-+]?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"uncertaintyValueType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type of uncertainty values.
A decimal value greater than 0 or euqal to zero.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"\+?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"kValueType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type of coverage factors.
A decimal value greater or equal to 1. Exponent "e" (and "E") not permitted.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"\+?(([1-9]\d*\.\d*)|([1-9]\d*))"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"probabilityValueType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type for probability statements.
A decimal value within 0.0 and 1.0. Exponent "e" (and "E") not permitted.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"\+?((0\.\d*[1-9]\d*)|(\.\d*[1-9]\d*)|(1\.0*)|(1))"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"intervalType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format enumeration for coverage interval types.
Either "shortest-interval" or "probabilistic-symmetric".
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:enumeration
value=
"shortest"
/>
<xs:enumeration
value=
"prosym"
/>
</xs:restriction>
</xs:simpleType>
<!--
Definition of comma seperated data types
-->
<xs:simpleType
name=
"decimalCSType"
>
<xs:annotation>
<xs:documentation>
Comma separated string of si:decimal values.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*[-+]?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?\s*\,\s*)*\s*[-+]?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?\s*"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"uncertaintyValueCSType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type of uncertainty values.
A decimal value greater than 0.0.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*\+?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?\s*\,\s*)*\s*\+?((\d*\.\d+)|(\d+\.\d*)|(\d+\.?))([Ee][-+]?\d+)?\s*"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"kValueCSType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type of coverage factors.
A decimal value between 0.0 and 100.0.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*\+?(([1-9]\d*\.\d*)|([1-9]\d*))\s*\,\s*)*\s*\+?(([1-9]\d*\.\d*)|([1-9]\d*))\s*"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"probabilityValueCSType"
>
<xs:annotation>
<xs:documentation>
Implementation of meta data format type for probability statements.
A decimal value within 0.0 and 1.0.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*\+?((0\.\d*[1-9]\d*)|(\.\d*[1-9]\d*)|(1\.0*)|(1))\s*\,\s*)*\s*\+?((0\.\d*[1-9]\d*)|(\.\d*[1-9]\d*)|(1\.0*)|(1))\s*"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"intervalCSType"
>
<xs:annotation>
<xs:documentation>
Comma seperated type of interval.
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*((shortest)|(prosym))\s*\,\s*)*\s*((shortest)|(prosym))\s*"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"dateTimeCSType"
>
<xs:annotation>
<xs:documentation>
Comma separated string for fromat similar to xs:dateTime .
</xs:documentation>
</xs:annotation>
<xs:restriction
base=
"xs:string"
>
<xs:pattern
value=
"(\s*\d\d\d\d\-(0[1-9]|1[0-2])\-(0[1-9]|[1-2][0-9]|3[01])T([01][0-9]|2[0-3])\:[0-5][0-9]\:[0-5][0-9](\.\d+)?([+-]([01][0-9]|2[0-3])\:[0-5][0-9])?\s*\,\s*)*\s*\d\d\d\d\-(0[1-9]|1[0-2])\-(0[1-9]|[1-2][0-9]|3[01])T([01][0-9]|2[0-3])\:[0-5][0-9]\:[0-5][0-9](\.\d+)?([+-]([01][0-9]|2[0-3])\:[0-5][0-9])?\s*"
/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment