{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "ip_address": {
            "$id": "/properties/ip_address",
            "title": "IP Address",
            "pattern": "^\\s*(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\s*$",
            "type": "string"
        },
        "mac_address": {
            "$id": "/properties/mac_address",
            "title": "Mac Address",
            "pattern": "^\\s*([A-Fa-f0-9]{2}(:{1}[A-Fa-f0-9]{2}){5})\\s*$",
            "type": "string"
        }
    }
}