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

Viewing files at commit 479efea741d5Commit detailsView latest

schemas/v0.1/behavioural_profile_delta.schema.json 68 lines · 1.9 KB · json
1
{
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
  "type": "object",
4
  "properties": {
5
    "deltaId": {
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
    "agentId": {
16
      "type": "string",
17
      "minLength": 1
18
    },
19
    "agentVersion": {
20
      "type": "string",
21
      "minLength": 1
22
    },
23
    "taskCategory": {
24
      "type": "string",
25
      "minLength": 1
26
    },
27
    "sampleWeight": {
28
      "type": "number",
29
      "minimum": 0,
30
      "maximum": 1
31
    },
32
    "dimensionDeltas": {
33
      "type": "object",
34
      "propertyNames": {
35
        "type": "string",
36
        "minLength": 1,
37
        "maxLength": 128
38
      },
39
      "additionalProperties": {
40
        "type": "number",
41
        "minimum": -1,
42
        "maximum": 1
43
      }
44
    },
45
    "explanation": {
46
      "type": "string",
47
      "minLength": 1,
48
      "maxLength": 2000
49
    },
50
    "appliedAt": {
51
      "type": "string",
52
      "format": "date-time",
53
      "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))$"
54
    }
55
  },
56
  "required": [
57
    "deltaId",
58
    "interactionId",
59
    "agentId",
60
    "agentVersion",
61
    "taskCategory",
62
    "sampleWeight",
63
    "dimensionDeltas",
64
    "explanation",
65
    "appliedAt"
66
  ],
67
  "additionalProperties": false
68
}