How Book Metadata Works: ONIX, MARC and Dublin Core Explained

What book metadata is, why it matters for discoverability, and how the three most important standards (ONIX for the trade, MARC for libraries, Dublin Core for the web) describe the same book differently.

By The Books API TeamPublished 7 min read

Every book exists twice: once as paper or pixels, and once as data. The second version, the metadata, is what allows a reader to find the book in an online shop, a librarian to place it on the right shelf, and an app to show the right cover next to the right title.

Today we'll look at what book metadata contains, who produces it, and how the three standards you are most likely to meet (ONIX, MARC and Dublin Core) represent the same book in different ways. If you are a developer integrating book data, this will help you understand why sources disagree and how to map them.

What is book metadata?

Book metadata is structured information that describes a book without being the book itself. It typically falls into a few groups:

GroupExamples
IdentificationISBN, other identifiers, title, subtitle, series
ResponsibilityAuthors, editors, translators, illustrators, and their roles
PublicationPublisher, imprint, place, date, edition statement
Physical / formatFormat (hardcover, ebook), page count, dimensions, weight
ContentDescription, table of contents, language, audience
ClassificationSubject codes (Thema, BISAC), library classes (Dewey, LCC), keywords
CommercialPrice, availability, territorial rights, sales restrictions
MediaCover images, sample chapters

Not every standard covers every group. The book trade cares deeply about prices and rights; libraries care about authoritative names and subject headings; the web cares about being simple enough to share widely.

Why metadata matters

For publishers and retailers, metadata is discoverability. A reader searching an online store never sees the book until its title, author, keywords and categories match the query. Missing or wrong data can mean a book is effectively invisible, shown in the wrong category, or listed with an outdated price.

For libraries, good metadata means patrons can find all works by an author even if the name appears in different forms, and all books on a topic even if the titles don't mention it.

For developers, metadata quality determines whether search works, whether covers match, and whether duplicate editions pile up in your database.

ONIX: the language of the book trade

ONIX for Books is an XML standard maintained by EDItEUR, the international group that coordinates standards for the book supply chain. Publishers use ONIX to send product information to distributors, wholesalers, retailers, aggregators and some libraries.

The current major version is ONIX 3.0, released in 2009 and updated regularly since. Its predecessor ONIX 2.1 has been retired by EDItEUR, though some trading partners took years to migrate.

ONIX is rich and precise. A single product record can describe:

  • every contributor with a coded role (author, translator, illustrator, narrator…),
  • multiple titles (distinctive title, series, collection),
  • long and short descriptions, reviews, prizes,
  • subject codes from several schemes,
  • related products (other formats, replaced editions),
  • prices in several currencies, availability, and sales rights per territory.

A heavily simplified ONIX 3.0 fragment looks like this:

<Product>
  <RecordReference>com.example.9780306406157</RecordReference>
  <NotificationType>03</NotificationType>
  <ProductIdentifier>
    <ProductIDType>15</ProductIDType>
    <IDValue>9780306406157</IDValue>
  </ProductIdentifier>
  <DescriptiveDetail>
    <ProductForm>BB</ProductForm>
    <TitleDetail>
      <TitleType>01</TitleType>
      <TitleElement>
        <TitleElementLevel>01</TitleElementLevel>
        <TitleText>An Example Title</TitleText>
      </TitleElement>
    </TitleDetail>
    <Contributor>
      <ContributorRole>A01</ContributorRole>
      <PersonName>Jane Example</PersonName>
    </Contributor>
  </DescriptiveDetail>
</Product>

Notice the code lists: 15 means ISBN-13, BB means hardback, A01 means "by (author)". ONIX relies on dozens of controlled code lists, which makes it unambiguous for machines but hard to read for humans.

Subject codes in the trade: Thema and BISAC

Two subject schemes dominate trade metadata:

  • BISAC, maintained by the Book Industry Study Group (BISG), is widely used in North America.
  • Thema, also maintained by EDItEUR, was designed as a multilingual, international scheme and is used across many markets.

Many publishers supply both in their ONIX feeds.

MARC: the language of libraries

MARC (MAchine-Readable Cataloging) was developed at the Library of Congress in the 1960s, and its modern form, MARC 21, is still the most common record format in library systems worldwide.

A MARC record is a set of numbered fields. Each field has optional indicators and lettered subfields. Some of the fields you will see most often:

