{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-oauth-token-response-dto-schema.json",
  "title": "OAuthTokenResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-api-keys-api-openapi.yml#/components/schemas/OAuthTokenResponseDto",
  "type": "object",
  "properties": {
    "accessToken": {
      "type": "string"
    },
    "tokenType": {
      "type": "string"
    },
    "expiresIn": {
      "type": "number",
      "description": "Token lifetime in seconds"
    },
    "scope": {
      "type": "string"
    },
    "refreshToken": {
      "type": "string",
      "description": "Long-lived token for obtaining a new access token via grant_type=refresh_token, without sending the user through consent again."
    }
  },
  "required": [
    "accessToken",
    "tokenType",
    "expiresIn",
    "scope"
  ]
}