{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/hotel-search-hotel-product-price-variation-structure.json",
  "title": "HotelProduct_PriceVariation",
  "description": "Some prices may vary during a stay, thus here you can see the daily price per period of the stay",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Begin date of the period\nFormat: YYYY-MM-DD"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "End date of the period\nFormat: YYYY-MM-DD"
    },
    "currency": {
      "type": "string",
      "description": "currency Code apply to all elements of the price"
    },
    "sellingTotal": {
      "type": "string",
      "description": "sellingTotal = Total + margins + markup + totalFees - discounts"
    },
    "total": {
      "type": "string",
      "description": "total = base + totalTaxes"
    },
    "base": {
      "type": "string"
    },
    "markups": {
      "type": "array"
    }
  },
  "required": [
    "startDate",
    "endDate"
  ]
}