<xsd:element name="snmp_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>Stores results from collecting lines under the global context associated with snmp.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="access_list" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="snmpitemaccess_list" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ios-sc:snmp_item/ios-sc:access_list">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the access_list entity of a snmp_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="community_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="snmpitemcommunity_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ios-sc:snmp_item/ios-sc:community_name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the community_name entity of a snmp_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>
|