{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://dcc.icgc.org/gene-centric",
    "type": "object",
    "properties": {
        "_gene_id": {
            "id": "https://dcc.icgc.org/gene-centric/_gene_id",
            "type": "string"
        },
        "_summary": {
            "id": "https://dcc.icgc.org/gene-centric/_summary",
            "type": "object",
            "properties": {
                "_affected_donor_count": {
                    "id": "https://dcc.icgc.org/gene-centric/_summary/_affected_donor_count",
                    "type": "integer"
                }
            },
            "additionalProperties": false
        },
        "biotype": {
            "id": "https://dcc.icgc.org/gene-centric/biotype",
            "type": "string"
        },
        "chromosome": {
            "id": "https://dcc.icgc.org/gene-centric/chromosome",
            "type": "string"
        },
        "curated_set": {
            "id": "https://dcc.icgc.org/gene-centric/curated_set",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/gene-centric/curated_set/0",
                "type": "string"
            }
        },
        "description": {
            "id": "https://dcc.icgc.org/gene-centric/description",
            "type": "string"
        },
        "donor": {
            "id": "https://dcc.icgc.org/gene-centric/donor",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/gene-centric/donor/0",
                "type": "object",
                "properties": {
                    "_donor_id": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/_donor_id",
                        "type": "string"
                    },
                    "_project_id": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/_project_id",
                        "type": "string"
                    },
                    "_summary": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary",
                        "type": "object",
                        "properties": {
                            "_age_at_diagnosis_group": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_age_at_diagnosis_group",
                                "type": "string"
                            },
                            "_available_data_type": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_available_data_type",
                                "type": "array",
                                "items": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_available_data_type/10",
                                    "type": "string"
                                },
                                "additionalItems": false
                            },
                            "_state": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_state",
                                "type": "string"
                            },
                            "_studies": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_studies",
                                "type": "array",
                                "items": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_studies/1",
                                    "type": "string"
                                },
                                "additionalItems": false
                            },
                            "experimental_analysis_performed": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/experimental_analysis_performed",
                                "type": "array",
                                "items": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/experimental_analysis_performed/4",
                                    "type": "string"
                                },
                                "additionalItems": false
                            }
                        },
                        "additionalProperties": false
                    },
                    "disease_status_last_followup": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/disease_status_last_followup",
                        "type": "string"
                    },
                    "donor_relapse_type": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/donor_relapse_type",
                        "type": "null"
                    },
                    "donor_sex": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/donor_sex",
                        "type": "string"
                    },
                    "donor_tumour_stage_at_diagnosis": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/donor_tumour_stage_at_diagnosis",
                        "type": "string"
                    },
                    "donor_vital_status": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/donor_vital_status",
                        "type": "string"
                    },
                    "project": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/project",
                        "type": "object",
                        "properties": {
                            "_project_id": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/project/_project_id",
                                "type": "string"
                            },
                            "primary_site": {
                                "id": "https://dcc.icgc.org/gene-centric/donor/0/project/primary_site",
                                "type": "string"
                            }
                        },
                        "additionalProperties": false
                    },
                    "ssm": {
                        "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1",
                            "type": "object",
                            "properties": {
                                "_mutation_id": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/_mutation_id",
                                    "type": "string"
                                },
                                "chromosome": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome",
                                    "type": "string"
                                },
                                "chromosome_end": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome_end",
                                    "type": "string"
                                },
                                "chromosome_start": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome_start",
                                    "type": "string"
                                },
                                "consequence": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence",
                                    "type": "array",
                                    "items": {
                                        "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0",
                                        "type": "object",
                                        "properties": {
                                            "_gene_id": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/_gene_id",
                                                "type": "string"
                                            },
                                            "consequence_type": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/consequence_type",
                                                "type": "string"
                                            },
                                            "transcript_affected": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/transcript_affected",
                                                "type": "string"
                                            },
                                            "functional_impact_prediction_summary": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/functional_impact_prediction_summary",
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    },
                                    "additionalItems": false
                                },
                                "mutation_type": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/mutation_type",
                                    "type": "string"
                                },
                                "observation": {
                                    "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation",
                                    "type": "array",
                                    "items": {
                                        "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0",
                                        "type": "object",
                                        "properties": {
                                            "platform": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/platform",
                                                "type": "string"
                                            },
                                            "sequencing_strategy": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/sequencing_strategy",
                                                "type": "string"
                                            },
                                            "verification_status": {
                                                "id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/verification_status",
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    },
                                    "additionalItems": false
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "drug": {
            "id": "https://dcc.icgc.org/gene-centric/drug",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/gene-centric/drug/0",
                "type": "string"
            },
            "additionalItems": false
        },
        "end": {
            "id": "https://dcc.icgc.org/gene-centric/end",
            "type": "integer"
        },
        "external_db_ids": {
            "id": "https://dcc.icgc.org/gene-centric/external_db_ids",
            "type": "object",
            "properties": {
                "entrez_gene": {
                    "id": "https://dcc.icgc.org/gene-centric/external_db_ids/entrez_gene",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-centric/external_db_ids/entrez_gene/0",
                        "type": "string"
                    }
                },
                "hgnc": {
                    "id": "https://dcc.icgc.org/gene-centric/external_db_ids/hgnc",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-centric/external_db_ids/hgnc/0",
                        "type": "string"
                    }
                },
                "omim_gene": {
                    "id": "https://dcc.icgc.org/gene-centric/external_db_ids/omim_gene",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-centric/external_db_ids/omim_gene/0",
                        "type": "string"
                    }
                },
                "uniprotkb_swissprot": {
                    "id": "https://dcc.icgc.org/gene-centric/external_db_ids/uniprotkb_swissprot",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-centric/external_db_ids/uniprotkb_swissprot/0",
                        "type": "string"
                    }
                }
            },
            "additionalProperties": false
        },
        "go_term": {
            "id": "https://dcc.icgc.org/gene-centric/go_term",
            "type": "object",
            "properties": {
                "biological_process": {
                    "id": "https://dcc.icgc.org/gene-centric/go_term/biological_process",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor-centric/go_term/biological_process/52",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "cellular_component": {
                    "id": "https://dcc.icgc.org/donor-centric/go_term/cellular_component",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor-centric/go_term/cellular_component/39",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "molecular_function": {
                    "id": "https://dcc.icgc.org/donor-centric/go_term/molecular_function",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/donor-centric/go_term/molecular_function/10",
                        "type": "string"
                    },
                    "additionalItems": false
                }
            },
            "additionalProperties": false
        },
        "name": {
            "id": "https://dcc.icgc.org/gene-centric/name",
            "type": "string"
        },
        "pathway": {
            "id": "https://dcc.icgc.org/gene-centric/pathway",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/gene-centric/pathway/0",
                "type": "string"
            },
            "additionalItems": false
        },
        "start": {
            "id": "https://dcc.icgc.org/gene-centric/start",
            "type": "integer"
        },
        "strand": {
            "id": "https://dcc.icgc.org/gene-centric/strand",
            "type": "integer"
        },
        "symbol": {
            "id": "https://dcc.icgc.org/gene-centric/symbol",
            "type": "string"
        },
        "transcripts": {
            "id": "https://dcc.icgc.org/gene-centric/transcripts",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/gene-centric/transcripts/0",
                "type": "object",
                "properties": {
                    "id": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/id",
                        "type": "string"
                    },
                    "name": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/name",
                        "type": "string"
                    },
                    "biotype": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/biotype",
                        "type": "string"
                    },
                    "length_amino_acid": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/length_amino_acid",
                        "type": "integer"
                    },
                    "coding_region_start": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/coding_region_start",
                        "type": "integer"
                    },
                    "coding_region_end": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/coding_region_end",
                        "type": "integer"
                    },
                    "cdna_coding_start": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/cdna_coding_start",
                        "type": "integer"
                    },
                    "cdna_coding_end": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/cdna_coding_end",
                        "type": "integer"
                    },
                    "exons": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0",
                            "type": "object",
                            "properties": {
                                "start": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/start",
                                    "type": "integer"
                                },
                                "end": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/end",
                                    "type": "integer"
                                },
                                "cdna_start": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_start",
                                    "type": "integer"
                                },
                                "cdna_end": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_end",
                                    "type": "integer"
                                },
                                "genomic_coding_start": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/genomic_coding_start",
                                    "type": "integer"
                                },
                                "genomic_coding_end": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/genomic_coding_end",
                                    "type": "integer"
                                },
                                "cdna_coding_start": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_coding_start",
                                    "type": "integer"
                                },
                                "cdna_coding_end": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_coding_end",
                                    "type": "integer"
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    },
                    "domains": {
                        "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0",
                            "type": "object",
                            "properties": {
                                "start": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/start",
                                    "type": "integer"
                                },
                                "end": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/end",
                                    "type": "integer"
                                },
                                "description": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/description",
                                    "type": "string"
                                },
                                "gff_source": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/gff_source",
                                    "type": "string"
                                },
                                "hit_name": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/hit_name",
                                    "type": "string"
                                },
                                "interpro_id": {
                                    "id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/interpro_id",
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        }
    },
    "additionalProperties": false
}