{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "bulk_publishing": {
            "type": "boolean"
        },
        "links": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "facet_values": {
                    "description": "Possible facet_values to show for non-dynamic select facets. All values are shown regardless of the search.",
                    "$ref": "#/definitions/guid_list"
                },
                "parent": {
                    "description": "The facet_group this facet belongs to.",
                    "$ref": "#/definitions/guid_list",
                    "maxItems": 1
                }
            }
        },
        "previous_version": {
            "type": "string"
        }
    },
    "definitions": {
        "guid": {
            "type": "string",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
        },
        "guid_list": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/guid"
            },
            "_uniqueItems": true
        }
    }
}