Skip to main content
Glama

Inspect BestPrice price history

get_price_history
Read-onlyIdempotent

Retrieves historical prices and a deal classification for an exact BestPrice product ID, including median statistics, daily series, coverage gaps, and 30/90/180-day windows.

Instructions

Returns historical prices and a deterministic deal classification for one exact grouped BestPrice product ID. Includes minimum and median statistics, a compact daily price series, coverage gaps, and methodology. period_days selects the daily series and coverage gaps only: deal_classification and price_delta_vs_180d_median_pct always compare the current price with the 180-day median, and window_stats always carries the 30-, 90- and 180-day statistics. Historical observations do not guarantee future prices.

Input Schema

NameRequiredDescriptionDefault
product_idYesExact grouped BestPrice product id returned by search_products, in bp_<id> form.
period_daysNoRequested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Defaults to 180 days.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.9.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / period_days / enum
      Removed value: -[
      -  30,
      -  90,
      -  180
      -]
    • addedInput schema / properties / period_days / maximum
      Added value: +180
    • addedInput schema / properties / period_days / minimum
      Added value: +30
    • changedInput schema / properties / period_days / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema10"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Classification against the 180-day window statistics, independent of period_days. insufficient_data and unavailable describe evidence limitations; a compatible null supplies no classification."
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      -        "maxLength": 100,
      -        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "enum": [
      -          30,
      -          90,
      -          180
      -        ],
      -        "type": "number"
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema11"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested. The canonical result remains available to the model and card; an empty array supplies no window statistics.",
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema10"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Classification against the 180-day window statistics, independent of period_days. insufficient_data and unavailable describe evidence limitations; a compatible null supplies no classification."
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      +        "maxLength": 100,
      +        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema11"
      +        },
      +        "maxItems": 180,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested. The canonical result remains available to the model and card; an empty array supplies no window statistics.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed8 schema fields changedv2.8.1
    • changedInput schema / properties / period_days / description
      Previous value: -"Requested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Use 180 unless the user asks otherwise."New value: +"Requested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Defaults to 180 days."
    • changedOutput schema / $defs / __schema1 / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • addedOutput schema / $defs / __schema10 / enum
      Added value: +[
      +  "record_low",
      +  "excellent_price",
      +  "good_price",
      +  "typical_price",
      +  "above_typical",
      +  "insufficient_data",
      +  "unavailable"
      +]
    • removedOutput schema / $defs / __schema10 / properties
      Removed value: -{
      -  "date": {
      -    "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -    "type": "string"
      -  },
      -  "merchant_count": {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "price": {
      -    "$ref": "#/$defs/__schema7"
      -  }
      -}
    • removedOutput schema / $defs / __schema10 / required
      Removed value: -[
      -  "date",
      -  "price",
      -  "merchant_count"
      -]
    • changedOutput schema / $defs / __schema10 / type
      Previous value: -"object"New value: +"string"
    • addedOutput schema / $defs / __schema11
      Added value: +{
      +  "properties": {
      +    "date": {
      +      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +      "type": "string"
      +    },
      +    "merchant_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "price": {
      +      "$ref": "#/$defs/__schema7"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "price",
      +    "merchant_count"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "description": "Classification against the 180-day window statistics, independent of period_days.",
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      -        "maxLength": 100,
      -        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "enum": [
      -          30,
      -          90,
      -          180
      -        ],
      -        "type": "number"
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema10"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema10"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Classification against the 180-day window statistics, independent of period_days. insufficient_data and unavailable describe evidence limitations; a compatible null supplies no classification."
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      +        "maxLength": 100,
      +        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema11"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested. The canonical result remains available to the model and card; an empty array supplies no window statistics.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed6 schema fields changedv2.8.0
    • removedOutput schema / $defs / __schema0 / const
      Removed value: -"2.0"
    • addedOutput schema / $defs / __schema0 / description
      Added value: +"Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    • addedOutput schema / $defs / __schema0 / pattern
      Added value: +"^[1-9][0-9]*\\.[0-9]+$"
    • removedOutput schema / $defs / __schema10 / additionalProperties
      Removed value: -false
    • removedOutput schema / $defs / __schema8 / additionalProperties
      Removed value: -false
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "description": "Classification against the 180-day window statistics, independent of period_days.",
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "enum": [
      -          30,
      -          90,
      -          180
      -        ],
      -        "type": "number"
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema10"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "description": "Classification against the 180-day window statistics, independent of period_days.",
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      +        "maxLength": 100,
      +        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema10"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed10 schema fields changedv1.2.7
    • removedInput schema / properties / period_days / anyOf
      Removed value: -[
      -  {
      -    "const": 30,
      -    "type": "number"
      -  },
      -  {
      -    "const": 90,
      -    "type": "number"
      -  },
      -  {
      -    "const": 180,
      -    "type": "number"
      -  }
      -]
    • changedInput schema / properties / period_days / description
      Previous value: -"Requested history window in days. Use 180 for the strongest price context unless the user asks otherwise."New value: +"Requested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Use 180 unless the user asks otherwise."
    • addedInput schema / properties / period_days / enum
      Added value: +[
      +  30,
      +  90,
      +  180
      +]
    • addedInput schema / properties / period_days / type
      Added value: +"number"
    • addedOutput schema / $defs / __schema10
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "date": {
      +      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +      "type": "string"
      +    },
      +    "merchant_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "price": {
      +      "$ref": "#/$defs/__schema7"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "price",
      +    "merchant_count"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / $defs / __schema9 / additionalProperties
      Removed value: -false
    • removedOutput schema / $defs / __schema9 / properties
      Removed value: -{
      -  "date": {
      -    "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -    "type": "string"
      -  },
      -  "merchant_count": {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "price": {
      -    "$ref": "#/$defs/__schema7"
      -  }
      -}
    • removedOutput schema / $defs / __schema9 / required
      Removed value: -[
      -  "date",
      -  "price",
      -  "merchant_count"
      -]
    • changedOutput schema / $defs / __schema9 / type
      Previous value: -"object"New value: +"number"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "anyOf": [
      -          {
      -            "const": 30,
      -            "type": "number"
      -          },
      -          {
      -            "const": 90,
      -            "type": "number"
      -          },
      -          {
      -            "const": 180,
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema9"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "description": "Classification against the 180-day window statistics, independent of period_days.",
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "const": "bestprice_daily_min_v1",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema10"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed2 schema fields changedv1.2.2
    • addedOutput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "const": "2.0",
      +    "type": "string"
      +  },
      +  "__schema1": {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +    "type": "string"
      +  },
      +  "__schema2": {
      +    "const": "EUR",
      +    "type": "string"
      +  },
      +  "__schema3": {
      +    "const": "el-GR",
      +    "type": "string"
      +  },
      +  "__schema4": {
      +    "items": {
      +      "$ref": "#/$defs/__schema5"
      +    },
      +    "maxItems": 20,
      +    "type": "array"
      +  },
      +  "__schema5": {
      +    "maxLength": 240,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "__schema6": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/__schema7"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "__schema7": {
      +    "maximum": 10000000,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "__schema8": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage_pct": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "days": {
      +        "anyOf": [
      +          {
      +            "const": 30,
      +            "type": "number"
      +          },
      +          {
      +            "const": 90,
      +            "type": "number"
      +          },
      +          {
      +            "const": 180,
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "longest_gap_days": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "median_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "minimum_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "observations": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "days",
      +      "minimum_price",
      +      "median_price",
      +      "observations",
      +      "coverage_pct"
      +    ],
      +    "type": "object"
      +  },
      +  "__schema9": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": "string"
      +      },
      +      "merchant_count": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "price": {
      +        "$ref": "#/$defs/__schema7"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "price",
      +      "merchant_count"
      +    ],
      +    "type": "object"
      +  }
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "const": "EUR",
      -        "type": "string"
      -      },
      -      "current_price": {
      -        "anyOf": [
      -          {
      -            "maximum": 10000000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "const": "el-GR",
      -        "type": "string"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "anyOf": [
      -          {
      -            "const": 30,
      -            "type": "number"
      -          },
      -          {
      -            "const": 90,
      -            "type": "number"
      -          },
      -          {
      -            "const": 180,
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "const": "2.0",
      -        "type": "string"
      -      },
      -      "series": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "date": {
      -              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -              "type": "string"
      -            },
      -            "merchant_count": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "price": {
      -              "maximum": 10000000,
      -              "minimum": 0,
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "date",
      -            "price",
      -            "merchant_count"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "items": {
      -          "maxLength": 240,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "window_stats": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "coverage_pct": {
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "days": {
      -              "anyOf": [
      -                {
      -                  "const": 30,
      -                  "type": "number"
      -                },
      -                {
      -                  "const": 90,
      -                  "type": "number"
      -                },
      -                {
      -                  "const": 180,
      -                  "type": "number"
      -                }
      -              ]
      -            },
      -            "longest_gap_days": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "median_price": {
      -              "anyOf": [
      -                {
      -                  "maximum": 10000000,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "minimum_price": {
      -              "anyOf": [
      -                {
      -                  "maximum": 10000000,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "observations": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "days",
      -            "minimum_price",
      -            "median_price",
      -            "observations",
      -            "coverage_pct"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "const": "EUR",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "const": "el-GR",
      -        "type": "string"
      -      },
      -      "schema_version": {
      -        "const": "2.0",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "maxLength": 240,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "const": "bestprice_daily_min_v1",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "anyOf": [
      +          {
      +            "const": 30,
      +            "type": "number"
      +          },
      +          {
      +            "const": 90,
      +            "type": "number"
      +          },
      +          {
      +            "const": 180,
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema9"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. First observedv1.8.0

TDQS

A3.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the read-only, idempotent, non-destructive safety profile. The description adds valuable behavioral context beyond annotations: deal classification is deterministic, period_days affects only the series and gaps, fixed 180-day comparisons always apply, and historical observations do not guarantee future prices.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loads the purpose and returned content. The period_days nuance is important, though it duplicates the schema, and the final disclaimer is short and useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and rich annotations, the description supplies the key non-obvious behavior an agent needs: output contents, period_days scope, fixed 180-day comparisons, and the no-guarantee caveat. It does not need to explain return structure further.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both parameters fully. The description's period_days explanation largely repeats the schema text rather than adding new syntax, constraints, or examples beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it returns historical prices and a deterministic deal classification for one exact grouped BestPrice product ID. The scope is clear enough to distinguish this from search-oriented siblings, but it does not explicitly name or contrast with compare_offers, get_shopping_decision, or search_products.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by describing what the tool returns, but it gives no explicit when-to-use guidance, prerequisites, or alternatives. It never says when to choose this over compare_offers or get_shopping_decision.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.