aboutsummaryrefslogtreecommitdiff
path: root/addons/xbmc.python
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-12-22 00:44:07 +0100
committermontellese <montellese@xbmc.org>2014-12-22 01:05:57 +0100
commit13d5ad1519d4671cdb050df8c949c5b3bbc67f2a (patch)
tree5d823c1c11d6a9578f8f86dc53be79130059da0b /addons/xbmc.python
parent12922d3cdd567f7752968f933d5d870e51928513 (diff)
addons: add service.xsd
Diffstat (limited to 'addons/xbmc.python')
-rw-r--r--addons/xbmc.python/service.xsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/addons/xbmc.python/service.xsd b/addons/xbmc.python/service.xsd
new file mode 100644
index 0000000000..e29950f34f
--- /dev/null
+++ b/addons/xbmc.python/service.xsd
@@ -0,0 +1,18 @@
+<?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="library" type="xs:string" use="required"/>
+ <xs:attribute name="start" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="simpleIdentifier">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^.]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>