{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-login-response-dto-schema.json",
  "title": "LoginResponseDto",
  "description": "Login response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-authentication-api-openapi.yml#/components/schemas/LoginResponseDto",
  "required": [
    "organizationId",
    "sessionId",
    "trusted",
    "userId"
  ],
  "type": "object",
  "properties": {
    "sessionId": {
      "type": "string",
      "description": "API session ID. Use this value in all subsequent API calls to confirm that you are in a signed-in session."
    },
    "organizationId": {
      "type": "string",
      "description": "Organization ID associated with the signed-in user"
    },
    "userId": {
      "type": "string",
      "description": "BILL-generated ID of the signed-in user"
    },
    "trusted": {
      "type": "boolean",
      "description": "This field is set as `true` if the current API session is MFA-trusted"
    }
  }
}