{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentic-atlas-dev/json-schema/agentic-atlas-dev-term-usages-read-schema.json",
  "title": "Bounded term-usage read",
  "description": "The published sections that lean on one term, bounded, with the truncation reported in-band.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentic-atlas-dev-openapi.json#/components/schemas/TermUsagesRead",
  "type": "object",
  "properties": {
    "catalog_revision": {
      "type": "object",
      "description": "The active Release's Catalog revision, the same identity the X-Catalog-Revision header carries, with the provenance counts beside it.",
      "properties": {
        "revision": {
          "type": "string",
          "description": "The revision two responses must share to be comparable."
        }
      },
      "required": [
        "revision"
      ]
    },
    "term_key": {
      "type": "string",
      "description": "The exact Catalog key that was read."
    },
    "limit": {
      "type": "integer",
      "description": "The bound this response was read under — echoed so a caller can tell a defaulted read from one it asked for."
    },
    "total": {
      "type": "integer",
      "description": "How many usages exist."
    },
    "returned": {
      "type": "integer",
      "description": "How many this response carries."
    },
    "truncated": {
      "type": "boolean",
      "description": "True when the bound cut the rest off."
    },
    "usages": {
      "type": "array",
      "description": "The usages, in the publisher's order.",
      "items": {
        "type": "object"
      }
    },
    "empty": {
      "type": "boolean",
      "description": "True when the read matched nothing."
    }
  },
  "required": [
    "catalog_revision",
    "term_key",
    "limit",
    "total",
    "returned",
    "truncated",
    "usages",
    "empty"
  ]
}