{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "maxProperties": 1,
    "additionalProperties": false,
    "properties": {
        "interface_filters": {
            "$id": "/properties/interface_filters",
            "type": "array",
            "items": {
                "$id": "/properties/interface_filters/items",
                "type": "object",
                "maxProperties": 2,
                "additionalProperties": false,
                "properties": {
                    "op": {
                        "enum": [
                            "regex",
                            "startwith"
                        ]
                    },
                    "expr": {
                        "type": "string"
                    }
                },
                "title": "filter object",
                "description": "filter object having op and expr fields",
                "default": {},
                "examples": [
                    {
                        "op": "regex",
                        "expr": "^ge-"
                    },
                    {
                        "op": "regex",
                        "expr": "^xe"
                    }
                ]
            }
        }
    }
}