moegoapis

⚖️ Weight (moego.common.v1.Weight)

📌 1. Overview

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.

🧩 2. Core Fields

Field Name Type Description
value uint32 The numeric value of the weight
unit Unit The unit of measurement

Enum: Unit

📦 3. Example JSON

{
  "value": 10,
  "unit": "KILOGRAM"
}

📎 Related File References