{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/serpkite-com/json-schema/serpkite-com-cseresponse-schema.json",
  "title": "CSEResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/serpkite-com-custom-search-api-openapi.yml#/components/schemas/CSEResponse",
  "type": "object",
  "required": [
    "kind",
    "searchInformation",
    "items"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "const": "customsearch#search"
    },
    "url": {
      "type": "object"
    },
    "queries": {
      "type": "object",
      "additionalProperties": true
    },
    "context": {
      "type": "object"
    },
    "searchInformation": {
      "type": "object",
      "properties": {
        "searchTime": {
          "type": "number"
        },
        "formattedSearchTime": {
          "type": "string"
        },
        "totalResults": {
          "type": "string"
        },
        "formattedTotalResults": {
          "type": "string"
        }
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "customsearch#result"
          },
          "title": {
            "type": "string"
          },
          "htmlTitle": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "displayLink": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          },
          "htmlSnippet": {
            "type": "string"
          },
          "formattedUrl": {
            "type": "string"
          },
          "htmlFormattedUrl": {
            "type": "string"
          },
          "pagemap": {
            "type": "object",
            "additionalProperties": true
          },
          "image": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  }
}