Statement¶
Referenced schema · Source · Dereferenced version
A knowledge claim: a proposition, the direction and strength of its support, and its source documents.
Fields¶
| Field | Type | Required | Description |
|---|---|---|---|
id |
string matching ^stmt:(fda|ema|hse|hc|hpra):.+$ |
yes | |
type |
always Statement |
yes | |
description |
string | yes | |
contributions |
array of string matching ^ctrb:[a-z]+:\d{4}-\d{2}-\d{2}:\d+$ |
yes | |
reportedIn |
array of string matching ^doc:(fda|ema|hse|hc|hpra):.+$ |
yes | |
proposition_id |
string matching ^prop:vtxr:\d+$ |
yes | Foreign key to propositions.id. |
direction |
one of supports, disputes, neutral |
yes | |
strength_id |
string matching ^str:ncit:C\d+$ |
yes | Foreign key to strengths.id. |
status |
one of Active, Superseded, Deprecated |
yes | |
indication_id |
string matching ^ind:(fda|ema|hse|hc|hpra):.+$ |
yes | Foreign key to indications.id. |
JSON Schema¶
Full JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://moalmanac.org/schemas/referenced/statements.schema.json",
"title": "Statement",
"description": "A knowledge claim: a proposition, the direction and strength of its support, and its source documents.",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^stmt:(fda|ema|hse|hc|hpra):.+$"
},
"type": {
"const": "Statement"
},
"description": {
"type": "string"
},
"contributions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^ctrb:[a-z]+:\\d{4}-\\d{2}-\\d{2}:\\d+$",
"description": "Foreign key to `contributions.id`."
}
},
"reportedIn": {
"type": "array",
"items": {
"type": "string",
"pattern": "^doc:(fda|ema|hse|hc|hpra):.+$",
"description": "Foreign key to `documents.id`."
}
},
"proposition_id": {
"type": "string",
"pattern": "^prop:vtxr:\\d+$",
"description": "Foreign key to `propositions.id`."
},
"direction": {
"enum": [
"supports",
"disputes",
"neutral"
]
},
"strength_id": {
"type": "string",
"pattern": "^str:ncit:C\\d+$",
"description": "Foreign key to `strengths.id`."
},
"status": {
"enum": [
"Active",
"Superseded",
"Deprecated"
]
},
"indication_id": {
"type": "string",
"pattern": "^ind:(fda|ema|hse|hc|hpra):.+$",
"description": "Foreign key to `indications.id`."
}
},
"required": [
"id",
"type",
"description",
"contributions",
"reportedIn",
"proposition_id",
"direction",
"strength_id",
"status",
"indication_id"
],
"additionalProperties": false
}