{
  "$schema":"http://json-schema.org/draft-04/schema",
  "title":"subjectAnimals.json template schema",
  "description":"The subject animal template defines and annotates key elements of study subjects including demographics and links subjects to an arm within a study. In mouse studies, data providers may choose to define a single subject to represent a set of inbred mice treated the same way rather than describe each mouse (i.e. a cage of mice treated the same way). This approach is driven by how the assay results are recorded: if assay results are available for individual animals, then each animal should be defined to ImmPort.",
  "type":"object",
  "properties":{
      "fileName":{
	  "type":"string",
	  "enum":["subjectAnimals.json"]
      },
     "name":{
	  "type":"string",
	  "enum":["subjectanimals"]
      },
     "schemaVersion":{
	  "type":"string",
	  "enum":["3.37"]
      },
     "templateType":{
	  "type":"string",
	  "enum":["combined-result"]
      },
     "validationLevel":{
	  "type":"string"
      },
     "data":{
       "type":"array",
       "items":{
         "$ref":"subjectAnimals.Datum.json#"
       },
       "minItems":1
     }
  },
  "additionalProperties":false,
  "required":["fileName","name","schemaVersion","templateType","data"]
}