{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Location",
    "description": "A storage location",
    "properties": {
        "name": {
            "type": "string",
            "title": "Location Name",
            "description": "The name of the Location"
        },
        "parent": {
            "type": "string",
            "title": "Parent Location",
            "description": "The ID of a broader location containing this location."
        },
        "conditions": {
            "type": "object",
            "title": "Storage Conditions",
            "description": "The conditions of the storage location.",
            "properties": {
                "temperature": {
                    "type": "number",
                    "title": "Temperature",
                    "description": "The median temperature this storage location has."
                }
            }
        }
    },
    "required": [
        "name"
    ]
}