{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bold-penguin/main/json-schema/bold-penguin-get-auth-token-response-schema.json",
  "title": "GetAuthTokenResponse",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bold-penguin-api-openapi-generated.yml#/components/schemas/GetAuthTokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string"
    },
    "token_type": {
      "type": "string"
    },
    "expires_in": {
      "type": "integer"
    },
    "refresh_token": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "uid": {
      "type": "string"
    },
    "info": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        }
      }
    },
    "extra": {
      "type": "object",
      "properties": {
        "raw_info": {
          "type": "object",
          "properties": {
            "user_id": {
              "type": "string"
            },
            "tenant_id": {
              "type": "string"
            },
            "tenant_name": {
              "type": "string"
            },
            "primary_user_group_id": {
              "type": "string"
            },
            "user_group_ids": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "name": {
              "type": "string"
            },
            "email": {
              "type": [
                "string",
                "null"
              ]
            },
            "first_name": {
              "type": "string"
            },
            "last_name": {
              "type": "string"
            },
            "permissions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "auth_uid": {
              "type": [
                "string",
                "null"
              ]
            },
            "completed_steps": {
              "type": "array",
              "items": {}
            }
          }
        }
      }
    }
  }
}