{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "properties": {
        "email": {
            "_format": "email",
            "maxLength": 1024,
            "type": "string"
        },
        "experienceGroupIds": {
            "items": {
                "pattern": "^[A-Fa-f\\d]{24}$",
                "type": "string"
            },
            "maxItems": 1000,
            "type": "array"
        },
        "firstName": {
            "maxLength": 1024,
            "type": "string"
        },
        "lastName": {
            "maxLength": 1024,
            "type": "string"
        },
        "password": {
            "maxLength": 2048,
            "minLength": 8,
            "type": "string"
        },
        "tokenCutoff": {
            "_format": "date-time",
            "type": "string"
        },
        "userTags": {
            "additionalProperties": false,
            "patternProperties": {
                "^[0-9a-zA-Z_-]{1,255}$": {
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "required": [
        "email",
        "password"
    ],
    "type": "object"
}