UNPKG

onix-parser

Version:

Parse ONIX 3.0 XML files and extract structured product data for publishing and digital books

47 lines 2.09 kB
[ { "Value": "01", "Description": "File format", "Notes": "Resource Version Feature Value carries a code from List 178" }, { "Value": "02", "Description": "Image height in pixels", "Notes": "Resource Version Feature Value carries an integer" }, { "Value": "03", "Description": "Image width in pixels", "Notes": "Resource Version Feature Value carries an integer" }, { "Value": "04", "Description": "Filename", "Notes": "Resource Version Feature Value carries the filename of the supporting resource, necessary only when it is different from the last part of the path provided in <ResourceLink>" }, { "Value": "05", "Description": "Approximate download file size in megabytes", "Notes": "Resource Version Feature Value carries a decimal number only, suggested no more than 2 or 3 significant digits (eg 1.7, not 1.7462 or 1.75MB)" }, { "Value": "06", "Description": "MD5 hash value", "Notes": "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" }, { "Value": "07", "Description": "Exact download file size in bytes", "Notes": "Resource Version Feature Value carries a integer number only (eg 1831023)" }, { "Value": "08", "Description": "SHA-256 hash value", "Notes": "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" }, { "Value": "09", "Description": "ISCC", "Notes": "International Standard Content Code, a ‘similarity hash’ derived algorithmically from the resource content itself (see https://iscc.codes). <IDValue> is the 55-character case-sensitive string (including three hyphens) forming the ISCC of the resource file" } ]