forked from cth103/libdcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SMPTE-429-9-2007-AM.xsd
71 lines (61 loc) · 2.56 KB
/
SMPTE-429-9-2007-AM.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
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.smpte-ra.org/schemas/429-9/2007/AM" xmlns:am="http://www.smpte-ra.org/schemas/429-9/2007/AM" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="UUID">
<xs:restriction base="xs:anyURI">
<xs:pattern value="urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="UserText">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="language" type="xs:language" use="optional" default="en"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ChunkType">
<xs:sequence>
<xs:element name="Path" type="xs:anyURI"/>
<xs:element name="VolumeIndex" type="xs:positiveInteger" minOccurs="0"/>
<xs:element name="Offset" type="xs:nonNegativeInteger" minOccurs="0"/>
<xs:element name="Length" type="xs:positiveInteger" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AssetType">
<xs:sequence>
<xs:element name="Id" type="am:UUID"/>
<xs:element name="AnnotationText" type="am:UserText" minOccurs="0"/>
<xs:element name="PackingList" type="xs:boolean" minOccurs="0"/>
<xs:element name="ChunkList">
<xs:complexType>
<xs:sequence>
<xs:element name="Chunk" type="am:ChunkType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AssetMapType">
<xs:sequence>
<xs:element name="Id" type="am:UUID"/>
<xs:element name="AnnotationText" type="am:UserText" minOccurs="0"/>
<xs:element name="Creator" type="am:UserText"/>
<xs:element name="VolumeCount" type="xs:positiveInteger"/>
<xs:element name="IssueDate" type="xs:dateTime"/>
<xs:element name="Issuer" type="am:UserText"/>
<xs:element name="AssetList">
<xs:complexType>
<xs:sequence>
<xs:element name="Asset" type="am:AssetType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="AssetMap" type="am:AssetMapType"/>
<xs:complexType name="VolumeIndexType">
<xs:sequence>
<xs:element name="Index" type="xs:positiveInteger"/>
</xs:sequence>
</xs:complexType>
<xs:element name="VolumeIndex" type="am:VolumeIndexType"/>
</xs:schema>