test_default_scenario.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "schema_version": 1,
  3. "name": "default-scenario",
  4. "description": "This scenario has a few agents to get you started. Feel free to change them or delete them as you see fit!",
  5. "source_url": false,
  6. "guid": "ee4299225e6531c401a8bbbce0771ce4",
  7. "tag_fg_color": "#ffffff",
  8. "tag_bg_color": "#5bc0de",
  9. "exported_at": "2016-04-03T18:24:42Z",
  10. "agents": [
  11. {
  12. "type": "Agents::TriggerAgent",
  13. "name": "Rain Notifier",
  14. "disabled": false,
  15. "guid": "361ee2e955d4726b52c8b044d4f75e25",
  16. "options": {
  17. "expected_receive_period_in_days": "2",
  18. "rules": [
  19. {
  20. "type": "regex",
  21. "value": "rain|storm",
  22. "path": "conditions"
  23. }
  24. ],
  25. "message": "Just so you know, it looks like '{{conditions}}' tomorrow in {{location}}"
  26. },
  27. "keep_events_for": 0,
  28. "propagate_immediately": false
  29. },
  30. {
  31. "type": "Agents::EmailDigestAgent",
  32. "name": "Morning Digest",
  33. "disabled": false,
  34. "guid": "b34eaee75d8dc67843c3bd257c213852",
  35. "options": {
  36. "subject": "Your Morning Digest",
  37. "expected_receive_period_in_days": "30"
  38. },
  39. "schedule": "6am",
  40. "propagate_immediately": false
  41. },
  42. {
  43. "type": "Agents::WeatherAgent",
  44. "name": "SF Weather Agent",
  45. "disabled": false,
  46. "guid": "bdae6dfdf9d01a123ddd513e695fd466",
  47. "options": {
  48. "location": "42.3601,-71.0589",
  49. "api_key": "put-your-key-here"
  50. },
  51. "schedule": "10pm",
  52. "keep_events_for": 0
  53. }
  54. ],
  55. "links": [
  56. {
  57. "source": 2,
  58. "receiver": 0
  59. },
  60. {
  61. "source": 0,
  62. "receiver": 1
  63. }
  64. ],
  65. "control_links": [
  66. ]
  67. }