Definition Type: Element
Name: version_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#catos
Type: oval-sc:ItemType
Containing Schema: catos-system-characteristics-schema.xsd
Abstract
Documentation:
Stores results from SHOW VERSION command.
Collapse XSD Schema Diagram:
Drilldown into catos_version_id in schema catos-system-characteristics-schema_xsd Drilldown into catos_individual_release in schema catos-system-characteristics-schema_xsd Drilldown into catos_major_release in schema catos-system-characteristics-schema_xsd Drilldown into image_name in schema catos-system-characteristics-schema_xsd Drilldown into switch_series in schema catos-system-characteristics-schema_xsd Drilldown into message in schema oval-system-characteristics-schema_xsd Drilldown into status in schema oval-system-characteristics-schema_xsd Drilldown into id in schema oval-system-characteristics-schema_xsd Drilldown into ItemType in schema oval-system-characteristics-schema_xsdXSD Diagram of version_item in schema catos-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="version_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Stores results from SHOW VERSION command.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="switch_series" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="versionitemswitch_series" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-sc:version_item/catos-sc:switch_series">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the switch_series entity of a version_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="image_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="versionitemimage_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-sc:version_item/catos-sc:image_name">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the image_name entity of a version_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_major_release" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="versionitemcatos_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-sc:version_item/catos-sc:catos_major_release">
                                        <sch:assert test="@datatype='version'">item <sch:value-of select="../@id" /> - datatype attribute for the catos_major_release entity of a version_item should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_individual_release" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="versionitemcatos_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-sc:version_item/catos-sc:catos_individual_release">
                                        <sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the catos_individual_release entity of a version_item should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_version_id" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="versionitemcatos_version_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-sc:version_item/catos-sc:catos_version_id">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the catos_version_id entity of a version_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </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
message oval-sc:message 0 1
switch_series catos-sc:switch_series 0 1
image_name catos-sc:image_name 0 1
catos_major_release catos-sc:catos_major_release 0 1
catos_individual_release catos-sc:catos_individual_release 0 1
catos_version_id catos-sc:catos_version_id 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-sc:id Required
status oval-sc:status exists Optional
Collapse Derivation Tree:
Collapse References:
oval-sc:item