forked from ietf-wg-cellar/ebml-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEBMLSchema.xsd
57 lines (57 loc) · 2.16 KB
/
EBMLSchema.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="https://ietf.org/cellar/ebml"
targetNamespace="https://ietf.org/cellar/ebml"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="01">
<xsd:element name="EBMLSchema" type="EBMLSchemaType"/>
<xsd:complexType name="EBMLSchemaType">
<xsd:sequence>
<xsd:element name="element" type="elementType" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="docType" use="required"/>
<xsd:attribute name="version" use="required"/>
</xsd:complexType>
<xsd:complexType name="elementType">
<xsd:sequence>
<xsd:element name="documentation" type="documentationType"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="restriction" type="restrictionType"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" use="required"/>
<xsd:attribute name="path" use="required"/>
<xsd:attribute name="id" use="required"/>
<xsd:attribute name="minOccurs" default="0"/>
<xsd:attribute name="maxOccurs" default="1"/>
<xsd:attribute name="range"/>
<xsd:attribute name="size"/>
<xsd:attribute name="default"/>
<xsd:attribute name="type" use="required"/>
<xsd:attribute name="unknownsizeallowed"/>
<xsd:attribute name="recursive"/>
<xsd:attribute name="minver" default="1"/>
<xsd:attribute name="maxver"/>
</xsd:complexType>
<xsd:complexType name="restrictionType">
<xsd:sequence>
<xsd:element name="enum" type="enumType" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="enumType">
<xsd:sequence>
<xsd:element name="documentation" type="documentationType"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="label"/>
<xsd:attribute name="value" use="required"/>
</xsd:complexType>
<xsd:complexType name="documentationType" mixed="true">
<xsd:sequence>
<xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="lang"/>
<xsd:attribute name="type"/>
</xsd:complexType>
</xsd:schema>