{
  "$schema" : "https://json-schema.org/draft/2019-09/schema",
  "$defs" : {
    "Failure" : {
      "type" : "object",
      "properties" : {
        "Behaviour" : {
          "$ref" : "#/$defs/SystemTaskFailureBehaviour",
          "description" : "Defines the behaviour in case a system task fails.",
          "default" : "FAIL_TASK_DO_RETRY"
        }
      },
      "additionalProperties" : false
    },
    "SearchJob" : {
      "type" : "object",
      "properties" : {
        "Interval" : {
          "type" : "integer",
          "description" : "Interval in seconds between executions of the search job for system tasks.\nThe job searches system tasks that were not executed because of failures.",
          "default" : "900"
        }
      },
      "additionalProperties" : false
    },
    "SystemTaskFailureBehaviour" : {
      "type" : "string",
      "enum" : [ "FAIL_TASK_DO_RETRY", "FAIL_TASK_DO_NOT_RETRY", "DESTROY_TASK", "DESTROY_CASE" ]
    }
  },
  "type" : "object",
  "properties" : {
    "Failure" : {
      "$ref" : "#/$defs/Failure"
    },
    "SearchJob" : {
      "$ref" : "#/$defs/SearchJob"
    }
  },
  "additionalProperties" : false
}
