diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-08 20:42:55 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:57:18 +0200 |
| commit | cdd98db2de839a5ef14b3c9c67a58392a8e123c1 (patch) | |
| tree | 49253d02f5c808dd0f3923c5b5861ea8a7182f6b /xsd/SMPTE-335-2012.xsd | |
| parent | 68b7ad9d59f73e26368b3a42d4d7ed1a77805237 (diff) | |
Verify MCA tags.
Diffstat (limited to 'xsd/SMPTE-335-2012.xsd')
| -rw-r--r-- | xsd/SMPTE-335-2012.xsd | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/xsd/SMPTE-335-2012.xsd b/xsd/SMPTE-335-2012.xsd new file mode 100644 index 00000000..a147f905 --- /dev/null +++ b/xsd/SMPTE-335-2012.xsd @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:r0="http://www.smpte-ra.org/reg/2003/2012" + xmlns:xlink="http://www.w3.org/1999/xlink" + attributeFormDefault="unqualified" + elementFormDefault="qualified" + targetNamespace="http://www.smpte-ra.org/reg/335/2012" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:r1="http://www.smpte-ra.org/reg/335/2012"> + +<xs:import namespace="http://www.smpte-ra.org/reg/2003/2012"/> +<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.w3.org/1999/xlink.xsd"/> + +<xs:simpleType name="UUID"> +<xs:restriction base="xs:anyURI"> +<xs:pattern value="urn:uuid:[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}"/> +</xs:restriction> +</xs:simpleType> + +<xs:complexType name="UUIDArray"> +<xs:sequence> +<xs:element maxOccurs="unbounded" minOccurs="0" name="Thing" type="r1:UUID"/> +</xs:sequence> +</xs:complexType> + +<xs:attribute name='escaped' type='xs:boolean'/> + +<xs:complexType name="UTF16String"> +<xs:simpleContent> +<xs:extension base="xs:string"> +<xs:attribute ref="r1:escaped" use="optional"/> +</xs:extension> +</xs:simpleContent> +</xs:complexType> + +<xs:simpleType name='AUID'> + <xs:restriction base='xs:anyURI'> + <xs:pattern + value='urn:smpte:ul:([0-9a-fA-F]{8}\.){3}[0-9a-fA-F]{8}'/> + <xs:pattern + value='urn:uuid:[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}'/> + </xs:restriction> +</xs:simpleType> + +<xs:complexType name="ISO7"> +<xs:simpleContent> +<xs:extension base="xs:string"> +<xs:attribute ref="r1:escaped" use="optional"/> +</xs:extension> +</xs:simpleContent> +</xs:complexType> + +<xs:simpleType name="UInt32"> +<xs:union> +<xs:simpleType> +<xs:restriction base="xs:unsignedInt"/> +</xs:simpleType> +<xs:simpleType> +<xs:restriction base="xs:string"> +<xs:pattern value="0x[0-9a-fA-F]{1,8}"/> +</xs:restriction> +</xs:simpleType> +</xs:union> +</xs:simpleType> + +<xs:element name="GroupOfSoundfieldGroupsLinkID" type="r1:UUIDArray"/> +<xs:element name="MCALinkID" type="r1:UUID"/> +<xs:element name="MCATagName" type="r1:UTF16String"/> +<xs:element name="MCATitleSubVersion" type="r1:UTF16String"/> +<xs:element name="MCALabelDictionaryID" type="r1:AUID"/> +<xs:element name="MCATagSymbol" type="r1:UTF16String"/> +<xs:element name="RFC5646SpokenLanguage" type="r1:ISO7"/> +<xs:element name="MCAPartitionKind" type="r1:UTF16String"/> +<xs:element name="MCAPartitionNumber" type="r1:UTF16String"/> +<xs:element name="MCATitleVersion" type="r1:UTF16String"/> +<xs:element name="MCAAudioContentKind" type="r1:UTF16String"/> +<xs:element name="MCAAudioElementKind" type="r1:UTF16String"/> +<xs:element name="MCAEpisode" type="r1:UTF16String"/> +<xs:element name="MCAChannelID" type="r1:UInt32"/> +<xs:element name="InstanceID" type="r1:UUID"/> +<xs:element name="LinkedGenerationID" type="r1:AUID"/> +<xs:element name="MCATitle" type="r1:UTF16String"/> +<xs:element name="SoundfieldGroupLinkID" type="r1:UUID"/> + +</xs:schema> |
