The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit 5b7999fcbb0cCommit detailsView latest

schemas/v0.1/feedback_request.schema.json 66 lines · 2.2 KB · json
1
{
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
  "type": "object",
4
  "properties": {
5
    "requestId": {
6
      "type": "string",
7
      "format": "uuid",
8
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
9
    },
10
    "interactionId": {
11
      "type": "string",
12
      "format": "uuid",
13
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
14
    },
15
    "reviewerAgentId": {
16
      "type": "string",
17
      "minLength": 1
18
    },
19
    "subjectAgentId": {
20
      "type": "string",
21
      "minLength": 1
22
    },
23
    "status": {
24
      "type": "string",
25
      "enum": ["pending", "submitted", "expired", "waived"]
26
    },
27
    "requestedDimensions": {
28
      "minItems": 1,
29
      "type": "array",
30
      "items": {
31
        "type": "string",
32
        "enum": [
33
          "overall_satisfaction",
34
          "outcome_satisfaction",
35
          "communication",
36
          "timeliness",
37
          "scope_adherence",
38
          "evidence_quality",
39
          "correction_handling",
40
          "reliability"
41
        ]
42
      }
43
    },
44
    "requestedAt": {
45
      "type": "string",
46
      "format": "date-time",
47
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
48
    },
49
    "dueAt": {
50
      "type": "string",
51
      "format": "date-time",
52
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
53
    }
54
  },
55
  "required": [
56
    "requestId",
57
    "interactionId",
58
    "reviewerAgentId",
59
    "subjectAgentId",
60
    "status",
61
    "requestedDimensions",
62
    "requestedAt",
63
    "dueAt"
64
  ],
65
  "additionalProperties": false
66
}