Skip to content

Commit

Permalink
add raw data for all ONIX code lists
Browse files Browse the repository at this point in the history
* each code list is stored as a simple TSV file, one code per line
* the files are generated using the onix_extract_codes script
* current data is generated from version 10 of the codelists
  • Loading branch information
yob committed Oct 18, 2010
1 parent 63dedbb commit 7e2d133
Show file tree
Hide file tree
Showing 143 changed files with 3,295 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/codes/001.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
01 Early notification Use for a complete record issued earlier than approximately six months before publication.
02 Advance notification (confirmed) Use for a complete record issued to confirm advance information approximately six months before publication; or for a complete record issued after that date and before information has been confirmed from the book-in-hand.
03 Notification confirmed from book-in-hand Use for a complete record issued to confirm advance information using the book-in-hand at or just before actual publication date; or for a complete record issued at any later date.
04 Update (partial) Intended to be used for an update to a part of the record which is sent without re-issuing the complete record. In practise, however, ONIX updating is invariably by complete record replacement using code 03, and code 04 is not used.
05 Delete Use when sending an instruction to delete a record which was previously issued. Note that a delete instruction should NOT be used when a product is cancelled, put out of print, or otherwise withdrawn from sale: this should be handled as a change of availability status, leaving the receiver to decide whether to retain or delete the record. A delete instruction is only used when there is a particular reason to withdraw a record completely, eg because it was issued in error.
08 Notice of sale Notice of sale of a product, from one publisher to another: sent by the publisher disposing of the product
09 Notice of acquisition Notice of acquisition of a product, by one publisher from another: sent by the acquiring publisher
12 Update - SupplyDetail only ONIX Books supply update - SupplyDetail only
13 Update - MarketRepresentation only ONIX Books supply update - MarketRepresentation only
14 Update - SupplyDetail and MarketRepresentation ONIX Books supply update - both SupplyDetail and MarketRepresentation
5 changes: 5 additions & 0 deletions data/codes/002.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
00 Single-item retail product
10 Multiple-item retail product Multiple-item product retailed as a whole
11 Multiple-item collection, retailed as separate parts Used when an ONIX record is required for a collection-as-a-whole, even though it is not currently retailed as such
20 Trade-only product Product not for retail, and not carrying retail items, eg empty dumpbin, empty counterpack, promotional material
30 Multiple-item trade pack Carrying multiple copies for retailing as separate items, eg shrink-wrapped trade pack, filled dumpbin, filled counterpack
7 changes: 7 additions & 0 deletions data/codes/003.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
00 Unspecified
01 Publisher
02 Publisher's distributor Use to designate a distributor providing warehousing and fulfilment for a publisher or for a publisher’s sales agent, as distinct from a wholesaler
03 Wholesaler
04 Bibliographic agency
05 Library bookseller
06 Publisher’s sales agent Use for a publisher’s sales agent responsible for marketing the publisher’s products within a territory, as opposed to a publisher’s distributor who fulfils orders but does not market
13 changes: 13 additions & 0 deletions data/codes/005.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
01 Proprietary For example, a publisher’s or wholesaler’s product number.
02 ISBN-10 International Standard Book Number, pre-2007, unhyphenated (10 characters)
03 GTIN-13 GS1 Global Trade Item Number, formerly known as EAN article number (13 digits)
04 UPC UPC product number (12 digits)
05 ISMN International Standard Music Number (10 digits)
06 DOI Digital Object Identifier (variable length and character set)
13 LCCN Library of Congress Control Number (12 characters, alphanumeric)
14 GTIN-14 GS1 Global Trade Item Number (14 digits)
15 ISBN-13 International Standard Book Number, from 2007, unhyphenated (13 digits)
17 Legal deposit number The number assigned to a publication as part of a national legal deposit process
22 URN Uniform Resource Name: note that in trade applications an ISBN must be sent as a GTIN-13 and, where required, as an ISBN-13 - it should not be sent as a URN
23 OCLC number A unique number assigned to a bibliographic item by OCLC
24 Co-publisher’s ISBN-13 An ISBN-13 assigned by a co-publisher. The ‘main’ ISBN sent with ID type code 03 and/or 15 should always be the ISBN that is used for ordering from the supplier identified in Supply Detail. However, ISBN rules allow a co-published title to carry more than one ISBN. The co-publisher should be identified in an instance of the <Publisher> composite, with the applicable <PublishingRole> code.
76 changes: 76 additions & 0 deletions data/codes/006.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
00 Not barcoded
01 Barcoded, scheme unspecified
02 EAN13 Position unspecified
03 EAN13+5 (US dollar price encoded) Position unspecified
04 UPC12 Type and position unspecified. DEPRECATED: if possible, use more specific values below.
05 UPC12+5 Type and position unspecified. DEPRECATED: if possible, use more specific values below.
06 UPC12 (item-specific) AKA item/price: position unspecified
07 UPC12+5 (item-specific) AKA item/price: position unspecified
08 UPC12 (price-point) AKA price/item: position unspecified
09 UPC12+5 (price-point) AKA price/item: position unspecified
10 EAN13 on cover 4 ‘Cover 4’ is defined as the back cover of a book
11 EAN13+5 on cover 4 (US dollar price encoded) ‘Cover 4’ is defined as the back cover of a book
12 UPC12 (item-specific) on cover 4 AKA item/price; 'cover 4' is defined as the back cover of a book
13 UPC12+5 (item-specific) on cover 4 AKA item/price; 'cover 4' is defined as the back cover of a book
14 UPC12 (price-point) on cover 4 AKA price/item; 'cover 4' is defined as the back cover of a book
15 UPC12+5 (price-point) on cover 4 AKA price/item; 'cover 4' is defined as the back cover of a book
16 EAN13 on cover 3 ‘Cover 3’ is defined as the inside back cover of a book
17 EAN13+5 on cover 3 (US dollar price encoded) ‘Cover 3’ is defined as the inside back cover of a book
18 UPC12 (item-specific) on cover 3 AKA item/price; 'cover 3' is defined as the inside back cover of a book
19 UPC12+5 (item-specific) on cover 3 AKA item/price; 'cover 3' is defined as the inside back cover of a book
20 UPC12 (price-point) on cover 3 AKA price/item; 'cover 3' is defined as the inside back cover of a book
21 UPC12+5 (price-point) on cover 3 AKA price/item; 'cover 3' is defined as the inside back cover of a book
22 EAN13 on cover 2 ‘Cover 2’ is defined as the inside front cover of a book
23 EAN13+5 on cover 2 (US dollar price encoded) ‘Cover 2’ is defined as the inside front cover of a book
24 UPC12 (item-specific) on cover 2 AKA item/price; 'cover 2' is defined as the inside front cover of a book
25 UPC12+5 (item-specific) on cover 2 AKA item/price; 'cover 2' is defined as the inside front cover of a book
26 UPC12 (price-point) on cover 2 AKA price/item; 'cover 2' is defined as the inside front cover of a book
27 UPC12+5 (price-point) on cover 2 AKA price/item; 'cover 2' is defined as the inside front cover of a book
28 EAN13 on box To be used only on boxed products
29 EAN13+5 on box (US dollar price encoded) To be used only on boxed products
30 UPC12 (item-specific) on box AKA item/price; to be used only on boxed products
31 UPC12+5 (item-specific) on box AKA item/price; to be used only on boxed products
32 UPC12 (price-point) on box AKA price/item; to be used only on boxed products
33 UPC12+5 (price-point) on box AKA price/item; to be used only on boxed products
34 EAN13 on tag To be used only on products fitted with hanging tags
35 EAN13+5 on tag (US dollar price encoded) To be used only on products fitted with hanging tags
36 UPC12 (item-specific) on tag AKA item/price; to be used only on products fitted with hanging tags
37 UPC12+5 (item-specific) on tag AKA item/price; to be used only on products fitted with hanging tags
38 UPC12 (price-point) on tag AKA price/item; to be used only on products fitted with hanging tags
39 UPC12+5 (price-point) on tag AKA price/item; to be used only on products fitted with hanging tags
40 EAN13 on bottom Not be used on books unless they are contained within outer packaging
41 EAN13+5 on bottom (US dollar price encoded) Not be used on books unless they are contained within outer packaging
42 UPC12 (item-specific) on bottom AKA item/price; not be used on books unless they are contained within outer packaging
43 UPC12+5 (item-specific) on bottom AKA item/price; not be used on books unless they are contained within outer packaging
44 UPC12 (price-point) on bottom AKA price/item; not be used on books unless they are contained within outer packaging
45 UPC12+5 (price-point) on bottom AKA price/item; not be used on books unless they are contained within outer packaging
46 EAN13 on back Not be used on books unless they are contained within outer packaging
47 EAN13+5 on back (US dollar price encoded) Not be used on books unless they are contained within outer packaging
48 UPC12 (item-specific) on back AKA item/price; not be used on books unless they are contained within outer packaging
49 UPC12+5 (item-specific) on back AKA item/price; not be used on books unless they are contained within outer packaging
50 UPC12 (price-point) on back AKA price/item; not be used on books unless they are contained within outer packaging
51 UPC12+5 (price-point) on back AKA price/item; not be used on books unless they are contained within outer packaging
52 EAN13+5 on outer sleeve/back (US dollar price encoded) To be used only on products packaged in outer sleeves
53 EAN13+5 on outer sleeve/back To be used only on products packaged in outer sleeves
54 UPC12 (item-specific) on outer sleeve/back AKA item/price; to be used only on products packaged in outer sleeves
55 UPC12+5 (item-specific) on outer sleeve/back AKA item/price; to be used only on products packaged in outer sleeves
56 UPC12 (price-point) on outer sleeve/back AKA price/item; to be used only on products packaged in outer sleeves
57 UPC12+5 (price-point) on outer sleeve/back AKA price/item; to be used only on products packaged in outer sleeves
58 EAN13+5 (no price encoded) Position unspecified
59 EAN13+5 on cover 4 (no price encoded) ‘Cover 4’ is defined as the back cover of a book
60 EAN13+5 on cover 3 (no price encoded) ‘Cover 3’ is defined as the inside back cover of a book
61 EAN13+5 on cover 2 (no price encoded) ‘Cover 2’ is defined as the inside front cover of a book
62 EAN13+5 on box (no price encoded) To be used only on boxed products
63 EAN13+5 on tag (no price encoded) To be used only on products fitted with hanging tags
64 EAN13+5 on bottom (no price encoded) Not be used on books unless they are contained within outer packaging
65 EAN13+5 on back (no price encoded) Not be used on books unless they are contained within outer packaging
66 EAN13+5 on outer sleeve/back (no price encoded) To be used only on products packaged in outer sleeves
67 EAN13+5 (CAN dollar price encoded) Position unspecified
68 EAN13+5 on cover 4 (CAN dollar price encoded) ‘Cover 4’ is defined as the back cover of a book
69 EAN13+5 on cover 3 (CAN dollar price encoded) ‘Cover 3’ is defined as the inside back cover of a book
70 EAN13+5 on cover 2 (CAN dollar price encoded) ‘Cover 2’ is defined as the inside front cover of a book
71 EAN13+5 on box (CAN dollar price encoded) To be used only on boxed products
72 EAN13+5 on tag (CAN dollar price encoded) To be used only on products fitted with hanging tags
73 EAN13+5 on bottom (CAN dollar price encoded) Not be used on books unless they are contained within outer packaging
74 EAN13+5 on back (CAN dollar price encoded) Not be used on books unless they are contained within outer packaging
75 EAN13 on outer sleeve/back (CAN dollar price encoded) To be used only on products packaged in outer sleeves
123 changes: 123 additions & 0 deletions data/codes/007.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
00 Undefined
AA Audio Audio recording - detail unspecified
AB Audio cassette Audio cassette (analogue)
AC CD-Audio Audio compact disc, in any recording format: use coding from List 78 to specify the format, if required
AD DAT Digital audio tape cassette
AE Audio disc Audio disc (excluding CD)
AF Audio tape Audio tape (reel tape)
AG MiniDisc Sony MiniDisc format
AH CD-Extra Audio compact disc with part CD-ROM content
AI DVD Audio
AJ Downloadable audio file Audio recording downloadable online
AK Pre-recorded MP3 player For example, Playaway audiobook and player
AL Pre-recorded SD card For example, Audiofy audiobook chip
AZ Other audio format Other audio format not specified by AB to AK
BA Book Book - detail unspecified
BB Hardback Hardback or cased book
BC Paperback / softback Paperback or other softback book
BD Loose-leaf Loose-leaf book
BE Spiral bound Spiral, comb or coil bound book
BF Pamphlet Pamphlet or brochure, stapled; German 'geheftet'
BG Leather / fine binding
BH Board book Child’s book with all pages printed on board
BI Rag book Child’s book with all pages printed on textile
BJ Bath book Child’s book printed on waterproof material
BK Novelty book A book whose novelty consists wholly or partly in a format which cannot be described by any other available code – a ‘conventional’ format code is always to be preferred; one or more product form detail codes from List 78, eg from the B2nn group, should be used whenever possible to provide additional description.
BL Slide bound Slide bound book
BM Big book Extra-large format for teaching etc; this format and terminology may be specifically UK; required as a top-level differentiator
BN Part-work (fascículo) A part-work issued with its own ISBN and intended to be collected and bound into a complete book
BO Fold-out book or chart Concertina-folded book or chart, designed to fold to pocket or regular page size: use for German 'Leporello'
BP Foam book A children’s book whose cover and pages are made of foam
BZ Other book format Other book format or binding not specified by BB to BO
CA Sheet map Sheet map - detail unspecified
CB Sheet map, folded
CC Sheet map, flat
CD Sheet map, rolled See Code List 80 for 'rolled in tube'
CE Globe Globe or planisphere
CZ Other cartographic Other cartographic format not specified by CB to CE
DA Digital Digital or multimedia (detail unspecified)
DB CD-ROM
DC CD-I CD interactive
DD DVD DEPRECATED - use VI for DVD video, AI for DVD audio, DI for DVD-ROM
DE Game cartridge
DF Diskette AKA 'floppy disc'
DG Electronic book text Electronic book text in proprietary or open standard format
DH Online resource An electronic database or other resource or service accessible through online networks
DI DVD-ROM
DJ Secure Digital (SD) Memory Card
DK Compact Flash Memory Card
DL Memory Stick Memory Card
DM USB Flash Drive
DN Double-sided CD/DVD Double-sided disc, one side Audio CD/CD-ROM, other side DVD
DZ Other digital Other digital or multimedia not specified by DB to DN
FA Film or transparency Film or transparency – detail unspecified
FB Film Continuous film or filmstrip: DEPRECATED - use FE or FF
FC Slides Photographic transparencies mounted for projection
FD OHP transparencies Transparencies for overhead projector
FE Filmstrip
FF Film Continuous movie film as opposed to filmstrip
FZ Other film or transparency format Other film or transparency format not specified by FB to FF
MA Microform Microform – detail unspecified
MB Microfiche
MC Microfilm Roll microfilm
MZ Other microform Other microform not specified by MB or MC
PA Miscellaneous print Miscellaneous printed material – detail unspecified
PB Address book May use product form detail codes P201 to P204 to specify binding
PC Calendar
PD Cards Cards, flash cards (eg for teaching reading)
PE Copymasters Copymasters, photocopiable sheets
PF Diary May use product form detail codes P201 to P204 to specify binding
PG Frieze
PH Kit
PI Sheet music
PJ Postcard book or pack
PK Poster Poster for retail sale – see also XF
PL Record book Record book (eg 'birthday book', 'baby book'): may use product form detail codes P201 to P204 to specify binding
PM Wallet or folder Wallet or folder (containing loose sheets etc): it is preferable to code the contents and treat 'wallet' as packaging (List 80), but if this is not possible the product as a whole may be coded as a 'wallet'
PN Pictures or photographs
PO Wallchart
PP Stickers
PQ Plate (lámina) A book-sized (as opposed to poster-sized) sheet, usually in colour or high quality print
PR Notebook / blank book A book with all pages blank for the buyer's own use: may use product form detail codes P201 to P204 to specify binding
PS Organizer May use product form detail codes P201 to P204 to specify binding
PT Bookmark
PZ Other printed item Other printed item not specified by PB to PQ
VA Video Video – detail unspecified
VB Video, VHS, PAL DEPRECATED - use new VJ
VC Video, VHS, NTSC DEPRECATED - use new VJ
VD Video, Betamax, PAL DEPRECATED - use new VK
VE Video, Betamax, NTSC DEPRECATED - use new VK
VF Videodisc eg Laserdisc
VG Video, VHS, SECAM DEPRECATED - use new VJ
VH Video, Betamax, SECAM DEPRECATED - use new VK
VI DVD video DVD video: specify TV standard in List 78
VJ VHS video VHS videotape: specify TV standard in List 78
VK Betamax video Betamax videotape: specify TV standard in List 78
VL VCD VideoCD
VM SVCD Super VideoCD
VN HD DVD High definition DVD disc, Toshiba HD DVD format
VO Blu-ray High definition DVD disc, Sony Blu-ray format
VP UMD Video Sony Universal Media disc
VZ Other video format Other video format not specified by VB to VP
WW Mixed media product A product consisting of two or more items in different media, eg book and CD-ROM, book and toy etc
WX Multiple copy pack A product containing multiple copies of one or more items packaged together for retail sale, consisting of either (a) several copies of a single item (eg 6 copies of a graded reader), or (b) several copies of each of several items (eg 3 copies each of 3 different graded readers), or (c) several copies of one or more single items plus a single copy of one or more related items (eg 30 copies of a pupil's textbook plus 1 of teacher's text). NOT TO BE CONFUSED WITH: multi-volume sets, or sets containing a single copy of a number of different items (boxed, slip-cased or otherwise); items with several components of different physical forms (see WW); or packs intended for trade distribution only, where the contents are retailed separately (see XC, XE, XL).
XA Trade-only material Trade-only material (unspecified)
XB Dumpbin – empty
XC Dumpbin – filled Dumpbin with contents
XD Counterpack – empty
XE Counterpack – filled Counterpack with contents
XF Poster, promotional Promotional poster for display, not for sale – see also PK
XG Shelf strip
XH Window piece Promotional piece for shop window display
XI Streamer
XJ Spinner
XK Large book display Large scale facsimile of book for promotional display
XL Shrink-wrapped pack A quantity pack with its own product code, for trade supply only: the retail items it contains are intended for sale individually – see also WX. For products or product bundles supplied shrink-wrapped for retail sale, use the Product Form code of the contents plus code 21 from List 80.
XZ Other point of sale Other point of sale material not specified by XB to XL
ZA General merchandise General merchandise – unspecified
ZB Doll
ZC Soft toy Soft or plush toy
ZD Toy
ZE Game Board game, or other game (except computer game: see DE)
ZF T-shirt
ZZ Other merchandize Other merchandize not specified by ZB to ZF
7 changes: 7 additions & 0 deletions data/codes/008.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
01 A-format paperback DEPRECATED
02 B-format paperback ‘B’ format paperback: UK 198 x 129 mm - DEPRECATED
03 C-format paperback ‘C’ format paperback: UK 216 x 135 mm - DEPRECATED
04 Paper over boards DEPRECATED
05 Cloth DEPRECATED
06 With dust jacket DEPRECATED
07 Reinforced binding DEPRECATED
7 changes: 7 additions & 0 deletions data/codes/009.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
01 WCO Harmonized System World Customs Organization Harmonized Commodity Coding & Description System
02 UNSPSC UN Standard Product & Service Classification
03 HMC&E UK Customs & Excise classifications, based on the Harmonized System
04 Warenverzeichnis für die Außenhandelsstatistik German export trade classification, based on the Harmonised System
05 TARIC EU TARIC codes, an extended version of the Harmonized System
06 Fondsgroep Centraal Boekhuis free classification field for publishers
07 Sender's product category A product category (not a subject classification) assigned by the sender
Loading

0 comments on commit 7e2d133

Please sign in to comment.