degree

provides a coded representation of the degree of damage, either as a
number between 0 (undamaged) and 1 (very extensively damaged), or as one of the codes
high, medium, low, or unknown. The damage element with the degree attribute should only be
used where the text may be read with some confidence; text supplied from other sources
should be tagged as supplied.

Attribute Information

Used By

Source

<xs:attribute name="degree">
  <xs:annotation>
    <xs:documentation>provides a coded representation of the degree of damage, either as a number between 0 (undamaged) and 1 (very extensively damaged), or as one of the codes high, medium, low, or unknown. The damage element with the degree attribute should only be used where the text may be read with some confidence; text supplied from other sources should be tagged as supplied.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union memberTypes="xs:double">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="high"/>
          <xs:enumeration value="medium"/>
          <xs:enumeration value="low"/>
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
</xs:attribute>

Sample