diff --git a/specification/v0_10/json/client_to_server_list.json b/specification/v0_10/json/client_to_server_list.json index cd0a74429..9db512456 100644 --- a/specification/v0_10/json/client_to_server_list.json +++ b/specification/v0_10/json/client_to_server_list.json @@ -3,17 +3,8 @@ "$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": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "client_to_server.json" - } - } - }, - "additionalProperties": false, - "required": [ - "messages" - ] + "type": "array", + "items": { + "$ref": "client_to_server.json" + } } diff --git a/specification/v0_10/json/client_to_server_list_wrapper.json b/specification/v0_10/json/client_to_server_list_wrapper.json new file mode 100644 index 000000000..95047c190 --- /dev/null +++ b/specification/v0_10/json/client_to_server_list_wrapper.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://a2ui.org/specification/v0_10/client_to_server_list_wrapper.json", + "title": "A2UI Client-to-Server Message List Wrapper", + "description": "An object wrapping a list of A2UI Client-to-Server messages. Intended for protocols that require a top-level JSON object instead of a raw array.", + "type": "object", + "properties": { + "messages": { + "$ref": "client_to_server_list.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 e2b372c81..3978f6a2b 100644 --- a/specification/v0_10/json/server_to_client_list.json +++ b/specification/v0_10/json/server_to_client_list.json @@ -3,17 +3,8 @@ "$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": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "server_to_client.json" - } - } - }, - "additionalProperties": false, - "required": [ - "messages" - ] + "type": "array", + "items": { + "$ref": "server_to_client.json" + } } diff --git a/specification/v0_10/json/server_to_client_list_wrapper.json b/specification/v0_10/json/server_to_client_list_wrapper.json new file mode 100644 index 000000000..60e094bfb --- /dev/null +++ b/specification/v0_10/json/server_to_client_list_wrapper.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://a2ui.org/specification/v0_10/server_to_client_list_wrapper.json", + "title": "A2UI Server-to-Client Message List Wrapper", + "description": "An object wrapping a list of A2UI Server-to-Client messages. Intended for protocols that require a top-level JSON object instead of a raw array.", + "type": "object", + "properties": { + "messages": { + "$ref": "server_to_client_list.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 2714a8332..adfffac30 100644 --- a/specification/v0_9/json/client_to_server_list.json +++ b/specification/v0_9/json/client_to_server_list.json @@ -3,17 +3,8 @@ "$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": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "client_to_server.json" - } - } - }, - "additionalProperties": false, - "required": [ - "messages" - ] + "type": "array", + "items": { + "$ref": "client_to_server.json" + } } diff --git a/specification/v0_9/json/client_to_server_list_wrapper.json b/specification/v0_9/json/client_to_server_list_wrapper.json new file mode 100644 index 000000000..84e167cd6 --- /dev/null +++ b/specification/v0_9/json/client_to_server_list_wrapper.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://a2ui.org/specification/v0_9/client_to_server_list_wrapper.json", + "title": "A2UI Client-to-Server Message List Wrapper", + "description": "An object wrapping a list of A2UI Client-to-Server messages. Intended for protocols that require a top-level JSON object instead of a raw array.", + "type": "object", + "properties": { + "messages": { + "$ref": "client_to_server_list.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 66d726333..5bf92bcc6 100644 --- a/specification/v0_9/json/server_to_client_list.json +++ b/specification/v0_9/json/server_to_client_list.json @@ -3,17 +3,8 @@ "$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": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "server_to_client.json" - } - } - }, - "additionalProperties": false, - "required": [ - "messages" - ] + "type": "array", + "items": { + "$ref": "server_to_client.json" + } } diff --git a/specification/v0_9/json/server_to_client_list_wrapper.json b/specification/v0_9/json/server_to_client_list_wrapper.json new file mode 100644 index 000000000..5ca429439 --- /dev/null +++ b/specification/v0_9/json/server_to_client_list_wrapper.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://a2ui.org/specification/v0_9/server_to_client_list_wrapper.json", + "title": "A2UI Server-to-Client Message List Wrapper", + "description": "An object wrapping a list of A2UI Server-to-Client messages. Intended for protocols that require a top-level JSON object instead of a raw array.", + "type": "object", + "properties": { + "messages": { + "$ref": "server_to_client_list.json" + } + }, + "additionalProperties": false, + "required": [ + "messages" + ] +}