{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/notarize/main/json-schema/notarize-introspection-response-schema.json",
  "title": "introspection_response",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notarize-oauth-2-0-api-specification-openapi.yml#/components/schemas/introspection_response",
  "type": "object",
  "required": [
    "active"
  ],
  "properties": {
    "active": {
      "type": "boolean",
      "description": "Whether the token is currently active, per the [introspection response](https://datatracker.ietf.org/doc/html/rfc7662#section-2.2). `false` stands alone."
    },
    "scope": {
      "type": "string",
      "description": "Space-separated [scope](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3) values granted to the token."
    },
    "client_id": {
      "type": "string",
      "description": "The [`client_id`](https://datatracker.ietf.org/doc/html/rfc6749#section-2.2) the token was issued to."
    },
    "token_type": {
      "type": "string",
      "description": "Always `Bearer`."
    },
    "iat": {
      "type": "integer",
      "description": "The [`iat`](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.6) claim: issue time, as a Unix timestamp in seconds."
    },
    "exp": {
      "type": "integer",
      "description": "The [`exp`](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4) claim: expiry, as a Unix timestamp in seconds. Present for tokens that expire."
    },
    "iss": {
      "type": "string",
      "description": "The [`iss`](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.1) claim: the authorization server that issued the token."
    },
    "aud": {
      "type": "string",
      "description": "The [`aud`](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3) claim: the protected resource the token was issued for. Present for resource-bound tokens."
    },
    "sub": {
      "type": "string",
      "description": "The [`sub`](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.2) claim: the subject the token was issued for."
    },
    "sub_type": {
      "type": "string",
      "description": "The kind of subject `sub` identifies."
    }
  }
}