{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Getcomputedprice",
  "title": "Getcomputedprice",
  "required": [
    "tradePolicyId",
    "listPrice",
    "sellingPrice",
    "priceValidUntil"
  ],
  "type": "object",
  "description": "Computed price request body information.",
  "properties": {
    "tradePolicyId": {
      "type": "string",
      "description": "Trade Policy ID ou `priceTableId`."
    },
    "listPrice": {
      "type": "integer",
      "format": "int32",
      "description": "Trade Policy List Price, also known as \"from\" price."
    },
    "costPrice": {
      "type": "number",
      "description": "Cost price."
    },
    "sellingPrice": {
      "type": "number",
      "description": "Computed Price before applying coupons, promotions and taxes. This price may change before reaching the shelf."
    },
    "priceValidUntil": {
      "type": "string",
      "description": "Date until when the computed price will be valid, due to price scheduling. If no price scheduling applies, this will be set a year from the current time."
    }
  }
}