summaryrefslogtreecommitdiff
path: root/testxml/xsd/tmw.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'testxml/xsd/tmw.xsd')
-rw-r--r--testxml/xsd/tmw.xsd27
1 files changed, 27 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index fd71007..5a7e23f 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -873,6 +873,7 @@
itemsPatchFile: items_patch.xml
itemsPatchDir: items.d/*.xml
-->
+ <!-- not all item fields added -->
<xs:element name="items" type="root_items"/>
<xs:complexType name="root_items">
<xs:sequence>
@@ -1529,6 +1530,8 @@
<xs:element ref="include"/>
<xs:element name="guild" type="badges_list" />
<xs:element name="party" type="badges_list" />
+ <xs:element name="name" type="badges_list" />
+ <xs:element name="clan" type="badges_list" />
</xs:choice>
</xs:sequence>
</xs:complexType>
@@ -1933,6 +1936,30 @@
</xs:sequence>
</xs:complexType>
+ <!-- not all item fields added -->
+ <xs:element name="clans" type="root_clans"/>
+ <xs:complexType name="root_clans">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="include"/>
+ <xs:element name="clan">
+ <xs:complexType>
+ <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="maxhp" type="xs:string" use="optional"/>
+ <xs:attribute name="maxmp" type="xs:string" use="optional"/>
+ <xs:attribute name="str" type="xs:string" use="optional"/>
+ <xs:attribute name="agi" type="xs:string" use="optional"/>
+ <xs:attribute name="vit" type="xs:string" use="optional"/>
+ <xs:attribute name="int" type="xs:string" use="optional"/>
+ <xs:attribute name="dex" type="xs:string" use="optional"/>
+ <xs:attribute name="luck" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
<!--
ModDB::loadXmlFile
modsFile: mods.xml