Merge pull request #23122 from joseluismarti/bionic
[xbmc.git] / addons / xbmc.webinterface / webinterface.xsd
blobe4fd1cac07572b8f003ecbd280208ae72f2b7b32
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:attribute name="point" type="xs:string" use="required"/>
7 <xs:attribute name="id" type="simpleIdentifier"/>
8 <xs:attribute name="name" type="xs:string"/>
9 <xs:attribute name="type" type="webinterfaceType"/>
10 <xs:attribute name="library" type="xs:string"/>
11 <xs:attribute name="entry" type="xs:string"/>
12 </xs:complexType>
13 </xs:element>
14 <xs:simpleType name="simpleIdentifier">
15 <xs:restriction base="xs:string">
16 <xs:pattern value="xbmc\.webinterface"/>
17 </xs:restriction>
18 </xs:simpleType>
19 <xs:simpleType name="webinterfaceType">
20 <xs:restriction base="xs:string">
21 <xs:enumeration value="static"/>
22 <xs:enumeration value="html"/>
23 <xs:enumeration value="wsgi"/>
24 </xs:restriction>
25 </xs:simpleType>
26 </xs:schema>