{
  "meta": {
    "request_id": "req-compare-candidate-definition-simulate",
    "idempotency_key": "idem-compare-candidate-definition-simulate"
  },
  "data": {
    "type": "rating-simulation",
    "attributes": {
      "division_id": "{{division_id_pass_2}}",
      "contract_version": "candidate-compare-live-definition-compare-candidate-fixture",
      "operation_code": "rate_quote",
      "timezone": "Europe/Helsinki",
      "requested_at": "2026-04-19T00:00:00Z",
      "decision_instant_at": "2026-04-19T00:00:00Z",
      "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-candidate-compare-definition-compare-candidate-fixture",
            "service_id": "svc-candidate-compare-definition-compare-candidate-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": "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" }
          }
        }
      }
    }
  }
}
