Validate a normative-artifact governance manifest
Source:R/normative-manifest.R
validateNormativeManifest.RdChecks that a normative reference's manifest carries every required
governance field — a semantic version, and non-empty
provenance$source, consent$status, license$spdx,
governance$custodian and governance$access_level — so an
ungoverned artifact cannot be registered or distributed.
Arguments
- manifest
A manifest list, a
GovernedNormativeReference, or a path to amanifest.jsonfile.
Examples
ref <- GovernedNormativeReference("m", "gait", "gait_speed",
provenance = list(source = "x"), consent = list(status = "public"),
license = list(spdx = "CC0-1.0"),
governance = list(custodian = "lab", access_level = "open"))
validateNormativeManifest(ref)