Definition Type: Element
Name: nvram_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#macos
Type: oval-sc:ItemType
Containing Schema: macos-system-characteristics-schema.xsd
Abstract
Documentation:
Output of 'nvram -p'
Collapse XSD Schema Diagram:
Drilldown into nvram_value in schema macos-system-characteristics-schema_xsd Drilldown into nvram_var in schema macos-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 nvram_item in schema macos-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="nvram_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Output of 'nvram -p'</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="nvram_var" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>A nvram variabl.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="nvramitemnvram_var" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:nvram_item/macos-sc:nvram_var">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the nvram_var entity of a nvram_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="nvram_value" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the value of the associated nvram variable.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="nvramitemnvram_value" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:nvram_item/macos-sc:nvram_value">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the nvram_value entity of a nvram_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
nvram_var macos-sc:nvram_var 0 1
nvram_value macos-sc:nvram_value 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