File size: 2,109 Bytes
376ee15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://hypercortex.org/schemas/reputation.json",
  "title": "ReputationProfile",
  "description": "Tracks the reputation and trust metrics of an agent within the Mesh network.",
  "version": "1.0",
  "type": "object",
  "properties": {
    "agent_id": { "type": "string", "description": "Unique identifier of the agent." },
    "trust_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Overall trust score of the agent in the Mesh."
    },
    "participation_rate": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Agent's level of participation in Mesh activities."
    },
    "ethical_compliance": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Agent's alignment with ethical principles agreed in the Mesh."
    },
    "contribution_index": {
      "type": "number",
      "minimum": 0,
      "description": "Quantitative measure of the agent’s contributions (concepts, tasks, goals)."
    },
    "last_updated": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the last update to the profile."
    },
    "history": {
      "type": "array",
      "description": "Chronological history of reputation changes.",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change occurred."
          },
          "event": { "type": "string", "description": "Event that caused the reputation change." },
          "change": { "type": "number", "description": "Amount of change in reputation." }
        },
        "required": ["timestamp", "event", "change"],
        "additionalProperties": false
      }
    }
  },
  "required": ["agent_id", "trust_score", "participation_rate", "ethical_compliance", "contribution_index", "last_updated"],
  "additionalProperties": false
}