File: lshw.xsd

package info (click to toggle)
lshw 02.19.git.2021.06.19.996aaad9c7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,032 kB
  • sloc: cpp: 21,437; ansic: 421; makefile: 347; xml: 15
file content (90 lines) | stat: -rw-r--r-- 3,411 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0"?>

<xs:schema
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://www.ezix.org"
	xmlns="http://www.ezix.org"
	elementFormDefault="qualified">

  <xs:element name="node" type="nodeinfo" />

  <xs:complexType name="nodeinfo">
    <xs:sequence>
      <xs:element name="description" type="xs:string" minOccurs="0" />
      <xs:element name="product" type="xs:string" minOccurs="0" />
      <xs:element name="vendor" type="xs:string" minOccurs="0" />
      <xs:element name="physid" type="xs:string" minOccurs="0" />
      <xs:element name="version" type="xs:string" minOccurs="0" />
      <xs:element name="date" type="xs:string" minOccurs="0" />
      <xs:element name="serial" type="xs:string" minOccurs="0" />
      <xs:element name="businfo" type="xs:string" minOccurs="0" />
      <xs:element name="slot" type="xs:string" minOccurs="0" />
      <xs:element name="size" type="measured" minOccurs="0" />
      <xs:element name="capacity" type="measured" minOccurs="0" />
      <xs:element name="clock" type="measured" minOccurs="0" />
      <xs:element name="width" type="measured" minOccurs="0" />
      <xs:element name="configuration" type="configinfo" minOccurs="0" />
      <xs:element name="capabilities" type="capinfo" minOccurs="0" />
      <xs:element name="resources" type="resinfo" minOccurs="0" />
      <xs:element name="node" type="nodeinfo" maxOccurs="unbounded" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" minOccurs="0" />
    <xs:attribute name="handle" type="xs:string" minOccurs="0" />
    <xs:attribute name="class" type="xs:string" minOccurs="0" />
    <xs:attribute name="claimed" type="xs:boolean" minOccurs="0" />
    <xs:attribute name="disabled" type="xs:boolean" minOccurs="0" />
    <xs:attribute name="modalias" type="xs:string" minOccurs="0" />
  </xs:complexType>

  <xs:complexType name="measured">
    <xs:simpleContent>
      <xs:extension base="xs:decimal">
        <xs:attribute name="units" type="xs:string" minOccurs="0" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:complexType name="configinfo">
    <xs:sequence>
      <xs:element name="setting" type="configentry" maxOccurs="unbounded" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="configentry">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="id" type="xs:string" />
        <xs:attribute name="value" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:complexType name="capinfo">
    <xs:sequence>
      <xs:element name="capability" type="capentry" maxOccurs="unbounded" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="capentry">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="id" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:complexType name="resinfo">
    <xs:sequence>
      <xs:element name="resource" type="resentry" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="resentry">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="type" type="xs:string" />
        <xs:attribute name="value" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>