fields
Custom field data for this element, localised to the current project locale. Keys and value types are defined in the project's App Spec.
Numeric fields arrive as Number (whole values as Int/Long depending on magnitude, fractional as Double). Read them with as? Number and coerce (.toInt() / .toDouble()) rather than casting to a specific numeric subtype, which would fail depending on the value.