[
  {
    "key": "changed-new-reference",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-changed-new-reference-cb188c6ffccb35257b63",
        "idempotency_key": "idem-first-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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.5",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 409,
    "response": {
      "errors": [
        {
          "code": "IDEMPOTENCY_CONFLICT",
          "detail": "Deterministic endpoint admission failure",
          "meta": null,
          "source": null,
          "status": "409",
          "title": "Idempotency conflict"
        }
      ],
      "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:44:25+00:00",
        "decision_instant_source": "admission_default",
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "idempotency": {
          "key": "idem-first-cb188c6ffccb35257b63",
          "status": "conflict",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "trace": {
          "deterministic": true,
          "request_reference": "req-changed-new-reference-cb188c6ffccb35257b63"
        },
        "transport": {
          "content_type": "application/vnd.api+json"
        }
      }
    }
  },
  {
    "key": "changed-same-reference",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-first-cb188c6ffccb35257b63",
        "idempotency_key": "idem-first-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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.5",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 409,
    "response": {
      "errors": [
        {
          "code": "REQUEST_ID_CONFLICT",
          "detail": "Deterministic endpoint admission failure",
          "meta": null,
          "source": null,
          "status": "409",
          "title": "Request id conflict"
        }
      ],
      "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:44:25+00:00",
        "decision_instant_source": "admission_default",
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "idempotency": {
          "key": "idem-first-cb188c6ffccb35257b63",
          "status": "conflict",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "trace": {
          "deterministic": true,
          "request_reference": "req-first-cb188c6ffccb35257b63"
        },
        "transport": {
          "content_type": "application/vnd.api+json"
        }
      }
    }
  },
  {
    "key": "first",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-first-cb188c6ffccb35257b63",
        "idempotency_key": "idem-first-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQMZR2S051XVSKHE8W2YY",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQMZR2S051XVSKHE8W2YY"
        },
        "idempotency": {
          "key": "idem-first-cb188c6ffccb35257b63",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "fresh",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-fresh-cb188c6ffccb35257b63",
        "idempotency_key": "idem-fresh-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQN4E9BHWV6TTFQ0NVXCG",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQN4E9BHWV6TTFQ0NVXCG"
        },
        "idempotency": {
          "key": "idem-fresh-cb188c6ffccb35257b63",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "groups-first",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-groups-cb188c6ffccb35257b63",
        "idempotency_key": "idem-groups-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard",
                "extra"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQN1HNZBYMGG47WYX8SX1",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQN1HNZBYMGG47WYX8SX1"
        },
        "idempotency": {
          "key": "idem-groups-cb188c6ffccb35257b63",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "groups-reordered",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-groups-cb188c6ffccb35257b63",
        "idempotency_key": "idem-groups-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "extra",
                "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQN1HNZBYMGG47WYX8SX1",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": null,
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQN1HNZBYMGG47WYX8SX1"
        },
        "idempotency": {
          "key": "idem-groups-cb188c6ffccb35257b63",
          "status": "replayed",
          "replayed": true,
          "original_decision_id": "01M66QQN1HNZBYMGG47WYX8SX1",
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "new-reference",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-new-reference-cb188c6ffccb35257b63",
        "idempotency_key": "idem-first-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQMZR2S051XVSKHE8W2YY",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": null,
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQMZR2S051XVSKHE8W2YY"
        },
        "idempotency": {
          "key": "idem-first-cb188c6ffccb35257b63",
          "status": "replayed",
          "replayed": true,
          "original_decision_id": "01M66QQMZR2S051XVSKHE8W2YY",
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "replay",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-first-cb188c6ffccb35257b63",
        "idempotency_key": "idem-first-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 200,
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66QQMZR2S051XVSKHE8W2YY",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
              "service_id": "svc-first-live-definition-first-live-price-exactness",
              "canonical_service_key": "platform:carrier-first-live-definition-first-live-price-exactness.svc-first-live-definition-first-live-price-exactness",
              "presentation_identity_key": "parcel.first_live",
              "service_names": [],
              "service_name": null,
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "fi-domestic-1kg-definition-first-live-price-exactness",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66qqms15mp1nhe7gfq06djk",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66qqmqct54apzpdb8ps734w",
                    "artifact_code": "demo-domestic-grid-definition-first-live-price-exactness",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66qqmqg57kz0we92yfcvwpt",
                    "artifact_row_code": "fi-domestic-1kg-definition-first-live-price-exactness",
                    "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-first-live-definition-first-live-price-exactness",
                  "service_id": "svc-first-live-definition-first-live-price-exactness",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "warehouse"
                    }
                  },
                  "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "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.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "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": "01M66QQMZR2S051XVSKHE8W2YY"
        },
        "idempotency": {
          "key": "idem-first-cb188c6ffccb35257b63",
          "status": "replayed",
          "replayed": true,
          "original_decision_id": "01M66QQMZR2S051XVSKHE8W2YY",
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T15:44:25+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "same-reference-new-key",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-first-cb188c6ffccb35257b63",
        "idempotency_key": "idem-other-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 409,
    "response": {
      "errors": [
        {
          "code": "REQUEST_ID_CONFLICT",
          "detail": "Deterministic endpoint admission failure",
          "meta": null,
          "source": null,
          "status": "409",
          "title": "Request id conflict"
        }
      ],
      "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:44:25+00:00",
        "decision_instant_source": "admission_default",
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "idempotency": {
          "key": "idem-other-cb188c6ffccb35257b63",
          "status": "conflict",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "trace": {
          "deterministic": true,
          "request_reference": "req-first-cb188c6ffccb35257b63"
        },
        "transport": {
          "content_type": "application/vnd.api+json"
        }
      }
    }
  },
  {
    "key": "unbound",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "request": {
      "meta": {
        "request_id": "req-unbound-cb188c6ffccb35257b63",
        "idempotency_key": "idem-unbound-cb188c6ffccb35257b63"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w",
          "contract_version": "2026-04-17-definition-first-live-price-exactness",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66qqmm6d1kvdmjqyhaw9y0w"
            },
            "request": {
              "request_id": "validation-first-live-definition-first-live-price-exactness",
              "contract_version": "2026-04-17-definition-first-live-price-exactness",
              "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",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-first-live-definition-first-live-price-exactness",
                "service_id": "svc-first-live-definition-first-live-price-exactness",
                "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": "warehouse"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              }
            }
          }
        }
      }
    },
    "status": 403,
    "response": {
      "errors": [
        {
          "code": "ACTOR_UNAUTHORIZED",
          "detail": "Deterministic endpoint admission failure",
          "meta": null,
          "source": null,
          "status": "403",
          "title": "Actor unauthorized"
        }
      ],
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "idempotency": {
          "key": "idem-unbound-cb188c6ffccb35257b63",
          "status": "not_applicable",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null
        },
        "trace": {
          "deterministic": true,
          "request_reference": "req-unbound-cb188c6ffccb35257b63"
        },
        "transport": {
          "content_type": "application/vnd.api+json"
        }
      }
    }
  }
]
