{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "email": {
            "pattern": "^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@[_a-z0-9-]+(\\.[_a-z0-9-]+)*(\\.[a-z]{2,3})$",
            "type": "string"
        },
        "macAddress": {
            "pattern": "([0-9a-fA-F][0-9a-fA-F](:|-)){4}([0-9a-fA-F][0-9a-fA-F])",
            "type": "string"
        },
        "password": {
            "maxLength": 12,
            "minLength": 6,
            "type": "string"
        }
    },
    "required": [
        "email",
        "password",
        "macAddress"
    ],
    "type": "object"
}