We are rendering A2UI v0.8 payloads and hit a runtime validation failure after upgrading @a2ui/react.
-Current branch version: @a2ui/react@0.10.0
-main branch version: @a2ui/react@0.8.0
- On
0.8.0 (main), this flow was working; on 0.10.0, validation fails at runtime.
Observed failure is during validation with an error like:
Must define exactly one property
A concrete payload example is MultipleChoice.selections containing both:
This shape is currently accepted by the official A2UI v0.8 schema references (no explicit XOR/oneOf exclusivity for these bindable fields), including:
https://a2ui.org/specification/v0_8/standard_catalog_definition.json
So there appears to be a mismatch between:
- what the official v0.8 schema allows (not strict enough), and
- what newer
@a2ui/react runtime validation enforces (exactly one bindable source).
Request: please align runtime validation behavior with official schema expectations for v0.8 payloads, or tighten the official v0.8 schema with explicit exclusivity so producers/consumers can validate consistently.
We are rendering A2UI v0.8 payloads and hit a runtime validation failure after upgrading
@a2ui/react.-Current branch version:
@a2ui/react@0.10.0-main branch version:
@a2ui/react@0.8.00.8.0(main), this flow was working; on0.10.0, validation fails at runtime.Observed failure is during validation with an error like:
Must define exactly one propertyA concrete payload example is
MultipleChoice.selectionscontaining both:pathliteralArrayThis shape is currently accepted by the official A2UI v0.8 schema references (no explicit XOR/
oneOfexclusivity for these bindable fields), including:https://a2ui.org/specification/v0_8/standard_catalog_definition.jsonSo there appears to be a mismatch between:
@a2ui/reactruntime validation enforces (exactly one bindable source).Request: please align runtime validation behavior with official schema expectations for v0.8 payloads, or tighten the official v0.8 schema with explicit exclusivity so producers/consumers can validate consistently.