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