{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Official timeline four-component extraction", "type": "object", "required": [ "studyDesignEpochs", "studyDesignEncounters", "studyDesignActivities", "studyDesignTiming" ], "additionalProperties": false, "properties": { "studyDesignEpochs": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] }, "type": { "type": [ "string", "null" ] }, "page": { "type": [ "string", "number", "null" ] } } } }, "studyDesignEncounters": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] }, "type": { "type": [ "string", "null" ] }, "environmentalSetting": { "type": [ "string", "null" ] }, "contactModes": { "oneOf": [ { "type": [ "string", "null" ] }, { "type": "array", "items": { "type": "string" } } ] }, "transitionStartRule": { "type": [ "string", "null" ] }, "transitionEndRule": { "type": [ "string", "null" ] }, "window": { "type": [ "string", "null" ] }, "page": { "type": [ "string", "number", "null" ] } } } }, "studyDesignActivities": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] }, "notes": { "type": [ "string", "null" ] }, "page": { "type": [ "string", "number", "null" ] } } } }, "studyDesignTiming": { "type": "array", "items": { "type": "object", "required": [ "name", "label", "type", "from", "to", "timingValue" ], "additionalProperties": false, "properties": { "name": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] }, "type": { "type": [ "string", "null" ] }, "from": { "type": [ "string", "null" ] }, "to": { "type": [ "string", "null" ] }, "timingValue": { "type": [ "string", "null" ] }, "toFrom": { "type": [ "string", "null" ] }, "window": { "type": [ "string", "null" ] }, "page": { "type": [ "string", "number", "null" ] } } } } } }