Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.8 KiB

  1. <?xml version="1.0" ?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3. <xsd:simpleType name="tCollapsedString">
  4. <xsd:restriction base="xsd:string">
  5. <xsd:whiteSpace value="collapse"/>
  6. <xsd:pattern value=".+"/>
  7. </xsd:restriction>
  8. </xsd:simpleType>
  9. <xsd:simpleType name="tSID">
  10. <xsd:restriction base="tCollapsedString">
  11. <xsd:pattern value="\*S-[0-9]+-[0-9]+(\-[0-9]+)*"/>
  12. </xsd:restriction>
  13. </xsd:simpleType>
  14. <xsd:complexType name="tSIDList">
  15. <xsd:sequence>
  16. <xsd:element name="Account" type="tSID" minOccurs="0" maxOccurs="unbounded"/>
  17. </xsd:sequence>
  18. </xsd:complexType>
  19. <xsd:complexType name="tSetting">
  20. <xsd:sequence>
  21. <xsd:element name="Name" type="tCollapsedString" />
  22. <xsd:element name="AnalysisResult">
  23. <xsd:complexType>
  24. <xsd:sequence>
  25. <xsd:element name="Match" type="xsd:boolean" />
  26. <xsd:element name="BaselineValue" type="xsd:anyType"/>
  27. <xsd:element name="SystemValue" type="xsd:anyType"/>
  28. </xsd:sequence>
  29. <xsd:attribute name="Unit" type="tCollapsedString" />
  30. <xsd:attribute name="Type" type="tCollapsedString" />
  31. </xsd:complexType>
  32. </xsd:element>
  33. </xsd:sequence>
  34. </xsd:complexType>
  35. <xsd:complexType name="tSIDSetting">
  36. <xsd:sequence>
  37. <xsd:element name="Name" type="tCollapsedString" />
  38. <xsd:element name="AnalysisResult">
  39. <xsd:complexType>
  40. <xsd:sequence>
  41. <xsd:element name="Match" type="xsd:boolean" />
  42. <xsd:element name="BaselineValue" type="tSIDList"/>
  43. <xsd:element name="SystemValue" type="tSIDList"/>
  44. </xsd:sequence>
  45. <xsd:attribute name="Unit" type="tCollapsedString" />
  46. <xsd:attribute name="Type" type="tCollapsedString" />
  47. </xsd:complexType>
  48. </xsd:element>
  49. </xsd:sequence>
  50. </xsd:complexType>
  51. <xsd:complexType name="tAnalysisArea">
  52. <xsd:sequence>
  53. <xsd:element name="Setting" type="tSetting" minOccurs="0" maxOccurs="unbounded" />
  54. </xsd:sequence>
  55. </xsd:complexType>
  56. <xsd:complexType name="tSIDAnalysisArea">
  57. <xsd:sequence>
  58. <xsd:element name="Setting" type="tSIDSetting" minOccurs="0" maxOccurs="unbounded" />
  59. </xsd:sequence>
  60. </xsd:complexType>
  61. <xsd:element name="SCEAnalysisData">
  62. <xsd:complexType>
  63. <xsd:sequence>
  64. <xsd:element name="Description">
  65. <xsd:complexType>
  66. <xsd:sequence>
  67. <xsd:element name="Name" type="tCollapsedString" />
  68. <xsd:element name="DisplayName" type="tCollapsedString" />
  69. <xsd:element name="AnalysisDate" type="xsd:date" />
  70. <xsd:element name="AnalysisTime" type="xsd:time" />
  71. <xsd:element name="Version" type="xsd:decimal" />
  72. </xsd:sequence>
  73. </xsd:complexType>
  74. </xsd:element>
  75. <xsd:element name="SystemAccess" type="tAnalysisArea" />
  76. <xsd:element name="SystemLog" type="tAnalysisArea">
  77. <xsd:unique name="bySettingName">
  78. <xsd:selector xpath="Setting" />
  79. <xsd:field xpath="Name" />
  80. </xsd:unique>
  81. </xsd:element>
  82. <xsd:element name="SecurityLog" type="tAnalysisArea" />
  83. <xsd:element name="ApplicationLog" type="tAnalysisArea" />
  84. <xsd:element name="EventAudit" type="tAnalysisArea" />
  85. <xsd:element name="PrivilegeRights" type="tSIDAnalysisArea" />
  86. <xsd:element name="GroupMembership" type="tSIDAnalysisArea" />
  87. <xsd:element name="ServiceGeneralSetting" type="tAnalysisArea" />
  88. <xsd:element name="RegistryValues" type="tAnalysisArea" />
  89. </xsd:sequence>
  90. </xsd:complexType>
  91. </xsd:element>
  92. </xsd:schema>