{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seoforgpt-io/json-schema/seoforgpt-io-shopping-observation-response-schema.json",
  "title": "ShoppingObservationResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seoforgpt-io-openAPI.json#/components/schemas/ShoppingObservationResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string"
        },
        "eligibility": {
          "type": "string",
          "enum": [
            "eligible",
            "not_ecommerce",
            "unknown"
          ]
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "run_id": {
          "type": "string",
          "format": "uuid"
        },
        "surface": {
          "type": "string",
          "enum": [
            "chatgpt",
            "ai_mode"
          ]
        },
        "question": {
          "type": "object",
          "additionalProperties": true
        },
        "captured_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "outcome": {
          "type": "string"
        },
        "evidence_state": {
          "type": "string",
          "enum": [
            "measured",
            "incomplete",
            "no_capture"
          ]
        },
        "answer": {
          "type": [
            "string",
            "null"
          ]
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "links": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cards": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "seller": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "card_evidence_complete": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    },
    "meta": {
      "type": "object",
      "additionalProperties": true
    }
  }
}