milkfarm-onix 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. data/CHANGELOG +21 -0
  2. data/README.markdown +1 -0
  3. data/lib/onix.rb +4 -17
  4. data/lib/onix/code_list_extractor.rb +69 -0
  5. data/lib/onix/lists.rb +134 -0
  6. data/lib/onix/product.rb +14 -0
  7. data/lib/onix/sl_product.rb +24 -1
  8. data/lib/onix/version.rb +3 -0
  9. data/lib/onix/work_identifier.rb +28 -0
  10. data/spec/apa_product_spec.rb +9 -9
  11. data/spec/audience_range_spec.rb +4 -4
  12. data/spec/contributor_spec.rb +4 -4
  13. data/spec/header_spec.rb +7 -7
  14. data/spec/imprint_spec.rb +4 -4
  15. data/spec/language_spec.rb +4 -4
  16. data/spec/lists_spec.rb +33 -0
  17. data/spec/market_representation_spec.rb +4 -6
  18. data/spec/measure_spec.rb +4 -4
  19. data/spec/media_file_spec.rb +4 -4
  20. data/spec/normaliser_spec.rb +28 -4
  21. data/spec/other_text_spec.rb +4 -4
  22. data/spec/price_spec.rb +4 -4
  23. data/spec/product_identifier_spec.rb +4 -4
  24. data/spec/product_spec.rb +8 -8
  25. data/spec/publisher_spec.rb +4 -4
  26. data/spec/reader_spec.rb +11 -11
  27. data/spec/sales_restriction_spec.rb +4 -5
  28. data/spec/sender_identifier.rb +4 -4
  29. data/spec/series_identifier_spec.rb +4 -4
  30. data/spec/series_spec.rb +4 -4
  31. data/spec/spec_helper.rb +4 -1
  32. data/spec/stock_spec.rb +4 -4
  33. data/spec/subject_spec.rb +4 -5
  34. data/spec/supply_detail_spec.rb +4 -4
  35. data/spec/title_spec.rb +4 -4
  36. data/spec/website_spec.rb +4 -4
  37. data/spec/work_identifier_spec.rb +39 -0
  38. data/spec/writer_spec.rb +7 -7
  39. data/support/codes/001.tsv +10 -0
  40. data/support/codes/002.tsv +5 -0
  41. data/support/codes/003.tsv +7 -0
  42. data/support/codes/005.tsv +13 -0
  43. data/support/codes/006.tsv +76 -0
  44. data/support/codes/007.tsv +123 -0
  45. data/support/codes/008.tsv +7 -0
  46. data/support/codes/009.tsv +7 -0
  47. data/support/codes/010.tsv +34 -0
  48. data/support/codes/011.tsv +11 -0
  49. data/support/codes/012.tsv +11 -0
  50. data/support/codes/013.tsv +7 -0
  51. data/support/codes/014.tsv +4 -0
  52. data/support/codes/015.tsv +13 -0
  53. data/support/codes/016.tsv +6 -0
  54. data/support/codes/017.tsv +90 -0
  55. data/support/codes/018.tsv +3 -0
  56. data/support/codes/019.tsv +7 -0
  57. data/support/codes/020.tsv +0 -0
  58. data/support/codes/021.tsv +31 -0
  59. data/support/codes/022.tsv +9 -0
  60. data/support/codes/023.tsv +9 -0
  61. data/support/codes/024.tsv +11 -0
  62. data/support/codes/025.tsv +29 -0
  63. data/support/codes/026.tsv +75 -0
  64. data/support/codes/027.tsv +75 -0
  65. data/support/codes/028.tsv +8 -0
  66. data/support/codes/029.tsv +16 -0
  67. data/support/codes/030.tsv +15 -0
  68. data/support/codes/031.tsv +3 -0
  69. data/support/codes/032.tsv +2 -0
  70. data/support/codes/033.tsv +36 -0
  71. data/support/codes/034.tsv +14 -0
  72. data/support/codes/035.tsv +6 -0
  73. data/support/codes/036.tsv +3 -0
  74. data/support/codes/037.tsv +6 -0
  75. data/support/codes/038.tsv +36 -0
  76. data/support/codes/039.tsv +8 -0
  77. data/support/codes/040.tsv +6 -0
  78. data/support/codes/041.tsv +6 -0
  79. data/support/codes/042.tsv +16 -0
  80. data/support/codes/043.tsv +4 -0
  81. data/support/codes/044.tsv +13 -0
  82. data/support/codes/045.tsv +12 -0
  83. data/support/codes/046.tsv +3 -0
  84. data/support/codes/047.tsv +4 -0
  85. data/support/codes/048.tsv +11 -0
  86. data/support/codes/049.tsv +84 -0
  87. data/support/codes/050.tsv +8 -0
  88. data/support/codes/051.tsv +27 -0
  89. data/support/codes/052.tsv +1 -0
  90. data/support/codes/053.tsv +3 -0
  91. data/support/codes/054.tsv +23 -0
  92. data/support/codes/055.tsv +13 -0
  93. data/support/codes/056.tsv +2 -0
  94. data/support/codes/057.tsv +5 -0
  95. data/support/codes/058.tsv +21 -0
  96. data/support/codes/059.tsv +4 -0
  97. data/support/codes/060.tsv +2 -0
  98. data/support/codes/061.tsv +3 -0
  99. data/support/codes/062.tsv +5 -0
  100. data/support/codes/063.tsv +0 -0
  101. data/support/codes/064.tsv +13 -0
  102. data/support/codes/065.tsv +25 -0
  103. data/support/codes/066.tsv +4 -0
  104. data/support/codes/067.tsv +2 -0
  105. data/support/codes/068.tsv +15 -0
  106. data/support/codes/069.tsv +4 -0
  107. data/support/codes/070.tsv +2 -0
  108. data/support/codes/071.tsv +9 -0
  109. data/support/codes/072.tsv +7 -0
  110. data/support/codes/073.tsv +36 -0
  111. data/support/codes/074.tsv +489 -0
  112. data/support/codes/075.tsv +2 -0
  113. data/support/codes/076.tsv +12 -0
  114. data/support/codes/077.tsv +19 -0
  115. data/support/codes/078.tsv +148 -0
  116. data/support/codes/079.tsv +17 -0
  117. data/support/codes/080.tsv +19 -0
  118. data/support/codes/081.tsv +11 -0
  119. data/support/codes/082.tsv +17 -0
  120. data/support/codes/083.tsv +68 -0
  121. data/support/codes/084.tsv +10 -0
  122. data/support/codes/085.tsv +23 -0
  123. data/support/codes/086.tsv +5 -0
  124. data/support/codes/087.tsv +6 -0
  125. data/support/codes/088.tsv +0 -0
  126. data/support/codes/089.tsv +1 -0
  127. data/support/codes/090.tsv +11 -0
  128. data/support/codes/091.tsv +248 -0
  129. data/support/codes/092.tsv +7 -0
  130. data/support/codes/093.tsv +13 -0
  131. data/support/codes/094.tsv +3 -0
  132. data/support/codes/095.tsv +3 -0
  133. data/support/codes/096.tsv +185 -0
  134. data/support/codes/097.tsv +1 -0
  135. data/support/codes/098.tsv +21 -0
  136. data/support/codes/099.tsv +24 -0
  137. data/support/codes/100.tsv +4 -0
  138. data/support/codes/101.tsv +2 -0
  139. data/support/codes/102.tsv +3 -0
  140. data/support/codes/121.tsv +127 -0
  141. data/support/codes/138.tsv +6 -0
  142. data/support/codes/139.tsv +70 -0
  143. data/support/codes/140.tsv +7 -0
  144. data/support/codes/141.tsv +10 -0
  145. data/support/codes/142.tsv +12 -0
  146. data/support/codes/143.tsv +7 -0
  147. data/support/codes/144.tsv +4 -0
  148. data/support/codes/145.tsv +5 -0
  149. data/support/codes/146.tsv +3 -0
  150. data/support/codes/147.tsv +7 -0
  151. data/support/codes/148.tsv +3 -0
  152. data/support/codes/149.tsv +4 -0
  153. data/support/codes/150.tsv +124 -0
  154. data/support/codes/151.tsv +7 -0
  155. data/support/codes/152.tsv +2 -0
  156. data/support/codes/153.tsv +14 -0
  157. data/support/codes/154.tsv +9 -0
  158. data/support/codes/155.tsv +5 -0
  159. data/support/codes/156.tsv +4 -0
  160. data/support/codes/157.tsv +4 -0
  161. data/support/codes/158.tsv +24 -0
  162. data/support/codes/159.tsv +6 -0
  163. data/support/codes/160.tsv +0 -0
  164. data/support/codes/161.tsv +3 -0
  165. data/support/codes/162.tsv +3 -0
  166. data/support/codes/163.tsv +7 -0
  167. data/support/codes/164.tsv +2 -0
  168. data/support/codes/165.tsv +2 -0
  169. data/support/codes/166.tsv +2 -0
  170. data/support/codes/167.tsv +3 -0
  171. data/support/codes/168.tsv +2 -0
  172. data/support/codes/169.tsv +3 -0
  173. data/support/codes/170.tsv +0 -0
  174. data/support/codes/171.tsv +2 -0
  175. data/support/codes/172.tsv +1 -0
  176. data/support/codes/173.tsv +2 -0
  177. data/support/codes/174.tsv +2 -0
  178. data/support/codes/175.tsv +175 -0
  179. data/support/codes/176.tsv +12 -0
  180. data/support/codes/177.tsv +2 -0
  181. data/support/codes/178.tsv +17 -0
  182. data/support/switch-onix-2.1-short-to-reference.xsl +3 -2
  183. metadata +226 -38
  184. data/lib/onix/lists/audience_code.rb +0 -17
  185. data/lib/onix/lists/contributor_role.rb +0 -99
  186. data/lib/onix/lists/country_code.rb +0 -257
  187. data/lib/onix/lists/language_code.rb +0 -498
  188. data/lib/onix/lists/language_role.rb +0 -18
  189. data/lib/onix/lists/notification_type.rb +0 -19
  190. data/lib/onix/lists/product_availability.rb +0 -32
  191. data/lib/onix/lists/product_form.rb +0 -99
  192. data/lib/onix/lists/product_form_detail.rb +0 -157
