xml.xsd 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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="files">
  40. <xs:complexType>
  41. <xs:sequence>
  42. <xs:element ref="file" maxOccurs="unbounded" minOccurs="0"/>
  43. </xs:sequence>
  44. </xs:complexType>
  45. </xs:element>
  46. <xs:element name="time">
  47. <xs:complexType>
  48. <xs:sequence>
  49. <xs:element ref="total"/>
  50. </xs:sequence>
  51. <xs:attribute type="xs:string" name="unit"/>
  52. </xs:complexType>
  53. </xs:element>
  54. <xs:element name="memory">
  55. <xs:complexType>
  56. <xs:simpleContent>
  57. <xs:extension base="xs:string">
  58. <xs:attribute type="xs:float" name="value"/>
  59. <xs:attribute type="xs:string" name="unit"/>
  60. </xs:extension>
  61. </xs:simpleContent>
  62. </xs:complexType>
  63. </xs:element>
  64. <xs:element name="report">
  65. <xs:complexType>
  66. <xs:sequence>
  67. <xs:element ref="files"/>
  68. <xs:element ref="time" maxOccurs="1" minOccurs="0"/>
  69. <xs:element ref="memory" maxOccurs="1" minOccurs="0"/>
  70. </xs:sequence>
  71. </xs:complexType>
  72. </xs:element>
  73. </xs:schema>