{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stealthstack-ai/json-schema/stealthstack-ai-explore-response-schema.json",
  "title": "ExploreResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stealthstack-ai-openapi.yaml#/components/schemas/ExploreResponse",
  "type": "object",
  "required": [
    "resultType",
    "facets"
  ],
  "properties": {
    "resultType": {
      "type": "string",
      "enum": [
        "facets"
      ]
    },
    "facets": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": [
          "buckets"
        ],
        "properties": {
          "buckets": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "value",
                "count"
              ],
              "properties": {
                "value": {
                  "type": "string"
                },
                "count": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "otherCount": {
            "type": "integer",
            "minimum": 0,
            "description": "count of entries beyond `limit` (omitted when 0)"
          }
        }
      }
    }
  }
}