{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://hepdata.org/submission/schema/additional_info",
    "type": "object",
    "title": "This section is optional for the provision of information about the overall submission.",
    "description": "An explanation about the purpose of this instance described by this schema.",
    "name": "/",
    "properties": {
        "record_ids": {
            "id": "http://jsonschema.net/record_ids",
            "type": "array",
            "items": {
                "id": "http://jsonschema.net/record_ids/record_id",
                "type": "object",
                "properties": {
                    "type": {
                        "id": "http://jsonschema.net/record_ids/record_id/type",
                        "type": [
                            "string"
                        ]
                    },
                    "id": {
                        "id": "http://jsonschema.net/record_ids/record_id/id",
                        "type": [
                            "string",
                            "number"
                        ]
                    }
                },
                "additionalProperties": false,
                "required": [
                    "type",
                    "id"
                ]
            }
        },
        "preprintyear": {
            "id": "http://hepdata.org/submission/schema/data/preprintyear",
            "type": "string",
            "title": "Preprint Year",
            "description": "Indicates the year when the submission preprint was first available.",
            "name": "preprintyear"
        },
        "publicationyear": {
            "id": "http://hepdata.org/submission/schema/data/publicationyear",
            "type": "string",
            "title": "Publication Year",
            "description": "Indicates the year when the submission publication was available.",
            "name": "publicationyear"
        },
        "dateupdated": {
            "id": "http://hepdata.org/submission/schema/data/dateupdated",
            "type": "string",
            "title": "Date Updated",
            "description": "Indicates when the submission was last updated.",
            "name": "dateupdated"
        },
        "modifications": {
            "id": "http://jsonschema.net/modifications",
            "type": "array",
            "items": {
                "id": "http://jsonschema.net/modifications/modification",
                "type": "object",
                "properties": {
                    "action": {
                        "id": "http://jsonschema.net/modifications/modification/action",
                        "type": "string"
                    },
                    "who": {
                        "id": "http://jsonschema.net/modifications/modification/who",
                        "type": "string"
                    }
                },
                "additionalProperties": true,
                "required": [
                    "action",
                    "who"
                ]
            }
        },
        "additional_resources": {
            "id": "http://jsonschema.net/additional_resources",
            "type": "array",
            "items": {
                "id": "http://jsonschema.net/additional_resources/resource",
                "type": "object",
                "properties": {
                    "location": {
                        "id": "http://jsonschema.net/additional_resources/resource/location",
                        "type": "string"
                    },
                    "description": {
                        "id": "http://jsonschema.net/additional_resources/resource/description",
                        "type": "string"
                    },
                    "license": {
                        "id": "http://jsonschema.net/additional_resources/resource/license",
                        "type": "object",
                        "properties": {
                            "name": {
                                "id": "http://jsonschema.net/additional_resources/resource/license/name",
                                "type": "string"
                            },
                            "url": {
                                "id": "http://jsonschema.net/additional_resources/resource/license/url",
                                "type": "string"
                            },
                            "description": {
                                "id": "http://jsonschema.net/additional_resources/resource/license/description",
                                "type": "string"
                            }
                        },
                        "additionalProperties": false,
                        "required": [
                            "name",
                            "url"
                        ]
                    }
                },
                "required": [
                    "location"
                ]
            }
        },
        "associated_records": {
            "id": "http://jsonschema.net/associated_records",
            "type": "array",
            "description": "Links to other HEPData Submissions or INSPIRE Records that relate to this submission.",
            "items": {
                "id": "http://jsonschema.net/associated_records/output",
                "type": "object",
                "properties": {
                    "type": {
                        "id": "http://jsonschema.net/associated_records/output/type",
                        "type": "string"
                    },
                    "identifier": {
                        "id": "http://jsonschema.net/associated_records/output/identifier",
                        "type": [
                            "string",
                            "number"
                        ]
                    },
                    "description": {
                        "id": "http://jsonschema.net/associated_records/output/description",
                        "type": "string"
                    },
                    "url": {
                        "id": "http://jsonschema.net/associated_records/output/url",
                        "type": "string"
                    }
                },
                "required": [
                    "identifier",
                    "type"
                ]
            }
        },
        "comment": {
            "id": "http://hepdata.org/submission/schema/additional_info/comment",
            "type": "string",
            "title": "Comment.",
            "description": "Information that applies to all data tables.",
            "name": "comment"
        }
    },
    "additionalProperties": true
}