source: dreqML/trunk/dreqML/vocabFrameworkSchema_01beta.xsd @ 453

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/dreqML/trunk/dreqML/vocabFrameworkSchema_01beta.xsd@453
Revision 453, 1.6 KB checked in by mjuckes, 4 years ago (diff)

dreqML

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