{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/offer",
  "title": "Offer",
  "type": "object",
  "description": "The merchant-proposed offer for a dispute.",
  "properties": {
    "buyer_requested_amount": {
      "description": "The customer-requested refund for this dispute.",
      "$ref": "#/components/schemas/money"
    },
    "seller_offered_amount": {
      "description": "The merchant-offered refund for this dispute.",
      "$ref": "#/components/schemas/money"
    },
    "offer_type": {
      "$ref": "#/components/schemas/offer_type"
    },
    "history": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "description": "An array of history information for an offer.",
      "items": {
        "$ref": "#/components/schemas/offer_history"
      }
    }
  }
}