{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ComparableProduct",
  "description": "ComparableProduct schema from spoonacular API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spoonacular/refs/heads/main/json-schema/spoonacular-comparable-product-schema.json",
  "type": "object",
  "properties": {
    "difference": {
      "type": "number",
      "example": 1.0
    },
    "id": {
      "type": "integer",
      "example": 716429
    },
    "image": {
      "type": "string",
      "minLength": 1,
      "example": "example"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "example": "example"
    }
  },
  "required": [
    "difference",
    "id",
    "image",
    "title"
  ]
}