{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "token": {
            "_format": "jwtToken",
            "type": "string"
        },
        "user": {
            "properties": {
                "auth_providers": {
                    "items": {
                        "properties": {
                            "authId": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "name",
                            "authId"
                        ],
                        "type": "object"
                    },
                    "type": "array"
                },
                "createdAt": {
                    "_format": "datePast",
                    "type": "string"
                },
                "email": {
                    "_format": "email",
                    "type": "string"
                },
                "firstName": {
                    "_format": "firstName",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "lastName": {
                    "type": "string"
                },
                "updatedAt": {
                    "_format": "datePast",
                    "type": "string"
                },
                "username": {
                    "_format": "username",
                    "type": "string"
                }
            },
            "required": [
                "id",
                "username",
                "email",
                "firstName",
                "lastName",
                "auth_providers",
                "createdAt",
                "updatedAt"
            ],
            "type": "object"
        }
    },
    "required": [
        "user",
        "token"
    ],
    "type": "object"
}