This repository holds the published artifacts for the CDIF Manifest profile module — the cdifManifest building block from the metadataBuildingBlocks source register.
Scope.
cdifManifestdocuments how a dataset’s content is packaged for distribution — file lists, integrity checksums (spdx:Checksum), archive structure, and download endpoints. It complementscdifCoreandcdifDiscoveryby carrying the bytes-on-disk story rather than the conceptual/structural one.
FrameAndValidate.py.examples/ holds JSON-LD examples illustrating archive-distribution manifests, RO-Crate-aligned packagings, and per-distribution checksums. Validate one with:
python FrameAndValidate.py examples/exampleCdifManifest.json --validate
FrameAndValidate.py frames the document against cdifManifest-frame.jsonld, array-wraps the multi-valued properties, then validates against the JSON Schema. Validation is open-world: unknown properties pass.
Framing selects the node matching the frame’s root @type, which here is schema:Dataset. examples/reliquaryTest202607.json has a root typed schema:Collection, so framing does not match it and the framed output describes a different node — …/URIforTheMetadata rather than the source’s …/morbcitationlist.
That is expected. The example exists to exercise a non-Dataset root, and the frame should not be widened to accommodate it — a frame’s job is to match the shape this profile actually publishes.
Worth knowing because a useful sanity check — frame every example and compare the framed @id against the source @id — flags this one. It is the only expected mismatch here. Anything else appearing in that check is a real problem: the validator would be reporting on something other than the document it was given, and reporting PASS while doing so. That selection lives in pick_main_entity, which is generated from the normative source in the validation repo — fix it there, never in this copy, which carries a DO-NOT-EDIT banner and a drift hash that CI checks.
The RO-Crate converter scripts moved to the CDIF validation repo on 2026-09-08 — validation/converters/ROCrate/ — beside the other format converters, and tools/ is gone from this repo. The prior packaging exploration stays in docs/RO-Crate-relationship.md, which describes how this profile relates to RO-Crate. Neither is part of the release-artifact set.
These generated artifacts are re-synced when the source register changes:
| file | source command |
|---|---|
cdifManifestStructuredSchema.json |
python tools/resolve_schema.py cdifManifest -o cdifManifestStructuredSchema.json |
manifestRules.shacl |
python tools/validate_shacl.py cdifManifest --emit-shapes manifestRules.shacl |
Source profile: _sources/profiles/cdifProfile/cdifManifest/.
Released 2026-09-10 as v1.1.0. Content synced from the CDIF
metadataBuildingBlocks source; see the
release for the tagged snapshot and
git log v1.1.0 for the per-commit history:
*StructuredSchema.json, merged SHACL,
JSON-LD frame, examples, and the normative FrameAndValidate.py generated from the
building-block source; Examples/ renamed to examples/./1.0 → /1.1.@id-reference tightening — bare {@id} reference slots sealed
(additionalProperties: false + required: ['@id']); a canonical objectReference
building block introduced as the strict node reference.prov:used wrapper reconciliation — the base generatedBy.prov:used accepts
role-keyed wrappers (schema:instrument / bios:computationalTool / prov:reagent)
alongside string / {@id} / inline prov:Entity; profiles pin a wrapper’s shape via
a constraint-only if/then (never a narrowed anyOf).skos:notation → single string at concept level (consistent with the codelist
single-notation design).FrameAndValidate.py (normative, drift-checked against
Cross-Domain-Interoperability-Framework/validation) — two-frame root-@type
selection, context-aware schema:about, --conformance detection, cdif:-@id
re-expansion, and (2026-08) reference-collapse on all document types + blank-node
dedupe + agent schema:identifier unwrap, so @embed:@always-framed documents
validate against the tightened schemas.cdi:ComponentPosition, reference slots → {@id}, CVE hasIntendedDataType →
string, skos:notation → string, schema:additionalType URI → {@id}).main is the current release — GitHub Pages serves it, so the published
URLs always show the newest release. It is protected: changes reach it only by
pull request, which means the merge is the release.
New work goes on the updates branch and is merged to main when a release
is cut, then tagged v1.1.n. The former reviewRevision202606 branch is retained
as archive202609.
This work is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).