{
    "properties": {
        "accelerator": {
            "enum": [
                "We need one"
            ],
            "title": "Accelerator",
            "type": "string"
        },
        "affiliation": {
            "description": "Institution ICN",
            "title": "Affiliation",
            "type": "string"
        },
        "affiliation_recid": {
            "title": "Record ID of institution",
            "type": "integer"
        },
        "collaboration": {
            "title": "Collaboration",
            "type": "string"
        },
        "collaboration_alternative_names": {
            "items": {
                "title": "Collaboration alternative name",
                "type": "string"
            },
            "title": "Collaboration alternative names",
            "type": "array",
            "_uniqueItems": true
        },
        "contact_email": {
            "title": "Contact email",
            "type": "string"
        },
        "curated_relation": {
            "title": "Curated relation",
            "type": "boolean"
        },
        "date_approved": {
            "format": "date",
            "title": "Date approved",
            "type": "string"
        },
        "date_cancelled": {
            "format": "date",
            "title": "Date cancelled",
            "type": "string"
        },
        "date_completed": {
            "format": "date",
            "title": "Date completed",
            "type": "string"
        },
        "date_proposed": {
            "format": "date",
            "title": "Date proposed",
            "type": "string"
        },
        "date_started": {
            "format": "date",
            "title": "Date started",
            "type": "string"
        },
        "description": {
            "title": "Description",
            "type": "string"
        },
        "field_code": {
            "items": {
                "enum": [
                    "usual",
                    "arXiv",
                    "list"
                ],
                "type": "string"
            },
            "title": "Field code",
            "type": "array",
            "_uniqueItems": true
        },
        "free_keywords": {
            "items": {
                "title": "Free keyword",
                "type": "string"
            },
            "title": "Free keywords",
            "type": "array",
            "_uniqueItems": true
        },
        "hidden_note": {
            "title": "Hidden note",
            "type": "string"
        },
        "name": {
            "title": "Experiment name",
            "type": "string"
        },
        "nonpublic_note": {
            "description": "FIXME: difference from hidden_note!?",
            "title": "Non public note",
            "type": "string"
        },
        "other_names": {
            "items": {
                "title": "Other name",
                "type": "string"
            },
            "title": "Other names",
            "type": "array",
            "_uniqueItems": true
        },
        "public_note": {
            "title": "Public note",
            "type": "string"
        },
        "related_experiments": {
            "items": {
                "properties": {
                    "curated_relation": {
                        "title": "Is the relation curated?",
                        "type": "boolean"
                    },
                    "name": {
                        "title": "Name of related experiment",
                        "type": "string"
                    },
                    "recid": {
                        "title": "Record ID of related experiment",
                        "type": "integer"
                    },
                    "relation": {
                        "description": "FIXME: shall we simply store preceeding experiment and generate the symmetric relation automatically?",
                        "enum": [
                            "predecessor",
                            "successor"
                        ],
                        "title": "Type of relation",
                        "type": "string"
                    }
                },
                "required": [
                    "name"
                ],
                "type": "object"
            },
            "title": "Related experiments",
            "type": "array",
            "_uniqueItems": true
        },
        "spokespersons": {
            "items": {
                "properties": {
                    "curated_relation": {
                        "title": "Is the relation curated?",
                        "type": "boolean"
                    },
                    "current": {
                        "title": "Is current Spokesperson?",
                        "type": "boolean"
                    },
                    "end_date": {
                        "format": "date",
                        "title": "End date",
                        "type": "string"
                    },
                    "name": {
                        "title": "Name",
                        "type": "string"
                    },
                    "recid": {
                        "title": "Record ID of the person",
                        "type": "integer"
                    },
                    "start_date": {
                        "format": "date",
                        "title": "Start date",
                        "type": "string"
                    }
                },
                "required": [
                    "name"
                ],
                "title": "Spokesperson",
                "type": "object"
            },
            "title": "Spokespersons",
            "type": "array",
            "_uniqueItems": true
        },
        "title": {
            "title": "Title",
            "type": "string"
        },
        "url": {
            "format": "url",
            "title": "Experiment web page",
            "type": "string"
        }
    },
    "required": [
        "name"
    ],
    "title": "Experiment",
    "type": "object"
}