{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seoforgpt-io/json-schema/seoforgpt-io-shopping-observations-response-schema.json",
  "title": "ShoppingObservationsResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seoforgpt-io-openAPI.json#/components/schemas/ShoppingObservationsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "configured",
            "unconfigured",
            "ineligible"
          ]
        },
        "eligibility": {
          "type": "string",
          "enum": [
            "eligible",
            "not_ecommerce",
            "unknown"
          ]
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "question": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "text": {
                    "type": "string"
                  },
                  "category_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "product_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "kind": {
                    "type": "string"
                  }
                }
              },
              "platforms": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "evidence_state": {
                      "type": "string",
                      "enum": [
                        "measured",
                        "incomplete",
                        "no_capture"
                      ]
                    },
                    "latest": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "prior": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "historical": {
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "total": {
          "type": "integer"
        },
        "page": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        }
      }
    },
    "meta": {
      "type": "object",
      "additionalProperties": true
    }
  }
}