addedInput schema / properties / directions / items / properties
Added value: +{
+ "providerDirectionId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "tagFrom": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "tagTo": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "zones": {
+ "items": {
+ "properties": {
+ "tariffZoneId": {
+ "type": "string"
+ },
+ "termsZoneId": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "0",
+ "3",
+ "4",
+ "5",
+ "6",
+ "S-PUDO2S-PUDO",
+ "S-AREA2S-AREA",
+ "S-PUDO2S-AREA",
+ "S-PUDO-BTW-F-HUB",
+ "S-HUB-BTW-S-PUDO"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedInput schema / properties / tariffZones / items / properties
Added value: +{
+ "deliveryProviderZoneId": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "calculationMechanic": {
+ "const": "GAP_TO_COST",
+ "type": "string"
+ },
+ "chargeableParameter": {
+ "enum": [
+ "WEIGHT",
+ "DIMENSIONS",
+ "PAID_WEIGHT"
+ ],
+ "type": "string"
+ },
+ "serviceName": {
+ "enum": [
+ "DELIVERY",
+ "DELIVERY_B2C"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "properties": {
+ "cost": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "dimensionalFactor": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxDimensions": {
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "maxWeight": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "calculationMechanic",
+ "chargeableParameter",
+ "serviceName",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "calculationMechanic": {
+ "const": "WEIGHT_INTERVALS",
+ "type": "string"
+ },
+ "chargeableParameter": {
+ "const": "WEIGHT",
+ "type": "string"
+ },
+ "serviceName": {
+ "enum": [
+ "DELIVERY",
+ "DELIVERY_B2C"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "properties": {
+ "cost": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "costPerStep": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxWeight": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "minWeight": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "step": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "calculationMechanic",
+ "chargeableParameter",
+ "serviceName",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "calculationMechanic": {
+ "const": "GAP_TO_PERCENT",
+ "type": "string"
+ },
+ "chargeableParameter": {
+ "const": "DECLARED_COST",
+ "type": "string"
+ },
+ "serviceName": {
+ "enum": [
+ "INSURANCE",
+ "INSURANCE_B2C"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "properties": {
+ "maxDeclaredCost": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "percent": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "calculationMechanic",
+ "chargeableParameter",
+ "serviceName",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "calculationMechanic": {
+ "const": "WEIGHT_INTERVALS_WITH_MIN_COST",
+ "type": "string"
+ },
+ "chargeableParameter": {
+ "enum": [
+ "WEIGHT",
+ "PAID_WEIGHT"
+ ],
+ "type": "string"
+ },
+ "minCost": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "serviceName": {
+ "enum": [
+ "DELIVERY",
+ "DELIVERY_B2C"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "properties": {
+ "cost": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "costPerStep": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxWeight": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "minWeight": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "step": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "calculationMechanic",
+ "chargeableParameter",
+ "minCost",
+ "serviceName",
+ "values"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+}