{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://dcc.icgc.org/diagram",
    "type": "object",
    "properties": {
        "diagram_id": {
            "id": "https://dcc.icgc.org/diagram/diagram_id",
            "type": "string"
        },
        "highlights": {
            "id": "https://dcc.icgc.org/diagram/highlights",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/diagram/highlights/0",
                "type": "string"
            },
            "additionalItems": false
        },
        "protein_map": {
            "id": "https://dcc.icgc.org/diagram/protein_map",
            "type": "array",
            "items": {
                "id": "https://dcc.icgc.org/diagram/protein_map/0",
                "type": "object",
                "properties": {
                    "db_id": {
                        "id": "https://dcc.icgc.org/diagram/protein_map/0/db_id",
                        "type": "string"
                    },
                    "uniprot_ids": {
                        "id": "https://dcc.icgc.org/diagram/protein_map/0/uniprot_ids",
                        "type": "array",
                        "items": {
                            "id": "https://dcc.icgc.org/diagram/protein_map/0/uniprot_ids/2",
                            "type": "string"
                        },
                        "additionalItems": false
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "xml": {
            "id": "https://dcc.icgc.org/diagram/xml",
            "type": "string"
        }
    },
    "additionalProperties": false,
    "required": [
        "diagram_id"
    ]
}