<xsd:complexType name="VariableType">
<xsd:annotation>
<xsd:documentation>The VariableType complex type defines attributes associated with each OVAL Variable. The required id attribute uniquely identifies each variable, and must conform to the format specified by the varidPattern simple type. The required version attribute holds the current version of the variable. Versions are integers, starting at 1 and incrementing every time a variable is modified. The required datatype attribute specifies the type of value being defined. The set of values identified by a variable must comply with the specified datatype. The required comment attribute provides a short description of the variable. The optional deprecated attribute signifies that an id is no longer to be used or referenced but the information has been kept around for historic purposes.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="ds:Signature" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="id" type="oval:VariableIDPattern" use="required" />
<xsd:attribute name="version" type="xsd:nonNegativeInteger" use="required" />
<xsd:attribute name="datatype" type="oval:DatatypeEnumeration" use="required" />
<xsd:attribute name="comment" type="oval:NonEmptyStringType" use="required" />
<xsd:attribute name="deprecated" type="xsd:boolean" use="optional" default="false" />
</xsd:complexType>
|