{
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "SummarizedExperiment",
    "description": "",
    "type": "object",
    "properties": {
        "title": {
            "type": "string"
        },
        "description": {
            "type": "string",
            "description": "A free text description of the experiment performed."
        },
        "experimentalist": {
            "type": "string",
            "description": "Unix id or name of experimentalist.",
            "examples": ["eqlin"]
        },
        "duration": {
            "description": "Number of days cells were treated with perturbation in days.",
            "type": "array",
            "items": {
                 "type": "integer"
            }
        },
        "cellline": {
            "description": "Identifier of the given cell line",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "cellline_name": {
            "description": "Name of the given cell line",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "cellline_tissue": {
            "description": "Tissue origin of the given cell line",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "cellline_ref_div_time": {
            "description": "Reference division time of the given cell line",
            "type": "array",
            "items": {
                 "type": ["integer", "string"],
                 "pattern": "[0-9]+|NA"
            }
        },
        "drug": {
            "description": "Identifier of the given drug",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "drug_name": {
            "description": "Name of the given drug",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "drug_moa": {
            "description": "Mechanism of action of the given drug",
            "type": "array",
            "items": {
                 "type": "string"
            }
        },
        "sources": {
            "type": "array",
            "description": "Data source",
            "items": {
                "type": "object",
                "required": ["name", "id"],
                "additionalProperties": false,
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": ["GeneData_Screener"]
                    },
                    "id": {
                        "type": "string",
                        "description": "An identifier for the source.",
                        "examples": ["IDS-12345"]
                    }
                }
            }
        }
    },
    "required": ["title", "description", "experimentalist", "duration", "sources", "cellline", "cellline_name", "cellline_tissue", "cellline_ref_div_time", "drug", "drug_name", "drug_moa"]
}
