summaryrefslogtreecommitdiffstats
path: root/addons/xbmc.webinterface/webinterface.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'addons/xbmc.webinterface/webinterface.xsd')
-rw-r--r--addons/xbmc.webinterface/webinterface.xsd26
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/xbmc.webinterface/webinterface.xsd b/addons/xbmc.webinterface/webinterface.xsd
new file mode 100644
index 0000000..e4fd1ca
--- /dev/null
+++ b/addons/xbmc.webinterface/webinterface.xsd
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="extension">
+ <xs:complexType>
+ <xs:attribute name="point" type="xs:string" use="required"/>
+ <xs:attribute name="id" type="simpleIdentifier"/>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="type" type="webinterfaceType"/>
+ <xs:attribute name="library" type="xs:string"/>
+ <xs:attribute name="entry" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="simpleIdentifier">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="xbmc\.webinterface"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="webinterfaceType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="static"/>
+ <xs:enumeration value="html"/>
+ <xs:enumeration value="wsgi"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>