35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xs:schema xmlns="http://www.deepclone.com/lw/b6/m2/tech-graph"
|
||
|
targetNamespace="http://www.deepclone.com/lw/b6/m2/tech-graph"
|
||
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
||
|
attributeFormDefault="unqualified">
|
||
|
|
||
|
<xs:element name="lw-tech-graph">
|
||
|
<xs:complexType>
|
||
|
<xs:sequence>
|
||
|
<xs:element name="technology" type="technology-description"
|
||
|
minOccurs="1" maxOccurs="unbounded">
|
||
|
</xs:element>
|
||
|
</xs:sequence>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
|
||
|
<xs:simpleType name="positive-long">
|
||
|
<xs:restriction base="xs:long">
|
||
|
<xs:minExclusive value="0"></xs:minExclusive>
|
||
|
</xs:restriction>
|
||
|
</xs:simpleType>
|
||
|
|
||
|
<xs:complexType name="technology-description">
|
||
|
<xs:sequence>
|
||
|
<xs:element name="depends-on" type="xs:token" minOccurs="0"
|
||
|
maxOccurs="unbounded" />
|
||
|
</xs:sequence>
|
||
|
<xs:attribute name="name" use="required" type="xs:token" />
|
||
|
<xs:attribute name="category" use="required" type="xs:token" />
|
||
|
<xs:attribute name="description" use="required" type="xs:token" />
|
||
|
<xs:attribute name="discovery" use="required" type="xs:token" />
|
||
|
<xs:attribute name="cost" use="required" type="positive-long" />
|
||
|
<xs:attribute name="points" use="required" type="positive-long" />
|
||
|
</xs:complexType>
|
||
|
</xs:schema>
|