{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateUpdateFreightValuesRequest",
"title": "Create/UpdateFreightValuesRequest",
"required": [
"absoluteMoneyCost",
"country",
"maxVolume",
"operationType",
"pricePercent",
"pricePercentByWeight",
"timeCost",
"weightEnd",
"weightStart",
"zipCodeEnd",
"zipCodeStart",
"polygon"
],
"type": "object",
"properties": {
"absoluteMoneyCost": {
"type": "string"
},
"country": {
"type": "string"
},
"maxVolume": {
"type": "integer",
"format": "int32"
},
"operationType": {
"type": "integer",
"format": "int32"
},
"pricePercent": {
"type": "integer",
"format": "int32"
},
"pricePercentByWeight": {
"type": "integer",
"format": "int32"
},
"timeCost": {
"type": "string"
},
"weightEnd": {
"type": "integer",
"format": "int32"
},
"weightStart": {
"type": "integer",
"format": "int32"
},
"zipCodeEnd": {
"type": "string"
},
"zipCodeStart": {
"type": "string"
},
"polygon": {
"type": "string"
}
},
"example": {
"absoluteMoneyCost": "1.00",
"country": "BRA",
"maxVolume": 1000000000,
"operationType": 1,
"pricePercent": 0,
"pricePercentByWeight": 0,
"timeCost": "2.00:00:00",
"weightEnd": 1000,
"weightStart": 1,
"zipCodeEnd": "99999999",
"zipCodeStart": "0",
"polygon": ""
}
}