{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/storeradar-io/json-schema/storeradar-io-count-result-schema.json",
  "title": "CountResult",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/storeradar-io-openapi.json#/components/schemas/CountResult",
  "type": "object",
  "properties": {
    "count": {
      "type": "string",
      "description": "Same string-label convention as total_count, and the same set: matches search can actually return for these filters. Rows that cannot be ranked by the default sort are unreachable through any cursor and are not counted."
    },
    "exact_count": {
      "type": "integer",
      "description": "Present only when count is exact."
    },
    "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."
    },
    "ignored_filters": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ignored_filters_message": {
      "type": "string"
    },
    "upgrade_url": {
      "type": "string"
    },
    "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": [
    "count"
  ]
}