diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-09 00:04:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-22 01:21:00 +0100 |
| commit | 63357f32e8229b9d734b0c0ab38cc062dcfec393 (patch) | |
| tree | 0f9f6eddc9e7e9532e07b86dc95452ec72ef187d /xsd | |
| parent | aeb2f36ede25d6e8ce583592c23bbb1dfb05041e (diff) | |
Also check PKL XML.
Diffstat (limited to 'xsd')
| -rw-r--r-- | xsd/SMPTE-429-8-2006-PKL.xsd | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/xsd/SMPTE-429-8-2006-PKL.xsd b/xsd/SMPTE-429-8-2006-PKL.xsd new file mode 100644 index 00000000..01d10afe --- /dev/null +++ b/xsd/SMPTE-429-8-2006-PKL.xsd @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema targetNamespace="http://www.smpte-ra.org/schemas/429-8/2007/PKL" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pkl="http://www.smpte-ra.org/schemas/429-8/2007/PKL" elementFormDefault="qualified" attributeFormDefault="unqualified"> + + <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> + + <!-- PackingList --> + <xs:element name="PackingList" type="pkl:PackingListType"/> + <xs:complexType name="PackingListType"> + <xs:sequence> + <xs:element name="Id" type="pkl:UUID"/> + <xs:element name="AnnotationText" type="pkl:UserText" minOccurs="0"/> + <xs:element name="IconId" type="pkl:UUID" minOccurs="0"/> + <xs:element name="IssueDate" type="xs:dateTime"/> + <xs:element name="Issuer" type="pkl:UserText"/> + <xs:element name="Creator" type="pkl:UserText"/> + <xs:element name="GroupId" type="pkl:UUID" minOccurs="0"/> + <xs:element name="AssetList"> + <xs:complexType> + <xs:sequence> + <xs:element name="Asset" type="pkl:AssetType" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Signer" type="ds:KeyInfoType" minOccurs="0"/> + <xs:element ref="ds:Signature" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <!-- Asset --> + <xs:element name="Asset" type="pkl:AssetType"/> + <xs:complexType name="AssetType"> + <xs:sequence> + <xs:element name="Id" type="pkl:UUID"/> + <xs:element name="AnnotationText" type="pkl:UserText" minOccurs="0"/> + <xs:element name="Hash" type="xs:base64Binary"/> + <xs:element name="Size" type="xs:positiveInteger"/> + <xs:element name="Type" type="xs:string"/> + <xs:element name="OriginalFileName" type="pkl:UserText" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <!-- UUID --> + <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> + + <!--UserText--> + <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:schema> + |
