{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-oauth-token-schema.json",
  "title": "OAuthToken",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-authentication-api-openapi.yml#/components/schemas/OAuthToken",
  "type": "object",
  "required": [
    "access_token",
    "refresh_token",
    "token_type",
    "expires_in",
    "scope"
  ],
  "properties": {
    "access_token": {
      "type": "string"
    },
    "refresh_token": {
      "type": "string"
    },
    "token_type": {
      "type": "string",
      "enum": [
        "Bearer"
      ]
    },
    "expires_in": {
      "type": "integer"
    },
    "scope": {
      "type": "string",
      "description": "Space-delimited scopes actually granted to this token. Registered OAuth clients may receive a subset of requested scopes."
    }
  }
}