adk_a2a_v1_codec (erlang_adk v0.10.0)
View SourceValidation and JSON boundary helpers for the A2A 1.0 data model.
A2A 1.0 uses ProtoJSON oneof members. In particular, Parts contain one of text, raw, url, or data; stream responses contain one of task, message, statusUpdate, or artifactUpdate. The pre-1.0 kind discriminator is deliberately rejected at this boundary.
Summary
Functions
Normalize the original protobuf field names accepted by ProtoJSON parsers into the canonical lowerCamel JSON names used internally. Known request messages are also projected onto their schema fields so ignored forward-compatible fields cannot leak into retained state or executors.
Functions
Normalize the original protobuf field names accepted by ProtoJSON parsers into the canonical lowerCamel JSON names used internally. Known request messages are also projected onto their schema fields so ignored forward-compatible fields cannot leak into retained state or executors.