diff --git a/v5.0.0/tasks-schema.json b/v5.0.0/tasks-schema.json index 26a57f2..5f1cf3f 100644 --- a/v5.0.0/tasks-schema.json +++ b/v5.0.0/tasks-schema.json @@ -341,106 +341,6 @@ ], "additionalProperties": false }, - "target_variable": { - "description": "An object containing arrays of required and optional unique identifiers for each valid target variable. Usually forms part of a pair of task ID target key variables (along with target_outcome) which combine to define individual targets.", - "type": "object", - "examples": [ - { - "required": null, - "optional": [ - "hosp", - "death", - "case" - ] - }, - { - "required": [ - "hosp" - ], - "optional": [ - "case" - ] - } - ], - "properties": { - "required": { - "description": "Array of target variable unique identifiers that must be present for submission to be valid. Can be null if no target variables are required and all valid target variables are specified in the optional property.", - "type": [ - "array", - "null" - ], - "uniqueItems": true, - "items": { - "type": "string" - } - }, - "optional": { - "description": "Array of valid but not required unique target variable identifiers. Can be null if all target variables are required and are specified in the required property.", - "type": [ - "array", - "null" - ], - "uniqueItems": true, - "items": { - "type": "string" - } - } - }, - "required": [ - "required", - "optional" - ], - "additionalProperties": false - }, - "target_outcome": { - "description": "An object containing arrays of required and optional unique identifiers for each valid target outcome. Usually forms part of a pair of task ID target key variables (along with target_variable) which combine to define individual targets.", - "type": "object", - "examples": [ - { - "required": [ - "inc" - ], - "optional": null - }, - { - "required": [ - "inc" - ], - "optional": [ - "cum" - ] - } - ], - "properties": { - "required": { - "description": "Array of target outcome unique identifiers that must be present for submission to be valid. Can be null if no target outcomes are required and all valid target outcomes are specified in the optional property.", - "type": [ - "array", - "null" - ], - "uniqueItems": true, - "items": { - "type": "string" - } - }, - "optional": { - "description": "Array of valid but not required unique target outcome identifiers. Can be null if all target outcomes are required and are specified in the required property.", - "type": [ - "array", - "null" - ], - "uniqueItems": true, - "items": { - "type": "string" - } - } - }, - "required": [ - "required", - "optional" - ], - "additionalProperties": false - }, "target_date": { "description": "An object containing arrays of required and optional unique target dates. For short-term forecasts, the target_date specifies the date of occurrence of the outcome of interest. For instance, if models are requested to forecast the number of hospitalizations that will occur on 2022-07-15, the target_date is 2022-07-15", "examples": [