We should ensure that on the server side, we can write a generic validation function that accepts a sequence of A2UI messages and a schema, and validates that they conform to the schema.
e.g in pseudocode:
validate(List<A2uiMessage>, JsonObject catalog)
It should check:
- JSON schema conformance
- Valid references between components by ID
- Valid references to the data model
- Valid references to functions