{
 "schema": "cain42.l5.authority-bundle.v1",
 "now": 1790577700.6095083,
 "policy": {
  "policy_version": "pol-1"
 },
 "trust": {
  "agent-1": 5
 },
 "revocations": [],
 "presented_action": {
  "capability": "WRITE_DATABASE",
  "resource": "customer_records",
  "operation": "UPDATE",
  "environment": "production",
  "tenant": "tenant-a"
 },
 "objects": [
  {
   "type": "AGENT_IDENTITY",
   "domain": "CAIN42/L5-AGENT-IDENTITY/v1",
   "fields": {
    "agent_id": "agent-1",
    "identity_version": 1,
    "agent_type": "AUTONOMOUS_AGENT",
    "model_family": "demo",
    "model_identifier": "m",
    "model_version": "1",
    "runtime_identifier": "cain-runtime-42",
    "runtime_version": "42",
    "owner_principal": "org-1",
    "organization": "org-1",
    "created_at": 1790577700.6095083,
    "expires_at": 1790581300.6095083,
    "status": "ACTIVE",
    "capabilities": [
     "WRITE_DATABASE"
    ],
    "public_key": "cdalPp0FpXerwDPER5SEiTSiV+c82s1gpx3MfrwYz6c=",
    "key_algorithm": "Ed25519",
    "attestation_reference": "att-1",
    "policy_binding": "pol-1",
    "trust_reference": "t-1",
    "delegation_root": "root-1",
    "issuer": "org-1",
    "issued_at": 1790577700.6095083
   },
   "signature_b64": "G9Ga5tuBfOmQSvYHIzm7Nun61qtAyzELzuHBUjP51K21hOHJyQuEFHFrbc9mAkH/iOzK5BDU/rUeDu3XGQwZAw==",
   "signer_public_key_b64": "cdalPp0FpXerwDPER5SEiTSiV+c82s1gpx3MfrwYz6c="
  },
  {
   "type": "AUTHORITY_GRANT",
   "domain": "CAIN42/L5-AUTHORITY-GRANT/v1",
   "fields": {
    "grant_id": "grant-1",
    "principal_id": "org-1",
    "agent_id": "agent-1",
    "issuer_id": "org-1",
    "parent_grant_id": null,
    "capabilities": {
     "WRITE_DATABASE": {
      "resources": [
       "customer_records"
      ],
      "operations": [
       "UPDATE"
      ],
      "max_records": 100,
      "environment": "production",
      "tenant": "tenant-a"
     }
    },
    "time_start": 1790577690.6095083,
    "time_expiry": 1790581300.6095083,
    "policy_version": "pol-1",
    "trust_floor": 3,
    "revocation_reference": null,
    "signature": ""
   },
   "signature_b64": "l+/Ji00yAzKP8NO/mLB+wZKvFOSPea8CjeLDkjjjBtQCdO8R/+IwE6ezqF50aipdF/OfuHfXe13xqoZKXXJnBw==",
   "signer_public_key_b64": "cdalPp0FpXerwDPER5SEiTSiV+c82s1gpx3MfrwYz6c="
  },
  {
   "type": "AUTHORIZATION_DECISION",
   "domain": "CAIN42/L5-AUTHORIZATION-DECISION/v1",
   "fields": {
    "decision_id": "dec-1",
    "agent_id": "agent-1",
    "requested_capability": "WRITE_DATABASE",
    "resource": "customer_records",
    "decision": "ALLOW",
    "reason_codes": [
     "DECISION_ALLOW"
    ],
    "policy_version": "pol-1",
    "timestamp": 1790577700.6095083,
    "expiry": 1790577730.6095083,
    "action_hash": "8598c709678dec24d8ece05742f37ccb1321864e040288787d256ad60931a60f",
    "resource_hash": "c41a9057e848ca1a7c58279587d4ba4b1e700c1fbdda103403d7b2f729c85ae1",
    "nonce": "n-1",
    "single_use": true,
    "effective_authority": {
     "sources": [
      "grant-1"
     ]
    }
   },
   "signature_b64": "HfUuhkRR+VI13Hbjs5ohgaifrZQH2zHNnefT9Z4OPzf0ugd4hvnWsGZwNA1ksqN3lxYw7qLiEzg1EBM1msaWCQ==",
   "signer_public_key_b64": "cdalPp0FpXerwDPER5SEiTSiV+c82s1gpx3MfrwYz6c="
  }
 ]
}