profile-manifest

CDIF Manifest (profile module)

This repository holds the published artifacts for the CDIF Manifest profile module — the cdifManifest building block from the metadataBuildingBlocks source register.

Scope. cdifManifest documents how a dataset’s content is packaged for distribution — file lists, integrity checksums (spdx:Checksum), archive structure, and download endpoints. It complements cdifCore and cdifDiscovery by carrying the bytes-on-disk story rather than the conceptual/structural one.

Specification

Examples

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.

One example reports on a different node, by design

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.

RO-Crate interop

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.

Synced from metadataBuildingBlocks

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/.

Changelog — v1.1.0

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:

Branches

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.

License

This work is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).