xml.xsd 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="applied_fixer">
  4. <xs:complexType>
  5. <xs:simpleContent>
  6. <xs:extension base="xs:string">
  7. <xs:attribute type="xs:string" name="name"/>
  8. </xs:extension>
  9. </xs:simpleContent>
  10. </xs:complexType>
  11. </xs:element>
  12. <xs:element name="applied_fixers">
  13. <xs:complexType>
  14. <xs:sequence>
  15. <xs:element ref="applied_fixer" maxOccurs="unbounded" minOccurs="0"/>
  16. </xs:sequence>
  17. </xs:complexType>
  18. </xs:element>
  19. <xs:element name="diff" type="xs:string"/>
  20. <xs:element name="file">
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element ref="applied_fixers" maxOccurs="1" minOccurs="0"/>
  24. <xs:element ref="diff" maxOccurs="1" minOccurs="0"/>
  25. </xs:sequence>
  26. <xs:attribute type="xs:byte" name="id" use="optional"/>
  27. <xs:attribute type="xs:string" name="name" use="optional"/>
  28. </xs:complexType>
  29. </xs:element>
  30. <xs:element name="total">
  31. <xs:complexType>
  32. <xs:simpleContent>
  33. <xs:extension base="xs:string">
  34. <xs:attribute type="xs:float" name="value"/>
  35. </xs:extension>
  36. </xs:simpleContent>
  37. </xs:complexType>
  38. </xs:element>
  39. <xs:element name="about">
  40. <xs:complexType>
  41. <xs:simpleContent>
  42. <xs:extension base="xs:string">
  43. <xs:attribute type="xs:string" name="value"/>
  44. </xs:extension>
  45. </xs:simpleContent>
  46. </xs:complexType>
  47. </xs:element>
  48. <xs:element name="files">
  49. <xs:complexType>
  50. <xs:sequence>
  51. <xs:element ref="file" maxOccurs="unbounded" minOccurs="0"/>
  52. </xs:sequence>
  53. </xs:complexType>
  54. </xs:element>
  55. <xs:element name="time">
  56. <xs:complexType>
  57. <xs:sequence>
  58. <xs:element ref="total"/>
  59. </xs:sequence>
  60. <xs:attribute type="xs:string" name="unit"/>
  61. </xs:complexType>
  62. </xs:element>
  63. <xs:element name="memory">
  64. <xs:complexType>
  65. <xs:simpleContent>
  66. <xs:extension base="xs:string">
  67. <xs:attribute type="xs:float" name="value"/>
  68. <xs:attribute type="xs:string" name="unit"/>
  69. </xs:extension>
  70. </xs:simpleContent>
  71. </xs:complexType>
  72. </xs:element>
  73. <xs:element name="report">
  74. <xs:complexType>
  75. <xs:sequence>
  76. <xs:element ref="about" maxOccurs="1" minOccurs="1"/>
  77. <xs:element ref="files"/>
  78. <xs:element ref="time" maxOccurs="1" minOccurs="0"/>
  79. <xs:element ref="memory" maxOccurs="1" minOccurs="0"/>
  80. </xs:sequence>
  81. </xs:complexType>
  82. </xs:element>
  83. </xs:schema>