{
   "title": "Sample Entry",
   "type": "object",
   "properties": {
      "sample_acceptance_data": {
         "type": "array",
         "title": "Per Sample Acceptance",
         "minItems": 2,
         "maxItems": 2,
         "uniqueItems": true,
         "items": {
            "anyOf": [
               {
                  "$ref": "./SampleAcceptance.json"
               }
            ]
         }
      },
      "collection_date": {
         "$ref": "../../../core.json#/definitions/Date",
         "title": "Collection Date",
         "description": "yyyy-mm-dd"
      },
      "container": {
         "type": "string",
         "title": "Container",
         "enum": [
            "EDTA_WHOLE_BLOOD",
            "EDTA_TEN_ML",
            "EDTA_SIX_ML",
            "ORAGENE_SALIVA",
            "STRECK",
            "MICROFUGE_TUBE",
            "ORA_COLLECT_BUCCAL_SWAB",
            "ORACOLLECT"
         ]
      },
      "specimen_type": {
         "type": "string",
         "title": "Specimen Type",
         "enum": [
            "SALIVA",
            "BLOOD",
            "BUCCAL_SWAB",
            "DNA",
            "DATA"
         ]
      },
      "usage_class": {
         "type": "string",
         "title": "Usage Class",
         "enum": [
            "CLINICAL",
            "VALIDATION",
            "UNKNOWN"
         ]
      },
      "notes": {
         "type": "string"
      }
   },
   "additionalProperties": false
}