check_mapping
Validate a mapping YAML file against the mapping schema and confirm it matches the bound model's current schema.
Instructions
Validate a mapping file against the mapping schema, and, given a model, check it is bound to that model's current schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct_id | No | The model's identifier (CUID2) in the public catalog; the package is fetched from the host this server was started with. | |
| mapping | Yes | Path to a mapping file (YAML) for this model and target, if the model alone does not settle the mapping. | |
| directory | No | A package directory already on disk (dm-<ct>.jsonld and dm-<ct>.xsd, optionally catalog.json and versions.json). Give this or ct_id, not both. |