{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theholisticcare/json-schema/theholisticcare-glossary-list-response-schema.json",
  "title": "GlossaryListResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theholisticcare-glossary-api-openapi.yml#/components/schemas/GlossaryListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GlossaryTerm"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "GlossaryTerm": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Deterministic public ID in the form \"glossary:<slug>\". Never the raw Sanity `_id`."
        },
        "slug": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "glossary_term"
          ]
        },
        "title": {
          "type": "string"
        },
        "pillar": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "etymology": {
          "type": [
            "string",
            "null"
          ]
        },
        "also_known_as": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "Meta": {
      "type": "object",
      "description": "Present on every successful response.",
      "properties": {
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "provider": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      }
    },
    "Pagination": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      }
    }
  }
}