{
  "meta": {
    "request_id": "req-first-live-definition-evaluate",
    "idempotency_key": "idem-first-live-definition-evaluate"
  },
  "data": {
    "type": "rating-evaluation",
    "attributes": {
      "division_id": "{{division_id}}",
      "contract_version": "2026-04-17-definition-first-live-price-exactness",
      "operation_code": "rate_quote",
      "timezone": "Europe/Helsinki",
      "context": {
        "scope": {
          "division_id": "{{division_id}}"
        },
        "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"
            }
          }
        }
      }
    }
  }
}
