{
  "name": "Test-Scenario-PDF-Campaign",
  "creator": "Contextal",
  "description": "This is a test scenario for Contextal Platform Tutorial, see https://platform.contextal.com/tutorial/intro",
  "local_query": "object_type == \"PDF\" &&\n  @has_child(\n    object_type == \"Text\"\n    && @has_symbol(\"OCR\")\n    && @match_object_meta($natural_language_sentiment.compound < -0.5)\n  )",
  "context": {
    "global_query": "MATCHES: >1;\nTIME_WINDOW: 1 hour;\nobject_type == \"PDF\" &&\n  @has_descendant(\n    object_type == \"Text\"\n    && @match_object_meta($natural_language_sentiment.compound < -0.5)\n  )"
  },
  "action": "ALERT"
}
