{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/storeradar-io/json-schema/storeradar-io-search-result-schema.json",
  "title": "SearchResult",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/storeradar-io-openapi.json#/components/schemas/SearchResult",
  "type": "object",
  "properties": {
    "stores": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Store"
      }
    },
    "total_count": {
      "type": "string",
      "description": "ALWAYS a string label: an exact number, \"fewer than 25\", an estimate such as \"about 60,000\", \"10000+\" or \"unknown\". Do not parse it as a number."
    },
    "exact_total_count": {
      "type": "integer",
      "description": "Present ONLY when total_count is exact. Its absence is meaningful."
    },
    "estimated_count": {
      "type": "integer",
      "minimum": 10000,
      "description": "Estimated size of a segment above 10000 stores, from a 2% sample, rounded to two significant figures and about 7% accurate. A size, not a number of rows to page through."
    },
    "count_is_estimate": {
      "type": "boolean",
      "description": "True when the count label is a sample estimate."
    },
    "public_examples": {
      "type": "array",
      "maxItems": 5,
      "items": {
        "allOf": [
          {
            "$ref": "#/$defs/Store"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Store name."
              }
            },
            "required": [
              "name"
            ]
          }
        ]
      },
      "description": "Masked callers, first page only, when the segment holds 25 or more stores: matching stores that StoreRadar's public pages already name, with the REAL domain and the store name. Contacts stay masked. Absent when no such store matches."
    },
    "next_cursor": {
      "type": "string",
      "description": "Opaque; absent on the final page."
    },
    "has_more": {
      "type": "boolean",
      "description": "More matches exist beyond this page. True with no next_cursor means the pagination window is exhausted."
    },
    "ignored_filters": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Filters your tier is not entitled to use. They were NOT applied, so the results are broader than you asked for."
    },
    "ignored_filters_message": {
      "type": "string"
    },
    "upgrade_url": {
      "type": "string",
      "description": "Present only for masked callers."
    },
    "upgrade_message": {
      "type": "string"
    },
    "list_offer": {
      "type": "object",
      "description": "A one-time file of these stores with real domains and contacts: this exact segment, or the full CSV when the segment is too small or close to the whole database. With the known_plus filter it is the full list of known Plus stores at a fixed price, not only this segment. Free callers only. checkout_url opens an order page that needs no account.",
      "properties": {
        "label": {
          "type": "string",
          "description": "The file's name, e.g. 'Germany, Klaviyo store list'."
        },
        "rows": {
          "type": "integer",
          "minimum": 0,
          "description": "Live Shopify stores in the file. Can be lower than the count, which also holds closed and password-protected stores. For the full known Plus list, the stores of that list, which can be more than the count."
        },
        "price_cents": {
          "type": "integer",
          "minimum": 0
        },
        "price": {
          "type": "string",
          "description": "The price in US dollars, e.g. '$29'."
        },
        "checkout_url": {
          "type": "string",
          "description": "Order page to hand to the human. Holds the quoted price for 3 days."
        }
      },
      "required": [
        "label",
        "rows",
        "price_cents",
        "price",
        "checkout_url"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "stores",
    "total_count",
    "has_more"
  ],
  "$defs": {
    "Person": {
      "type": "object",
      "description": "A named contact. Returned only by the enrichment endpoint, and only to annual callers.",
      "properties": {
        "first_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact's first name."
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact's last name."
        },
        "full_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact's full name."
        },
        "position": {
          "type": [
            "string",
            "null"
          ],
          "description": "Job title as published."
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact email address."
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ],
          "description": "junior, senior or executive."
        },
        "department": {
          "type": [
            "string",
            "null"
          ],
          "description": "Detected department."
        },
        "linkedin": {
          "type": [
            "string",
            "null"
          ],
          "description": "LinkedIn profile URL."
        },
        "twitter": {
          "type": [
            "string",
            "null"
          ],
          "description": "X/Twitter handle."
        }
      }
    },
    "Store": {
      "type": "object",
      "description": "A store, masked per the calling token's tier.",
      "properties": {
        "domain": {
          "type": "string",
          "description": "Store domain. Masked callers receive an anonymized form."
        },
        "masked": {
          "type": "boolean",
          "description": "Whether identity and contact values are anonymized for this caller."
        },
        "storeradar_score": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Lead Score, 0-100. Its five factors add up to 70, so no store scores higher."
        },
        "seo_lite_score": {
          "type": [
            "integer",
            "null"
          ],
          "description": "SEO health score, 0-100: 100 minus a penalty for each SEO issue found. Null when the store has no audit or the crawl saw no storefront."
        },
        "industry": {
          "type": [
            "string",
            "null"
          ],
          "description": "Industry: one of 21 Shopify product verticals or General store."
        },
        "industry_confidence": {
          "type": [
            "string",
            "null"
          ],
          "description": "high or low; null when the store has no industry."
        },
        "industry_niche": {
          "type": [
            "string",
            "null"
          ],
          "description": "Niche inside the industry, e.g. Skincare under Health & Beauty; null when Jev was not sure."
        },
        "country_codes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "ISO country codes the store ships to or targets."
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Storefront languages."
        },
        "product_count": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Products found in the sitemap."
        },
        "collections_count": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Collections found in the sitemap."
        },
        "articles_count": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Blog articles found in the sitemap."
        },
        "pages_count": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Content pages found in the sitemap."
        },
        "has_blog": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether the storefront publishes a blog."
        },
        "password_protected": {
          "type": "boolean",
          "description": "Whether the storefront is behind a password now."
        },
        "password_first_seen_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 timestamp of the first crawl that found a password page. Kept after the store opens.",
          "format": "date-time"
        },
        "known_plus": {
          "type": [
            "boolean",
            "null"
          ],
          "enum": [
            true,
            null
          ],
          "description": "True for a live store StoreRadar knows is on Shopify Plus, from a Plus-only clue: Multipass sign-in, or a checkout extension inside the checkout steps. Null means not detected, never 'not on Plus': a Plus store that uses neither feature is not detected. The same for every plan."
        },
        "known_plus_confirmed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 timestamp of the latest read that saw a Plus clue. Null when known_plus is null, and for masked callers.",
          "format": "date-time"
        },
        "theme": {
          "type": [
            "object",
            "null"
          ],
          "description": "{name, version} of the detected Shopify theme. A masked caller receives •••••• for a name that contains the store's own brand."
        },
        "technologies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Detected third-party technologies."
        },
        "apps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Detected Shopify apps."
        },
        "apps_added": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "App name."
              },
              "not_seen_on": {
                "type": "string",
                "format": "date",
                "description": "UTC day of the last crawl that did not see the app."
              },
              "seen_on": {
                "type": "string",
                "format": "date",
                "description": "UTC day of the first crawl that saw it."
              }
            },
            "required": [
              "name",
              "not_seen_on",
              "seen_on"
            ],
            "additionalProperties": false
          },
          "description": "Apps StoreRadar saw arrive on the store since 2026-10-09, newest first: the crawl on not_seen_on did not see the app and the crawl on seen_on did. What the crawl saw, not the install date. Empty for most stores: an app that was there at the store's first crawl has no add date. Search rows list up to 10."
        },
        "emails": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Contact emails. Starred for masked callers."
        },
        "phone_numbers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Contact phone numbers. Starred for masked callers."
        },
        "social_media": {
          "type": [
            "object",
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "description": "Platform to handle map. Masked callers receive platform names only."
        },
        "first_seen_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 timestamp of the first detection.",
          "format": "date-time"
        },
        "last_detected_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 timestamp of the most recent successful crawl.",
          "format": "date-time"
        },
        "domain_created_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 domain registration date from WHOIS.",
          "format": "date-time"
        },
        "domain_expires_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "RFC3339 domain expiry date from WHOIS.",
          "format": "date-time"
        },
        "search_traffic": {
          "type": "object",
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "estimated"
                },
                "etv": {
                  "type": "integer",
                  "description": "Estimated monthly clicks from Google organic search (ETV) for `period`. Not visits, not sales."
                },
                "change_3m_pct": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Mean of the latest 3 months against the 3 before, in percentage points. Null only when the baseline is too small, never 0%."
                },
                "change_12m_pct": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "The same 3 months against one year earlier, in percentage points. Null only when the baseline is too small."
                },
                "google_scope": {
                  "type": "string",
                  "description": "FR, GB, AU, CA, DE or NL: the Google of the store's country-code TLD, or of its country after a country fill; worldwide for a generic TLD such as .com."
                },
                "period": {
                  "type": "string",
                  "description": "YYYY-MM, the settled month the ETV describes."
                }
              },
              "required": [
                "status",
                "etv",
                "change_3m_pct",
                "change_12m_pct",
                "google_scope",
                "period"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "no_estimate"
                },
                "reason": {
                  "type": "string",
                  "enum": [
                    "not_covered",
                    "not_yet_estimated",
                    "no_google_data"
                  ],
                  "description": "not_covered: outside live .com/.fr/.co.uk/.com.au/.ca/.de. not_yet_estimated: in coverage, not fetched yet. no_google_data: Google shows no organic traffic."
                }
              },
              "required": [
                "status",
                "reason"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "requires_annual"
                }
              },
              "required": [
                "status"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Estimated Google organic search traffic (ETV) with 3- and 12-month change, Google scope and month, for live .com/.fr/.co.uk/.com.au/.ca/.de stores. Annual plan only: other callers receive status requires_annual. Not visits, not sales."
        },
        "reviews": {
          "type": "object",
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "read"
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "judge_me",
                    "okendo",
                    "loox",
                    "stamped",
                    "yotpo"
                  ],
                  "description": "The review app the storefront runs."
                },
                "count": {
                  "type": "integer",
                  "description": "Reviews shown by that app. For scope sampled this is ONE product's reviews, not the store's."
                },
                "rating": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Mean rating on 5, one decimal. Null when count is 0, or when the vendor gives a count without a usable mean."
                },
                "scope": {
                  "type": "string",
                  "enum": [
                    "store_total",
                    "sampled"
                  ],
                  "description": "store_total: the store's reviews. sampled: one product's reviews (Loox, Stamped, Yotpo, or a Judge.me store without a public page)."
                },
                "read_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When these numbers were read."
                },
                "link": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The vendor's public reviews page for the store, when it has one."
                },
                "change_30d": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Reviews added over the last 30 days, from our own snapshots. Null until a second snapshot exists."
                },
                "change_90d": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Reviews added over the last 90 days. Null until snapshots span 90 days."
                }
              },
              "required": [
                "status",
                "provider",
                "count",
                "rating",
                "scope",
                "read_at",
                "link",
                "change_30d",
                "change_90d"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "endpoint_failed"
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "judge_me",
                    "okendo",
                    "loox",
                    "stamped",
                    "yotpo"
                  ],
                  "description": "The review app the storefront runs."
                },
                "count": {
                  "type": "integer",
                  "description": "Reviews shown by that app. For scope sampled this is ONE product's reviews, not the store's."
                },
                "rating": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Mean rating on 5, one decimal. Null when count is 0, or when the vendor gives a count without a usable mean."
                },
                "scope": {
                  "type": "string",
                  "enum": [
                    "store_total",
                    "sampled"
                  ],
                  "description": "store_total: the store's reviews. sampled: one product's reviews (Loox, Stamped, Yotpo, or a Judge.me store without a public page)."
                },
                "read_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When these numbers were read."
                },
                "link": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The vendor's public reviews page for the store, when it has one."
                },
                "change_30d": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Reviews added over the last 30 days, from our own snapshots. Null until a second snapshot exists."
                },
                "change_90d": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Reviews added over the last 90 days. Null until snapshots span 90 days."
                },
                "failed_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The last failed attempt. The numbers are from read_at."
                }
              },
              "required": [
                "status",
                "failed_at",
                "provider",
                "count",
                "rating",
                "scope",
                "read_at",
                "link",
                "change_30d",
                "change_90d"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "no_data"
                },
                "reason": {
                  "type": "string",
                  "enum": [
                    "no_provider",
                    "not_yet_read",
                    "endpoint_failed",
                    "provider_removed",
                    "provider_unsupported",
                    "sampled_empty"
                  ],
                  "description": "no_provider: no covered review app detected. not_yet_read: app detected, vendor not read yet. endpoint_failed: every read failed so far. provider_removed: the app disappeared from the storefront. provider_unsupported: app detected, reader not shipped yet. sampled_empty: the one product read has no reviews, so the store total is unknown."
                }
              },
              "required": [
                "status",
                "reason"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "requires_annual"
                }
              },
              "required": [
                "status"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Beta. Customer-review aggregate from the store's own review app (Judge.me, Okendo; Loox, Stamped and Yotpo to follow): provider, count, mean rating, scope (store total or one sampled product), public link, and 30-day and 90-day change from our own snapshots. Annual plan only: other callers receive status requires_annual."
        },
        "people": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Person"
          },
          "description": "Named contacts. Enrichment endpoint only, annual callers only."
        }
      },
      "required": [
        "domain",
        "masked",
        "storeradar_score",
        "seo_lite_score",
        "industry",
        "industry_confidence",
        "industry_niche",
        "country_codes",
        "languages",
        "product_count",
        "collections_count",
        "articles_count",
        "pages_count",
        "has_blog",
        "password_protected",
        "password_first_seen_at",
        "known_plus",
        "known_plus_confirmed_at",
        "theme",
        "technologies",
        "apps",
        "apps_added",
        "emails",
        "phone_numbers",
        "social_media",
        "first_seen_at",
        "last_detected_at",
        "domain_created_at",
        "domain_expires_at",
        "search_traffic",
        "reviews"
      ]
    }
  }
}