Documentation · Controlled document

Data Contracts

Canonical KG, genomic, metagenomics, and governed event contracts.

About this file

Kind of file
JSON Schema
Status
Controlled document
Version
3.0.0
Size
6 KB
File
kg-evidence-bundle.schema.json
Fingerprint (SHA-256)
660cdf8ad5f27a62fa9ff0b3c88415d4bf89504291504cef277344e715262132

This page is drawn from the file itself each time it opens, so it always shows what the download holds.

PREPAIRE-KG-EVIDENCE-BUNDLE@3.0.0

Identifier
https://prepaire.example/contracts/kg-evidence-bundle/3.0.0
Schema language
https://json-schema.org/draft/2020-12/schema
Shapes
6

The document's fields

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
contractfixed valueYesalways PREPAIRE-KG-EVIDENCE-BUNDLE@3.0.0Not described in the file
bundleIdUUIDYesNoneNot described in the file
subjectReftextYesnot emptyA pseudonymous subject identifier. Direct identifiers are prohibited.
runIdtextYesmatches ^RUN-Not described in the file
observationslist of observationYesNoneNot described in the file
crossAxisSignalslist of crossAxisSignalYesNoneNot described in the file
provenanceprovenanceYesNoneNot described in the file
typedEvidencetyped-evidence.schema.jsonNoNoneNot described in the file

The shapes it defines

codedConcept

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
systemweb address (URI)YesNoneNot described in the file
codetextYesnot emptyNot described in the file
displaytextYesnot emptyNot described in the file
versiontextYesnot emptyNot described in the file

interval

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
kindone of a listYesone of: population, personal_baseline, homeostatic_targetNot described in the file
lownumber or emptyNoNoneNot described in the file
highnumber or emptyNoNoneNot described in the file
unittext or emptyNoNoneNot described in the file
sourcetextYesnot emptyNot described in the file
versiontextYesnot emptyNot described in the file
confidencenumberYesfrom 0 to 1Not described in the file
applicabilitytextNoNoneNot described in the file

observation

No other fields are allowed. It takes one of these shapes: any value; any value.

FieldKind of valueRequiredRulesWhat it holds
observationIdUUIDYesNoneNot described in the file
codecodedConceptYesNoneNot described in the file
localCodetextNoNoneNot described in the file
valueQuantityobjectNoNoneNot described in the file
valueQuantity.valuenumberYesNoneNot described in the file
valueQuantity.unittextYesnot emptyNot described in the file
valueQuantity.unitSystemfixed valueYesalways http://unitsofmeasure.orgNot described in the file
valueCodecodedConceptNoNoneNot described in the file
specimencodedConceptYesNoneNot described in the file
methodcodedConceptNoNoneNot described in the file
effectiveAtdate and timeYesNoneNot described in the file
sourceArtifactDrsIdtextYesnot emptyNot described in the file
qualityStateone of a listYesone of: accepted, qualified, rejectedNot described in the file
flagslist of textNoNoneNot described in the file
referenceIntervalslist of intervalYesNoneNot described in the file

crossAxisSignal

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
signalIdUUIDYesNoneNot described in the file
labeltextYesnot emptyNot described in the file
inputObservationIdslist of UUIDYesat least 2 items
no item twice
Not described in the file
modelobjectYesNoneNot described in the file
model.nametextYesNoneNot described in the file
model.versiontextYesNoneNot described in the file
model.ociDigesttextYesmatches ^sha256:[a-f0-9]{64}$Not described in the file
model.validationDecisionIdUUIDYesNoneNot described in the file
intendedUseone of a listYesone of: clinical_support, research, informationalNot described in the file
confidencenumberYesfrom 0 to 1Not described in the file
explanationtextYesnot emptyNot described in the file
causalStatusone of a listYesone of: association_only, mechanistically_supported, clinically_validatedThe default is association_only. Causal language requires explicit governed evidence.

provenance

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
instrumentAssetIdtextYesNoneNot described in the file
instrumentSerialtextYesNoneNot described in the file
pipelineDefinitionSha256textYesmatches ^[a-f0-9]{64}$Not described in the file
softwareBuildslist of objectYesNoneNot described in the file
softwareBuilds[].packageKeytextYesNoneNot described in the file
softwareBuilds[].versiontextYesNoneNot described in the file
softwareBuilds[].imageDigesttextYesmatches ^sha256:[a-f0-9]{64}$Not described in the file
terminologyVersionsobjectYesNoneNot described in the file
terminologyVersions.loinctextYesNoneNot described in the file
terminologyVersions.ucumtextYesNoneNot described in the file
terminologyVersions.snomedCttextNoNoneNot described in the file

Demonstration copy