{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AssignAlertRequest",
  "title": "AssignAlertRequest",
  "type": "object",
  "required": [
    "owner"
  ],
  "properties": {
    "owner": {
      "type": "object",
      "description": "The user to assign the alert to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the user."
        },
        "username": {
          "type": "string",
          "description": "Username (email) of the user."
        }
      }
    },
    "user": {
      "type": "string",
      "description": "Display name of the request owner."
    },
    "source": {
      "type": "string",
      "description": "Source of the assign action."
    },
    "note": {
      "type": "string",
      "description": "Additional note to add with the assignment."
    }
  }
}