UNPKG

onix-parser

Version:

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

52 lines 2.91 kB
[ { "Value": "01", "Description": "Required credit", "Notes": "Credit that must be displayed when a resource is used (eg ‘Photo Jerry Bauer’ or ‘© Magnum Photo’). Credit text should be carried in <FeatureNote>" }, { "Value": "02", "Description": "Caption", "Notes": "Explanatory caption that may accompany a resource (eg use to identify an author in a photograph). Caption text should be carried in <FeatureNote>" }, { "Value": "03", "Description": "Copyright holder", "Notes": "Copyright holder of resource (indicative only, as the resource can be used without consultation). Copyright text should be carried in <FeatureNote>" }, { "Value": "04", "Description": "Length in minutes", "Notes": "Approximate length in minutes of an audio or video resource. <FeatureValue> should contain the length of time as an integer number of minutes" }, { "Value": "05", "Description": "ISNI of resource contributor", "Notes": "Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11–14 from List 158, particularly where the product has more than a single contributor. <FeatureValue> contains the 16-digit ISNI, which must match an ISNI given in an instance of <Contributor>" }, { "Value": "06", "Description": "Proprietary ID of resource contributor", "Notes": "Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11–14 from List 158, particularly where the product has more than a single contributor. <FeatureValue> contains the proprietary ID, which must match a proprietary ID given in an instance of <Contributor>" }, { "Value": "07", "Description": "Resource alternative text", "Notes": "<FeatureNote> is Alternative text for the resource, which might be presented to visually-impaired readers" }, { "Value": "08", "Description": "Background color of image resource", "Notes": "<FeatureValue> is a 24-bit RGB or 32-bit RBGA color in hexadecimal, eg fff2de for an opaque warm cream. Used when the resource – for example a 3D image of the product – includes a background, or if used with an alpha channel, when the image is irregularly shaped or contains a semi-transparent shadow thrown against a background" }, { "Value": "09", "Description": "Attribute of product image resource", "Notes": "<FeatureValue> is an ONIX code from List 256 that describes an attribute of a product image resource (eg perspective, content)" }, { "Value": "10", "Description": "Background color of page", "Notes": "<FeatureValue> is a 24-bit RGB color in hexadecimal, eg ffc300 for a rich yellow-orange, used when the resource supplier requests a specific background color be displayed behind the resource on a web page" } ]