source: CMIP6dreqbuild/trunk/docs/vocabFrameworkSchema.xsd @ 508

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/docs/vocabFrameworkSchema.xsd@508
Revision 508, 2.0 KB checked in by mjuckes, 5 years ago (diff)

corrections

Line 
1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<xs:schema
3targetNamespace="urn:w3id.org:cmip6.dreq.framework:a"
4xmlns="urn:w3id.org:cmip6.dreq.framework:a"
5xmlns:xs="http://www.w3.org/2001/XMLSchema"  elementFormDefault="qualified">
6<!-- Declarations -->
7
8<xs:simpleType name="st__itemLabelMode_enum">
9<xs:restriction base="xs:string">
10<xs:enumeration value="an"/>
11<xs:enumeration value="int"/>
12<xs:enumeration value="def"/>
13<xs:enumeration value="und"/>
14</xs:restriction>
15</xs:simpleType>
16
17<xs:simpleType name="st__labUnique_enum">
18<xs:restriction base="xs:string">
19<xs:enumeration value="Yes"/>
20<xs:enumeration value="No"/>
21</xs:restriction>
22</xs:simpleType>
23
24<xs:complexType name="ct__itemAttribute">
25  <xs:attribute name="uid" type="xs:string" use="required"/>
26  <xs:attribute name="label" type="xs:string" use="required"/>
27  <xs:attribute name="title" type="xs:string"/>
28  <xs:attribute name="description" type="xs:string"/>
29  <xs:attribute name="type" type="xs:string"/>
30  <xs:attribute name="useClass" type="xs:string"/>
31  <xs:attribute name="techNote" type="xs:string"/>
32  <xs:attribute name="superclass" type="xs:string"/>
33  <xs:attribute name="usage" type="xs:string"/>
34</xs:complexType>
35
36<xs:complexType name="ct__vocab">
37  <xs:sequence>
38     <xs:element name="rowAttribute" type="ct__itemAttribute" maxOccurs="50"/>
39  </xs:sequence>
40  <xs:attribute name="label" type="xs:string" use="required"/>
41  <xs:attribute name="title" type="xs:string"/>
42  <xs:attribute name="uid" type="xs:string"/>
43  <xs:attribute name="level" type="xs:integer"/>
44  <xs:attribute name="id" type="xs:string"/>
45  <xs:attribute name="maxOccurs" type="xs:integer"/>
46  <xs:attribute name="labUnique" type="st__labUnique_enum"/>
47  <xs:attribute name="itemLabelMode" type="st__itemLabelMode_enum"/>
48</xs:complexType>
49
50<!-- Body -->
51<xs:element name="defDoc">
52  <xs:complexType>
53    <xs:sequence>
54      <xs:element name="table" type="ct__vocab" minOccurs="1" maxOccurs="200"/>
55    </xs:sequence>
56  </xs:complexType>
57</xs:element>
58</xs:schema>
Note: See TracBrowser for help on using the repository browser.