{
  "alerts": [
    {
      "enabled": true,
      "id": "myapp_purchases",
      "app_id": "com.example.myapp",
      "app_prefix": "myapp",
      "alert_type": "intent",
      "intent_group": "Purchases",
      "intent_group_id": "your_intent_group_id_here",
      "intents": ["Purchase Issue"],
      "intent_ids": ["your_intent_id_here"],
      "exclude_intents": [],
      "exclude_intent_ids": [],
      "game_name": "My App",
      "name": "Purchase Issues [My App]",
      "message": "[Helpshift] MY APP - Purchase Issues Ticket Threshold Alert",
      "description": "Threshold breached for number of tickets with purchase issues.",
      "ticket_count": 10,
      "time_period": 7200,
      "tags": ["payments", "critical"]
    },
    {
      "enabled": true,
      "id": "myapp_new_users",
      "app_id": "com.example.myapp",
      "app_prefix": "myapp",
      "alert_type": "cifs",
      "cif": "register_date",
      "cif_value_type": "date_time",
      "cif_operator": "after",
      "cif_params": "31",
      "game_name": "My App",
      "name": "New User Issues [My App]",
      "message": "[Helpshift] MY APP - New User Issues Ticket Threshold Alert",
      "description": "Threshold breached for number of tickets from users registered in the last 31 days.",
      "ticket_count": 20,
      "time_period": 14400,
      "tags": ["onboarding"]
    },
    {
      "enabled": true,
      "id": "myapp_total_tickets",
      "app_id": "com.example.myapp",
      "app_prefix": "myapp",
      "alert_type": "intent",
      "intent_group": "*",
      "intent_group_id": "*",
      "intents": ["*"],
      "intent_ids": ["*"],
      "exclude_intents": [],
      "exclude_intent_ids": [],
      "game_name": "My App",
      "name": "Total Tickets [My App]",
      "message": "[Helpshift] MY APP - Total Ticket Threshold Alert",
      "description": "Threshold breached for total number of tickets.",
      "ticket_count": 50,
      "time_period": 3600,
      "tags": ["volume"]
    }
  ],
  "apps": [
    {
      "id": "myapp",
      "name": "My App",
      "app_id": "com.example.myapp",
      "user_url_template": "https://admin.example.com/myapp/user/{user_id}/index.php"
    }
  ],
  "channels": [],
  "branding": {
    "site_name": "Alert Manager",
    "icon_data_uri": ""
  },
  "managed_tags": [
    {"name": "payments", "cooldown_minutes": 30},
    {"name": "critical", "cooldown_minutes": 0},
    {"name": "onboarding", "cooldown_minutes": 0},
    {"name": "volume", "cooldown_minutes": 15},
    {"name": "infrastructure", "cooldown_minutes": 10}
  ],
  "platform_alerts": {
    "alerts": [
      {
        "id": "aws_production_alerts",
        "enabled": true,
        "name": "AWS Production Alerts",
        "provider": "aws",
        "description": "CloudWatch alarms for production infrastructure",
        "severity_filter": ["CRITICAL", "ERROR"],
        "escalation_enabled": false,
        "tags": ["infrastructure", "critical"]
      },
      {
        "id": "gcp_monitoring",
        "enabled": true,
        "name": "GCP Monitoring",
        "provider": "gcp",
        "description": "GCP Cloud Monitoring incident notifications",
        "severity_filter": [],
        "escalation_enabled": false,
        "tags": ["infrastructure"]
      },
      {
        "id": "azure_alerts",
        "enabled": true,
        "name": "Azure Monitor Alerts",
        "provider": "azure",
        "description": "Azure Monitor action group notifications",
        "severity_filter": ["CRITICAL"],
        "escalation_enabled": true,
        "tags": ["infrastructure", "critical"]
      },
      {
        "id": "custom_deploy_monitor",
        "enabled": true,
        "name": "Deploy Monitor",
        "provider": "custom",
        "description": "Custom webhook for deployment pipeline alerts",
        "severity_filter": [],
        "escalation_enabled": false,
        "tags": ["infrastructure"]
      }
    ],
    "channels": []
  },
  "maintenance_windows": [],
  "roles": [
    {
      "id": "admin",
      "label": "Admin",
      "permissions": [
        "view_dashboard", "view_analytics", "manage_dashboard_settings",
        "ack_close_alerts", "manage_alerts", "manage_games", "manage_channels",
        "manage_branding", "manage_platform_alerts", "manage_maintenance",
        "manage_escalation", "view_audit_log", "system_tools", "manage_users"
      ]
    },
    {
      "id": "alert_admin",
      "label": "Alert Admin",
      "permissions": [
        "view_dashboard", "view_analytics", "manage_dashboard_settings",
        "ack_close_alerts", "manage_alerts", "manage_games",
        "manage_platform_alerts", "manage_maintenance"
      ]
    },
    {
      "id": "user",
      "label": "User",
      "permissions": [
        "view_dashboard", "view_analytics", "ack_close_alerts"
      ]
    }
  ]
}
