Strength¶
Referenced schema · Source · Dereferenced version
The category of evidence supporting a statement, mapped to an NCI Thesaurus code.
Fields¶
| Field | Type | Required | Description |
|---|---|---|---|
id |
string matching ^str:ncit:C\d+$ |
yes | |
conceptType |
always Evidence |
yes | |
name |
string | yes | |
primary_coding_id |
string matching ^coding:[a-z]+:.+$ |
yes | Foreign key to codings.id. |
mappings |
array of string matching ^map:.+::.+$ |
yes |
JSON Schema¶
Full JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://moalmanac.org/schemas/referenced/strengths.schema.json",
"title": "Strength",
"description": "The category of evidence supporting a statement, mapped to an NCI Thesaurus code.",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^str:ncit:C\\d+$"
},
"conceptType": {
"const": "Evidence"
},
"name": {
"type": "string"
},
"primary_coding_id": {
"type": "string",
"pattern": "^coding:[a-z]+:.+$",
"description": "Foreign key to `codings.id`."
},
"mappings": {
"type": "array",
"items": {
"type": "string",
"pattern": "^map:.+::.+$",
"description": "Foreign key to `mappings.id`."
}
}
},
"required": [
"id",
"conceptType",
"name",
"primary_coding_id",
"mappings"
],
"additionalProperties": false
}