{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "resource_id": {
        "type": "string"
    },
    "resource": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
            "priority": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
            }
        }
    },
    "verbs": {
        "create": {},
        "update": {}
    },
    "properties": {
        "resource_id": {
            "$ref": "#/resource_id"
        },
        "resource": {
            "$ref": "#/resource"
        }
    },
    "required": [
        "resource_id",
        "resource"
    ]
}