The Weight message provides a standardized way to represent and convert weight measurements throughout the system. It
supports multiple units and ensures consistent weight tracking for pets, products, and other resources that require
weight measurements.
| Field Name | Type | Description |
|---|---|---|
value |
uint32 | The numeric value of the weight |
unit |
Unit | The unit of measurement |
UNIT_UNSPECIFIED - Not intended for direct use.KILOGRAM - Base unit for weight (1 kg = 2.20462 lbs)POUND - Common in US and some other regions (1 lb = 0.453592 kg){
"value": 10,
"unit": "KILOGRAM"
}