Definition Type: Element
Name: package_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#solaris
Type: oval-sc:ItemType
Containing Schema: solaris-system-characteristics-schema.xsd
Abstract
Documentation:
Output of /usr/bin/pkginfo. See pkginfo(1).
Collapse XSD Schema Diagram:
Drilldown into description in schema solaris-system-characteristics-schema_xsd Drilldown into vendor in schema solaris-system-characteristics-schema_xsd Drilldown into version in schema solaris-system-characteristics-schema_xsd Drilldown into category in schema solaris-system-characteristics-schema_xsd Drilldown into name in schema solaris-system-characteristics-schema_xsd Drilldown into pkginst in schema solaris-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 package_item in schema solaris-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="package_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Output of /usr/bin/pkginfo. See pkginfo(1).</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="pkginst" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitempkginst" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:pkginst">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the pkginst entity of a package_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitemname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:name">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the name entity of a package_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="category" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitemcategory" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:category">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the category entity of a package_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="version" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitemversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:version">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the version entity of a package_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="vendor" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitemvendor" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:vendor">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the vendor entity of a package_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="description" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="packageitemdescription" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="sol-sc:package_item/sol-sc:description">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the description entity of a package_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
pkginst sol-sc:pkginst 0 1
name sol-sc:name 0 1
category sol-sc:category 0 1
version sol-sc:version 0 1
vendor sol-sc:vendor 0 1
description sol-sc:description 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