{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "interface_type": {
            "$id": "/properties/interface_type",
            "title": "Interface Type",
            "type": "string",
            "default": "physical",
            "enum": [
                "physical",
                "logical"
            ]
        },
        "interface_names": {
            "$id": "/properties/interface_names",
            "title": "Interface Names",
            "type": "array",
            "items": {
                "$id": "/properties/interface_names/items",
                "type": "string",
                "pattern": "^([a-z]{2,3}-[0-9]{1,}/[0-9]{1,}/[0-9]{1,}(.[0-9]{1,})?)$",
                "title": "Interface Name"
            },
            "examples": [
                "ge-0/0/1",
                "xe-0/0/0"
            ]
        }
    },
    "required": [
        "interface_names"
    ]
}