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">
6 <xs:choice maxOccurs=
"unbounded">
7 <xs:element name=
"provides" type=
"providesList" minOccurs=
"0" maxOccurs=
"1"/>
8 <xs:element name=
"medialibraryscanpath" type=
"pathType" minOccurs=
"0" maxOccurs=
"unbounded"/>
10 <xs:attribute name=
"point" type=
"xs:string" use=
"required"/>
11 <xs:attribute name=
"id" type=
"simpleIdentifier"/>
12 <xs:attribute name=
"name" type=
"xs:string"/>
13 <xs:attribute name=
"library" type=
"xs:string" use=
"required"/>
16 <xs:simpleType name=
"simpleIdentifier">
17 <xs:restriction base=
"xs:string">
18 <xs:pattern value=
"xbmc\.python\.pluginsource"/>
21 <xs:simpleType name=
"providesType">
22 <xs:restriction base=
"xs:string">
23 <xs:enumeration value=
"audio"/>
24 <xs:enumeration value=
"executable"/>
25 <xs:enumeration value=
"game"/>
26 <xs:enumeration value=
"image"/>
27 <xs:enumeration value=
"video"/>
30 <xs:simpleType name=
"providesList">
31 <xs:list itemType=
"providesType"/>
33 <xs:simpleType name=
"contentType">
34 <xs:restriction base=
"xs:string">
35 <xs:enumeration value=
"albums"/>
36 <xs:enumeration value=
"artists"/>
37 <xs:enumeration value=
"movies"/>
38 <xs:enumeration value=
"musicvideos"/>
39 <xs:enumeration value=
"tvshows"/>
42 <xs:complexType name=
"pathType">
44 <xs:extension base=
"xs:string">
45 <xs:attribute name=
"content" type=
"contentType" use=
"required"/>