-
Notifications
You must be signed in to change notification settings - Fork 11
/
mediaarea.xsd
51 lines (51 loc) · 2.61 KB
/
mediaarea.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
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://mediaarea.net/mediaarea"
xmlns="https://mediaarea.net/mediaarea" elementFormDefault="qualified"
xmlns:mi="https://mediaarea.net/mediainfo"
xmlns:mt="https://mediaarea.net/mediatrace"
xmlns:mmt="https://mediaarea.net/micromediatrace"
xmlns:mc="https://mediaarea.net/mediaconch"
version="0.1">
<xsd:import namespace="https://mediaarea.net/mediaconch" schemaLocation="mediaconch.xsd"/>
<xsd:import namespace="https://mediaarea.net/mediainfo" schemaLocation="mediainfo.xsd"/>
<xsd:import namespace="https://mediaarea.net/mediatrace" schemaLocation="mediatrace.xsd"/>
<xsd:import namespace="https://mediaarea.net/micromediatrace" schemaLocation="micromediatrace.xsd"/>
<xsd:element name="MediaArea" type="mediaareaType"/>
<xsd:complexType name="mediaareaType">
<xsd:annotation>
<xsd:documentation>This element describes</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="creatingApplication" type="creationType" minOccurs="0" maxOccurs="1" />
<xsd:element name="creatingLibrary" type="creationType" minOccurs="0" maxOccurs="1" />
<xsd:element name="media" type="mediaType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="version" />
</xsd:complexType>
<xsd:complexType name="creationType">
<xsd:simpleContent>
<xsd:extension base="xsd:string" >
<xsd:attributeGroup ref="creationAttributeSet"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="mediaType">
<xsd:sequence>
<xsd:element ref="mi:MediaInfo" minOccurs="0" maxOccurs="1" />
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref="mt:MediaTrace" />
<xsd:element ref="mmt:MicroMediaTrace" />
</xsd:choice>
<xsd:element ref="mc:MediaConch" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="ref" />
</xsd:complexType>
<xsd:attributeGroup name="creationAttributeSet">
<xsd:attribute name="version" type="xsd:string" use="required"/>
<xsd:attribute name="url" type="xsd:string"/>
<xsd:attribute name="build_date" type="xsd:string"/>
<xsd:attribute name="build_time" type="xsd:string"/>
<xsd:attribute name="compiler_ident" type="xsd:string"/>
</xsd:attributeGroup>
</xsd:schema>