{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "collections": [
        "health.hats.provider.grant",
        "health.hats.fhir.consent",
        "health.hats.fhir.encounter",
        "health.hats.fhir.task",
        "health.hats.institution.sharingGrant",
        "health.hats.audit.breakGlass",
        "health.hats.fhir.auditEvent",
        "health.hats.fhir.provenance",
        "health.hats.fhir.documentReference"
      ],
      "description": "The access ledger, one per protection level: requests and their answers, delegations, stays' ends, answers to asks, break-glass claims, the passes the patient's managing app approved, reads, and legal disclosure records. Anyone may write their own account of what they did; the patient and their delegates in force may read. The patient's managing app decides each access from it; the coordinator never reads it.",
      "key": "any",
      "name": "Access ledger",
      "type": "space"
    }
  },
  "id": "health.hats.audit.log",
  "lexicon": 1
}
