{
  "$schema":"http://json-schema.org/draft-04/schema",
  "title":"assessments.json template schema",
  "description":"The assessment panels template defines and annotates the assessment panels and the assessment components (results) defines and annotates the assessment for the panel. Assessment panels are often encoded in Case Report Forms (CRFs) and these are linked to a study. Assessment components are the answers to questions or assessments recorded in a CRF for a given subject within a study. The assessment template enables you to define the panel and its components in a single form.  The assessment panel can be either new or pre-defined in this template. Any combination is acceptable. The only restriction is that the assessment panel id is the key to the template and must be unique within the template.",
  "type":"object",
  "properties":{
      "fileName":{
	  "type":"string",
	  "enum":["assessments.json"]
      },
     "name":{
	  "type":"string",
	  "enum":["assessments"]
      },
     "schemaVersion":{
	  "type":"string",
	  "enum":["3.37"]
      },
     "templateType":{
	  "type":"string",
	  "enum":["combined-result"]
      },
     "validationLevel":{
	  "type":"string"
      },
     "data":{
       "type":"array",
       "items":{
         "$ref":"assessments.Datum.json#"
       },
       "minItems":1
     }
  },
  "additionalProperties":false,
  "required":["fileName","name","schemaVersion","templateType","data"]
}