{
  "$schema": "https://json-schema.org/draft-07/schema",
  "$id": "https://docs.elimi.africa/contracts/events/user.deleted.v1.json",
  "title": "user.deleted data",
  "description": "data payload for user.deleted. Emitted by Orchestrator after POST /auth/delete-account deactivates the login. CAP anonymizes PII and inactivates memberships; do not hard-delete applications or wallet history.",
  "type": "object",
  "additionalProperties": false,
  "required": ["userId"],
  "properties": {
    "userId": {
      "type": "string",
      "description": "Orchestrator User.id (ULID)"
    }
  }
}
