Documentation · Controlled document

Metagenomics Evidence Contract

Control-gated taxonomic and functional evidence with compositional semantics and explicit absolute-quantitation requirements.

About this file

Kind of file
JSON Schema
Status
Controlled document
Version
1.0.0
Size
12 KB
File
metagenomics-evidence-package.schema.json
Fingerprint (SHA-256)
391bfc3d183e93ca0d80f8327e51927052d41e2ad828edf19efe48916505ddcf

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

PREPAIRE-METAGENOMICS-EVIDENCE-PACKAGE@1.0.0

Identifier
https://prepaire.example/contracts/metagenomics-evidence-package/1.0.0
Schema language
https://json-schema.org/draft/2020-12/schema
Shapes
7

The document's fields

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
contractfixed valueYesalways PREPAIRE-METAGENOMICS-EVIDENCE-PACKAGE@1.0.0Not described in the file
packageIdUUIDYesNoneNot described in the file
subjectReftextYesnot emptyPseudonymous subject identifier. Direct identifiers are prohibited.
sampleReftextYesnot emptyNot described in the file
runIdtextYesmatches ^RUN-Not described in the file
specimenobjectYesNoneNot described in the file
specimen.typecodedConceptYesNoneNot described in the file
specimen.collectedAtdate and timeYesNoneNot described in the file
specimen.preservationMethodtextYesnot emptyNot described in the file
specimen.receivedAtdate and timeYesNoneNot described in the file
specimen.extractionMethodtextYesnot emptyNot described in the file
specimen.spikeInobjectNoNoneNot described in the file
specimen.spikeIn.materialtextYesnot emptyNot described in the file
specimen.spikeIn.lottextYesnot emptyNot described in the file
specimen.spikeIn.amountnumberYesmore than 0Not described in the file
specimen.spikeIn.unittextYesnot emptyNot described in the file
batchobjectYesNoneNot described in the file
batch.extractionBatchIdtextYesnot emptyNot described in the file
batch.libraryBatchIdtextYesnot emptyNot described in the file
batch.sequencingRunIdtextYesnot emptyNot described in the file
batch.instrumentAssetIdtextYesnot emptyNot described in the file
batch.instrumentSerialtextYesnot emptyNot described in the file
batch.readTechnologyone of a listYesone of: SHORT_READ, ONT_LONG_READ, OTHERNot described in the file
inputEvidencelist of objectYesat least 1 itemNot described in the file
inputEvidence[].drsIdtextYesnot emptyNot described in the file
inputEvidence[].artifactRoleone of a listYesone of: RAW_SIGNAL, FASTQ, BASECALLED_BAM, HOST_DEPLETED_FASTQ, RUN_METADATA, CONTROL_READSNot described in the file
inputEvidence[].formattextYesnot emptyNot described in the file
inputEvidence[].sha256sha256YesNoneNot described in the file
inputEvidence[].restrictedHumanDatatrue or falseYesNoneNot described in the file
controlslist of objectYesat least 3 itemsNot described in the file
controls[].controlIdUUIDYesNoneNot described in the file
controls[].controlTypeone of a listYesone of: EXTRACTION_BLANK, NO_TEMPLATE, POSITIVE_MOCK_COMMUNITY, SPIKE_IN, TECHNICAL_REPLICATENot described in the file
controls[].sampleReftextYesnot emptyNot described in the file
controls[].stateone of a listYesone of: passed, failed, qualifiedNot described in the file
controls[].acceptancePolicyReftextYesnot emptyNot described in the file
controls[].metricsDrsIdtextYesnot emptyNot described in the file
controls[].flagslist of textNoNoneNot described in the file
qualityobjectYesNoneNot described in the file
quality.stateone of a listYesone of: accepted, qualified, rejectedNot described in the file
quality.rawReadCountwhole numberYesat least 0Not described in the file
quality.retainedReadCountwhole numberYesat least 0Not described in the file
quality.hostFractionnumberYesfrom 0 to 1Not described in the file
quality.libraryComplexitynumberNofrom 0 to 1Not described in the file
quality.controlStateone of a listYesone of: passed, failed, qualifiedNot described in the file
quality.gateDecisionIdUUIDYesNoneNot described in the file
quality.flagslist of textNoNoneNot described in the file
databaseSnapshotslist of referenceAssetYesat least 2 itemsNot described in the file
profileslist of objectYesat least 1 itemNot described in the file
profiles[].profileIdUUIDYesNoneNot described in the file
profiles[].profileTypeone of a listYesone of: TAXONOMY_CANONICAL, TAXONOMY_COMPARATOR, GENE_FAMILY, PATHWAY_ABUNDANCE, PATHWAY_COVERAGE, AMR, MAG_RESEARCHNot described in the file
profiles[].drsIdtextYesnot emptyNot described in the file
profiles[].formattextYesnot emptyNot described in the file
profiles[].producersoftwareIdentityYesNoneNot described in the file
profiles[].databaseAssetIdslist of textYesat least 1 item
no item twice
Not described in the file
profiles[].releaseScopeone of a listYesone of: clinical_support, informational, research_only, not_releaseableNot described in the file
releasedFeatureslist of releasedFeatureYesNoneNot described in the file
longitudinalContextobjectYesNoneNot described in the file
longitudinalContext.comparablePriorSampleswhole numberYesat least 0Not described in the file
longitudinalContext.comparabilityStateone of a listYesone of: comparable, partially_comparable, not_comparable, no_priorNot described in the file
longitudinalContext.baselineEligibletrue or falseYesNoneNot described in the file
longitudinalContext.basistextYesnot emptyNot described in the file
provenanceprovenanceYesNoneNot described in the file

