{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-scenario-schema.json",
  "title": "scenario",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-ivrs-api-openapi.yml#/components/schemas/scenario",
  "type": "object",
  "properties": {
    "scenario_id": {
      "type": "integer",
      "format": "int64",
      "description": "The scenario identifier"
    },
    "ivr_id": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier of the IVR. Use `GET /ivrs` to discover available IVR IDs."
    },
    "name": {
      "type": "string",
      "description": "The name of the scenario"
    },
    "color": {
      "type": "string"
    },
    "scenario_type": {
      "type": "string",
      "enum": [
        "menu",
        "announce",
        "queue",
        "sms",
        "webhook",
        "input"
      ],
      "description": "The type of the scenario"
    },
    "is_default": {
      "type": "boolean"
    }
  }
}