{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://atlasbiosys.com/downloads/ai-agent-audit-trail-record.schema.json",
  "title": "AI-agent audit-trail record",
  "description": "This record is an assembled review view of one AI-agent action and the entries it led to (human review, signature, applied change). It is not a single stored log entry: record_id, sequence_number, timestamp, entry_written_at and integrity describe the agent's own entry only, and each linked entry is stored and hash-chained separately and listed under linked_entries. The example is a nonclinical (GLP) scenario taken from the companion page. Do not read it as an approved GMP pattern: under the 2025 consultation draft of EU GMP Annex 22 (not adopted), large language models should not be used in critical GMP applications, and a correction to GMP data with a direct impact on data integrity would likely be one. Field meanings and the closest 21 CFR Part 11, EU GMP Annex 11 and ALCOA+ references are in the companion field dictionary (https://atlasbiosys.com/downloads/ai-agent-audit-trail-record-field-dictionary.xlsx). Published by Atlas Bio Systems (atlasbiosys.com), version 1.0, 4 November 2026. Four rules in the schema are design choices, not requirements of any cited text. (1) Human review, with an accepting decision, whenever data changes: no cited regulation requires human review of each change; Annex 11 clause 9 asks for regular review of the audit trail, and clause 6 for an additional check on critical manually entered data. (2) Reason required for modify and delete: Part 11 does not require a reason; Annex 11 clause 9 says it should be documented; 21 CFR 58.130(e) requires it for GLP. The schema applies the strictest of these to every record. (3) Previous value required for modify and delete: one way to show that a change does not obscure earlier information (11.10(e); 58.130(e)); a reference to a preserved prior version would also work. (4) Only a person may sign: follows 21 CFR 11.3(b)(7) and 11.100(a) for Part 11 electronic signatures. It does not stop a system applying cryptographic signatures to log entries for integrity. General guidance, not legal or regulatory advice. This field dictionary does not validate any system and is not an official crosswalk: none of the documents cited prescribes an audit-trail record format, so each mapping is our reading of the closest clause, not a statement that the clause applies to your system or that recording the field satisfies it. Example values are invented placeholders, not taken from any real system, study or organisation. Decisions on GxP scope, record content and validation stay with your quality function. Free to copy, edit and use inside your organization, including in your own system specifications.",
  "type": "object",
  "required": [
    "schema_version",
    "record_id",
    "sequence_number",
    "event_type",
    "timestamp",
    "agent",
    "accountable_person",
    "model",
    "config_version",
    "prompt",
    "input_references",
    "data_accessed",
    "tool_calls",
    "output",
    "outcome",
    "integrity",
    "retention"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0",
      "description": "The version of this schema the record follows."
    },
    "illustrative_example": {
      "type": "boolean",
      "description": "Set to true on example and test records so they are never mistaken for production entries."
    },
    "record_id": {
      "type": "string",
      "minLength": 1,
      "description": "A unique identifier for the agent's own entry, never reused."
    },
    "sequence_number": {
      "type": "integer",
      "minimum": 0,
      "description": "Position of the agent's entry in this log, so a gap or reordering is visible."
    },
    "event_type": {
      "enum": [
        "agent_proposal",
        "agent_read",
        "agent_create",
        "agent_modify",
        "agent_delete",
        "agent_tool_call",
        "agent_action_failed"
      ],
      "description": "What kind of action the agent's own entry records: agent proposal, read, create, modify, delete, other tool call or failed action. Human review, signature and change-applied entries are listed under linked_entries."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
      "description": "When the agent's action happened, with an explicit time zone (UTC 'Z' or an offset such as +01:00), from a synchronised clock. The schema rejects times without a zone and the 'unknown offset' -00:00. RFC 3339 date-time with an explicit time zone: 'Z' for UTC or a numeric offset such as +01:00; -00:00 (unknown offset) is rejected. Turn on format assertion in your validator to reject impossible dates."
    },
    "entry_written_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
      "description": "When the agent's log entry itself was written, if this can differ from the action time."
    },
    "clock_source": {
      "type": "string",
      "minLength": 1,
      "description": "How the system clock is kept correct."
    },
    "agent": {
      "type": "object",
      "description": "The registered identity of the agent, running under its own credentials, not a shared or human account.",
      "required": [
        "agent_id",
        "software_version",
        "permission_set"
      ],
      "properties": {
        "agent_id": {
          "type": "string",
          "minLength": 1
        },
        "credentials": {
          "type": "string",
          "minLength": 1
        },
        "software_version": {
          "type": "string",
          "minLength": 1,
          "description": "The version of the agent software that acted."
        },
        "permission_set": {
          "type": "object",
          "required": [
            "id"
          ],
          "description": "The permission set in force for the agent at the time, and what it allowed. An agent holds no Part 11 electronic-signature rights.",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "allows": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            },
            "signing_rights": {
              "const": false,
              "description": "An agent holds no electronic-signature rights in the Part 11 sense: an electronic signature is executed, adopted or authorised by an individual and is unique to one individual (21 CFR 11.3(b)(7), 11.100(a)). System cryptographic signing of log entries for integrity is separate."
            }
          }
        }
      }
    },
    "accountable_person": {
      "type": "object",
      "required": [
        "name",
        "role"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1
        },
        "role": {
          "type": "string",
          "minLength": 1
        }
      },
      "description": "The named person responsible for the agent's action or the change it led to."
    },
    "system_owner": {
      "type": "object",
      "required": [
        "name",
        "role"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1
        },
        "role": {
          "type": "string",
          "minLength": 1
        }
      },
      "description": "The person accountable for the agent's configuration and permissions (not for the data)."
    },
    "model": {
      "type": "object",
      "description": "The model provider and the exact model identifier, including the dated snapshot or version where the provider offers one.",
      "required": [
        "provider",
        "model_id"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "minLength": 1
        },
        "model_id": {
          "type": "string",
          "minLength": 1
        },
        "snapshot": {
          "type": "string",
          "minLength": 1
        },
        "generation_settings": {
          "type": "object",
          "description": "The settings the model was called with, as far as the platform exposes them."
        }
      }
    },
    "config_version": {
      "type": "string",
      "minLength": 1,
      "description": "The version of the agent's configuration (tools, permissions, routing) in force."
    },
    "prompt": {
      "type": "object",
      "description": "The version of the instructions the agent ran under, with a hash of their exact text.",
      "required": [
        "version",
        "sha256"
      ],
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$",
          "description": "SHA-256 hash, lowercase hex."
        }
      }
    },
    "input_references": {
      "type": "array",
      "minItems": 1,
      "description": "References to what started the action: the task request, who made it where a person did, and any other input passed in.",
      "items": {
        "type": "object",
        "required": [
          "type",
          "id"
        ],
        "properties": {
          "type": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "requested_by": {
            "type": "string",
            "minLength": 1
          }
        }
      }
    },
    "data_accessed": {
      "type": "array",
      "description": "Each dataset or record the agent read or used, with its version, a hash where available and the access mode.",
      "items": {
        "type": "object",
        "required": [
          "id",
          "version",
          "access"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "version": {
            "type": "string",
            "minLength": 1
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "SHA-256 hash, lowercase hex."
          },
          "access": {
            "enum": [
              "read",
              "write",
              "read_write"
            ]
          },
          "role": {
            "type": "string",
            "minLength": 1
          }
        }
      }
    },
    "tool_calls": {
      "type": "array",
      "description": "Each tool or function the agent called, in order, what it acted on, the kind of operation and a hash of the response.",
      "items": {
        "type": "object",
        "required": [
          "seq",
          "tool",
          "operation"
        ],
        "properties": {
          "seq": {
            "type": "integer",
            "minimum": 1
          },
          "tool": {
            "type": "string",
            "minLength": 1
          },
          "target": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "enum": [
              "read",
              "create",
              "modify",
              "delete",
              "propose",
              "other"
            ]
          },
          "response_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "SHA-256 hash, lowercase hex."
          }
        }
      }
    },
    "output": {
      "type": "object",
      "description": "A pointer to the agent's output, stored as produced, with its hash. The log holds the pointer, not necessarily the content.",
      "required": [
        "id",
        "sha256"
      ],
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$",
          "description": "SHA-256 hash, lowercase hex."
        },
        "stored_as": {
          "type": "string",
          "minLength": 1
        }
      }
    },
    "outcome": {
      "type": "object",
      "description": "Whether the action succeeded, failed, was refused or was stopped, with retries. Failed actions should be as visible as successful ones.",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "enum": [
            "success",
            "failure",
            "refused",
            "stopped",
            "pending"
          ]
        },
        "detail": {
          "type": "string",
          "minLength": 1
        },
        "retries": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "record_change": {
      "type": "object",
      "description": "Which record and which field changed, and whether it was a create, modify or delete.",
      "required": [
        "record",
        "location",
        "operation",
        "applied_at",
        "written_by",
        "responsible_individual"
      ],
      "properties": {
        "record": {
          "type": "string",
          "minLength": 1
        },
        "location": {
          "type": "string",
          "minLength": 1
        },
        "operation": {
          "enum": [
            "create",
            "modify",
            "delete"
          ]
        },
        "previous_value": {
          "oneOf": [
            {
              "type": "string",
              "description": "Exactly as recorded, as a string, so trailing zeros and significant figures are kept."
            },
            {
              "type": "object",
              "required": [
                "prior_version_ref"
              ],
              "properties": {
                "prior_version_ref": {
                  "type": "string",
                  "minLength": 1
                }
              }
            }
          ],
          "description": "The value before the change, kept in the trail and not overwritten."
        },
        "new_value": {
          "type": "string",
          "description": "The value after the change, as a string so significant figures are kept, with its unit where it has one."
        },
        "unit": {
          "type": "string",
          "minLength": 1
        },
        "resulting_version": {
          "type": "string",
          "minLength": 1
        },
        "applied_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
          "description": "When the system wrote the change, separately from when the agent proposed it. JSON Schema cannot check that applied_at is later than signed_at."
        },
        "written_by": {
          "type": "string",
          "minLength": 1
        },
        "proposed_by": {
          "type": "string",
          "minLength": 1
        },
        "responsible_individual": {
          "type": "string",
          "minLength": 1
        },
        "approved_by_signature": {
          "type": "string",
          "minLength": 1
        },
        "condition": {
          "type": "string",
          "minLength": 1
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "operation": {
                "enum": [
                  "modify",
                  "delete"
                ]
              }
            }
          },
          "then": {
            "required": [
              "previous_value"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "operation": {
                "enum": [
                  "create",
                  "modify"
                ]
              }
            }
          },
          "then": {
            "required": [
              "new_value"
            ]
          }
        }
      ]
    },
    "reason_for_change": {
      "type": "object",
      "description": "Why the data changed, who flagged it and who confirmed it.",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "minLength": 1
        },
        "flagged_by": {
          "type": "string",
          "minLength": 1
        },
        "confirmed_by": {
          "type": "string",
          "minLength": 1
        }
      }
    },
    "human_review": {
      "type": "object",
      "description": "The named person who reviewed the agent's proposal, their decision and when.",
      "required": [
        "reviewer",
        "decision",
        "timestamp"
      ],
      "properties": {
        "reviewer": {
          "type": "string",
          "minLength": 1
        },
        "role": {
          "type": "string",
          "minLength": 1
        },
        "decision": {
          "enum": [
            "accepted_without_edits",
            "accepted_with_edits",
            "rejected",
            "returned"
          ]
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
          "description": "RFC 3339 date-time with an explicit time zone: 'Z' for UTC or a numeric offset such as +01:00; -00:00 (unknown offset) is rejected. Turn on format assertion in your validator to reject impossible dates."
        }
      }
    },
    "signature": {
      "type": "object",
      "description": "Part 11 electronic signature applied by a person to the changed record.",
      "required": [
        "signature_record_id",
        "signer_type",
        "signer",
        "meaning",
        "linked_record",
        "signed_at"
      ],
      "properties": {
        "signature_record_id": {
          "type": "string",
          "minLength": 1,
          "description": "Identifier of the electronic signature record."
        },
        "signer_type": {
          "const": "person",
          "description": "The named person who signed. The schema rejects a record whose signer_type is not 'person'; it cannot check that the named signer is not the agent, so your system must enforce that against its identity register."
        },
        "signer": {
          "type": "string",
          "minLength": 1
        },
        "meaning": {
          "enum": [
            "review",
            "approval",
            "responsibility",
            "authorship"
          ],
          "description": "What the signature means, with the statement shown to the signer."
        },
        "meaning_statement": {
          "type": "string",
          "minLength": 1
        },
        "linked_record": {
          "type": "string",
          "minLength": 1
        },
        "signed_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
          "description": "RFC 3339 date-time with an explicit time zone: 'Z' for UTC or a numeric offset such as +01:00; -00:00 (unknown offset) is rejected. Turn on format assertion in your validator to reject impossible dates."
        }
      }
    },
    "linked_entries": {
      "type": "array",
      "description": "Pointers to the separately stored entries for the human review, the signature and the applied change, each with its own ID, sequence number and time.",
      "items": {
        "type": "object",
        "required": [
          "record_id",
          "sequence_number",
          "event_type",
          "entry_written_at"
        ],
        "properties": {
          "record_id": {
            "type": "string",
            "minLength": 1
          },
          "sequence_number": {
            "type": "integer",
            "minimum": 0
          },
          "event_type": {
            "enum": [
              "human_review",
              "signature",
              "change_applied",
              "other"
            ]
          },
          "entry_written_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])[Tt]([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?([Zz]|\\+([01]\\d|2[0-3]):[0-5]\\d|-(?!00:00)([01]\\d|2[0-3]):[0-5]\\d)$",
            "description": "RFC 3339 date-time with an explicit time zone: 'Z' for UTC or a numeric offset such as +01:00; -00:00 (unknown offset) is rejected. Turn on format assertion in your validator to reject impossible dates."
          },
          "entry_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "SHA-256 hash, lowercase hex."
          }
        }
      }
    },
    "integrity": {
      "type": "object",
      "description": "A hash linking the agent's entry to the one before it, and where the entry is stored (outside the agent runtime, write-once).",
      "required": [
        "previous_entry_sha256"
      ],
      "properties": {
        "previous_entry_sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$",
          "description": "SHA-256 hash, lowercase hex."
        },
        "storage": {
          "type": "string",
          "minLength": 1
        }
      }
    },
    "retention": {
      "type": "object",
      "description": "How long the entry is kept: at least as long as the longest record the action touched.",
      "required": [
        "retention_class"
      ],
      "properties": {
        "retention_class": {
          "type": "string",
          "minLength": 1
        },
        "rule": {
          "type": "string",
          "minLength": 1
        }
      }
    }
  },
  "patternProperties": {
    "^x-": {
      "description": "Your own extension fields; prefix them with x-."
    }
  },
  "additionalProperties": false,
  "allOf": [
    {
      "if": {
        "properties": {
          "event_type": {
            "enum": [
              "agent_create",
              "agent_modify",
              "agent_delete"
            ]
          }
        },
        "required": [
          "event_type"
        ]
      },
      "then": {
        "required": [
          "record_change"
        ]
      }
    },
    {
      "if": {
        "required": [
          "record_change"
        ]
      },
      "then": {
        "required": [
          "human_review",
          "linked_entries"
        ],
        "properties": {
          "human_review": {
            "properties": {
              "decision": {
                "enum": [
                  "accepted_without_edits",
                  "accepted_with_edits"
                ]
              }
            }
          },
          "linked_entries": {
            "minItems": 1
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "record_change"
        ],
        "properties": {
          "record_change": {
            "properties": {
              "operation": {
                "enum": [
                  "modify",
                  "delete"
                ]
              }
            }
          }
        }
      },
      "then": {
        "required": [
          "reason_for_change"
        ]
      }
    }
  ],
  "examples": [
    {
      "schema_version": "1.0",
      "illustrative_example": true,
      "record_id": "EVT-000123",
      "sequence_number": 4812,
      "event_type": "agent_proposal",
      "timestamp": "2026-03-02T14:07:31Z",
      "entry_written_at": "2026-03-02T14:07:31Z",
      "clock_source": "Server clock synchronised to an external time source",
      "agent": {
        "agent_id": "agent-example-01",
        "credentials": "own credentials (not a shared or human account)",
        "software_version": "2.3.0",
        "permission_set": {
          "id": "ps-4",
          "allows": [
            "read source datasets",
            "propose changes to summary tables"
          ],
          "signing_rights": false
        }
      },
      "accountable_person": {
        "name": "[named study scientist]",
        "role": "Responsible individual for this change"
      },
      "system_owner": {
        "name": "[named person]",
        "role": "Study Data Management; accountable for the agent's configuration and permissions, not for the data"
      },
      "model": {
        "provider": "[provider name]",
        "model_id": "[exact model identifier]",
        "snapshot": "[dated snapshot]",
        "generation_settings": {
          "recorded": true
        }
      },
      "config_version": "cfg-17",
      "prompt": {
        "id": "prompt-set",
        "version": "v12",
        "sha256": "0000000000000000000000000000000000000000000000000000000000000a12"
      },
      "input_references": [
        {
          "type": "task_request",
          "id": "REQ-0457",
          "requested_by": "study data manager"
        }
      ],
      "data_accessed": [
        {
          "id": "DS-0091",
          "version": "3",
          "sha256": "000000000000000000000000000000000000000000000000000000000000d091",
          "access": "read",
          "role": "source dataset (original record)"
        },
        {
          "id": "T-4",
          "version": "2",
          "sha256": "0000000000000000000000000000000000000000000000000000000000007402",
          "access": "read",
          "role": "summary table (derived record)"
        }
      ],
      "tool_calls": [
        {
          "seq": 1,
          "tool": "read_dataset",
          "target": "DS-0091 v3",
          "operation": "read",
          "response_sha256": "00000000000000000000000000000000000000000000000000000000000000c1"
        },
        {
          "seq": 2,
          "tool": "read_table",
          "target": "T-4 v2",
          "operation": "read",
          "response_sha256": "00000000000000000000000000000000000000000000000000000000000000c2"
        },
        {
          "seq": 3,
          "tool": "submit_change_proposal",
          "target": "T-4",
          "operation": "propose",
          "response_sha256": "00000000000000000000000000000000000000000000000000000000000000c3"
        }
      ],
      "output": {
        "id": "OUT-0457",
        "sha256": "0000000000000000000000000000000000000000000000000000000000000457",
        "stored_as": "controlled record, as the model returned it"
      },
      "outcome": {
        "status": "success",
        "detail": "Proposal submitted and awaiting review; no errors",
        "retries": 0
      },
      "record_change": {
        "record": "T-4",
        "location": "row 7, dose-group mean",
        "operation": "modify",
        "previous_value": "41.8",
        "new_value": "42.3",
        "unit": "[unit]",
        "resulting_version": "3",
        "applied_at": "2026-03-02T15:22:14Z",
        "written_by": "study data system (not the agent)",
        "proposed_by": "agent-example-01",
        "responsible_individual": "[named study scientist]",
        "approved_by_signature": "ESIG-0889",
        "condition": "written only after the signed approval; the system binds the signature to the version it writes"
      },
      "reason_for_change": {
        "text": "Transcription error: the table value did not match the mean recalculated from DS-0091 version 3 (42.3) using the same animals and the protocol's calculation rules; the reviewer confirmed that no protocol-defined exclusion or unscheduled death explains the difference.",
        "flagged_by": "agent-example-01",
        "confirmed_by": "[named study scientist]"
      },
      "human_review": {
        "reviewer": "[named study scientist, designated by the study director]",
        "role": "reviewer",
        "decision": "accepted_without_edits",
        "timestamp": "2026-03-02T15:22:10Z"
      },
      "signature": {
        "signature_record_id": "ESIG-0889",
        "signer_type": "person",
        "signer": "[named study scientist]",
        "meaning": "approval",
        "meaning_statement": "I have checked this correction against the source dataset and approve it",
        "linked_record": "T-4 version 3",
        "signed_at": "2026-03-02T15:22:10Z"
      },
      "linked_entries": [
        {
          "record_id": "EVT-000124",
          "sequence_number": 4813,
          "event_type": "human_review",
          "entry_written_at": "2026-03-02T15:22:10Z",
          "entry_sha256": "0000000000000000000000000000000000000000000000000000000000000124"
        },
        {
          "record_id": "EVT-000125",
          "sequence_number": 4814,
          "event_type": "signature",
          "entry_written_at": "2026-03-02T15:22:10Z",
          "entry_sha256": "0000000000000000000000000000000000000000000000000000000000000125"
        },
        {
          "record_id": "EVT-000126",
          "sequence_number": 4815,
          "event_type": "change_applied",
          "entry_written_at": "2026-03-02T15:22:14Z",
          "entry_sha256": "0000000000000000000000000000000000000000000000000000000000000126"
        }
      ],
      "integrity": {
        "previous_entry_sha256": "0000000000000000000000000000000000000000000000000000000000004811",
        "storage": "write-once storage outside the agent runtime, hash-chained"
      },
      "retention": {
        "retention_class": "study record",
        "rule": "the longest of the records the action touched"
      }
    }
  ]
}
