{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "description": "Describes the map table entries",
    "patternProperties": {
        "^[a-zA-Z0-9\\-_]+$": {
            "description": "Unique identifiers of the outputs",
            "patternProperties": {
                "^(0|([1-9][0-9]*))$": {
                    "description": "Indexes of channels",
                    "properties": {
                        "channel_index": {
                            "description": "Index of the input channel to be routed. null for unrouted.",
                            "type": [
                                "integer",
                                "null"
                            ]
                        },
                        "input": {
                            "description": "Unique identifier of the input to which the channel to be routed belongs. null for unrouted.",
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    "required": [
                        "input",
                        "channel_index"
                    ]
                }
            }
        }
    },
    "title": "Map table entries",
    "type": "object"
}
