{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/basketwatchireland-com/json-schema/basketwatchireland-com-get-api-compare-response-schema.json",
  "title": "GetApiCompareResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/basketwatchireland-com-openapi-generated.yml#/components/schemas/GetApiCompareResponse",
  "type": "object",
  "properties": {
    "match_id": {
      "type": "integer"
    },
    "brand": {
      "type": "string"
    },
    "pack": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "coverage": {
      "type": "integer"
    },
    "stores": {
      "type": "object",
      "properties": {
        "aldi": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "price": {
              "type": "number"
            },
            "unit_price": {
              "type": "number"
            },
            "unit_basis": {
              "type": "string"
            },
            "was_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "clubcard_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "scrape_date": {
              "type": "string",
              "format": "date"
            }
          }
        },
        "tesco": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "price": {
              "type": "number"
            },
            "unit_price": {
              "type": "number"
            },
            "unit_basis": {
              "type": "string"
            },
            "was_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "clubcard_price": {
              "type": "number"
            },
            "scrape_date": {
              "type": "string",
              "format": "date"
            }
          }
        },
        "supervalu": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "price": {
              "type": "number"
            },
            "unit_price": {
              "type": "number"
            },
            "unit_basis": {
              "type": "string"
            },
            "was_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "clubcard_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "scrape_date": {
              "type": "string",
              "format": "date"
            }
          }
        },
        "dunnes": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "price": {
              "type": "number"
            },
            "unit_price": {
              "type": "number"
            },
            "unit_basis": {
              "type": "string"
            },
            "was_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "clubcard_price": {
              "type": [
                "string",
                "null"
              ]
            },
            "scrape_date": {
              "type": "string",
              "format": "date"
            }
          }
        }
      }
    }
  }
}