This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server/legacyworlds-server-main/data/techs.xsd

28 lines
1.1 KiB
XML
Raw Normal View History

2018-10-23 09:38:02 +02:00
<?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>