Skip to content

Commit 7fba74e

Browse files
authored
JSON schema fixes for google#173 and google#172 (google#175)
1 parent 43fd3e3 commit 7fba74e

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

specification/json/a2a.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@
534534
}
535535
},
536536
"required": [
537+
"type",
537538
"data"
538539
],
539540
"title": "DataPart",
@@ -624,6 +625,7 @@
624625
}
625626
},
626627
"required": [
628+
"type",
627629
"file"
628630
],
629631
"title": "FilePart",
@@ -827,7 +829,10 @@
827829
},
828830
"data": {
829831
"anyOf": [
830-
{},
832+
{
833+
"additionalProperties": {},
834+
"type": "object"
835+
},
831836
{
832837
"type": "null"
833838
}
@@ -867,7 +872,10 @@
867872
},
868873
"data": {
869874
"anyOf": [
870-
{},
875+
{
876+
"additionalProperties": {},
877+
"type": "object"
878+
},
871879
{
872880
"type": "null"
873881
}
@@ -907,7 +915,10 @@
907915
},
908916
"data": {
909917
"anyOf": [
910-
{},
918+
{
919+
"additionalProperties": {},
920+
"type": "object"
921+
},
911922
{
912923
"type": "null"
913924
}
@@ -947,7 +958,10 @@
947958
},
948959
"data": {
949960
"anyOf": [
950-
{},
961+
{
962+
"additionalProperties": {},
963+
"type": "object"
964+
},
951965
{
952966
"type": "null"
953967
}
@@ -975,7 +989,10 @@
975989
},
976990
"data": {
977991
"anyOf": [
978-
{},
992+
{
993+
"additionalProperties": {},
994+
"type": "object"
995+
},
979996
{
980997
"type": "null"
981998
}
@@ -1087,7 +1104,10 @@
10871104
},
10881105
"result": {
10891106
"anyOf": [
1090-
{},
1107+
{
1108+
"additionalProperties": {},
1109+
"type": "object"
1110+
},
10911111
{
10921112
"type": "null"
10931113
}
@@ -1681,7 +1701,7 @@
16811701
"required": [
16821702
"id"
16831703
],
1684-
"title": "TaskQueryParams",
1704+
"title": "TaskIdParams",
16851705
"type": "object"
16861706
},
16871707
"TaskQueryParams": {
@@ -1956,6 +1976,7 @@
19561976
}
19571977
},
19581978
"required": [
1979+
"type",
19591980
"text"
19601981
],
19611982
"title": "TextPart",

0 commit comments

Comments
 (0)