{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "definitions": {
        "userIdentity": {
            "properties": {
                "connection": {
                    "type": "string"
                },
                "isSocial": {
                    "type": "boolean"
                },
                "provider": {
                    "type": "string"
                },
                "user_id": {
                    "type": "string"
                }
            },
            "required": [
                "connection",
                "isSocial",
                "provider",
                "user_id"
            ],
            "type": "object"
        }
    },
    "description": "Auth0 rules user profile",
    "properties": {
        "app_metadata": {
            "type": "object"
        },
        "blocked": {
            "default": false,
            "type": "boolean"
        },
        "created": {
            "_format": "date-time",
            "type": "string"
        },
        "email": {
            "_format": "email",
            "type": "string"
        },
        "email_verified": {
            "type": "boolean"
        },
        "identities": {
            "items": {
                "$ref": "#/definitions/userIdentity"
            },
            "minItems": 1,
            "type": "array"
        },
        "last_ip": {
            "_format": "ipv4",
            "type": "string"
        },
        "last_login": {
            "_format": "date-time",
            "type": "string"
        },
        "logins_count": {
            "minimum": 0,
            "type": "number"
        },
        "multifactor": {
            "items": {
                "type": "object"
            },
            "type": "array"
        },
        "name": {
            "type": "string"
        },
        "nickname": {
            "type": "string"
        },
        "phone_number": {
            "type": "string"
        },
        "phone_verified": {
            "type": "boolean"
        },
        "picture": {
            "_format": "uri",
            "type": "string"
        },
        "updated_at": {
            "_format": "date-time",
            "type": "string"
        },
        "user_id": {
            "type": "string"
        },
        "user_metadata": {
            "type": "object"
        },
        "username": {
            "type": "string"
        }
    },
    "required": [
        "blocked",
        "created_at",
        "email",
        "email_verified",
        "identities",
        "last_ip",
        "last_login",
        "logins_count",
        "name",
        "nickname",
        "picture",
        "updated_at"
    ],
    "type": "object"
}