<xsd:element name="password_state" substitutionGroup="oval-def:state">
<xsd:annotation>
<xsd:documentation>The password_state element defines the different information associated with the system passwords. Please refer to the individual elements in the schema for more details about what each represents.</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="passwordsteusername" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:username">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the username entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="password" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="passwordstepassword" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:password">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the password entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="user_id" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The numeric user id, or uid, is the third column of each user's entry in /etc/passwd. This element represents the owner of the file.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="passwordsteuser_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:user_id">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the user_id entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="group_id" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="passwordstegroup_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:group_id">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the group_id entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="gcos" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="passwordstegcos" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:gcos">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the gcos entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="home_dir" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="passwordstehome_dir" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:home_dir">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the home_dir entity of a password_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="login_shell" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="passwordstelogin_shell" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:package_state/unix-def:login_shell">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the login_shell entity of a password_state 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>
|