[
  {
    "key": "equivalent_units",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-equivalent_units-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-equivalent_units-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1000",
                  "unit": "g"
                },
                "dimensions": {
                  "length": {
                    "value": "100",
                    "unit": "mm"
                  },
                  "width": {
                    "value": "100",
                    "unit": "mm"
                  },
                  "height": {
                    "value": "100",
                    "unit": "mm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCY26YV2WH7NDJQ8KPCV",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch2tqcyzvyvn1gtsbvv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "12.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCY26YV2WH7NDJQ8KPCV"
        },
        "idempotency": {
          "key": "idem-equivalent_units-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "exact_two",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-exact_two-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-exact_two-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "25",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCVSXJNQ665WYPCFCH24",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch2tqcyzvyvn1gtsbvv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "12.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 2,
                      "total_freight_weight_canonical": 2,
                      "total_volume_canonical": 0.010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.010000000000000002,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 25,
                      "max_package_linear_size_canonical": 65,
                      "max_longest_side_canonical": 25,
                      "max_package_length_plus_girth_canonical": 110
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 2,
                      "total_freight_weight_canonical": 2,
                      "total_volume_canonical": 0.010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.010000000000000002,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 25,
                      "max_package_linear_size_canonical": 65,
                      "max_longest_side_canonical": 25,
                      "max_package_length_plus_girth_canonical": 110
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCVSXJNQ665WYPCFCH24"
        },
        "idempotency": {
          "key": "idem-exact_two-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "fractional",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-fractional-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-fractional-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "15",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCV134TH29R11PJF1HHY",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch2tqcyzvyvn1gtsbvv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "12.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 2,
                      "total_freight_weight_canonical": 2,
                      "total_volume_canonical": 0.006000000000000001,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.006000000000000001,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 15,
                      "max_package_linear_size_canonical": 55,
                      "max_longest_side_canonical": 20,
                      "max_package_length_plus_girth_canonical": 90
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 2,
                      "total_freight_weight_canonical": 2,
                      "total_volume_canonical": 0.006000000000000001,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.006000000000000001,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 15,
                      "max_package_linear_size_canonical": 55,
                      "max_longest_side_canonical": 20,
                      "max_package_length_plus_girth_canonical": 90
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCV134TH29R11PJF1HHY"
        },
        "idempotency": {
          "key": "idem-fractional-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "large_battery",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-large_battery-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-large_battery-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "50",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Battery-powered device",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": {
                  "contains_lithium": true,
                  "battery_types": [
                    "lithium"
                  ]
                }
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCT8FBDBH4KSQ805JA8W",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "flat",
                  "code": "dg-chargeable-dg-row-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "5.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66pccgrmhph2dc9wamf187p",
                    "artifact_code": "dg-chargeable-surcharge-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pccgsxmztgr4r8v4wptnf",
                    "artifact_row_code": "dg-chargeable-dg-row-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "amount_mode": "fixed",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": null,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "dangerous_goods"
                },
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch39mxptxy71ft4w5rz",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "25.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCT8FBDBH4KSQ805JA8W"
        },
        "idempotency": {
          "key": "idem-large_battery-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "large_ordinary",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-large_ordinary-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-large_ordinary-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "50",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCSE6TBB615PK1P7RZTJ",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch39mxptxy71ft4w5rz",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "20.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCSE6TBB615PK1P7RZTJ"
        },
        "idempotency": {
          "key": "idem-large_ordinary-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "missing-dimension",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-missing-dimension-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-missing-dimension-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 409,
    "response": {
      "errors": [
        {
          "code": "FORMULA_SET_INVALID",
          "detail": "Deterministic endpoint admission failure",
          "meta": null,
          "source": null,
          "status": "409",
          "title": "Formula set invalid"
        }
      ],
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default",
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "idempotency": {
          "key": "idem-missing-dimension-6b9ee423f2a056d5951f",
          "status": "failed",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "trace": {
          "deterministic": true,
          "request_reference": "req-missing-dimension-6b9ee423f2a056d5951f"
        },
        "transport": {
          "content_type": "application/vnd.api+json"
        }
      }
    }
  },
  {
    "key": "over_two",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-over_two-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-over_two-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "25.1",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCWH69HZ143B6CTYJKG5",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch39mxptxy71ft4w5rz",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "20.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 3,
                      "total_freight_weight_canonical": 3,
                      "total_volume_canonical": 0.010040000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 3,
                      "max_package_volume_canonical": 0.010040000000000002,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 25.1,
                      "max_package_linear_size_canonical": 65.1,
                      "max_longest_side_canonical": 25.1,
                      "max_package_length_plus_girth_canonical": 110.2
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 3,
                      "total_freight_weight_canonical": 3,
                      "total_volume_canonical": 0.010040000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 3,
                      "max_package_volume_canonical": 0.010040000000000002,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 25.1,
                      "max_package_linear_size_canonical": 65.1,
                      "max_longest_side_canonical": 25.1,
                      "max_package_length_plus_girth_canonical": 110.2
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCWH69HZ143B6CTYJKG5"
        },
        "idempotency": {
          "key": "idem-over_two-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "parent_actual_large",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-parent_actual_large-4bcacf4e31700b8e90cf",
        "idempotency_key": "idem-parent_actual_large-4bcacf4e31700b8e90cf"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pcdcbc8c4wkb2qtyq74hy",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pcdcbc8c4wkb2qtyq74hy"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "50",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCDP2F0RV19173QBKJGHP",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pcdg3bs6c6q63g6fb5ht8",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcdf5z4ba7jqzbbphbe7x",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcdf73n2trrvq3bs0n8a0",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "20.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCDP2F0RV19173QBKJGHP"
        },
        "idempotency": {
          "key": "idem-parent_actual_large-4bcacf4e31700b8e90cf",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:48+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "row_actual_large",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-row_actual_large-c073f5ed95f4aaa500e5",
        "idempotency_key": "idem-row_actual_large-c073f5ed95f4aaa500e5"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pcd0nhqphqw9dxwphm73y",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pcd0nhqphqw9dxwphm73y"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "50",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCDBD1TK6XVXYX5MSVFR3",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pcd5r748xsbwgc0yyxd1b",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcd4k73wk67dr9jq3sc9w",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcd4mg2gnfjqxepsqq2wv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "12.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCDBD1TK6XVXYX5MSVFR3"
        },
        "idempotency": {
          "key": "idem-row_actual_large-c073f5ed95f4aaa500e5",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:48+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "small_battery",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-small_battery-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-small_battery-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "10",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "10",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "10",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Battery-powered device",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": {
                  "contains_lithium": true,
                  "battery_types": [
                    "lithium"
                  ]
                }
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCRN8EYQ4XMD59S6N3V5",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch2tqcyzvyvn1gtsbvv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                },
                {
                  "kind": "flat",
                  "code": "dg-chargeable-dg-row-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "5.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66pccgrmhph2dc9wamf187p",
                    "artifact_code": "dg-chargeable-surcharge-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pccgsxmztgr4r8v4wptnf",
                    "artifact_row_code": "dg-chargeable-dg-row-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "amount_mode": "fixed",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": null,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "dangerous_goods"
                }
              ],
              "total_price": {
                "amount": "17.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCRN8EYQ4XMD59S6N3V5"
        },
        "idempotency": {
          "key": "idem-small_battery-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "small_ordinary",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-small_ordinary-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-small_ordinary-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "10",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "10",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "10",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCQVVG8227WJYQTPERNW",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch2tqcyzvyvn1gtsbvv",
                    "artifact_row_code": "dg-chargeable-light-definition-dg-chargeable-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "12.50",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.0010000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.0010000000000000002,
                      "max_package_width_canonical": 10,
                      "max_package_height_canonical": 10,
                      "max_package_linear_size_canonical": 30,
                      "max_longest_side_canonical": 10,
                      "max_package_length_plus_girth_canonical": 50
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCQVVG8227WJYQTPERNW"
        },
        "idempotency": {
          "key": "idem-small_ordinary-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "two_packages",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-two_packages-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-two_packages-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "15",
                    "unit": "cm"
                  }
                }
              },
              {
                "id": "pkg_2",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "15",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1",
                  "pkg_2"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCXA97EEX4BBWKW4GZFC",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch39mxptxy71ft4w5rz",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "20.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1",
                    "pkg_2"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 2,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 2,
                      "total_chargeable_weight_canonical": 4,
                      "total_freight_weight_canonical": 4,
                      "total_volume_canonical": 0.012000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.006000000000000001,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 15,
                      "max_package_linear_size_canonical": 55,
                      "max_longest_side_canonical": 20,
                      "max_package_length_plus_girth_canonical": 90
                    },
                    "effective": {
                      "package_count": 2,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 2,
                      "total_chargeable_weight_canonical": 4,
                      "total_freight_weight_canonical": 4,
                      "total_volume_canonical": 0.012000000000000002,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 2,
                      "max_package_volume_canonical": 0.006000000000000001,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 15,
                      "max_package_linear_size_canonical": 55,
                      "max_longest_side_canonical": 20,
                      "max_package_length_plus_girth_canonical": 90
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCXA97EEX4BBWKW4GZFC"
        },
        "idempotency": {
          "key": "idem-two_packages-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "unsupported_weight_unit",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-unsupported_weight_unit-6b9ee423f2a056d5951f",
        "idempotency_key": "idem-unsupported_weight_unit-6b9ee423f2a056d5951f"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66pccdy4j9nx9gxg1e9mc9k",
          "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66pccdy4j9nx9gxg1e9mc9k"
            },
            "request": {
              "request_id": "validation-dg-chargeable-control-definition-dg-chargeable-fixture",
              "contract_version": "dg-chargeable-definition-dg-chargeable-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1.0",
                  "unit": "stone"
                },
                "dimensions": {
                  "length": {
                    "value": "25",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "20",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "50",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Ordinary goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                },
                "goods": []
              }
            ],
            "package_item_allocations": [
              {
                "package_id": "pkg_1",
                "item_id": "item-1",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "service_point"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "business",
                "facility_type": "commercial_office",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "organization",
                "facility_type": "service_point"
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66PCCYWYPW0GZTAMFE78437",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
              "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
              "canonical_service_key": "platform:carrier-dg-chargeable-definition-dg-chargeable-fixture.svc-dg-chargeable-definition-dg-chargeable-fixture",
              "presentation_identity_key": "delivery.dg_chargeable",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "20.00",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66pccj7bzepre9vy16de75m",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66pcch1g33f5cepchpc6s63",
                    "artifact_code": "dg-chargeable-grid-definition-dg-chargeable-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66pcch39mxptxy71ft4w5rz",
                    "artifact_row_code": "dg-chargeable-heavy-definition-dg-chargeable-fixture",
                    "row_sequence": 2,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                }
              ],
              "total_price": {
                "amount": "20.00",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-dg-chargeable-definition-dg-chargeable-fixture",
                  "service_id": "svc-dg-chargeable-definition-dg-chargeable-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "service_point"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 0,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": null,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 0,
                      "total_chargeable_weight_canonical": 5,
                      "total_freight_weight_canonical": 5,
                      "total_volume_canonical": 0.025,
                      "max_package_weight_canonical": null,
                      "max_package_chargeable_weight_canonical": 5,
                      "max_package_volume_canonical": 0.025,
                      "max_package_width_canonical": 20,
                      "max_package_height_canonical": 50,
                      "max_package_linear_size_canonical": 95,
                      "max_longest_side_canonical": 50,
                      "max_package_length_plus_girth_canonical": 165
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66PCCYWYPW0GZTAMFE78437"
        },
        "idempotency": {
          "key": "idem-unsupported_weight_unit-6b9ee423f2a056d5951f",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:20:47+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  }
]
