task

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id taskID required
lang xs:language optional

Source

<xs:element minOccurs="0" maxOccurs="unbounded" name="task">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="title" type="xs:string"/>
      <xs:element name="problem" type="xs:string"/>
      <xs:element minOccurs="0" name="solution" type="xs:string"/>
      <xs:element minOccurs="0" name="objectiveref" type="objectiveID"/>
      <xs:element minOccurs="0" name="personref" type="personID"/>
      <xs:element minOccurs="0" name="sourceref" type="sourceID"/>
      <xs:element name="status">
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="new"/>
            <xs:enumeration value="analysis"/>
            <xs:enumeration value="finished"/>
            <xs:enumeration value="updated"/>
            <xs:enumeration value="rejected"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="0" name="statusdate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="change" type="xs:dateTime"/>
    </xs:sequence>
    <xs:attribute name="id" type="taskID" use="required"/>
    <xs:attribute name="lang" type="xs:language" use="optional"/>
  </xs:complexType>
</xs:element>

Sample