{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ones-com/json-schema/ones-com-post-hosted-token-introspect-response-schema.json",
  "title": "PostHostedTokenIntrospectResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ones-com-openapi-generated.yml#/components/schemas/PostHostedTokenIntrospectResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Business error code"
    },
    "message": {
      "type": "string",
      "description": "Human-readable message"
    },
    "details": {
      "type": "object",
      "description": "Extra error details"
    },
    "data": {
      "type": "object",
      "description": "Introspection result"
    },
    "active": {
      "type": "boolean",
      "description": "Token activity status"
    },
    "app_id": {
      "type": "string",
      "description": "Bound app identifier"
    },
    "scopes": {
      "type": "array",
      "description": "Array of scopes"
    },
    "token_type": {
      "type": "string",
      "description": "Token type"
    },
    "exp": {
      "type": "integer",
      "description": "Expire time as unix timestamp. 0 means non‑expiring."
    }
  }
}