{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://dcc.icgc.org/donor",
    "type": "object",
    "properties": {
        "_donor_id": {
            "id": "https://dcc.icgc.org/donor/_donor_id",
            "type": "string"
        },
        "_project_id": {
            "id": "https://dcc.icgc.org/donor/_project_id",
            "type": "string"
        },
        "_summary": {
            "id": "https://dcc.icgc.org/donor/_summary",
            "type": "object",
            "properties": {
                "_affected_gene_count": {
                    "id": "https://dcc.icgc.org/donor/_summary/_affected_gene_count",
                    "type": "integer"
                },
                "_age_at_diagnosis_group": {
                    "id": "https://dcc.icgc.org/donor/_summary/_age_at_diagnosis_group",
                    "type": "string"
                },
                "_available_data_type": {
                    "id": "https://dcc.icgc.org/donor/_summary/_available_data_type",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/_summary/_available_data_type/4",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "_cngv_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_cngv_exists",
                    "type": "boolean"
                },
                "_cnsm_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_cnsm_exists",
                    "type": "boolean"
                },
                "_exp_array_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_exp_array_exists",
                    "type": "boolean"
                },
                "_exp_seq_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_exp_seq_exists",
                    "type": "boolean"
                },
                "_jcn_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_jcn_exists",
                    "type": "boolean"
                },
                "_meth_array_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_meth_array_exists",
                    "type": "boolean"
                },
                "_meth_seq_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_meth_seq_exists",
                    "type": "boolean"
                },
                "_mirna_seq_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_mirna_seq_exists",
                    "type": "boolean"
                },
                "_pexp_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_pexp_exists",
                    "type": "boolean"
                },
                "_sgv_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_sgv_exists",
                    "type": "boolean"
                },
                "_ssm_count": {
                    "id": "https://dcc.icgc.org/donor/_summary/_ssm_count",
                    "type": "integer"
                },
                "_state": {
                    "id": "https://dcc.icgc.org/donor/_summary/_state",
                    "type": "string"
                },
                "_stgv_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_stgv_exists",
                    "type": "boolean"
                },
                "_stsm_exists": {
                    "id": "https://dcc.icgc.org/donor/_summary/_stsm_exists",
                    "type": "boolean"
                },
                "_studies": {
                    "id": "https://dcc.icgc.org/donor/_summary/_studies",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/_summary/_studies/0",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "experimental_analysis_performed": {
                    "id": "https://dcc.icgc.org/donor/_summary/experimental_analysis_performed",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/_summary/experimental_analysis_performed/2",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "experimental_analysis_performed_sample_count": {
                    "id": "https://dcc.icgc.org/donor/_summary/experimental_analysis_performed_sample_count",
                    "type": "object",
                    "description": "Each field of the object has name of experimental analysis performed and it's count. E.g. WGA:10",
                    "patternProperties": {
                        "^\\w+(-\\w+)+$": {
                            "type": "integer"
                        }
                    },
                    "additionalProperties": false
                },
                "repository": {
                    "id": "https://dcc.icgc.org/donor/_summary/repository",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/_summary/repository/1",
                        "type": "string"
                    },
                    "additionalItems": false
                }
            },
            "additionalProperties": false
        },
        "cancer_history_first_degree_relative": {
            "id": "https://dcc.icgc.org/donor/cancer_history_first_degree_relative",
            "type": "string"
        },
        "cancer_type_prior_malignancy": {
            "id": "https://dcc.icgc.org/donor/cancer_type_prior_malignancy",
            "type": "string"
        },
        "disease_status_last_followup": {
            "id": "https://dcc.icgc.org/donor/disease_status_last_followup",
            "type": "string"
        },
        "donor_age_at_diagnosis": {
            "id": "https://dcc.icgc.org/donor/donor_age_at_diagnosis",
            "type": "integer"
        },
        "donor_age_at_enrollment": {
            "id": "https://dcc.icgc.org/donor/donor_age_at_enrollment",
            "type": "integer"
        },
        "donor_age_at_last_followup": {
            "id": "https://dcc.icgc.org/donor/donor_age_at_last_followup",
            "type": "integer"
        },
        "donor_diagnosis_icd10": {
            "id": "https://dcc.icgc.org/donor/donor_diagnosis_icd10",
            "type": "string"
        },
        "donor_id": {
            "id": "https://dcc.icgc.org/donor/donor_id",
            "type": "string"
        },
        "donor_interval_of_last_followup": {
            "id": "https://dcc.icgc.org/donor/donor_interval_of_last_followup",
            "type": "integer"
        },
        "donor_primary_treatment_interval": {
            "id": "https://dcc.icgc.org/donor/donor_primary_treatment_interval",
            "type": "integer"
        },
        "donor_relapse_interval": {
            "id": "https://dcc.icgc.org/donor/donor_relapse_interval",
            "type": "integer"
        },
        "donor_relapse_type": {
            "id": "https://dcc.icgc.org/donor/donor_relapse_type",
            "type": "string"
        },
        "donor_sex": {
            "id": "https://dcc.icgc.org/donor/donor_sex",
            "type": "string"
        },
        "donor_survival_time": {
            "id": "https://dcc.icgc.org/donor/donor_survival_time",
            "type": "integer"
        },
        "donor_tumour_stage_at_diagnosis": {
            "id": "https://dcc.icgc.org/donor/donor_tumour_stage_at_diagnosis",
            "type": "string"
        },
        "donor_tumour_stage_at_diagnosis_supplemental": {
            "id": "https://dcc.icgc.org/donor/donor_tumour_stage_at_diagnosis_supplemental",
            "type": "string"
        },
        "donor_tumour_staging_system_at_diagnosis": {
            "id": "https://dcc.icgc.org/donor/donor_tumour_staging_system_at_diagnosis",
            "type": "string"
        },
        "donor_vital_status": {
            "id": "https://dcc.icgc.org/donor/donor_vital_status",
            "type": "string"
        },
        "exposure": {
            "id": "https://dcc.icgc.org/donor/exposure",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/donor/exposure/0",
                "type": "object",
                "properties": {
                    "alcohol_history": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/alcohol_history",
                        "type": "string"
                    },
                    "alcohol_history_intensity": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/alcohol_history_intensity",
                        "type": "string"
                    },
                    "exposure_intensity": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/exposure_intensity",
                        "type": "string"
                    },
                    "exposure_notes": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/exposure_notes",
                        "type": "string"
                    },
                    "exposure_type": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/exposure_type",
                        "type": "string"
                    },
                    "tobacco_smoking_history_indicator": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/tobacco_smoking_history_indicator",
                        "type": "string"
                    },
                    "tobacco_smoking_intensity": {
                        "id": "https://dcc.icgc.org/donor/exposure/0/tobacco_smoking_intensity",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "family": {
            "id": "https://dcc.icgc.org/donor/family",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/donor/family/0",
                "type": "object",
                "properties": {
                    "donor_has_relative_with_cancer_history": {
                        "id": "https://dcc.icgc.org/donor/family/0/donor_has_relative_with_cancer_history",
                        "type": "string"
                    },
                    "relationship_age": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_age",
                        "type": "string"
                    },
                    "relationship_disease": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_disease",
                        "type": "string"
                    },
                    "relationship_disease_icd10": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_disease_icd10",
                        "type": "string"
                    },
                    "relationship_sex": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_sex",
                        "type": "string"
                    },
                    "relationship_type": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_type",
                        "type": "string"
                    },
                    "relationship_type_other": {
                        "id": "https://dcc.icgc.org/donor/family/0/relationship_type_other",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "prior_malignancy": {
            "id": "https://dcc.icgc.org/donor/prior_malignancy",
            "type": "string"
        },
        "project": {
            "id": "https://dcc.icgc.org/donor/project",
            "type": "object",
            "properties": {
                "_project_id": {
                    "id": "https://dcc.icgc.org/donor/project/_project_id",
                    "type": "string"
                },
                "_summary": {
                    "id": "https://dcc.icgc.org/donor/project/_summary",
                    "type": "object",
                    "properties": {
                        "_available_data_type": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_available_data_type",
                            "type": "array",
                            "items": {
                                "id": "https://dcc.icgc.org/donor/project/_summary/_available_data_type/4",
                                "type": "string"
                            },
                            "additionalItems": false
                        },
                        "_cngv_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_cngv_tested_donor_count",
                            "type": "integer"
                        },
                        "_cnsm_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_cnsm_tested_donor_count",
                            "type": "integer"
                        },
                        "_exp_array_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_exp_array_tested_donor_count",
                            "type": "integer"
                        },
                        "_exp_seq_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_exp_seq_tested_donor_count",
                            "type": "integer"
                        },
                        "_jcn_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_jcn_tested_donor_count",
                            "type": "integer"
                        },
                        "_meth_array_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_meth_array_tested_donor_count",
                            "type": "integer"
                        },
                        "_meth_seq_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_meth_seq_tested_donor_count",
                            "type": "integer"
                        },
                        "_mirna_seq_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_mirna_seq_tested_donor_count",
                            "type": "integer"
                        },
                        "_pexp_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_pexp_tested_donor_count",
                            "type": "integer"
                        },
                        "_sgv_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_sgv_tested_donor_count",
                            "type": "integer"
                        },
                        "_ssm_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_ssm_tested_donor_count",
                            "type": "integer"
                        },
                        "_state": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_state",
                            "type": "string"
                        },
                        "_stgv_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_stgv_tested_donor_count",
                            "type": "integer"
                        },
                        "_stsm_tested_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_stsm_tested_donor_count",
                            "type": "integer"
                        },
                        "_total_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_total_donor_count",
                            "type": "integer"
                        },
                        "_total_live_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_total_live_donor_count",
                            "type": "integer"
                        },
                        "_total_sample_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_total_sample_count",
                            "type": "integer"
                        },
                        "_total_specimen_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/_total_specimen_count",
                            "type": "integer"
                        },
                        "available_experimental_analysis_performed": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/available_experimental_analysis_performed",
                            "type": "array",
                            "items": {
                                "id": "https://dcc.icgc.org/donor/project/_summary/available_experimental_analysis_performed/3",
                                "type": "string"
                            },
                            "additionalItems": false
                        },
                        "experimental_analysis_performed_donor_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/experimental_analysis_performed_donor_count",
                            "type": "object",
                            "description": "Each field of the object has name of experimental analysis performed and it's count. E.g. WGA:10",
                            "patternProperties": {
                                "^\\w+(-\\w+)+$": {
                                    "type": "integer"
                                }
                            },
                            "additionalProperties": false
                        },
                        "experimental_analysis_performed_sample_count": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/experimental_analysis_performed_sample_count",
                            "type": "object",
                            "description": "Each field of the object has name of experimental analysis performed and it's count. E.g. WGA:10",
                            "patternProperties": {
                                "^\\w+(-\\w+)+$": {
                                    "type": "integer"
                                }
                            },
                            "additionalProperties": false
                        },
                        "repository": {
                            "id": "https://dcc.icgc.org/donor/project/_summary/repository",
                            "type": "array",
                            "items": {
                                "id": "https://dcc.icgc.org/donor/project/_summary/repository/1",
                                "type": "string"
                            },
                            "additionalItems": false
                        }
                    },
                    "additionalProperties": false
                },
                "alias": {
                    "id": "https://dcc.icgc.org/donor/project/alias",
                    "type": "string"
                },
                "icgc_id": {
                    "id": "https://dcc.icgc.org/donor/project/icgc_id",
                    "type": "string"
                },
                "partner_countries": {
                    "id": "https://dcc.icgc.org/donor/project/partner_countries",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/project/partner_countries/0",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "primary_countries": {
                    "id": "https://dcc.icgc.org/donor/project/primary_countries",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/project/primary_countries/0",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "primary_site": {
                    "id": "https://dcc.icgc.org/donor/project/primary_site",
                    "type": "string"
                },
                "project_name": {
                    "id": "https://dcc.icgc.org/donor/project/project_name",
                    "type": "string"
                },
                "pubmed_ids": {
                    "id": "https://dcc.icgc.org/donor/project/pubmed_ids",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor/project/pubmed_ids/0",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "tumour_subtype": {
                    "id": "https://dcc.icgc.org/donor/project/tumour_subtype",
                    "type": "string"
                },
                "tumour_type": {
                    "id": "https://dcc.icgc.org/donor/project/tumour_type",
                    "type": "string"
                }
            },
            "additionalProperties": false
        },
        "specimen": {
            "id": "https://dcc.icgc.org/donor/specimen",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/donor/specimen/0",
                "type": "object",
                "properties": {
                    "_project_id": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/_project_id",
                        "type": "string"
                    },
                    "_specimen_id": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/_specimen_id",
                        "type": "string"
                    },
                    "biomarker": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/biomarker",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/donor/specimen/0/biomarker/0",
                            "type": "object",
                            "properties": {
                                "specimen_id": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/biomarker/0/specimen_id",
                                    "type": "string"
                                },
                                "biomarker_name": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/biomarker/0/biomarker_name",
                                    "type": "string"
                                },
                                "biomarker_threshold": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/biomarker/0/biomarker_threshold",
                                    "type": "string"
                                },
                                "biomarker_positive": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/biomarker/0/biomarker_positive",
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    },
                    "digital_image_of_stained_section": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/digital_image_of_stained_section",
                        "type": "string"
                    },
                    "level_of_cellularity": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/level_of_cellularity",
                        "type": "string"
                    },
                    "percentage_cellularity": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/percentage_cellularity",
                        "type": "string"
                    },
                    "sample": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/sample",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/donor/specimen/0/sample/1",
                            "type": "object",
                            "properties": {
                                "analyzed_sample_id": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/analyzed_sample_id",
                                    "type": "string"
                                },
                                "analyzed_sample_interval": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/analyzed_sample_interval",
                                    "type": "integer"
                                },
                                "percentage_cellularity": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/percentage_cellularity",
                                    "type": "integer"
                                },
                                "level_of_cellularity": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/level_of_cellularity",
                                    "type": "string"
                                },
                                "study": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/study",
                                    "type": "string"
                                },
                                "_project_id": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/_project_id",
                                    "type": "string"
                                },
                                "_sample_id": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/_sample_id",
                                    "type": "string"
                                },
                                "available_raw_sequence_data": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/sample/1/available_raw_sequence_data",
                                    "type": "array",
                                    "items": {
                                        "id": "https://dcc.icgc.org/donor/specimen/0/sample/1available_raw_sequence_data/0",
                                        "type": "object",
                                        "properties": {
                                            "library_strategy": {
                                                "id": "https://dcc.icgc.org/donor/specimen/0/sample/1available_raw_sequence_data/0/library_strategy",
                                                "type": "string"
                                            },
                                            "raw_data_accession": {
                                                "id": "https://dcc.icgc.org/donor/specimen/0/sample/1available_raw_sequence_data/0/raw_data_accession",
                                                "type": "string"
                                            },
                                            "repository": {
                                                "id": "https://dcc.icgc.org/donor/specimen/0/sample/1available_raw_sequence_data/0/repository",
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    },
                                    "additionalItems": false
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    },
                    "specimen_available": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_available",
                        "type": "string"
                    },
                    "specimen_biobank": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_biobank",
                        "type": "string"
                    },
                    "specimen_biobank_id": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_biobank_id",
                        "type": "string"
                    },
                    "specimen_donor_treatment_type": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_donor_treatment_type",
                        "type": "string"
                    },
                    "specimen_donor_treatment_type_other": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_donor_treatment_type_other",
                        "type": "string"
                    },
                    "specimen_id": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_id",
                        "type": "string"
                    },
                    "specimen_interval": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_interval",
                        "type": "integer"
                    },
                    "specimen_processing": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_processing",
                        "type": "string"
                    },
                    "specimen_processing_other": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_processing_other",
                        "type": "string"
                    },
                    "specimen_storage": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_storage",
                        "type": "string"
                    },
                    "specimen_storage_other": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_storage_other",
                        "type": "string"
                    },
                    "specimen_type": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_type",
                        "type": "string"
                    },
                    "specimen_type_other": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/specimen_type_other",
                        "type": "null"
                    },
                    "surgery": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/surgery",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0",
                            "type": "object",
                            "properties": {
                                "procedure_interval": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0/procedure_interval",
                                    "type": "string"
                                },
                                "procedure_type": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0/procedure_type",
                                    "type": "string"
                                },
                                "procedure_site": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0/procedure_site",
                                    "type": "string"
                                },
                                "resection_status": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0/resection_status",
                                    "type": "string"
                                },
                                "specimen_id": {
                                    "id": "https://dcc.icgc.org/donor/specimen/0/surgery/0/specimen_id",
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    },
                    "tumour_confirmed": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_confirmed",
                        "type": "string"
                    },
                    "tumour_grade": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_grade",
                        "type": "string"
                    },
                    "tumour_grade_supplemental": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_grade_supplemental",
                        "type": "null"
                    },
                    "tumour_grading_system": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_grading_system",
                        "type": "string"
                    },
                    "tumour_histological_type": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_histological_type",
                        "type": "string"
                    },
                    "tumour_stage": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_stage",
                        "type": "string"
                    },
                    "tumour_stage_supplemental": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_stage_supplemental",
                        "type": "string"
                    },
                    "tumour_stage_system": {
                        "id": "https://dcc.icgc.org/donor/specimen/0/tumour_stage_system",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "therapy": {
            "id": "https://dcc.icgc.org/donor/therapy",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/donor/therapy/0",
                "type": "object",
                "properties": {
                    "first_therapy_duration": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/first_therapy_duration",
                        "type": "string"
                    },
                    "first_therapy_response": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/first_therapy_response",
                        "type": "string"
                    },
                    "first_therapy_start_interval": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/first_therapy_start_interval",
                        "type": "string"
                    },
                    "first_therapy_therapeutic_intent": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/first_therapy_therapeutic_intent",
                        "type": "string"
                    },
                    "first_therapy_type": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/first_therapy_type",
                        "type": "string"
                    },
                    "other_therapy": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/other_therapy",
                        "type": "string"
                    },
                    "other_therapy_response": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/other_therapy_response",
                        "type": "string"
                    },
                    "second_therapy_duration": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/second_therapy_duration",
                        "type": "string"
                    },
                    "second_therapy_response": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/second_therapy_response",
                        "type": "string"
                    },
                    "second_therapy_start_interval": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/second_therapy_start_interval",
                        "type": "string"
                    },
                    "second_therapy_therapeutic_intent": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/second_therapy_therapeutic_intent",
                        "type": "string"
                    },
                    "second_therapy_type": {
                        "id": "https://dcc.icgc.org/donor/therapy/0/second_therapy_type",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        }
    },
    "additionalProperties": false,
    "required": [
        "_donor_id"
    ]
}