{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-oauth-introspection-response-schema.json",
  "title": "OAuthIntrospectionResponse",
  "description": "OAuth token introspection response (RFC 7662 §2.2).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-oauth-clients-api-openapi.yml#/components/schemas/OAuthIntrospectionResponse",
  "type": "object",
  "required": [
    "active"
  ],
  "properties": {
    "active": {
      "type": "boolean",
      "description": "Whether the token is currently active (not expired, not revoked, and known)."
    },
    "scope": {
      "type": "string",
      "description": "Space-delimited granted scopes."
    },
    "client_id": {
      "type": "string"
    },
    "token_type": {
      "type": "string"
    },
    "exp": {
      "type": "integer",
      "description": "Expiry time as epoch seconds."
    },
    "iat": {
      "type": "integer",
      "description": "Issued-at time as epoch seconds."
    },
    "sub": {
      "type": "string",
      "description": "Subject of the token."
    },
    "require_dpop": {
      "type": "boolean",
      "description": "Non-standard member (RFC 7662 §2.2 permits extensions). `true` when the\ntoken's owning client is configured to require DPoP-bound tokens. A\nresource server MUST refuse a token whose `cnf.jkt` is absent while this\nis `true` — KnoxCall's own data plane and `/v1` API both do.\n"
    },
    "tenant": {
      "type": "string",
      "format": "uuid",
      "description": "The tenant the token is scoped to."
    }
  }
}