{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "itemType": {
            "type": "string",
            "enum": [
                "application",
                "device",
                "flow",
                "dashboard",
                "organization"
            ]
        },
        "parentId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        },
        "itemId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        }
    },
    "required": [
        "itemType",
        "itemId"
    ]
}