{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apiserpent/main/json-schema/apiserpent-get-api-ai-rank-chatgpt-response-schema.json",
  "title": "GetApiAiRankChatgptResponse",
  "x-generated": "2026-10-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apiserpent-openapi-generated.yml#/components/schemas/GetApiAiRankChatgptResponse",
  "type": "object",
  "properties": {
    " chatgpt ": {
      "type": "object",
      "properties": {
        " llm ": {
          "type": "string"
        },
        " model ": {
          "type": "string"
        },
        " citations ": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              " position ": {
                "type": "integer"
              },
              " url ": {
                "type": "string"
              },
              " title ": {
                "type": "string"
              },
              " cited_text ": {
                "type": "string"
              },
              " url_normalized ": {
                "type": "string"
              },
              " domain ": {
                "type": "string"
              }
            }
          }
        },
        " target_found ": {
          "type": "boolean"
        },
        " target_position ": {
          "type": "integer"
        },
        " target_match_type ": {
          "type": "string"
        },
        " target_matched_domain ": {
          "type": "string"
        },
        " total_citations ": {
          "type": "integer"
        },
        " response_text ": {
          "type": "string"
        },
        " error ": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    " claude ": {
      "type": "object",
      "properties": {
        " llm ": {
          "type": "string"
        },
        " model ": {
          "type": "string"
        },
        " target_found ": {
          "type": "boolean"
        },
        " target_position ": {
          "type": "integer"
        }
      }
    },
    " gemini ": {
      "type": "object",
      "properties": {
        " llm ": {
          "type": "string"
        },
        " model ": {
          "type": "string"
        },
        " target_found ": {
          "type": "boolean"
        },
        " target_position ": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    " perplexity ": {
      "type": "object",
      "properties": {
        " llm ": {
          "type": "string"
        },
        " model ": {
          "type": "string"
        },
        " target_found ": {
          "type": "boolean"
        },
        " target_position ": {
          "type": "integer"
        }
      }
    }
  }
}