{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://hepdata.net/submission/schemas/1.0.1/additional_info_schema.json",
    "title": "Additional information",
    "description": "Optional information concerning a whole submission rather than individual data tables",
    "type": "object",
    "properties": {
        "record_ids": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": [
                            "string"
                        ]
                    },
                    "id": {
                        "type": [
                            "string",
                            "number"
                        ]
                    }
                },
                "required": [
                    "type",
                    "id"
                ],
                "additionalProperties": false
            }
        },
        "preprintyear": {
            "type": "string",
            "title": "Preprint Year",
            "description": "Indicates the year when the submission preprint was first available.",
            "name": "preprintyear"
        },
        "publicationyear": {
            "type": "string",
            "title": "Publication Year",
            "description": "Indicates the year when the submission publication was available.",
            "name": "publicationyear"
        },
        "dateupdated": {
            "type": "string",
            "title": "Date Updated",
            "description": "Indicates when the submission was last updated.",
            "name": "dateupdated"
        },
        "modifications": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "action": {
                        "type": "string"
                    },
                    "who": {
                        "type": "string"
                    }
                },
                "required": [
                    "action",
                    "who"
                ]
            }
        },
        "additional_resources": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "location": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "license": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "url": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "name",
                            "url"
                        ],
                        "additionalProperties": false
                    }
                },
                "required": [
                    "location",
                    "description"
                ]
            }
        },
        "comment": {
            "type": "string",
            "description": "Information that applies to all data tables."
        }
    },
    "additionalProperties": true
}