# Path: netjsonconfig/schema.py
# DEFAULT_FILE_MODE = '0644'
# X509_FILE_MODE = '0600'
# MAC_PATTERN = '([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})'
# MAC_PATTERN_BLANK = '^({0}|)$'.format(MAC_PATTERN)


from copy import deepcopy
from ...schema import schema as default_schema
                    },
                },
                {"$ref": "#/definitions/tunnel"},
                {"$ref": "#/definitions/server"},
            ],
        },
    },
    "properties": {
        "openvpn": {
            "type": "array",
            "title": "OpenVPN",
            "uniqueItems": True,
            "additionalItems": True,
            "propertyOrder": 11,
            "items": {
                "type": "object",
                "title": "VPN",
                "additionalProperties": True,
                "oneOf": [
                    {"$ref": "#/definitions/client"},
                    {"$ref": "#/definitions/server_manual"},
                    {"$ref": "#/definitions/server_bridged"},
                    {"$ref": "#/definitions/server_routed"},
                ],
            },
        }
    },
}

schema = deepcopy(base_openvpn_schema)

# Path: netjsonconfig/schema.py
# DEFAULT_FILE_MODE = '0644'
# X509_FILE_MODE = '0600'
# MAC_PATTERN = '([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})'
# MAC_PATTERN_BLANK = '^({0}|)$'.format(MAC_PATTERN)


# Path: netjsonconfig/backends/openvpn/schema.py
from copy import deepcopy
from ...schema import schema as default_schema

                    },
                },
                {"$ref": "#/definitions/tunnel"},
                {"$ref": "#/definitions/server"},
            ],
        },
    },
    "properties": {
        "openvpn": {
            "type": "array",
            "title": "OpenVPN",
            "uniqueItems": True,
            "additionalItems": True,
            "propertyOrder": 11,
            "items": {
                "type": "object",
                "title": "VPN",
                "additionalProperties": True,
                "oneOf": [
                    {"$ref": "#/definitions/client"},
                    {"$ref": "#/definitions/server_manual"},
                    {"$ref": "#/definitions/server_bridged"},
                    {"$ref": "#/definitions/server_routed"},
                ],
            },
        }
    },
}

schema = deepcopy(base_openvpn_schema)

schema['properties']['files'] = default_schema['properties']['files']