Missing header install.
[libdcp.git] / xsd / PROTO-ASDCP-PKL-20040311.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Schema for Interop Asset Map namespace -->
3 <!-- Assembled from mpeg_ii_am_spec.doc 2004-11-23 -->
4
5 <xs:schema
6   targetNamespace="http://www.digicine.com/PROTO-ASDCP-PKL-20040311#"
7   xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
8   xmlns:xs="http://www.w3.org/2001/XMLSchema"
9   xmlns:pkl="http://www.digicine.com/PROTO-ASDCP-PKL-20040311#"
10   xmlns:cpl="http://www.digicine.com/PROTO-ASDCP-CPL-20040511#"
11   elementFormDefault="qualified" attributeFormDefault="unqualified">
12
13 <!--The following xs:import statements should not really be here, but are
14     provided so that XMLSpy will validate the schema itself, independently
15     of an instance of a Packing List
16 -->
17 <xs:import namespace="http://www.digicine.com/PROTO-ASDCP-CPL-20040511#"
18   schemaLocation="http://www.digicine.com/PROTO-ASDCP-CPL-20040511.xsd"/>
19 <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
20   schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
21 <xs:import namespace="http://www.w3.org/XML/1998/namespace"
22   schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
23
24 <!-- Packing List Type -->
25   <xs:element name="PackingList" type="pkl:PackingListType"/>
26   <xs:complexType name="PackingListType">
27     <xs:sequence>
28       <xs:element name="Id" type="cpl:UUID"/>
29       <xs:element name="AnnotationText" type="cpl:UserText" minOccurs="0"/>
30       <xs:element name="IconId" type="cpl:UUID" minOccurs="0"/>
31       <xs:element name="IssueDate" type="xs:dateTime"/>
32       <xs:element name="Issuer" type="cpl:UserText"/>
33       <xs:element name="Creator" type="cpl:UserText"/>
34       <xs:element name="AssetList">
35         <xs:complexType>
36           <xs:sequence>
37             <xs:element ref="pkl:Asset" maxOccurs="unbounded"/>
38           </xs:sequence>
39         </xs:complexType>
40       </xs:element>
41       <xs:element name="Signer" type="ds:KeyInfoType" minOccurs="0"/>
42       <xs:element ref="ds:Signature" minOccurs="0"/>
43     </xs:sequence>
44   </xs:complexType>
45
46 <!-- Asset Type -->
47   <xs:element name="Asset" type="pkl:AssetType"/>
48   <xs:complexType name="AssetType">
49     <xs:sequence>
50       <xs:element name="Id" type="cpl:UUID"/>
51       <xs:element name="AnnotationText" type="cpl:UserText" minOccurs="0"/>
52       <xs:element name="Hash" type="xs:base64Binary" minOccurs="0"/>
53       <xs:element name="Size" type="xs:positiveInteger"/>
54       <xs:element name="Type" type="xs:string"/>
55       <xs:element name="OriginalFileName" type="xs:string" minOccurs="0"/>
56     </xs:sequence>
57   </xs:complexType>
58
59 </xs:schema>
60