{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [
        "ParentId",
        "PathPart",
        "RestApiId"
    ],
    "properties": {
        "ParentId": {
            "type": "string",
            "pattern": "^[a-z0-9]+$"
        },
        "PathPart": {
            "type": "string",
            "pattern": "^(\\{[a-z]+\\})|([a-z]+)$"
        },
        "RestApiId": {
            "type": "string",
            "pattern": "^[a-z0-9]{10}$"
        }
    },
    "additionalProperties": false
}