{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/observeinc/json-schema/observeinc-documentation-search-response-schema.json",
  "title": "DocumentationSearchResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/observeinc-documentation-api-openapi.yml#/components/schemas/Documentation-SearchResponse",
  "type": "object",
  "required": [
    "documentation",
    "meta"
  ],
  "properties": {
    "documentation": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Documentation-SearchResult"
      }
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Documentation-SearchResult": {
      "title": "DocumentationSearchResult",
      "type": "object",
      "required": [
        "title",
        "text"
      ],
      "properties": {
        "title": {
          "type": "string",
          "description": "Chunk title, typically the source document or section name."
        },
        "text": {
          "type": "string",
          "description": "The chunk's text content."
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Link to the full documentation page on docs.observeinc.com, or null if unavailable."
        }
      }
    },
    "Meta": {
      "description": "List Response Metadata",
      "type": "object",
      "required": [
        "totalCount"
      ],
      "properties": {
        "totalCount": {
          "description": "The total number of resources available, independent of pagination.\nThe API may return -1 if the total count is unknown or cannot be computed\nin reasonable time.\n",
          "type": "integer",
          "format": "int64"
        }
      }
    }
  }
}