{
    "additionalProperties": false,
    "description": "Schema for a Hipchat room notification command",
    "properties": {
        "color": {
            "enum": [
                "YELLOW",
                "GREEN",
                "RED",
                "PURPLE",
                "GRAY",
                "RANDOM"
            ]
        },
        "message": {
            "maxLength": 10000,
            "minLength": 1,
            "type": "string"
        },
        "messageFormat": {
            "enum": [
                "HTML",
                "TEXT"
            ]
        },
        "notify": {
            "type": "boolean"
        },
        "roomIdOrName": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
        }
    },
    "required": [
        "roomIdOrName",
        "message"
    ],
    "self": {
        "format": "jsonschema",
        "name": "send_room_notification",
        "vendor": "com.hipchat.sauna.commands",
        "version": "1-0-0"
    },
    "type": "object"
}