Skip to main content
This guide walks you from a fresh environment to a working, schema-valid DMS record. The whole process takes about five minutes.
DMS requires Python 3.9 or newer. Run python3 --version to check before you begin.
1

Install DMS

Clone the repository and install the dms CLI in development mode:
The -e flag installs the package in editable mode, which ensures the schema files bundled in the repository are resolved correctly at runtime.
2

Verify the installation

Confirm the CLI is available and inspect the schema:
dms --version prints the installed CLI version. dms info prints the schema version and a table of all fields, their required status, allowed types, and creator roles:
3

Create a record

DMS offers two ways to create a record. Choose the one that fits your workflow:
4

Validate the record

Once the record is saved, validate it against the DMS schema:
A valid record prints a confirmation panel:
Errors (marked ) mean the record does not conform to the schema and must be fixed. Warnings () flag missing recommended fields — the record is still valid, but the missing fields reduce discoverability.
dms validate exits with a non-zero status code when any record is invalid, making it safe to use in CI pipelines.

Example record

The following is a complete, schema-valid DMS record from examples/story.json. You can use it as a reference or starting point:
story.json

Next steps

Field guide

Detailed definitions and allowed values for every schema field.

CLI reference

Full reference for all dms commands: search, export, stats, report, and more.