Expand description
A2UI v1.0 Common Types
Mirrors the JSON Schema common_types.json — the core data binding types
used throughout the A2UI protocol.
Structs§
- Accessibility
Attributes - Accessibility attributes for a component.
- Action
Event - A server-bound event with optional context.
- Check
Rule - A validation check with a boolean condition and an error message.
- Data
Binding - A JSON Pointer path into the data model.
Serialized as
{ "path": "/some/pointer" }. - Function
Call - A named function call with arguments. Each argument value can itself be any JSON value (including nested Dynamic values).
Enums§
- Action
- An action triggered by user interaction (e.g. button click).
- Align
- Cross-axis alignment (maps to flexbox align-items).
- Child
List - Describes the children of a container component.
- Dynamic
Boolean - A value that is either a literal boolean, a data-binding, or a function call.
- Dynamic
Boolean Condition - A value that is either a literal boolean (via
conditionkey), a data-binding, or a function call — used inCheckRuleconditions. - Dynamic
Number - A value that is either a literal number, a data-binding, or a function call.
- Dynamic
String - A value that is either a literal string, a data-binding, or a function call.
- Dynamic
String List - A dynamic value that resolves to a list of strings.
- Dynamic
Value - A general-purpose dynamic value — can be any JSON primitive, binding, or function call.
- Justify
- Main-axis alignment (maps to flexbox justify-content).
Type Aliases§
- Component
Id - Unique identifier for a component instance within a surface.