FieldContent
020ISBN
100Main entry, personal name (usually the first author)
245Title statement
250Edition statement
264 (or 260)Publication information
300Physical description (pages, size)
490 / 8XXSeries
650Subject added entry, topical term
700Added entry, personal name (other contributors)

The same example book in a simplified human-readable MARC view:

020   ## $a 9780306406157
100   1# $a Example, Jane.
245   13 $a An example title / $c Jane Example.
250   ## $a First edition.
264   #1 $a New York : $b Example Press, $c 2020.
300   ## $a 320 pages ; $c 24 cm
650   #0 $a Cataloging.

MARC records follow content rules (today usually RDA, Resource Description and Access) and use authority files for names and subjects. That is MARC's superpower: "Example, Jane" is linked to an authority record that collects every variant of her name, so a search finds all her books.

Beyond MARC: BIBFRAME

The Library of Congress leads BIBFRAME, a linked-data model intended as a successor to MARC. BIBFRAME separates Work, Instance and Item and expresses records as RDF, making library data easier to connect with the wider web. Adoption is gradual; MARC will remain common for years.

Dublin Core: the language of the web

Dublin Core started in 1995 at a workshop in Dublin, Ohio, and its core set is standardised as ISO 15836. The Dublin Core Metadata Element Set defines just 15 elements:

title, creator, subject, description, publisher, contributor, date, type, format, identifier, source, language, relation, coverage, rights.

All elements are optional and repeatable. That simplicity is the point: Dublin Core is the lowest common denominator that almost any system can produce and consume. You will find it in repository software, digital libraries, EPUB package files and in the oai_dc format required by the OAI-PMH harvesting protocol.

<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
           xmlns:dc="http://purl.org/dc/elements/1.1/">
  <dc:title>An Example Title</dc:title>
  <dc:creator>Example, Jane</dc:creator>
  <dc:publisher>Example Press</dc:publisher>
  <dc:date>2020</dc:date>
  <dc:identifier>urn:isbn:9780306406157</dc:identifier>
  <dc:language>en</dc:language>
</oai_dc:dc>

The trade-off is precision. Dublin Core cannot tell you whether a "creator" is the author or the illustrator unless you use the more expressive DCMI Metadata Terms, and a "date" might be the publication date or the date of digitisation.

The same book, three ways

ConceptONIX 3.0MARC 21Dublin Core
ISBNProductIdentifier (type 15)020 $aidentifier
TitleTitleDetail / TitleText245 $a $btitle
AuthorContributor, role A01100 / 700creator
PublisherPublishingDetail / Publisher264 $bpublisher
DatePublishingDate264 $c, 008date
FormatProductForm300, 33Xformat
SubjectsSubject (Thema, BISAC…)650 (LCSH…)subject
Price / rightsProductSupplyNot coveredNot covered

Why sources disagree

If you merge data from several sources you will see conflicts all the time. Some common reasons:

  • Different purposes. A publisher's ONIX feed describes a product before publication; a library catalogues the copy it actually received.
  • Different rules. Library titles follow cataloguing rules for capitalisation and punctuation; trade titles follow marketing choices.
  • Different granularity. MARC can describe the physical copy in detail; Dublin Core can barely say "book".
  • Time. Prices, availability, page counts and even titles change between announcement and publication.

That is why a good aggregation layer reconciles the records rather than concatenating them. The Books API works with national-library catalogues and other bibliographic sources, which we clean, match and enrich into a single catalogue, and each record carries the licence information that applies to it. The terms are on the data licences page.

Practical tips for developers

  1. Map to an internal model. Don't let one standard's quirks leak through your app. Define your own edition and work fields and map each source to them.
  2. Keep the raw record. Store the original ONIX, MARC or JSON alongside the mapped data, so you can re-map later.
  3. Normalise identifiers early. Strip hyphens, convert ISBN-10 to ISBN-13, and validate check digits before matching.
  4. Track provenance per field. It makes debugging conflicts much easier and helps you meet licence attribution requirements.
  5. Respect licences. Many library records are in the public domain or under CC0, which allows reuse; commercial ONIX feeds are governed by contracts.

Final thoughts

ONIX, MARC and Dublin Core are not competitors so much as dialects for different audiences: ONIX sells books, MARC finds and manages them in libraries, and Dublin Core shares them across the web. Once you know which world a record comes from, its structure, and its gaps, start to make sense.

How a mapped edition looks as JSON, once ONIX or MARC has been put into one shape, is in the API documentation. The plans for that access are on the pricing page.

Tagsmetadataonixmarcdublin corebibframethemabisac

Back to blog