XSD Library of Congress · 3.8

MODS 3.8

Metadata Object Description Schema

Bibliographic descriptions in MODS, used by digital libraries and repositories.

About

MODS is a simpler, element-named alternative to MARC for describing resources, common in Islandora, Fedora and digital collection platforms.

The schema imports xml.xsd and xlink.xsd, included here.

Good to know

  • Authority values (marcrelator roles, LCSH subjects) are not checked against their vocabularies.
  • The example is by xmlvalid.com.

Files

3 files · 67.8 KB

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

Example document

record.xml · 1.1 KB · valid against this schema

In CI and from code

The same schema by its name, mods-3.8, through the API.

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

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