{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/serpkite-com/json-schema/serpkite-com-post-v1-gemini-response-schema.json",
  "title": "PostV1GeminiResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/serpkite-com-openapi-generated.yml#/components/schemas/PostV1GeminiResponse",
  "type": "object",
  "properties": {
    "request": {
      "type": "object",
      "properties": {
        "endpoint": {
          "type": "string"
        },
        "prompt": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      }
    },
    "text": {
      "type": "string"
    },
    "markdown": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "cited": {
            "type": "boolean"
          }
        }
      }
    },
    "search_queries": {
      "type": "array",
      "items": {}
    },
    "products": {
      "type": "array",
      "items": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "string"
        },
        "credits_used": {
          "type": "integer"
        },
        "cached": {
          "type": "boolean"
        },
        "engine": {
          "type": "string"
        },
        "latency_ms": {
          "type": "integer"
        },
        "parse_quality": {
          "type": "string"
        }
      }
    }
  }
}