1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="list">
- <xs:complexType>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="npcs" minOccurs="0" maxOccurs="1">
- <xs:complexType>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="npc" minOccurs="1" maxOccurs="unbounded">
- <xs:simpleType>
- <xs:restriction base="xs:positiveInteger">
- <xs:minInclusive value="1" />
- <xs:maxInclusive value="65535" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="item" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="id" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:positiveInteger">
- <xs:minInclusive value="1" />
- <xs:maxInclusive value="65535" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="price" type="xs:nonNegativeInteger" />
- <xs:attribute name="restock_delay" type="xs:positiveInteger" />
- <xs:attribute name="count" type="xs:positiveInteger" />
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|