xml/schema/lib/elements/linux.xsd

30 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="../types/linux.xsd"/>
<xs:complexType name="t_linux_disk">
<xs:sequence>
<xs:element name="part" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="1">
<xs:element name="partitionFlag" minOccurs="1" maxOccurs="unbounded" type="t_linux_part_flags"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="name" type="t_std_nonempty" use="optional"/>
<xs:attribute name="label" type="t_std_nonempty" use="optional"/>
<xs:attribute name="start" type="t_linux_disksize" use="required"/>
<xs:attribute name="stop" type="t_linux_disksize" use="required"/>
<xs:attribute name="fsType" type="t_linux_fstype" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="device" type="t_linux_diskdev" use="required"/>
<xs:attribute name="diskFormat" type="t_sys_diskfmt" use="required"/>
</xs:complexType>
</xs:schema>