aboutsummaryrefslogtreecommitdiff
path: root/addons/kodi.binary.instance.game/controller.xsd
blob: 39f5c0e2d74bfde90e11c3b2de1d62331ded0754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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:complexContent>
        <xs:extension base="gamecontroller">
          <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:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="simpleIdentifier">
    <xs:restriction base="xs:string">
      <xs:pattern value="kodi\.game\.controller"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>