<xsd:element name="interface_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>Enumerate various attributes about the interfaces on a system.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the name of an interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the name entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="index" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies index that identifies the interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemindex" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:index">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the index entity of an interface_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" type="win-sc:EntityItemInterfaceTypeType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the type of interface which is limited to certain set of values.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemtype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the type entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="hardware_addr" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the the physical address of the adapter for this interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemhardware_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:hardware_addr">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the hardware_addr entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="inet_addr" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the IP address.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceiteminet_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:inet_addr">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the inet_addr entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="broadcast_addr" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the broadcast address. A broadcast address is typically the IP address with the host portion set to either all zeros or all ones.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitembroadcast_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:broadcast_addr">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the broadcast_addr entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="netmask" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This element specifies the subnet mask for the IP address.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemnetmask" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:netmask">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the netmask entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="addr_type" type="win-sc:EntityItemAddrTypeType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>This element specifies the address type or state of a specific interface. Each interface can be associated with more than one value meaning the addr_type element can occur multiple times.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfaceitemaddr_type" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:interface_item/win-sc:addr_type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the addr_type entity of an interface_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>
|