-
Notifications
You must be signed in to change notification settings - Fork 18
/
osmp.xsd
33 lines (32 loc) · 1.55 KB
/
osmp.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"
targetNamespace="http://xsd.pmsf.net/OSISensorModelPackaging" elementFormDefault="qualified"
vc:minVersion="1.0" vc:maxVersion="1.1">
<xs:element name="osmp">
<xs:complexType>
<xs:attribute name="version" use="required">
<xs:simpleType>
<xs:restriction base="xs:string"><xs:pattern value="[1][.][0-9][.][0-9]+"></xs:pattern></xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="osi-version" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="osmp-binary-variable">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="role" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="base.lo"/>
<xs:enumeration value="base.hi"/>
<xs:enumeration value="size"/>
<xs:enumeration value="full"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="mime-type" type="xs:string" use="optional" default="application/octet-stream"/>
</xs:complexType>
</xs:element>
</xs:schema>