/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:simpleType name="hex16_t">
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="([a-fA-F0-9]){4}"/>
    </xsd:restriction>
  </xsd:simpleType>

  <xsd:complexType name="device_t">
    <xsd:attribute name="vendor" type="hex16_t" />
    <xsd:attribute name="device" type="hex16_t" />
    <xsd:attribute name="model" type="xsd:string" />
  </xsd:complexType>

  <xsd:element name="devices">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="device" type="device_t" minOccurs="0" maxOccurs="unbounded" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>