{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Scenario",
  "title": "Scenario",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Scenario identifier"
    },
    "projectKey": {
      "type": "string",
      "description": "Project key"
    },
    "name": {
      "type": "string",
      "description": "Scenario name"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the scenario is active"
    },
    "type": {
      "type": "string",
      "description": "Scenario type"
    },
    "params": {
      "type": "object",
      "description": "Scenario parameters"
    },
    "triggers": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Scenario triggers"
    }
  }
}