write_cdif
Writes a CODATA CDIF JSON-LD description for a published Semantic Data Charter model from a catalog ID or local package, citing schema URL/SHA-256 and validating output with CDIF checks.
Instructions
Write the CODATA CDIF description (JSON-LD: Discovery, Data Description with every variable, Codelists, and the sentinel domain for the sixteen exceptional values) of one published Semantic Data Charter model. The document cites the model's schema by URL and SHA-256. Validated in this package's CI with CDIF's own framing, JSON Schema and SHACL checks from a pinned snapshot.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "write_cdif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The catalog date, YYYY-MM-DD; today when omitted. | |
| ct_id | No | The model's identifier (CUID2) in the public catalog; the package is fetched from the host this server was started with. | |
| 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. | |
| contact_name | No | The publisher's contact point name; the package's declared default applies when omitted. | |
| contact_email | No | The publisher's contact e-mail; the package's declared default applies when omitted. |