List162

ONIX Code List 162
Resource version feature type

Simple Type Information

Used By

Element x442

Source

<xs:simpleType name="List162">
  <xs:annotation>
    <xs:documentation source="ONIX Code List 162">Resource version feature type</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:enumeration value="01">
      <xs:annotation>
        <xs:documentation>File format</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries a code from List 178</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="02">
      <xs:annotation>
        <xs:documentation>Image height in pixels</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries an integer</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="03">
      <xs:annotation>
        <xs:documentation>Image width in pixels</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries an integer</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="04">
      <xs:annotation>
        <xs:documentation>Filename</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries the filename of the supporting resource</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="05">
      <xs:annotation>
        <xs:documentation>Approximate download file size in megabytes</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries a decimal number only, suggested no more than 2 significant digits (eg 1.7, not 1.7462)</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="06">
      <xs:annotation>
        <xs:documentation>MD5 hash value</xs:documentation>
        <xs:documentation>MD5 hash value of the resource file. <ResourceVersionFeatureValue> should contain the 128-bit digest value (as 32 hexadecimal digits). Can be used as a cryptographic check on the integrity of a resource after it has been retrieved</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="07">
      <xs:annotation>
        <xs:documentation>Exact download file size in bytes</xs:documentation>
        <xs:documentation>Resource Version Feature Value carries a integer number only (eg 1831023)</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="08">
      <xs:annotation>
        <xs:documentation>SHA-256 hash value</xs:documentation>
        <xs:documentation>SHA-256 hash value of the resource file. <ResourceVersionFeatureValue> should contain the 256-bit digest value (as 64 hexadecimal digits). Can be used as a cryptographic check on the integrity of a resource after it has been retrieved</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
  </xs:restriction>
</xs:simpleType>