@@ -0,0 +1,2 @@
1
+ 01 Lexile code
2
+ 02 Lexile number
@@ -0,0 +1,36 @@
1
+ 01 Main description
2
+ 02 Short description/annotation Limited to a maximum of 350 characters
3
+ 03 Long description
4
+ 04 Table of contents Used for a table of contents sent as a single text field, which may or may not carry structure expressed through HTML etc. Alternatively, a fully structured table of contents may be sent by using the <ContentItem> composite.
5
+ 05 Review quote, restricted length A review quote that is restricted to a maximum length agreed between the sender and receiver of an ONIX file
6
+ 06 Quote from review of previous edition A review quote taken from a review of a previous edition of the work
7
+ 07 Review text Full text of a review of the product
8
+ 08 Review quote A quote from a review of the product
9
+ 09 Promotional “headline” A promotional phrase which is intended to headline a description of the product
10
+ 10 Previous review quote A quote from a review of a previous work by the same author(s) or in the same series
11
+ 11 Author comments May be part of Reading Group Guide material: for other commentary, see code 42
12
+ 12 Description for reader
13
+ 13 Biographical note A note referring to all contributors to a product – NOT linked to a single contributor
14
+ 14 Description for Reading Group Guide For linking to a complete Reading Group Guide, see code 41
15
+ 15 Discussion question for Reading Group Guide Each instance must carry a single question: for linking to a complete Reading Group Guide, see code 41
16
+ 16 Competing titles Free text listing of other titles with which the product is in competition: although this text might not appear in “public” ONIX records, it could be required where ONIX Is used as a communication format within a group of publishing and distribution companies
17
+ 17 Flap copy
18
+ 18 Back cover copy
19
+ 19 Feature Text describing a feature of a product to which the publisher wishes to draw attention for promotional purposes. Each separate feature should be described by a separate repeat, so that formatting can be applied at the discretion of the receiver of the ONIX record.
20
+ 20 New feature As code 19, but used for a feature which is new in a new edition of the product.
21
+ 21 Publisher's notice A statement included by a publisher in fulfilment of its contractual obligations, such as a disclaimer, sponsor statement, or legal notice of any sort. Note that the inclusion of such a notice cannot and does not imply that a user of the ONIX record is obliged to reproduce it.
22
+ 23 Excerpt from book
23
+ 24 First chapter
24
+ 25 Description for sales people
25
+ 26 Description for press or other media
26
+ 27 Description for subsidiary rights department
27
+ 28 Description for teachers/educators
28
+ 30 Unpublished endorsement A quote usually provided by a celebrity to promote a new book, not from a review
29
+ 31 Description for bookstore
30
+ 32 Description for library
31
+ 33 Introduction or preface
32
+ 34 Full text
33
+ 35 Promotional text Promotional text not covered elsewhere
34
+ 40 Author interview / Q&A
35
+ 41 Reading Group Guide Complete guide: see also codes 14 and 15
36
+ 42 Commentary / discussion Other than author comments: see code 11
@@ -0,0 +1,14 @@
1
+ 00 ASCII text DEPRECATED: use code 06 or 07 as appropriate
2
+ 01 SGML
3
+ 02 HTML Other than XHTML
4
+ 03 XML Other than XHTML
5
+ 04 PDF DEPRECATED: was formerly assigned both to PDF and to XHTML
6
+ 05 XHTML
7
+ 06 Default text format Default: text in the encoding declared at the head of the message or in the XML default (UTF-8 or UTF-16) if there is no explicit declaration
8
+ 07 Basic ASCII text Plain text containing no tags of any kind, except for the tags &amp; and &lt; that XML insists must be used to represent ampersand and less-than characters in text; and with the character set limited to the ASCII range, i.e. valid UTF-8 characters whose character number lies between 32 (space) and 126 (tilde)
9
+ 08 PDF Replaces 04 for the <TextFormat> element, but cannot of course be used as a textformat attribute
10
+ 09 Microsoft rich text format (RTF)
11
+ 10 Microsoft Word binary format (DOC)
12
+ 11 ECMA 376 WordprocessingML Office Open XML file format / OOXML / DOCX
13
+ 12 ISO 26300 ODF ISO Open Document Format
14
+ 13 Corel Wordperfect binary format (DOC)
@@ -0,0 +1,6 @@
1
+ 01 URL
2
+ 02 DOI
3
+ 03 PURL
4
+ 04 URN
5
+ 05 FTP address
6
+ 06 filename
@@ -0,0 +1,3 @@
1
+ 02 GIF
2
+ 03 JPEG
3
+ 05 TIF
@@ -0,0 +1,6 @@
1
+ 01 URL
2
+ 02 DOI
3
+ 03 PURL
4
+ 04 URN
5
+ 05 FTP address
6
+ 06 filename
@@ -0,0 +1,36 @@
1
+ 01 Whole product Link to a location where the whole product may be found – used for epublications
2
+ 02 Application: software demo
3
+ 04 Image: front cover Quality unspecified: if sending both a standard quality and a high quality image, use 04 for standard quality and 06 for high quality
4
+ 06 Image: front cover, high quality Should have a minimum resolution of 300 dpi when rendered at the intended size for display or print
5
+ 07 Image: front cover thumbnail
6
+ 08 Image: contributor(s)
7
+ 10 Image: for series Use for an image, other than a logo, that is part of the 'branding' of a series
8
+ 11 Image: series logo
9
+ 12 Image: product logo Use only for a logo which is specific to an individual product
10
+ 17 Image: publisher logo
11
+ 18 Image: imprint logo
12
+ 23 Image: sample content Use for inside page image for book, or screenshot for software or game (revised definition from Issue 8)
13
+ 24 Image: back cover Quality unspecified: if sending both a standard quality and a high quality image, use 24 for standard quality and 26 for high quality
14
+ 25 Image: back cover, high quality Should have a minimum resolution of 300 dpi when rendered at the intended size for display or print
15
+ 26 Image: back cover thumbnail
16
+ 27 Image: other cover material
17
+ 28 Image: promotional material
18
+ 29 Video segment: unspecified
19
+ 30 Audio segment: unspecified
20
+ 31 Video: author presentation / commentary
21
+ 32 Video: author interview
22
+ 33 Video: author reading
23
+ 34 Video: cover material
24
+ 35 Video: sample content
25
+ 36 Video: promotional material
26
+ 37 Video: review
27
+ 38 Video: other commentary / discussion
28
+ 41 Audio: author presentation / commentary
29
+ 42 Audio: author interview
30
+ 43 Audio: author reading
31
+ 44 Audio: sample content
32
+ 45 Audio: promotional material
33
+ 46 Audio: review
34
+ 47 Audio: other commentary / discussion
35
+ 51 Application: sample content Use for ‘look inside’ facility or ‘widget’
36
+ 52 Application: promotional material
@@ -0,0 +1,8 @@
1
+ 02 GIF
2
+ 03 JPEG
3
+ 04 PDF
4
+ 05 TIF
5
+ 06 RealAudio 28.8
6
+ 07 MP3
7
+ 08 MPEG-4 MPEG-4 video file
8
+ 09 PNG Portable Network Graphics bitmapped image format (.png)
@@ -0,0 +1,6 @@
1
+ 01 URL
2
+ 02 DOI
3
+ 03 PURL
4
+ 04 URN
5
+ 05 FTP address
6
+ 06 filename
@@ -0,0 +1,6 @@
1
+ 01 Winner
2
+ 02 Runner-up Named as being in second place
3
+ 03 Commended
4
+ 04 Short-listed Nominated by the judging process to be one of the final 'short-list' from which the winner is selected
5
+ 05 Long-listed Nominated by the judging process to be one of the preliminary 'long-list' from which first a short-list and then the winner is selected
6
+ 06 Joint winner Or co-winner
@@ -0,0 +1,16 @@
1
+ 01 Textual work A complete work which is published as a content item in a product which carries two or more such works, eg when two or three novels are published in a single omnibus volume
2
+ 02 Front matter Text components such as Preface, Introduction etc which appear as preliminaries to the main body of text content in a product
3
+ 03 Body matter Text components such as Part, Chapter, Section etc which appear as part of the main body of text content in a product
4
+ 04 Back matter Text components such as Index which appear after the main body of text in a product
5
+ 10 Serial item, miscellaneous or unspecified For journals
6
+ 11 Research article For journals
7
+ 12 Review article For journals
8
+ 13 Letter For journals
9
+ 14 Short communication For journals
10
+ 15 Erratum For journals
11
+ 16 Abstract For journals
12
+ 17 Book review (or review of other publication) For journals
13
+ 18 Editorial For journals
14
+ 19 Product review For journals
15
+ 20 Index
16
+ 21 Obituary For journals
@@ -0,0 +1,4 @@
1
+ 01 Proprietary For example, a publisher’s own identifier
2
+ 06 DOI
3
+ 09 PII
4
+ 10 SICI For serial items only
@@ -0,0 +1,13 @@
1
+ 01 Proprietary
2
+ 02 Proprietary DEPRECATED - use 01
3
+ 03 DNB publisher identifier Deutsche Nationalbibliothek publisher identifier
4
+ 04 Börsenverein Verkehrsnummer
5
+ 05 German ISBN Agency publisher identifier
6
+ 06 GLN GS1 global location number (formerly EAN location number)
7
+ 07 SAN Book trade Standard Address Number - US, UK etc
8
+ 10 Centraal Boekhuis Relatie ID Trading party identifier used in the Netherlands
9
+ 13 Fondscode Boekenbank Flemish publisher code
10
+ 15 Y-tunnus Business Identity Code (Finland)
11
+ 16 ISNI International Standard Name Identifier
12
+ 17 DNB-PND Deutsche Nationalbibliothek Personennamendatei - person name code of the German national library
13
+ 18 LCCN A control number assigned to a Library of Congress Name Authority record
@@ -0,0 +1,12 @@
1
+ 01 Publisher
2
+ 02 Co-publisher
3
+ 03 Sponsor
4
+ 04 Publisher of original-language version Of a translated work
5
+ 05 Host/distributor of electronic content
6
+ 06 Published for/on behalf of
7
+ 07 Published in association with Use also for “Published in cooperation with”
8
+ 08 Published on behalf of DEPRECATED: use code 06
9
+ 09 New or acquiring publisher When ownership of a product or title is transferred from one publisher to another
10
+ 10 Publishing group The group to which a publisher (publishing role 01) belongs: use only if a publisher has been identified with role code 01
11
+ 11 Publisher of facsimile original The publisher of the edition of which a product is a facsimile
12
+ 12 Repackager of prebound edition The repackager of a prebound edition that has been assigned its own identifier. (In the US, a 'prebound edition' is a book that was previously bound, normally as a paperback, and has been rebound with a library-quality hardcover binding by a supplier other than the original publisher.) Required when the <EditionType> is coded PRB. The original publisher should be named as the ‘publisher’.
@@ -0,0 +1,3 @@
1
+ 01 For sale with exclusive rights in the specified country/ies
2
+ 02 For sale with non-exclusive rights in the specified country/ies
3
+ 03 Not for sale in the specified country/ies
@@ -0,0 +1,4 @@
1
+ 000 World
2
+ 001 World except territories specified elsewhere in rights statements
3
+ 002 UK airports
4
+ 003 UK 'open market' Use when an open market edition is published under its own ISBN
@@ -0,0 +1,11 @@
1
+ 01 Height For a book, the spine height when standing on a shelf. For a folded map, the height when folded. In general, the height of a product in the form in which it is presented or packaged for retail sale.
2
+ 02 Width For a book, the horizontal dimension of the cover when standing upright. For a folded map, the width when folded. In general, the width of a product in the form in which it is presented or packaged for retail sale.
3
+ 03 Thickness For a book, the thickness of the spine. For a folded map, the thickness when folded. In general, the thickness or depth of a product in the form in which it is presented or packaged for retail sale.
4
+ 04 Page trim height Not recommended for general use
5
+ 05 Page trim width Not recommended for general use
6
+ 08 Unit weight
7
+ 09 Diameter (sphere) Of a globe, for example
8
+ 10 Unfolded/unrolled sheet height The height of a folded or rolled sheet map, poster etc when unfolded
9
+ 11 Unfolded/unrolled sheet width The width of a folded or rolled sheet map, poster etc when unfolded
10
+ 12 Diameter (tube or cylinder) The diameter of the cross-section of a tube or cylinder, usually carrying a rolled sheet product. Use 01 “height” for the height or length of the tube.
11
+ 13 Rolled sheet package side measure The length of a side of the cross-section of a long triangular or square package, usually carrying a rolled sheet product. Use 01 “height” for the height or length of the package.
@@ -0,0 +1,84 @@
1
+ AU-CT Australian Capital Territory
2
+ AU-NS New South Wales
3
+ AU-NT Northern Territory
4
+ AU-QL Queensland
5
+ AU-SA South Australia
6
+ AU-TS Tasmania
7
+ AU-VI Victoria
8
+ AU-WA Western Australia
9
+ CA-AB Alberta
10
+ CA-BC British Columbia
11
+ CA-MB Manitoba
12
+ CA-NB New Brunswick
13
+ CA-NL Newfoundland and Labrador
14
+ CA-NS Nova Scotia
15
+ CA-NT Northwest Territories
16
+ CA-NU Nunavut
17
+ CA-ON Ontario
18
+ CA-PE Prince Edward Island
19
+ CA-QC Quebec
20
+ CA-SK Saskatchewan
21
+ CA-YT Yukon Territory
22
+ ES-CN Canary Islands
23
+ GB-AIR UK airside Airside outlets at UK international airports only
24
+ GB-APS UK airports All UK airports, including both airside and other outlets
25
+ GB-CHA Channel Islands
26
+ GB-ENG England
27
+ GB-EWS England, Wales, Scotland UK excluding Northern Ireland
28
+ GB-IOM Isle of Man
29
+ GB-NIR Northern Ireland
30
+ GB-SCT Scotland
31
+ GB-WLS Wales
32
+ US-AK  Alaska 
33
+ US-AL  Alabama 
34
+ US-AR  Arkansas 
35
+ US-AZ  Arizona 
36
+ US-CA  California 
37
+ US-CO  Colorado 
38
+ US-CT  Connecticut 
39
+ US-DC  District of Columbia 
40
+ US-DE  Delaware 
41
+ US-FL  Florida 
42
+ US-GA  Georgia 
43
+ US-HI  Hawaii 
44
+ US-IA  Iowa 
45
+ US-ID  Idaho 
46
+ US-IL  Illinois 
47
+ US-IN  Indiana 
48
+ US-KS  Kansas 
49
+ US-KY  Kentucky 
50
+ US-LA  Louisiana 
51
+ US-MA  Massachusetts 
52
+ US-MD  Maryland 
53
+ US-ME  Maine 
54
+ US-MI  Michigan 
55
+ US-MN  Minnesota 
56
+ US-MO  Missouri 
57
+ US-MS  Mississippi 
58
+ US-MT  Montana 
59
+ US-NC  North Carolina 
60
+ US-ND  North Dakota 
61
+ US-NE  Nebraska 
62
+ US-NH  New Hampshire 
63
+ US-NJ  New Jersey 
64
+ US-NM  New Mexico 
65
+ US-NV  Nevada 
66
+ US-NY  New York 
67
+ US-OH  Ohio 
68
+ US-OK  Oklahoma 
69
+ US-OR  Oregon 
70
+ US-PA  Pennsylvania 
71
+ US-RI  Rhode Island 
72
+ US-SC  South Carolina 
73
+ US-SD  South Dakota 
74
+ US-TN  Tennessee 
75
+ US-TX  Texas 
76
+ US-UT  Utah 
77
+ US-VA  Virginia 
78
+ US-VT  Vermont 
79
+ US-WA  Washington 
80
+ US-WI  Wisconsin 
81
+ US-WV  West Virginia 
82
+ US-WY  Wyoming 
83
+ ROW Rest of world World except as otherwise specified
84
+ WORLD World
@@ -0,0 +1,8 @@
1
+ cm Centimeters
2
+ gr Grams
3
+ in Inches (US)
4
+ kg Kilograms
5
+ lb Pounds (US)
6
+ mm Millimeters
7
+ oz Ounces (US)
8
+ px Pixels
@@ -0,0 +1,27 @@
1
+ 00 Unspecified X is related to Y in a way that cannot be specified by another code value
2
+ 01 Includes X includes Y (where the product described in the ONIX record is X and the related product is Y)
3
+ 02 Is part of X is part of Y – use for 'also available as part of'
4
+ 03 Replaces X replaces, or is new edition of, Y
5
+ 05 Replaced by X is replaced by, or has new edition, Y
6
+ 06 Alternative format X is available in an alternative format as Y – indicates an alternative format of the same content which is or may be available.
7
+ 07 Has ancillary product X has an ancillary or supplementary product Y
8
+ 08 Is ancillary to X is ancillary or supplementary to Y
9
+ 09 Is remaindered as X is remaindered as Y, when a remainder merchant assigns its own identifier to the product
10
+ 10 Is remainder of X was originally sold as Y, indicating the publisher's original identifier for a title which is offered as a remainder under a different identifier
11
+ 11 Is other-language version of X is an other-language version of Y
12
+ 12 Publisher’s suggested alternative X has a publisher's suggested alternative Y, which does not, however, carry the same content (cf 05 and 06)
13
+ 13 Epublication based on (print product) X is an epublication based on printed product Y
14
+ 14 Epublication is distributed as X is an epublication 'rendered' as Y – use when the ONIX record describes a package of electronic content which is available in multiple 'renderings'
15
+ 15 Epublication is a rendering of X is a 'rendering' of an epublication Y – use when the ONIX record describes a specific rendering of an epublication content package, to identify the package
16
+ 16 POD replacement for X is a POD replacement for Y – Y is an out-of-print product replaced by a print-on-demand version under a new ISBN
17
+ 17 Replaced by POD X is replaced by POD Y – Y is a print-on-demand replacement, under a new ISBN, for an out-of-print product X
18
+ 18 Is special edition of X is a special edition of Y - used for a special edition (German: Sonderausgabe) with different cover, binding etc - more than ‘alternative format’ - which may be available in limited quantity and for a limited time
19
+ 19 Has special edition X has a special edition Y - the reciprocal of code 18
20
+ 20 Is prebound edition of X is a prebound edition of Y (in the US, a prebound edition is ‘a book that was previously bound and has been rebound with a library quality hardcover binding. In almost all commercial cases, the book in question began as a paperback.’)
21
+ 21 Is original of prebound edition X is the regular edition of which Y is a prebound edition
22
+ 22 Product by same author X and Y have a common author
23
+ 23 Similar product Y is another product that is suggested as similar to X (‘if you liked X, you may also like Y’)
24
+ 24 Is facsimile of X is a facsimile edition of Y
25
+ 25 Is original of facsimile X is the original edition from which a facsimile edition Y is taken
26
+ 26 Is license for X is a license for digital product Y, traded or supplied separately
27
+ 27 Electronic version available as Y is an electronic version of print product X (reciprocal of code 13)
@@ -0,0 +1 @@
1
+ 004 UK 'open market' When the same ISBN is used for open market and UK editions
@@ -0,0 +1,3 @@
1
+ 01 French book trade returns conditions code Maintained by CLIL (Commission Interprofessionnel du Livre)
2
+ 02 BISAC Returnable Indicator code Maintained by BISAC: see List 66
3
+ 03 UK book trade returns conditions code NOT CURRENTLY USED - BIC has decided that it will not maintain a code list for this purpose, since returns conditions are usually at least partly based on the trading relationship
@@ -0,0 +1,23 @@
1
+ AB Cancelled Publication abandoned after having been announced
2
+ AD Available direct from publisher only Apply direct to publisher, item not available to trade
3
+ CS Availability uncertain Check with customer service
4
+ EX No longer stocked by us Wholesaler or vendor only
5
+ IP Available In-print and in stock
6
+ MD Manufactured on demand May be accompanied by an estimated average time to supply
7
+ NP Not yet published MUST be accompanied by an expected availability date
8
+ NY Newly catalogued, not yet in stock Wholesaler or vendor only: MUST be accompanied by expected availability date
9
+ OF Other format available This format is out of print, but another format is available: should be accompanied by an identifier for the alternative product
10
+ OI Out of stock indefinitely No current plan to reprint
11
+ OP Out of print Discontinued, deleted from catalogue
12
+ OR Replaced by new edition This edition is out of print, but a new edition has been or will soon be published: should be accompanied by an identifier for the new edition
13
+ PP Publication postponed indefinitely Publication has been announced, and subsequently postponed with no new date
14
+ RF Refer to another supplier Supply of this item has been transferred to another publisher or distributor: should be accompanied by an identifier for the new supplier
15
+ RM Remaindered
16
+ RP Reprinting MUST be accompanied by an expected availability date
17
+ RU Reprinting, undated Use instead of RP as a last resort, only if it is really impossible to give an expected availability date
18
+ TO Special order This item is not stocked but has to be specially ordered from a supplier (eg import item not stocked locally): may be accompanied by an estimated average time to supply
19
+ TP Temporarily out of stock because publisher cannot supply Wholesaler or vendor only
20
+ TU Temporarily unavailable MUST be accompanied by an expected availability date
21
+ UR Unavailable, awaiting reissue The item is out of stock but will be reissued under the same ISBN: MUST be accompanied by an expected availability date and by the reissue date in the <Reissue> composite. See notes on the <Reissue> composite for details on treatment of availability status during reissue.
22
+ WR Will be remaindered as of (date) MUST be accompanied by the remainder date
23
+ WS Withdrawn from sale Typically, withdrawn indefinitely for legal reasons
@@ -0,0 +1,13 @@
1
+ 00 YYYYMMDD Year month day (default)
2
+ 01 YYYYMM Year and month
3
+ 02 YYYYWW Year and week number
4
+ 03 YYYYQ Year and quarter (Q = 1, 2, 3, 4)
5
+ 04 YYYYS Year and season (S = 1, 2, 3, 4, with 1 = “Spring”)
6
+ 05 YYYY Year
7
+ 06 YYYYMMDDYYYYMMDD Spread of exact dates
8
+ 07 YYYYMMYYYYMM Spread of months
9
+ 08 YYYYWWYYYYWW Spread of week numbers
10
+ 09 YYYYQYYYYQ Spread of quarters
11
+ 10 YYYYSYYYYS Spread of seasons
12
+ 11 YYYYYYYY Spread of years
13
+ 12 Text string For complex, approximate or uncertain dates
@@ -0,0 +1,2 @@
1
+ R Restrictions apply, see note
2
+ X Indiziert Indexed for the German market - in Deutschland indiziert
@@ -0,0 +1,5 @@
1
+ 01 Free of charge
2
+ 02 Price to be announced
3
+ 03 Not sold separately
4
+ 04 Contact supplier May be used for books that do not carry a recommended retail price, when an ONIX file is “broadcast” rather than sent one-to-one to a single trading partner; or for digital products offered on subscription or with pricing which is too complex to specify in ONIX
5
+ 05 Not sold as set When a collection that is not sold as a set nevertheless has its own ONIX record
@@ -0,0 +1,21 @@
1
+ 01 RRP excluding tax RRP excluding any sales tax or value-added tax
2
+ 02 RRP including tax RRP including sales or value-added tax if applicable
3
+ 03 Fixed retail price excluding tax In countries where retail price maintenance applies by law to certain products: not used in USA
4
+ 04 Fixed retail price including tax In countries where retail price maintenance applies by law to certain products: not used in USA
5
+ 05 Supplier’s net price excluding tax Unit price charged by supplier to reseller excluding any sales tax or value-added tax: goods for retail sale
6
+ 06 Supplier’s net price excluding tax: rental goods Unit price charged by supplier to reseller / rental outlet, excluding any sales tax or value-added tax: goods for rental (used for video and DVD)
7
+ 07 Supplier’s net price including tax Unit price charged by supplier to reseller including any sales tax or value-added tax if applicable: goods for retail sale
8
+ 08 Supplier’s alternative net price excluding tax Unit price charged by supplier to a specified class of reseller excluding any sales tax or value-added tax: goods for retail sale (this value is for use only in countries, eg Finland, where trade practice requires two different net prices to be listed for different classes of resellers, and where national guidelines specify how the code should be used)
9
+ 09 Supplier’s alternative net price including tax Unit price charged by supplier to a specified class of reseller including any sales tax or value-added tax: goods for retail sale (this value is for use only in countries, eg Finland, where trade practice requires two different net prices to be listed for different classes of resellers, and where national guidelines specify how the code should be used)
10
+ 11 Special sale RRP excluding tax Special sale RRP excluding any sales tax or value-added tax
11
+ 12 Special sale RRP including tax Special sale RRP including sales or value-added tax if applicable
12
+ 13 Special sale fixed retail price excluding tax In countries where retail price maintenance applies by law to certain products: not used in USA
13
+ 14 Special sale fixed retail price including tax In countries where retail price maintenance applies by law to certain products: not used in USA
14
+ 15 Supplier’s net price for special sale excluding tax Unit price charged by supplier to reseller for special sale excluding any sales tax or value-added tax
15
+ 21 Pre-publication RRP excluding tax Pre-publication RRP excluding any sales tax or value-added tax
16
+ 22 Pre-publication RRP including tax Pre-publication RRP including sales or value-added tax if applicable
17
+ 23 Pre-publication fixed retail price excluding tax In countries where retail price maintenance applies by law to certain products: not used in USA
18
+ 24 Pre-publication fixed retail price including tax In countries where retail price maintenance applies by law to certain products: not used in USA
19
+ 25 Supplier’s pre-publication net price excluding tax Unit price charged by supplier to reseller pre-publication excluding any sales tax or value-added tax
20
+ 31 Freight-pass-through RRP excluding tax In the US, books are sometimes supplied on 'freight-pass-through' terms, where a price that is different from the RRP is used as the basis for calculating the supplier’s charge to a reseller. To make it clear when such terms are being invoked, code 31 is used instead of code 01 to indicate the RRP. Code 32 is used for the 'billing price'.
21
+ 32 Freight-pass-through billing price excluding tax When freight-pass-through terms apply, the price on which the supplier’s charge to a reseller is calculated, ie the price to which trade discount terms are applied. See also code 31.
@@ -0,0 +1,4 @@
1
+ 01 Member/subscriber price Price applies to a designated group membership
2
+ 02 Export price Price applies to sales outside the territory in which the supplier is located
3
+ 03 Reduced price applicable when the item is purchased as part of a set Use in cases where there is no combined set price, but a lower price is offered for each part if the whole set is purchased
4
+ 04 Voucher price In the Netherlands (or any other market where similar arrangements exist): a reduced fixed price available for a limited time on presentation of a voucher published in a specified medium, eg a newspaper. Should be accompanied by <PriceTypeCode> 13 and additional detail in <PriceTypeDescription>, and by validity dates in <PriceEffectiveFrom> and <PriceEffectiveUntil>.
@@ -0,0 +1,2 @@
1
+ 00 Per copy of whole product Default
2
+ 01 Per page for printed loose-leaf content only
@@ -0,0 +1,3 @@
1
+ 00 Unspecified Default
2
+ 01 Provisional
3
+ 02 Firm