Expand description
Time and validation helpers shared by the analytics facade and consumers.
All timestamps are produced with the jiff crate (the successor of
chrono, which is deliberately not used anywhere in this workspace).
Modules§
- limits
- Documented property limits from the TE v5.0 data rules.
Functions§
- check_
value_ limits - Validate one property value against the documented v5.0 type limits.
- is_
documented_ time_ format - Whether
valuematches the#timeformats documented in the data rules:yyyy-MM-dd HH:mm:ssoryyyy-MM-dd HH:mm:ss.SSS. - is_
valid_ key - Check that an event name or property key matches
^[a-zA-Z#][A-Za-z0-9_]{0,49}$— a 1..=50 character identifier starting with a letter or#. - parse_
time - Rewrite RFC 3339 timestamps inside a serialized JSON payload to
"yyyy-MM-dd HH:mm:ss.SSS", mirroring the Go SDK’sparseTime.