| { | |
| "$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 | |
| } |