{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.youareaccountable.com/schemas/notes.deleted.json",
  "title": "NotesDeleted",
  "description": "A note is deleted.",
  "type": "object",
  "required": [
    "event_type",
    "data"
  ],
  "properties": {
    "event_type": {
      "const": "notes.deleted"
    },
    "data": {
      "type": "object",
      "required": [
        "note_id"
      ],
      "properties": {
        "note_id": {
          "type": "string",
          "description": "The ID of the deleted note."
        }
      }
    }
  },
  "examples": [
    {
      "event_type": "notes.deleted",
      "data": {
        "note_id": "665f1c2ab7e4d90012a3f4c4"
      }
    }
  ]
}
