<xsd:element name="pwpolicy_state" substitutionGroup="oval-def:state">
<xsd:annotation>
<xsd:documentation />
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-def:StateType">
<xsd:sequence>
<xsd:element name="username" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="pwpsteusername" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:username">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the username entity of a pwpolicy_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="userpass" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="pwpsteuserpass" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:userpass">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the userpass entity of a pwpolicy_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="directory_node" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="pwpstedirectory_node" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:directory_node">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the directory_node entity of a pwpolicy_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="maxChars" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Maximum number of characters allowed in a password.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpstemaxChars" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:maxChars">
<sch:assert test="not(@datatype) or @datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the maxChars entity of a pwpolicy_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="maxFailedLoginAttempts" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Maximum number of failed logins before the account is locked.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpstemaxFailedLoginAttempts" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:maxFailedLoginAttempts">
<sch:assert test="not(@datatype) or @datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the maxFailedLoginAttempts entity of a pwpolicy_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="minChars" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Minimum number of characters allowed in a password.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpsteminChars" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:minChars">
<sch:assert test="not(@datatype) or @datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the minChars entity of a pwpolicy_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="passwordCannotBeName" type="oval-def:EntityStateBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Defines if the password is allowed to be the same as the username or not</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpstepasswordCannotBeName" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:passwordCannotBeName">
<sch:assert test="not(@datatype) or @datatype='boolean'">
<sch:value-of select="../@id" /> - datatype attribute for the passwordCannotBeName entity of a pwpolicy_state should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="requiresAlpha" type="oval-def:EntityStateBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Defines if the password must contain an alphabetical character or not</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpsterequiresAlpha" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:requiresAlpha">
<sch:assert test="not(@datatype) or @datatype='boolean'">
<sch:value-of select="../@id" /> - datatype attribute for the requiresAlpha entity of a pwpolicy_state should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="requiresNumeric" type="oval-def:EntityStateBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Defines if the password must contain an numeric character or not</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpsterequiresNumeric" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:requiresNumeric">
<sch:assert test="not(@datatype) or @datatype='boolean'">
<sch:value-of select="../@id" /> - datatype attribute for the requiresNumeric entity of a pwpolicy_state should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|