-
Notifications
You must be signed in to change notification settings - Fork 9
/
dar-manifest.xsd
40 lines (40 loc) · 1.45 KB
/
dar-manifest.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1">
<xs:element name="dar">
<xs:complexType>
<xs:sequence>
<xs:element ref="documents"/>
<xs:element ref="assets"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="documents">
<xs:complexType>
<xs:sequence>
<xs:element ref="document"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="document">
<xs:complexType>
<xs:attribute name="id" use="required" type="xs:NCName"/>
<xs:attribute name="path" use="required" type="xs:NCName"/>
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="assets">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="asset"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="asset">
<xs:complexType>
<xs:attribute name="id" use="required" type="xs:NCName"/>
<xs:attribute name="path" use="required" type="xs:NCName"/>
<xs:attribute name="type" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>