BuyWhere · Schema

BuyWhere Price History

E-commerceShoppingPrice ComparisonSEASoutheast AsiaAI AgentsProduct Catalog

Properties

Name Type Description
id string Product ID.
currency string
days integer
points array
stats object
View JSON Schema on GitHub

JSON Schema

buywhere-price-history-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.buywhere.ai/schema/price-history.json",
  "title": "BuyWhere Price History",
  "type": "object",
  "required": ["id", "currency", "points"],
  "properties": {
    "id": { "type": "string", "format": "uuid", "description": "Product ID." },
    "currency": { "type": "string" },
    "days": { "type": "integer", "minimum": 1, "maximum": 90 },
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["date", "price", "currency"],
        "properties": {
          "date": { "type": "string", "format": "date" },
          "price": { "type": "number", "minimum": 0 },
          "currency": { "type": "string" }
        }
      }
    },
    "stats": {
      "type": "object",
      "properties": {
        "min": { "type": "number" },
        "max": { "type": "number" },
        "avg": { "type": "number" },
        "current": { "type": "number" }
      }
    }
  }
}