diff --git a/specification/v0_10/json/client_to_server_list.json b/specification/v0_10/json/client_to_server_list.json index 9db512456..cd0a74429 100644 --- a/specification/v0_10/json/client_to_server_list.json +++ b/specification/v0_10/json/client_to_server_list.json @@ -3,8 +3,17 @@ "$id": "https://a2ui.org/specification/v0_10/client_to_server_list.json", "title": "A2UI Client-to-Server Message List", "description": "A list of A2UI Client-to-Server messages.", - "type": "array", - "items": { - "$ref": "client_to_server.json" - } + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "client_to_server.json" + } + } + }, + "additionalProperties": false, + "required": [ + "messages" + ] } diff --git a/specification/v0_10/json/server_to_client_list.json b/specification/v0_10/json/server_to_client_list.json index 3978f6a2b..e2b372c81 100644 --- a/specification/v0_10/json/server_to_client_list.json +++ b/specification/v0_10/json/server_to_client_list.json @@ -3,8 +3,17 @@ "$id": "https://a2ui.org/specification/v0_10/server_to_client_list.json", "title": "A2UI Server-to-Client Message List", "description": "A list of A2UI Server-to-Client messages.", - "type": "array", - "items": { - "$ref": "server_to_client.json" - } + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "server_to_client.json" + } + } + }, + "additionalProperties": false, + "required": [ + "messages" + ] } diff --git a/specification/v0_9/json/client_to_server_list.json b/specification/v0_9/json/client_to_server_list.json index adfffac30..2714a8332 100644 --- a/specification/v0_9/json/client_to_server_list.json +++ b/specification/v0_9/json/client_to_server_list.json @@ -3,8 +3,17 @@ "$id": "https://a2ui.org/specification/v0_9/client_to_server_list.json", "title": "A2UI Client-to-Server Message List", "description": "A list of A2UI Client-to-Server messages.", - "type": "array", - "items": { - "$ref": "client_to_server.json" - } + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "client_to_server.json" + } + } + }, + "additionalProperties": false, + "required": [ + "messages" + ] } diff --git a/specification/v0_9/json/server_to_client_list.json b/specification/v0_9/json/server_to_client_list.json index 5bf92bcc6..66d726333 100644 --- a/specification/v0_9/json/server_to_client_list.json +++ b/specification/v0_9/json/server_to_client_list.json @@ -3,8 +3,17 @@ "$id": "https://a2ui.org/specification/v0_9/server_to_client_list.json", "title": "A2UI Server-to-Client Message List", "description": "A list of A2UI Server-to-Client messages.", - "type": "array", - "items": { - "$ref": "server_to_client.json" - } + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "server_to_client.json" + } + } + }, + "additionalProperties": false, + "required": [ + "messages" + ] }