A typed attribute value. There is deliberately no free-string variant: content cannot be smuggled through an attribute by construction. A string only exists as [AttrValue::Token], whose values come from the vocabulary the registry declares for that key.
API reference sections
Schema
AttrValue
Type object or object or object or object or object or object or object or object
Shape
One of 8 shapes:
t: "id"
A reference (
LocalReferenceclass): valid on the local bus, dropped mechanically at the telemetry boundary. (RefIdis only the schema's name for it - serde carries the bare uuid string.)Field Type Description trequired "id" vrequired RefId t: "time"
Epoch milliseconds UTC.
Field Type Description trequired "time" vrequired integer (int64) t: "token"
A value from the key's declared closed vocabulary.
Field Type Description trequired "token" vrequired string t: "count"
Field Type Description trequired "count" vrequired integer (uint64, >= 0) t: "int"
A signed quantity - a UTC offset, a delta.
Countfor anything that cannot be negative.Field Type Description trequired "int" vrequired integer (int64) t: "version"
A dotted numeric version -
10.0.26200. Its own kind rather than a token because a version has no closed vocabulary, and rather than a free string because the boundary enforces digits and dots only: it is structurally incapable of carrying content.Field Type Description trequired "version" vrequired string t: "bucket"
A client-side bucketed numeric - see [
crate::bucket].Field Type Description trequired "bucket" vrequired integer (uint32, >= 0) t: "flag"
Field Type Description trequired "flag" vrequired boolean
{
"t": "id",
"v": "00000000-0000-4000-8000-000000000000"
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Generated from contract version 1. Last updated .
