mirror of https://gitee.com/openkylin/lshw.git
91 lines
3.3 KiB
XML
91 lines
3.3 KiB
XML
<?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>
|