{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://dcc.icgc.org/gene-set",
    "type": "object",
    "properties": {
        "_summary": {
            "id": "https://dcc.icgc.org/gene-set/_summary",
            "type": "object",
            "properties": {
                "_gene_count": {
                    "id": "https://dcc.icgc.org/gene-set/_summary/_gene_count",
                    "type": "integer"
                }
            },
            "additionalProperties": false
        },
        "description": {
            "id": "https://dcc.icgc.org/gene-set/description",
            "type": "string"
        },
        "go_term": {
            "id": "https://dcc.icgc.org/gene-set/go_term",
            "type": "object",
            "properties": {
                "alt_ids": {
                    "id": "https://dcc.icgc.org/gene-set/go_term/alt_ids",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-set/go_term/alt_ids/0",
                        "type": "string"
                    },
                    "additionalItems": false
                },
                "inferred_tree": {
                    "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree/0",
                        "type": "object",
                        "properties": {
                            "id": {
                                "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree/0/id",
                                "type": "string"
                            },
                            "name": {
                                "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree/0/name",
                                "type": "string"
                            },
                            "relation": {
                                "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree/0/relation",
                                "type": "string"
                            },
                            "level": {
                                "id": "https://dcc.icgc.org/gene-set/go_term/inferred_tree/0/level",
                                "type": "integer"
                            }
                        },
                        "additionalProperties": false
                    },
                    "additionalItems": false
                },
                "ontology": {
                    "id": "https://dcc.icgc.org/gene-set/go_term/ontology",
                    "type": "string"
                },
                "synonyms": {
                    "id": "https://dcc.icgc.org/gene-set/go_term/synonyms",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-set/go_term/synonyms/12",
                        "type": "string"
                    },
                    "additionalItems": false
                }
            },
            "additionalProperties": false
        },
        "id": {
            "id": "https://dcc.icgc.org/gene-set/id",
            "type": "string"
        },
        "name": {
            "id": "https://dcc.icgc.org/gene-set/name",
            "type": "string"
        },
        "gene_set_pathway": {
            "id": "https://dcc.icgc.org/gene-set/gene_set_pathway",
            "type": "object",
            "properties": {
                "diagrammed": {
                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/diagrammed",
                    "type": "boolean"
                },
                "evidence_code": {
                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/evidence_code",
                    "type": "string"
                },
                "hierarchy": {
                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy",
                    "type": "array",
                    "items": {
                        "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy/0",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy/0/3",
                            "type": "object",
                            "properties": {
                                "diagrammed": {
                                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy/0/3/diagrammed",
                                    "type": "boolean"
                                },
                                "id": {
                                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy/0/3/id",
                                    "type": "string"
                                },
                                "name": {
                                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/hierarchy/0/3/name",
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "additionalItems": false
                    },
                    "additionalItems": false
                },
                "species": {
                    "id": "https://dcc.icgc.org/gene-set/gene_set_pathway/species",
                    "type": "string"
                }
            },
            "additionalProperties": false
        },
        "source": {
            "id": "https://dcc.icgc.org/gene-set/source",
            "type": "string"
        },
        "type": {
            "id": "https://dcc.icgc.org/gene-set/type",
            "type": "string"
        }
    },
    "additionalProperties": false
}