<xsd:element name="sharedresource_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation />
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="netname" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The share name of the resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemnetname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:netname">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the netname entity of a sharedresource_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="shared_type" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The type of the shared resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemshared_type" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:shared_type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the shared_type entity of a sharedresource_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="max_uses" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The maximum number of concurrent connections that the shared resource can accommodate.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemmax_uses" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:max_uses">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the max_uses entity of a sharedresource_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="current_uses" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The number of current connections to the shared resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemcurrent_uses" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:current_uses">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the current_uses entity of a sharedresource_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="local_path" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The local path for the shared resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemlocal_path" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:local_path">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the local_path entity of a sharedresource_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_read_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to read data from a resource and, by default, to execute the resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_read_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_read_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_read_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_write_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to write data to the resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_write_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_write_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_write_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_create_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to create an instance of the resource (such as a file); data can be written to the resource as the resource is created.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_create_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_create_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_create_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_exec_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to execute the resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_exec_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_exec_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_exec_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_delete_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to delete the resource.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_delete_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_delete_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_delete_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_atrib_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to modify the resource's attributes (such as the date and time when a file was last modified).</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_atrib_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_atrib_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_atrib_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_perm_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to modify the permissions (read, write, create, execute, and delete) assigned to a resource for a user or application.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_perm_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_perm_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_perm_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access_all_permission" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Permission to read, write, create, execute, and delete resources, and to modify their attributes and permissions.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sritemaccess_all_permission" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:sharedresource_item/win-sc:access_all_permission">
<sch:assert test="not(@datatype) or @datatype='bool'">item <sch:value-of select="../@id" /> - datatype attribute for the access_all_permission entity of a sharedresource_item should be 'bool'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|