2
2
"$schema" : " http://json-schema.org/draft-07/schema#" ,
3
3
"title" : " A2A Protocol Schema" ,
4
4
"description" : " JSON Schema for A2A Protocol" ,
5
- "$defs " : {
5
+ "definitions " : {
6
6
"AgentAuthentication" : {
7
7
"properties" : {
8
8
"schemes" : {
59
59
"type" : " string"
60
60
},
61
61
"provider" : {
62
- "$ref" : " #/$defs /AgentProvider"
62
+ "$ref" : " #/definitions /AgentProvider"
63
63
},
64
64
"version" : {
65
65
"title" : " Version" ,
70
70
"title" : " Documentationurl"
71
71
},
72
72
"capabilities" : {
73
- "$ref" : " #/$defs /AgentCapabilities"
73
+ "$ref" : " #/definitions /AgentCapabilities"
74
74
},
75
75
"authentication" : {
76
- "$ref" : " #/$defs /AgentAuthentication"
76
+ "$ref" : " #/definitions /AgentAuthentication"
77
77
},
78
78
"defaultInputModes" : {
79
79
"default" : [
97
97
},
98
98
"skills" : {
99
99
"items" : {
100
- "$ref" : " #/$defs /AgentSkill"
100
+ "$ref" : " #/definitions /AgentSkill"
101
101
},
102
102
"title" : " Skills" ,
103
103
"type" : " array"
192
192
},
193
193
"parts" : {
194
194
"items" : {
195
- "$ref" : " #/$defs /Part"
195
+ "$ref" : " #/definitions /Part"
196
196
},
197
197
"title" : " Parts" ,
198
198
"type" : " array"
302
302
"type" : " string"
303
303
},
304
304
"params" : {
305
- "$ref" : " #/$defs /TaskIdParams"
305
+ "$ref" : " #/definitions /TaskIdParams"
306
306
}
307
307
},
308
308
"required" : [
332
332
"title" : " Id"
333
333
},
334
334
"result" : {
335
- "$ref" : " #/$defs /Task"
335
+ "$ref" : " #/definitions /Task"
336
336
},
337
337
"error" : {
338
- "$ref" : " #/$defs /JSONRPCError"
338
+ "$ref" : " #/definitions /JSONRPCError"
339
339
}
340
340
},
341
341
"title" : " CancelTaskResponse" ,
407
407
"type" : " string"
408
408
},
409
409
"file" : {
410
- "$ref" : " #/$defs /FileContent"
410
+ "$ref" : " #/definitions /FileContent"
411
411
},
412
412
"metadata" : {
413
413
"additionalProperties" : {},
448
448
"type" : " string"
449
449
},
450
450
"params" : {
451
- "$ref" : " #/$defs /TaskIdParams"
451
+ "$ref" : " #/definitions /TaskIdParams"
452
452
}
453
453
},
454
454
"required" : [
478
478
"title" : " Id"
479
479
},
480
480
"result" : {
481
- "$ref" : " #/$defs /TaskPushNotificationConfig"
481
+ "$ref" : " #/definitions /TaskPushNotificationConfig"
482
482
},
483
483
"error" : {
484
- "$ref" : " #/$defs /JSONRPCError"
484
+ "$ref" : " #/definitions /JSONRPCError"
485
485
}
486
486
},
487
487
"title" : " GetTaskPushNotificationResponse" ,
513
513
"type" : " string"
514
514
},
515
515
"params" : {
516
- "$ref" : " #/$defs /TaskQueryParams"
516
+ "$ref" : " #/definitions /TaskQueryParams"
517
517
}
518
518
},
519
519
"required" : [
543
543
"title" : " Id"
544
544
},
545
545
"result" : {
546
- "$ref" : " #/$defs /Task"
546
+ "$ref" : " #/definitions /Task"
547
547
},
548
548
"error" : {
549
- "$ref" : " #/$defs /JSONRPCError"
549
+ "$ref" : " #/definitions /JSONRPCError"
550
550
}
551
551
},
552
552
"title" : " GetTaskResponse" ,
798
798
"title" : " Result"
799
799
},
800
800
"error" : {
801
- "$ref" : " #/$defs /JSONRPCError"
801
+ "$ref" : " #/definitions /JSONRPCError"
802
802
}
803
803
},
804
804
"title" : " JSONRPCResponse" ,
816
816
},
817
817
"parts" : {
818
818
"items" : {
819
- "$ref" : " #/$defs /Part"
819
+ "$ref" : " #/definitions /Part"
820
820
},
821
821
"title" : " Parts" ,
822
822
"type" : " array"
878
878
"type" : " string"
879
879
},
880
880
"authentication" : {
881
- "$ref" : " #/$defs /AuthenticationInfo"
881
+ "$ref" : " #/definitions /AuthenticationInfo"
882
882
}
883
883
},
884
884
"required" : [
890
890
"Part" : {
891
891
"anyOf" : [
892
892
{
893
- "$ref" : " #/$defs /TextPart"
893
+ "$ref" : " #/definitions /TextPart"
894
894
},
895
895
{
896
- "$ref" : " #/$defs /FilePart"
896
+ "$ref" : " #/definitions /FilePart"
897
897
},
898
898
{
899
- "$ref" : " #/$defs /DataPart"
899
+ "$ref" : " #/definitions /DataPart"
900
900
}
901
901
],
902
902
"title" : " Part"
927
927
"type" : " string"
928
928
},
929
929
"params" : {
930
- "$ref" : " #/$defs /TaskSendParams"
930
+ "$ref" : " #/definitions /TaskSendParams"
931
931
}
932
932
},
933
933
"required" : [
957
957
"title" : " Id"
958
958
},
959
959
"result" : {
960
- "$ref" : " #/$defs /Task"
960
+ "$ref" : " #/definitions /Task"
961
961
},
962
962
"error" : {
963
- "$ref" : " #/$defs /JSONRPCError"
963
+ "$ref" : " #/definitions /JSONRPCError"
964
964
}
965
965
},
966
966
"title" : " SendTaskResponse" ,
992
992
"type" : " string"
993
993
},
994
994
"params" : {
995
- "$ref" : " #/$defs /TaskSendParams"
995
+ "$ref" : " #/definitions /TaskSendParams"
996
996
}
997
997
},
998
998
"required" : [
1024
1024
"result" : {
1025
1025
"anyOf" : [
1026
1026
{
1027
- "$ref" : " #/$defs /TaskStatusUpdateEvent"
1027
+ "$ref" : " #/definitions /TaskStatusUpdateEvent"
1028
1028
},
1029
1029
{
1030
- "$ref" : " #/$defs /TaskArtifactUpdateEvent"
1030
+ "$ref" : " #/definitions /TaskArtifactUpdateEvent"
1031
1031
}
1032
1032
]
1033
1033
},
1034
1034
"error" : {
1035
- "$ref" : " #/$defs /JSONRPCError"
1035
+ "$ref" : " #/definitions /JSONRPCError"
1036
1036
}
1037
1037
},
1038
1038
"title" : " SendTaskStreamingResponse" ,
1064
1064
"type" : " string"
1065
1065
},
1066
1066
"params" : {
1067
- "$ref" : " #/$defs /TaskPushNotificationConfig"
1067
+ "$ref" : " #/definitions /TaskPushNotificationConfig"
1068
1068
}
1069
1069
},
1070
1070
"required" : [
1094
1094
"title" : " Id"
1095
1095
},
1096
1096
"result" : {
1097
- "$ref" : " #/$defs /TaskPushNotificationConfig"
1097
+ "$ref" : " #/definitions /TaskPushNotificationConfig"
1098
1098
},
1099
1099
"error" : {
1100
- "$ref" : " #/$defs /JSONRPCError"
1100
+ "$ref" : " #/definitions /JSONRPCError"
1101
1101
}
1102
1102
},
1103
1103
"title" : " SetTaskPushNotificationResponse" ,
1114
1114
"title" : " Sessionid"
1115
1115
},
1116
1116
"status" : {
1117
- "$ref" : " #/$defs /TaskStatus"
1117
+ "$ref" : " #/definitions /TaskStatus"
1118
1118
},
1119
1119
"artifacts" : {
1120
1120
"items" : {
1121
- "$ref" : " #/$defs /Artifact"
1121
+ "$ref" : " #/definitions /Artifact"
1122
1122
},
1123
1123
"type" : " array" ,
1124
1124
"title" : " Artifacts"
1125
1125
},
1126
1126
"history" : {
1127
1127
"items" : {
1128
- "$ref" : " #/$defs /Message"
1128
+ "$ref" : " #/definitions /Message"
1129
1129
},
1130
1130
"type" : " array" ,
1131
1131
"title" : " History"
1150
1150
"type" : " string"
1151
1151
},
1152
1152
"pushNotificationConfig" : {
1153
- "$ref" : " #/$defs /PushNotificationConfig"
1153
+ "$ref" : " #/definitions /PushNotificationConfig"
1154
1154
}
1155
1155
},
1156
1156
"required" : [
1277
1277
"type" : " string"
1278
1278
},
1279
1279
"message" : {
1280
- "$ref" : " #/$defs /Message"
1280
+ "$ref" : " #/definitions /Message"
1281
1281
},
1282
1282
"pushNotification" : {
1283
- "$ref" : " #/$defs /PushNotificationConfig"
1283
+ "$ref" : " #/definitions /PushNotificationConfig"
1284
1284
},
1285
1285
"historyLength" : {
1286
1286
"type" : " integer" ,
1316
1316
"TaskStatus" : {
1317
1317
"properties" : {
1318
1318
"state" : {
1319
- "$ref" : " #/$defs /TaskState"
1319
+ "$ref" : " #/definitions /TaskState"
1320
1320
},
1321
1321
"message" : {
1322
- "$ref" : " #/$defs /Message"
1322
+ "$ref" : " #/definitions /Message"
1323
1323
},
1324
1324
"timestamp" : {
1325
1325
"format" : " date-time" ,
1359
1359
"type" : " string"
1360
1360
},
1361
1361
"params" : {
1362
- "$ref" : " #/$defs /TaskQueryParams"
1362
+ "$ref" : " #/definitions /TaskQueryParams"
1363
1363
}
1364
1364
},
1365
1365
"required" : [
1376
1376
"type" : " string"
1377
1377
},
1378
1378
"status" : {
1379
- "$ref" : " #/$defs /TaskStatus"
1379
+ "$ref" : " #/definitions /TaskStatus"
1380
1380
},
1381
1381
"final" : {
1382
1382
"default" : false ,
1403
1403
"type" : " string"
1404
1404
},
1405
1405
"artifact" : {
1406
- "$ref" : " #/$defs /Artifact"
1406
+ "$ref" : " #/definitions /Artifact"
1407
1407
},
1408
1408
"metadata" : {
1409
1409
"additionalProperties" : {},
1483
1483
"A2ARequest" : {
1484
1484
"oneOf" : [
1485
1485
{
1486
- "$ref" : " #/$defs /SendTaskRequest"
1486
+ "$ref" : " #/definitions /SendTaskRequest"
1487
1487
},
1488
1488
{
1489
- "$ref" : " #/$defs /GetTaskRequest"
1489
+ "$ref" : " #/definitions /GetTaskRequest"
1490
1490
},
1491
1491
{
1492
- "$ref" : " #/$defs /CancelTaskRequest"
1492
+ "$ref" : " #/definitions /CancelTaskRequest"
1493
1493
},
1494
1494
{
1495
- "$ref" : " #/$defs /SetTaskPushNotificationRequest"
1495
+ "$ref" : " #/definitions /SetTaskPushNotificationRequest"
1496
1496
},
1497
1497
{
1498
- "$ref" : " #/$defs /GetTaskPushNotificationRequest"
1498
+ "$ref" : " #/definitions /GetTaskPushNotificationRequest"
1499
1499
},
1500
1500
{
1501
- "$ref" : " #/$defs /TaskResubscriptionRequest"
1501
+ "$ref" : " #/definitions /TaskResubscriptionRequest"
1502
1502
}
1503
1503
],
1504
1504
"title" : " A2ARequest"
1505
1505
}
1506
1506
}
1507
- }
1507
+ }
0 commit comments