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">
7 <xs:element name=
"provides" type=
"providesList" minOccurs=
"0" maxOccurs=
"1"/>
9 <xs:attribute name=
"point" type=
"xs:string" use=
"required"/>
10 <xs:attribute name=
"id" type=
"simpleIdentifier"/>
11 <xs:attribute name=
"name" type=
"xs:string"/>
12 <xs:attribute name=
"library" type=
"xs:string" use=
"required"/>
15 <xs:simpleType name=
"simpleIdentifier">
16 <xs:restriction base=
"xs:string">
17 <xs:pattern value=
"xbmc\.(python\.(library|lyrics|module|script|weather)|ui\.screensaver|subtitle\.module)"/>
20 <xs:simpleType name=
"providesList">
21 <xs:list itemType=
"providesType"/>
23 <xs:simpleType name=
"providesType">
24 <xs:restriction base=
"xs:string">
25 <xs:enumeration value=
"audio"/>
26 <xs:enumeration value=
"executable"/>
27 <xs:enumeration value=
"game"/>
28 <xs:enumeration value=
"image"/>
29 <xs:enumeration value=
"video"/>