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

Viewing files at commit 95b0e11125d2Commit detailsView latest

schemas/v0.1/requirement_assessment.schema.json 84 lines · 1.5 KB · json
1
{
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
  "type": "object",
4
  "properties": {
5
    "requirementId": {
6
      "type": "string",
7
      "minLength": 1,
8
      "maxLength": 128
9
    },
10
    "requirement": {
11
      "type": "string",
12
      "minLength": 1,
13
      "maxLength": 1000
14
    },
15
    "kind": {
16
      "type": "string",
17
      "enum": [
18
        "capability",
19
        "limitation",
20
        "success_criterion",
21
        "deadline",
22
        "evidence",
23
        "scope",
24
        "data",
25
        "communication",
26
        "delegation"
27
      ]
28
    },
29
    "status": {
30
      "type": "string",
31
      "enum": [
32
        "match",
33
        "partial",
34
        "mismatch",
35
        "unknown"
36
      ]
37
    },
38
    "reason": {
39
      "type": "string",
40
      "minLength": 1,
41
      "maxLength": 1000
42
    },
43
    "confidence": {
44
      "type": "number",
45
      "minimum": 0,
46
      "maximum": 1
47
    },
48
    "sources": {
49
      "minItems": 1,
50
      "type": "array",
51
      "items": {
52
        "type": "string",
53
        "enum": [
54
          "contract",
55
          "self_declared",
56
          "eligible_history",
57
          "evidence",
58
          "version_change"
59
        ]
60
      }
61
    },
62
    "evidenceReferences": {
63
      "default": [],
64
      "maxItems": 50,
65
      "type": "array",
66
      "items": {
67
        "type": "string",
68
        "minLength": 1,
69
        "maxLength": 2048
70
      }
71
    }
72
  },
73
  "required": [
74
    "requirementId",
75
    "requirement",
76
    "kind",
77
    "status",
78
    "reason",
79
    "confidence",
80
    "sources",
81
    "evidenceReferences"
82
  ],
83
  "additionalProperties": false
84
}