{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/progress-software/json-schema/progress-software-token-acquired-model-schema.json",
  "title": "TokenAcquiredModel",
  "description": "Represents successful token request response",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/progress-software-authentication-api-openapi.yml#/components/schemas/TokenAcquiredModel",
  "properties": {
    "access_token": {
      "description": "API Token",
      "type": "string"
    },
    "token_type": {
      "description": "Type of the token",
      "type": "string"
    },
    "expires_in": {
      "description": "Number of seconds till token expiration",
      "type": "integer",
      "format": "int32"
    },
    "refresh_token": {
      "description": "Refresh token",
      "type": "string"
    },
    "mfa_trust_device_token": {
      "description": "(Optional) Multi-factor authentication trust device token. Could be returned in case of using \"otp\" grant_type and \"mfa_remember_this_device\" set to true.",
      "type": "string"
    },
    "mfa_trust_device_token_expire_date": {
      "description": "(Optional) Multi-factor authentication trust device token expire date. Could be returned in case of using \"otp\" grant_type and \"mfa_remember_this_device\" set to true.",
      "type": "string"
    }
  },
  "type": "object"
}