{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Describes a response to a bulk activation request",
    "items": {
        "properties": {
            "code": {
                "anyOf": [
                    {
                        "maximum": 299,
                        "minimum": 200
                    },
                    {
                        "maximum": 599,
                        "minimum": 400
                    }
                ],
                "description": "HTTP status code that would have resulted from an individual activation on this device",
                "type": "integer"
            },
            "debug": {
                "description": "Debug information which may assist a programmer working with the API. Only included if 'code' indicates an error state",
                "type": [
                    "null",
                    "string"
                ]
            },
            "error": {
                "description": "Human readable message which is suitable for user interface display, and helpful to the user. Only included if 'code' indicates an error state",
                "type": "string"
            },
            "id": {
                "description": "ID of a device to be activated",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                "type": "string"
            }
        },
        "required": [
            "id",
            "code"
        ],
        "type": "object"
    },
    "title": "Bulk activation response",
    "type": "array"
}
