{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Codex Location Schema",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "id": {
            "type": "string"
        },
        "institution": {
            "type": "string"
        },
        "campus": {
            "type": "string"
        },
        "library": {
            "type": "string"
        },
        "parking": {
            "type": "array",
            "items": {
                "type": "object"
            },
            "additionalItems": true,
            "_uniqueItems": true
        },
        "platform": {
            "type": "string"
        },
        "uri": {
            "type": "string"
        }
    },
    "required": [
        "id"
    ]
}