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.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
contract | fixed value | Yes | always PREPAIRE-METAGENOMICS-EVIDENCE-PACKAGE@1.0.0 | Not described in the file |
packageId | UUID | Yes | None | Not described in the file |
subjectRef | text | Yes | not empty | Pseudonymous subject identifier. Direct identifiers are prohibited. |
sampleRef | text | Yes | not empty | Not described in the file |
runId | text | Yes | matches ^RUN- | Not described in the file |
specimen | object | Yes | None | Not described in the file |
specimen.type | codedConcept | Yes | None | Not described in the file |
specimen.collectedAt | date and time | Yes | None | Not described in the file |
specimen.preservationMethod | text | Yes | not empty | Not described in the file |
specimen.receivedAt | date and time | Yes | None | Not described in the file |
specimen.extractionMethod | text | Yes | not empty | Not described in the file |
specimen.spikeIn | object | No | None | Not described in the file |
specimen.spikeIn.material | text | Yes | not empty | Not described in the file |
specimen.spikeIn.lot | text | Yes | not empty | Not described in the file |
specimen.spikeIn.amount | number | Yes | more than 0 | Not described in the file |
specimen.spikeIn.unit | text | Yes | not empty | Not described in the file |
batch | object | Yes | None | Not described in the file |
batch.extractionBatchId | text | Yes | not empty | Not described in the file |
batch.libraryBatchId | text | Yes | not empty | Not described in the file |
batch.sequencingRunId | text | Yes | not empty | Not described in the file |
batch.instrumentAssetId | text | Yes | not empty | Not described in the file |
batch.instrumentSerial | text | Yes | not empty | Not described in the file |
batch.readTechnology | one of a list | Yes | one of: SHORT_READ, ONT_LONG_READ, OTHER | Not described in the file |
inputEvidence | list of object | Yes | at least 1 item | Not described in the file |
inputEvidence[].drsId | text | Yes | not empty | Not described in the file |
inputEvidence[].artifactRole | one of a list | Yes | one of: RAW_SIGNAL, FASTQ, BASECALLED_BAM, HOST_DEPLETED_FASTQ, RUN_METADATA, CONTROL_READS | Not described in the file |
inputEvidence[].format | text | Yes | not empty | Not described in the file |
inputEvidence[].sha256 | sha256 | Yes | None | Not described in the file |
inputEvidence[].restrictedHumanData | true or false | Yes | None | Not described in the file |
controls | list of object | Yes | at least 3 items | Not described in the file |
controls[].controlId | UUID | Yes | None | Not described in the file |
controls[].controlType | one of a list | Yes | one of: EXTRACTION_BLANK, NO_TEMPLATE, POSITIVE_MOCK_COMMUNITY, SPIKE_IN, TECHNICAL_REPLICATE | Not described in the file |
controls[].sampleRef | text | Yes | not empty | Not described in the file |
controls[].state | one of a list | Yes | one of: passed, failed, qualified | Not described in the file |
controls[].acceptancePolicyRef | text | Yes | not empty | Not described in the file |
controls[].metricsDrsId | text | Yes | not empty | Not described in the file |
controls[].flags | list of text | No | None | Not described in the file |
quality | object | Yes | None | Not described in the file |
quality.state | one of a list | Yes | one of: accepted, qualified, rejected | Not described in the file |
quality.rawReadCount | whole number | Yes | at least 0 | Not described in the file |
quality.retainedReadCount | whole number | Yes | at least 0 | Not described in the file |
quality.hostFraction | number | Yes | from 0 to 1 | Not described in the file |
quality.libraryComplexity | number | No | from 0 to 1 | Not described in the file |
quality.controlState | one of a list | Yes | one of: passed, failed, qualified | Not described in the file |
quality.gateDecisionId | UUID | Yes | None | Not described in the file |
quality.flags | list of text | No | None | Not described in the file |
databaseSnapshots | list of referenceAsset | Yes | at least 2 items | Not described in the file |
profiles | list of object | Yes | at least 1 item | Not described in the file |
profiles[].profileId | UUID | Yes | None | Not described in the file |
profiles[].profileType | one of a list | Yes | one of: TAXONOMY_CANONICAL, TAXONOMY_COMPARATOR, GENE_FAMILY, PATHWAY_ABUNDANCE, PATHWAY_COVERAGE, AMR, MAG_RESEARCH | Not described in the file |
profiles[].drsId | text | Yes | not empty | Not described in the file |
profiles[].format | text | Yes | not empty | Not described in the file |
profiles[].producer | softwareIdentity | Yes | None | Not described in the file |
profiles[].databaseAssetIds | list of text | Yes | at least 1 item no item twice | Not described in the file |
profiles[].releaseScope | one of a list | Yes | one of: clinical_support, informational, research_only, not_releaseable | Not described in the file |
releasedFeatures | list of releasedFeature | Yes | None | Not described in the file |
longitudinalContext | object | Yes | None | Not described in the file |
longitudinalContext.comparablePriorSamples | whole number | Yes | at least 0 | Not described in the file |
longitudinalContext.comparabilityState | one of a list | Yes | one of: comparable, partially_comparable, not_comparable, no_prior | Not described in the file |
longitudinalContext.baselineEligible | true or false | Yes | None | Not described in the file |
longitudinalContext.basis | text | Yes | not empty | Not described in the file |
provenance | provenance | Yes | None | Not described in the file |
The shapes it defines
sha256
A value of this kind: text.
codedConcept
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
system | web address (URI) | Yes | None | Not described in the file |
code | text | Yes | not empty | Not described in the file |
display | text | Yes | not empty | Not described in the file |
version | text | Yes | not empty | Not described in the file |
softwareIdentity
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
name | text | Yes | not empty | Not described in the file |
version | text | Yes | not empty | Not described in the file |
ociDigest | text | Yes | matches ^sha256:[a-f0-9]{64}$ | Not described in the file |
referenceAsset
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
referenceAssetId | text | Yes | not empty | Not described in the file |
name | text | Yes | not empty | Not described in the file |
version | text | Yes | not empty | Not described in the file |
source | web address (URI) | Yes | None | Not described in the file |
sha256 | sha256 | Yes | None | Not described in the file |
releasedFeature
No other fields are allowed. It also meets: any value.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
featureId | UUID | Yes | None | Not described in the file |
featureType | one of a list | Yes | one of: TAXON, GENE_FAMILY, PATHWAY, AMR_GENE, DIVERSITY, OTHER | Not described in the file |
label | text | Yes | not empty | Not described in the file |
taxonomy | object | No | None | Not described in the file |
taxonomy.taxId | text | Yes | not empty | Not described in the file |
taxonomy.rank | text | Yes | not empty | Not described in the file |
taxonomy.scientificName | text | Yes | not empty | Not described in the file |
taxonomy.taxonomyVersion | text | Yes | not empty | Not described in the file |
sourceProfileIds | list of UUID | Yes | at least 1 item no item twice | Not described in the file |
measurementBasis | one of a list | Yes | one of: RELATIVE_ABUNDANCE, ABSOLUTE_ABUNDANCE, PRESENCE_ABSENCE, CLR_TRANSFORM, COUNT, OTHER | Not described in the file |
value | number | Yes | None | Not described in the file |
unit | text | Yes | not empty | Not described in the file |
detectionLimit | number | No | at least 0 | Not described in the file |
confidence | number | Yes | from 0 to 1 | Not described in the file |
absoluteQuantitationEvidence | object | No | None | Not described in the file |
absoluteQuantitationEvidence.method | one of a list | Yes | one of: SPIKE_IN, QPCR, FLOW_CYTOMETRY, OTHER_VALIDATED_METHOD | Not described in the file |
absoluteQuantitationEvidence.calibratorOrSpikeIn | text | Yes | not empty | Not described in the file |
absoluteQuantitationEvidence.validationDecisionId | UUID | Yes | None | Not described in the file |
intendedUse | one of a list | Yes | one of: clinical_support, informational, research | Not described in the file |
summary | text | Yes | not empty | Not described in the file |
limitations | list of text | Yes | at least 1 item no item empty | Not described in the file |
causalStatus | one of a list | Yes | one of: association_only, mechanistically_supported, clinically_validated | Not described in the file |
actionPolicyRefs | list of text | No | no item empty | Not described in the file |
review | object | Yes | None | Not described in the file |
review.state | one of a list | Yes | one of: EXPERT_REVIEWED, RELEASED, REVOKED | Not described in the file |
review.reviewerRole | text | Yes | not empty | Not described in the file |
review.reviewedAt | date and time | Yes | None | Not described in the file |
review.releaseDecisionId | UUID | Yes | None | Not described in the file |
provenance
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
pipelineDefinitionSha256 | sha256 | Yes | None | Not described in the file |
softwareBuilds | list of softwareIdentity | Yes | at least 1 item | Not described in the file |
generatedAt | date and time | Yes | None | Not described in the file |
generatedByWorkload | text | Yes | not empty | Not described in the file |
auditDrsId | text | Yes | not empty | Not described in the file |