{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/globkurier-pl/json-schema/globkurier-pl-post-v1-order-bestprice-response-schema.json",
  "title": "PostV1OrderBestpriceResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/globkurier-pl-openapi-generated.yml#/components/schemas/PostV1OrderBestpriceResponse",
  "type": "object",
  "properties": {
    "currency": {
      "type": "string"
    },
    "taxType": {
      "type": "string"
    },
    "vatPercent": {
      "type": "integer"
    },
    "totalGrossPrice": {
      "type": "number"
    },
    "totalNetPrice": {
      "type": "number"
    },
    "netPriceWithoutFuelSurcharge": {
      "type": "number"
    },
    "productNetPrice": {
      "type": "integer"
    },
    "productsNetPrice": {
      "type": "integer"
    },
    "productsGrossPrice": {
      "type": "number"
    },
    "productsStockNetPrice": {
      "type": "integer"
    },
    "productsStockGrossPrice": {
      "type": "number"
    },
    "fuelSurchargeNetPrice": {
      "type": "number"
    },
    "fuelSurchargeGrossPrice": {
      "type": "number"
    },
    "fuelSurcharge": {
      "type": "number"
    },
    "fuelSurchargeStockNetPrice": {
      "type": "number"
    },
    "fuelSurchargeStockGrossPrice": {
      "type": "number"
    },
    "addonsNetPrice": {
      "type": "number"
    },
    "addonsGrossPrice": {
      "type": "number"
    },
    "discountNetPrice": {
      "type": "integer"
    },
    "packages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "productPrice": {
            "type": "number"
          },
          "fuelSurchargePrice": {
            "type": "number"
          },
          "fuelSurchargePercent": {
            "type": "integer"
          },
          "discountPrice": {
            "type": "integer"
          },
          "discountPercent": {
            "type": "integer"
          }
        }
      }
    },
    "addons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "addonName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "attributes": {
            "type": [
              "string",
              "null"
            ]
          },
          "addonLogo": {
            "type": [
              "string",
              "null"
            ]
          },
          "price": {
            "type": "number"
          },
          "priceGross": {
            "type": "number"
          },
          "priceDescription": {
            "type": "string"
          },
          "quantity": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "disabled": {
            "type": "boolean"
          },
          "insuranceRequired": {
            "type": "boolean"
          },
          "minValue": {
            "type": "integer"
          },
          "maxValue": {
            "type": "integer"
          },
          "valueCurrency": {
            "type": "string"
          },
          "daysToReturn": {
            "type": [
              "string",
              "null"
            ]
          },
          "verificationRequired": {
            "type": "boolean"
          },
          "inPrice": {
            "type": "boolean"
          },
          "isSelectedByDefault": {
            "type": "boolean"
          }
        }
      }
    },
    "product": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "carrierName": {
          "type": "string"
        },
        "serviceCode": {
          "type": "string"
        },
        "netPrice": {
          "type": "integer"
        },
        "grossPrice": {
          "type": "number"
        },
        "netPriceStandard": {
          "type": [
            "string",
            "null"
          ]
        },
        "grossPriceStandard": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": "object"
        },
        "units": {
          "type": "integer"
        },
        "protocolAvailable": {
          "type": "boolean"
        },
        "packageType": {
          "type": "string"
        },
        "packageName": {
          "type": "string"
        },
        "transport": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          }
        },
        "forCompany": {
          "type": "boolean"
        },
        "carrierLogoLink": {
          "type": "string"
        },
        "discountCodeAllowed": {
          "type": "boolean"
        },
        "averageDelivery": {
          "type": "integer"
        },
        "deliveryTimeType": {
          "type": "string"
        },
        "detailsLink": {
          "type": "string"
        },
        "promo": {
          "type": [
            "string",
            "null"
          ]
        },
        "hasCountryZoneRouting": {
          "type": "boolean"
        },
        "onDemandDeliveryPointRequired": {
          "type": "boolean"
        },
        "customDocumentType": {
          "type": [
            "string",
            "null"
          ]
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "collectionTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "addonsCategories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "deliveryTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "collectionTypeOptions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "trans": {
                "type": "string"
              },
              "image": {
                "type": "string"
              }
            }
          }
        },
        "deliveryTypeOptions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "trans": {
                "type": "string"
              },
              "image": {
                "type": "string"
              }
            }
          }
        },
        "carrierId": {
          "type": [
            "string",
            "null"
          ]
        },
        "holidayInfo": {
          "type": "array",
          "items": {}
        }
      }
    }
  }
}