Definition Type: Element
Name: data
Namespace: http://oval.mitre.org/XMLSchema/oval#windows
Type: oval:dataType
Containing Schema: windows-schema.xsd
MinOccurs 0
MaxOccurs 1
Abstract
Collapse XSD Schema Diagram:
Drilldown into development_class in schema windows-schema_xsd Drilldown into type in schema windows-schema_xsd Drilldown into version in schema windows-schema_xsd Drilldown into md5 in schema windows-schema_xsd Drilldown into ms_checksum in schema windows-schema_xsd Drilldown into m_time in schema windows-schema_xsd Drilldown into c_time in schema windows-schema_xsd Drilldown into a_time in schema windows-schema_xsd Drilldown into size in schema windows-schema_xsd Drilldown into owner in schema windows-schema_xsd Drilldown into operation in schema oval-schema_xsd Drilldown into dataType in schema oval-schema_xsdXSD Diagram of data in schema windows-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="data" minOccurs="0" maxOccurs="1">
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval:dataType">
                <xsd:sequence>
                    <xsd:element name="owner" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>A string that contains the name of the owner.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="size" type="oval:subtestIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Size of the file in bytes.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>integer</content>
                                <valid_datatypes>integer</valid_datatypes>
                                <valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="a_time" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Time of last access of file. Valid on NTFS but not on FAT formatted disk drives.  The string should represent the FILETIME structure which is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="c_time" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Time of creation of file. Valid on NTFS but not on FAT formatted disk drives.  The string should represent the FILETIME structure which is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="m_time" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Time of last modification of file.  The string should represent the FILETIME structure which is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="ms_checksum" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>the md5 checksum of the file.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="md5" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The md5 hash of the file</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="version" type="windows:subtestFileVersionType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The version of the file.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>none</content>
                                <valid_datatypes>version</valid_datatypes>
                                <valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="type" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The type child element marks wether the file test describes a directory, named pipe, standard file, etc.  These types are the return values for GetFileType, with the exception of FILE_ATTRIBUTE_DIRECTORY which is obtained by looking at GetFileAttributesEx.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:simpleContent>
                                <xsd:restriction base="oval:subtestStringType">
                                    <xsd:enumeration value="FILE_ATTRIBUTE_DIRECTORY" />
                                    <xsd:enumeration value="FILE_TYPE_CHAR" />
                                    <xsd:enumeration value="FILE_TYPE_DISK" />
                                    <xsd:enumeration value="FILE_TYPE_PIPE" />
                                    <xsd:enumeration value="FILE_TYPE_REMOTE" />
                                    <xsd:enumeration value="FILE_TYPE_UNKNOWN" />
                                </xsd:restriction>
                            </xsd:simpleContent>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="development_class" type="oval:subtestStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The development_class element allows the distinction to be made between the GDR development environment and the QFE development environment.  This field holds the text found in front of the mmmmmm-nnnn version, for example srv03_gdr.</xsd:documentation>
                            <xsd:appinfo>
                                <parent_test>File Test</parent_test>
                                <cardinality>0-1</cardinality>
                                <content>string</content>
                                <valid_datatypes>string</valid_datatypes>
                                <valid_operators>equals, not equal, pattern match</valid_operators>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
owner windows:owner 0 1
size windows:size 0 1
a_time windows:a_time 0 1
c_time windows:c_time 0 1
m_time windows:m_time 0 1
ms_checksum windows:ms_checksum 0 1
md5 windows:md5 0 1
version windows:version 0 1
type windows:type 0 1
development_class windows:development_class 0 1
Collapse Child Attributes:
Name Type Default Value Use
operation oval:operation AND Optional
Collapse Derivation Tree: