adminData.xsd 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  2. <xs:element name="list">
  3. <xs:complexType>
  4. <xs:sequence>
  5. <xs:element name="access" maxOccurs="unbounded" minOccurs="0">
  6. <xs:complexType>
  7. <xs:simpleContent>
  8. <xs:extension base="xs:string">
  9. <xs:attribute type="xs:integer" name="level" use="required" />
  10. <xs:attribute type="xs:string" name="name" use="required" />
  11. <xs:attribute type="xs:string" name="nameColor" use="optional" />
  12. <xs:attribute type="xs:string" name="titleColor" use="optional" />
  13. <xs:attribute type="xs:integer" name="childAccess" use="optional" />
  14. <xs:attribute type="xs:boolean" name="isGM" use="optional" />
  15. <xs:attribute type="xs:boolean" name="allowPeaceAttack" use="optional" />
  16. <xs:attribute type="xs:boolean" name="allowFixedRes" use="optional" />
  17. <xs:attribute type="xs:boolean" name="allowTransaction" use="optional" />
  18. <xs:attribute type="xs:boolean" name="allowAltg" use="optional" />
  19. <xs:attribute type="xs:boolean" name="giveDamage" use="optional" />
  20. <xs:attribute type="xs:boolean" name="takeAggro" use="optional" />
  21. <xs:attribute type="xs:boolean" name="gainExp" use="optional" />
  22. </xs:extension>
  23. </xs:simpleContent>
  24. </xs:complexType>
  25. </xs:element>
  26. <xs:element name="admin" maxOccurs="unbounded" minOccurs="0">
  27. <xs:complexType>
  28. <xs:simpleContent>
  29. <xs:extension base="xs:string">
  30. <xs:attribute type="xs:string" name="command" use="required" />
  31. <xs:attribute type="xs:string" name="accessLevel" use="optional" />
  32. <xs:attribute type="xs:boolean" name="confirmDlg" use="optional" />
  33. </xs:extension>
  34. </xs:simpleContent>
  35. </xs:complexType>
  36. </xs:element>
  37. </xs:sequence>
  38. </xs:complexType>
  39. </xs:element>
  40. </xs:schema>