XSD EDItEUR · 3.0, code lists issue 75

ONIX for Books 3.0 short tags

ONIX 3.0 book metadata with short tag names.

About

The short-tag form of ONIX 3.0, common in large feeds.

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_shorttags.xml · 12.9 KB · valid against this schema

In CI and from code

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

npx @xmlvalid/cli validate "**/*.xml" --schema onix-3.0-short
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: onix-3.0-short
    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-short

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