The shapes it defines

sha256

A value of this kind: text.

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

softwareIdentity

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
nametextYesnot emptyNot described in the file
versiontextYesnot emptyNot described in the file
ociDigesttextYesmatches ^sha256:[a-f0-9]{64}$Not described in the file

referenceAsset

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
referenceAssetIdtextYesnot emptyNot described in the file
nametextYesnot emptyNot described in the file
versiontextYesnot emptyNot described in the file
sourceweb address (URI)YesNoneNot described in the file
sha256sha256YesNoneNot described in the file

releasedFeature

No other fields are allowed. It also meets: any value.

FieldKind of valueRequiredRulesWhat it holds
featureIdUUIDYesNoneNot described in the file
featureTypeone of a listYesone of: TAXON, GENE_FAMILY, PATHWAY, AMR_GENE, DIVERSITY, OTHERNot described in the file
labeltextYesnot emptyNot described in the file
taxonomyobjectNoNoneNot described in the file
taxonomy.taxIdtextYesnot emptyNot described in the file
taxonomy.ranktextYesnot emptyNot described in the file
taxonomy.scientificNametextYesnot emptyNot described in the file
taxonomy.taxonomyVersiontextYesnot emptyNot described in the file
sourceProfileIdslist of UUIDYesat least 1 item
no item twice
Not described in the file
measurementBasisone of a listYesone of: RELATIVE_ABUNDANCE, ABSOLUTE_ABUNDANCE, PRESENCE_ABSENCE, CLR_TRANSFORM, COUNT, OTHERNot described in the file
valuenumberYesNoneNot described in the file
unittextYesnot emptyNot described in the file
detectionLimitnumberNoat least 0Not described in the file
confidencenumberYesfrom 0 to 1Not described in the file
absoluteQuantitationEvidenceobjectNoNoneNot described in the file
absoluteQuantitationEvidence.methodone of a listYesone of: SPIKE_IN, QPCR, FLOW_CYTOMETRY, OTHER_VALIDATED_METHODNot described in the file
absoluteQuantitationEvidence.calibratorOrSpikeIntextYesnot emptyNot described in the file
absoluteQuantitationEvidence.validationDecisionIdUUIDYesNoneNot described in the file
intendedUseone of a listYesone of: clinical_support, informational, researchNot described in the file
summarytextYesnot emptyNot described in the file
limitationslist of textYesat least 1 item
no item empty
Not described in the file
causalStatusone of a listYesone of: association_only, mechanistically_supported, clinically_validatedNot described in the file
actionPolicyRefslist of textNono item emptyNot described in the file
reviewobjectYesNoneNot described in the file
review.stateone of a listYesone of: EXPERT_REVIEWED, RELEASED, REVOKEDNot described in the file
review.reviewerRoletextYesnot emptyNot described in the file
review.reviewedAtdate and timeYesNoneNot described in the file
review.releaseDecisionIdUUIDYesNoneNot described in the file

provenance

No other fields are allowed.

FieldKind of valueRequiredRulesWhat it holds
pipelineDefinitionSha256sha256YesNoneNot described in the file
softwareBuildslist of softwareIdentityYesat least 1 itemNot described in the file
generatedAtdate and timeYesNoneNot described in the file
generatedByWorkloadtextYesnot emptyNot described in the file
auditDrsIdtextYesnot emptyNot described in the file

Demonstration copy