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

Viewing files at commit 04c1773999ceCommit detailsView latest

schemas/v0.1/requirement_assessment.schema.json 73 lines · 1.4 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": ["match", "partial", "mismatch", "unknown"]
32
    },
33
    "reason": {
34
      "type": "string",
35
      "minLength": 1,
36
      "maxLength": 1000
37
    },
38
    "confidence": {
39
      "type": "number",
40
      "minimum": 0,
41
      "maximum": 1
42
    },
43
    "sources": {
44
      "minItems": 1,
45
      "type": "array",
46
      "items": {
47
        "type": "string",
48
        "enum": ["contract", "self_declared", "eligible_history", "evidence", "version_change"]
49
      }
50
    },
51
    "evidenceReferences": {
52
      "default": [],
53
      "maxItems": 50,
54
      "type": "array",
55
      "items": {
56
        "type": "string",
57
        "minLength": 1,
58
        "maxLength": 2048
59
      }
60
    }
61
  },
62
  "required": [
63
    "requirementId",
64
    "requirement",
65
    "kind",
66
    "status",
67
    "reason",
68
    "confidence",
69
    "sources",
70
    "evidenceReferences"
71
  ],
72
  "additionalProperties": false
73
}