28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xs:schema xmlns="http://www.deepclone.com/lw/b6/m1/techs" targetNamespace="http://www.deepclone.com/lw/b6/m1/techs"
|
||
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||
|
|
||
|
<xs:element name="technologies">
|
||
|
<xs:complexType>
|
||
|
<xs:sequence>
|
||
|
<xs:element name="tech-line" type="tech-line" minOccurs="1" maxOccurs="unbounded" />
|
||
|
</xs:sequence>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
|
||
|
<xs:complexType name="tech-line">
|
||
|
<xs:sequence>
|
||
|
<xs:element name="level" type="tech-level" minOccurs="1" maxOccurs="unbounded" />
|
||
|
</xs:sequence>
|
||
|
<xs:attribute name="name" use="required" type="xs:token" />
|
||
|
<xs:attribute name="description" use="required" type="xs:token" />
|
||
|
</xs:complexType>
|
||
|
|
||
|
<xs:complexType name="tech-level">
|
||
|
<xs:attribute name="name" use="required" type="xs:token" />
|
||
|
<xs:attribute name="description" use="required" type="xs:token" />
|
||
|
<xs:attribute name="points" use="required" type="xs:positiveInteger" />
|
||
|
<xs:attribute name="cost" use="required" type="xs:positiveInteger" />
|
||
|
</xs:complexType>
|
||
|
|
||
|
</xs:schema>
|