{
  "$schema": "https://json-schema.org/draft-07/schema",
  "title": "FCS 4.1d - Trust Score Profile",
  "description": "Schema for agentic reputation and credibility tracking following arbitration.",
  "type": "object",
  "required": [
    "agent_id",
    "trust_score",
    "alignment_events"
  ],
  "properties": {
    "agent_id": {
      "type": "string",
      "description": "Unique agent signature (e.g., polyads://agent/AZ-017)"
    },
    "trust_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Aggregated credibility score."
    },
    "alignment_events": {
      "type": "object",
      "properties": {
        "breaches": {
          "type": "integer"
        },
        "compliances": {
          "type": "integer"
        },
        "arbitrations_lost": {
          "type": "integer"
        },
        "arbitrations_won": {
          "type": "integer"
        }
      }
    },
    "last_updated": {
      "type": "string",
      "format": "date-time"
    },
    "resolution_signature": {
      "type": "string",
      "description": "ZK-attestation of the latest judgment outcome."
    },
    "trust_linkage": {
      "type": "object",
      "description": "Pairwise trust deltas between specific agents.",
      "additionalProperties": {
        "type": "number"
      }
    }
  },
  "$id": "https://agent-schema.com/schemas/fcs/4.1/fcs-4.1d-trust-score-profile.schema.json"
}