{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlar/json-schema/atlar-oauth2-access-token-response-schema.json",
  "title": "OAuth2AccessTokenResponse",
  "description": "Successful OAuth 2.0 access token response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlar-oauth-api-openapi.yml#/components/schemas/OAuth2AccessTokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string"
    },
    "token_type": {
      "type": "string"
    },
    "expires_in": {
      "description": "The lifetime in seconds of the access token.",
      "type": "integer",
      "format": "int64"
    },
    "refresh_token": {
      "description": "Opaque <a href=\"https://datatracker.ietf.org/doc/html/rfc6749#section-1.5\">OAuth 2.0 refresh token</a>\nthat the client can use to obtain a new access token. Only present when the authorization server\nissued one for the grant.\n",
      "type": "string"
    }
  },
  "required": [
    "access_token",
    "token_type"
  ],
  "additionalProperties": false
}