{
  "identifier": "DELETE",
  "controlType" : "SECTION",
  "conditionals": {
    "show": "{{actionConfiguration.formData.command === 'DELETE'}}"
  },
  "children": [
    {
      "controlType": "SECTION",
      "label": "Select Collection to Query",
      "children": [
        {
          "label": "Collection",
          "configProperty": "actionConfiguration.formData.collection",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "evaluationSubstitutionType": "TEMPLATE"
        }
      ]
    },
    {
      "controlType": "SECTION",
      "label": "Query",
      "description" : "Optional",
      "children": [
        {
          "label": "Query",
          "configProperty": "actionConfiguration.formData.delete.query",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "inputType": "JSON",
          "evaluationSubstitutionType": "TEMPLATE",
          "placeholderText" : "{rating : {$gte : 9}}"
        },
        {
          "label": "Limit",
          "configProperty": "actionConfiguration.formData.delete.limit",
          "controlType": "DROP_DOWN",
          "initialValue": "SINGLE",
          "options": [
            {
              "label": "Single Document",
              "value": "SINGLE"
            },
            {
              "label": "All Matching Documents",
              "value": "ALL"
            }
          ]
        }
      ]
    }
  ]
}