{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://jambonz.org/schema/verbs/alert",
  "minVersion": "0.9.6",
  "title": "Alert",
  "description": "Sends a 180 Ringing provisional response with an Alert-Info header. Used to trigger a specific ring tone or alert behavior on the caller's device before the call is answered.",
  "type": "object",
  "properties": {
    "verb": {
      "const": "alert"
    },
    "id": {
      "type": "string",
      "description": "An optional unique identifier for this verb instance."
    },
    "message": {
      "type": "string",
      "description": "The value to include in the Alert-Info header.",
      "examples": [
        "info=alert-internal",
        "http://example.com/ringtone.wav"
      ]
    }
  },
  "required": [
    "message"
  ],
  "examples": [
    {
      "verb": "alert",
      "message": "info=alert-internal"
    }
  ]
}
