{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-scenario-list-schema.json",
  "title": "scenario_list",
  "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_list",
  "type": "object",
  "properties": {
    "list_count": {
      "type": "integer",
      "format": "int64",
      "description": "The size of the list"
    },
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/scenario"
      }
    }
  },
  "$defs": {
    "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"
        }
      }
    }
  }
}