{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/astra/main/json-schema/astra-oauth-success-response-schema.json",
  "title": "oauth_success_response",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/astra-developer-api-openapi.yml#/components/schemas/oauth_success_response",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "format": "password",
      "description": "The access token for the User (used for any Bearer Auth resources)"
    },
    "expires_in": {
      "type": "integer",
      "description": "Seconds from the time of authorization that the `access_token` will expire"
    },
    "refresh_token": {
      "type": "string",
      "format": "password",
      "description": "The token that can be used to refresh authorization and retrieve a new `access_token`"
    },
    "token_type": {
      "type": "string",
      "description": "The type of token returned"
    }
  }
}