{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.ilert.com/schemas/AlertSourceTemplateElement",
  "title": "AlertSourceTemplateElement",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "TEXT",
        "VAR",
        "RAW"
      ]
    },
    "val": {
      "type": "string"
    },
    "func": {
      "type": "string"
    },
    "args": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AlertSourceTemplateElementArg"
      }
    }
  }
}