home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
install.wim
/
2
/
Windows
/
security
/
RuleResults.xsd
< prev
next >
Wrap
Extensible Markup Language
|
2008-01-19
|
3KB
|
72 lines
<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
CheckResults is the top level element for the extensions scan results.
it is attributed by the extension Name as well as the max severity reported by
the extension. Optionaly the extension could supply a link to be associated
with its results.
CheckResults contains Items element which is a list of items reported by the extension.
-->
<xsd:element name="CheckResults">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Items" type="ItemsType" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="Name" type="xsd:string" use="required" />
<xsd:attribute name="Version" type="xsd:string" use="required" />
<xsd:attribute name="Severity" type="xsd:string" use="required" />
<xsd:attribute name="Link" type="xsd:string" use="optional" />
<xsd:attribute name="Tag" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ItemsType">
<xsd:sequence>
<xsd:element name="Item" type="ItemType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<!--
Each Item has a severity, and primary key and value attributes.
Each Item can contain properties and/or propertygroups.
-->
<xsd:complexType name="ItemType">
<xsd:sequence>
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="PropertyGroup" type="PropertyGroupType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Remediation" type="RemedationType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Severity" type="xsd:string" use="required" />
<xsd:attribute name="Key" type="xsd:string" use="required" />
<xsd:attribute name="Value" type="xsd:string" use="required" />
</xsd:complexType>
<!--
A propertygroup is a keyed collection of sub properties and/or propertygroups.
-->
<xsd:complexType name="PropertyGroupType">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="PropertyGroup" type="PropertyGroupType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="Key" type="xsd:string" use="optional" />
</xsd:complexType>
<!--
a Property is a Keyed list of arbitrary Fields.
-->
<xsd:complexType name="PropertyType">
<xsd:sequence>
<xsd:element name="Field" type="AnyContentType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="Key" type="xsd:string" use="required" />
</xsd:complexType>
<xsd:complexType name="RemedationType">
<xsd:sequence>
<xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AnyContentType" mixed="true">
<xsd:sequence>
<xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>