Skip to main content
DMS is designed to work with existing archival and semantic web standards. Every field maps to a recognised vocabulary, and three machine-readable schema formats make it possible to consume DMS records with standard tooling in any language or platform.
DMS is fully compatible with Dublin Core — the most widely used metadata standard for digital heritage and library resources. Every DMS field maps directly to a Dublin Core element or term, allowing DMS records to be harvested, indexed, and exchanged by any system that understands Dublin Core.

Dublin Core field mapping

All 15 DMS fields map to a dc: or dcterms: property. Fields with no equivalent Dublin Core term use a dms: or schema: extension property.

Vocabulary mappings

The dms.jsonld context declares prefix mappings for six external vocabularies. These mappings enable DMS records to be published as Linked Data and consumed by RDF-aware systems.

JSON-LD context

The file schema/dms.jsonld provides a JSON-LD 1.1 context that transforms any DMS JSON record into a valid RDF document. Loading the context alongside a record expands each field key into a fully qualified URI.

Context prefix declarations

schema/dms.jsonld (prefixes)

Type mappings in JSON-LD

Each value of the type enum is mapped to one or more Schema.org, FOAF, and BIBO classes in the @graph section of dms.jsonld.

Example: record as JSON-LD

The following shows examples/story.json as it would be interpreted when expanded with the DMS JSON-LD context. Field keys resolve to their full URI equivalents.
story-as-jsonld.json
To export a DMS record as JSON-LD using the CLI:

CSV format

DMS supports importing and exporting records in CSV format for spreadsheet-based workflows. The CSV format uses the same field names as the JSON schema, with nested objects represented as flattened dot-notation columns.
Convert a CSV batch file to individual JSON records:
Each row in the CSV becomes a separate JSON record file. Nested fields such as location.name, rights.license, and creator.0.name are expanded into their corresponding object structures.

JSON Schema validation

The schema/dms.json file is a valid JSON Schema Draft 2020-12 document. Any JSON Schema validator can use it to validate DMS records in any language or platform.
The dms validate command supports single files and entire directories. Use dms validate --dir records/ to validate all JSON files in a collection at once.