XSD EDItEUR · 3.0, code lists issue 75

ONIX for Books 3.0

ONIX for Books 3.0 (reference tags)

ONIX 3.0 book metadata with reference tag names, the version most trading partners still take.

About

ONIX 3.0 has been the main book trade version since 2009; 3.1 extends it. Many retailers accept only 3.0.

Good to know

  • The schemas are kept exactly as EDItEUR publishes them. The example is the sample file that ships with them.

Files

3 files · 1.9 MB

The validator loads all of these with their folder structure, so includes and imports resolve as published.

Example document

Onix3sample_refnames.xml · 17.2 KB · valid against this schema

In CI and from code

The same schema by its name, onix-3.0, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema onix-3.0
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: onix-3.0
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=onix-3.0

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups