{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "bulk_publishing": {
            "type": "boolean"
        },
        "links": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "facets": {
                    "description": "Facets belonging to this group.",
                    "$ref": "#/definitions/guid_list"
                }
            }
        },
        "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
        }
    }
}