[Video] Define more PCM AV_CODEC_ID for codec name formatting
[xbmc.git] / addons / xbmc.python / contextitem.xsd
blobcc9bbcbb1a7028272729390230f4ebe4e3fe9ab3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4 <xs:element name="extension">
5 <xs:complexType>
6 <xs:sequence>
7 <xs:element name="menu" type="menuType" minOccurs="1" maxOccurs="unbounded"/>
8 </xs:sequence>
9 <xs:attribute name="point" type="pointIdentifier" use="required"/>
10 <xs:attribute name="id" type="menuIdentifier"/>
11 </xs:complexType>
12 </xs:element>
13 <xs:complexType name="itemType">
14 <xs:all>
15 <xs:element name="label" type="xs:string" minOccurs="1"/>
16 <xs:element name="visible" type="xs:string" minOccurs="1"/>
17 </xs:all>
18 <xs:attribute name="library" type="xs:string" use="required"/>
19 </xs:complexType>
20 <xs:complexType name="menuType">
21 <xs:choice maxOccurs="unbounded">
22 <xs:element name="label" type="xs:string" minOccurs="0"/>
23 <xs:element name="item" type="itemType" minOccurs="0" maxOccurs="unbounded"/>
24 <xs:element name="menu" type="menuType" minOccurs="0" maxOccurs="unbounded"/>
25 </xs:choice>
26 <xs:attribute name="id" type="xs:string"/>
27 </xs:complexType>
28 <xs:simpleType name="pointIdentifier">
29 <xs:restriction base="xs:string">
30 <xs:pattern value="kodi\.context\.item"/>
31 </xs:restriction>
32 </xs:simpleType>
33 <xs:simpleType name="menuIdentifier">
34 <xs:restriction base="xs:string">
35 <xs:pattern value="kodi\.core\.(manage|main)"/>
36 </xs:restriction>
37 </xs:simpleType>
38 </xs:schema>