{
  "editor": [
    {
      "sectionName": "",
      "id": 1,
      "children": [
        {
          "label": "Action",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value",
          "controlType": "DROP_DOWN",
          "isRequired": true,
          "initialValue": "LIST",
          "options": [
            {
              "label": "List files in bucket",
              "value": "LIST"
            },
            {
              "label": "Create a new file",
              "value": "UPLOAD_FILE_FROM_BODY"
            },
            {
              "label": "Read file",
              "value": "READ_FILE"
            },
            {
              "label": "Delete file",
              "value": "DELETE_FILE"
            }
          ]
        },
        {
          "label": "Bucket Name",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].value",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "isRequired": true,
          "initialValue": ""
        },
        {
          "label": "File Path",
          "configProperty": "actionConfiguration.path",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "initialValue": "",
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "EQUALS",
            "value": "LIST"
          }
        },
        {
          "label": "File Data Type",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].value",
          "controlType": "DROP_DOWN",
          "initialValue": "YES",
          "options": [
            {
              "label": "Base64",
              "value": "YES"
            },
            {
              "label": "Text / Binary",
              "value": "NO"
            }
          ],
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "UPLOAD_FILE_FROM_BODY"
          }
        },
        {
          "label": "Expiry Duration of Signed URL (Minutes)",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].value",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "initialValue": "5",
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "UPLOAD_FILE_FROM_BODY"
          }
        },
        {
          "label": "Content",
          "configProperty": "actionConfiguration.body",
          "controlType": "QUERY_DYNAMIC_TEXT",
          "initialValue": "",
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "UPLOAD_FILE_FROM_BODY"
          }
        },
        {
          "label": "Prefix",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[4].value",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "initialValue": "",
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "LIST"
          }
        },
        {
          "label": "Generate Signed URL",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].value",
          "controlType": "DROP_DOWN",
          "initialValue": "NO",
          "options": [
            {
              "label": "Yes",
              "value": "YES"
            },
            {
              "label": "No",
              "value": "NO"
            }
          ],
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "LIST"
          }
        },
        {
          "label": "Expiry Duration of Signed URL (Minutes)",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].value",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "initialValue": "5",
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[2].value",
            "comparison": "NOT_EQUALS",
            "value": "YES"
          }
        },
        {
          "label": "Generate Un-signed URL Key",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].key",
          "controlType": "INPUT_TEXT",
          "hidden": true,
          "initialValue": "generateUnsignedUrl"
        },
        {
          "label": "Generate Un-signed URL",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].value",
          "controlType": "DROP_DOWN",
          "initialValue": "YES",
          "options": [
            {
              "label": "Yes",
              "value": "YES"
            },
            {
              "label": "No",
              "value": "NO"
            }
          ],
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "LIST"
          }
        },
        {
          "label": "Base64 Encode File - Yes/No",
          "configProperty": "actionConfiguration.pluginSpecifiedTemplates[5].value",
          "controlType": "DROP_DOWN",
          "initialValue": "YES",
          "options": [
            {
              "label": "Yes",
              "value": "YES"
            },
            {
              "label": "No",
              "value": "NO"
            }
          ],
          "hidden": {
            "path": "actionConfiguration.pluginSpecifiedTemplates[0].value",
            "comparison": "NOT_EQUALS",
            "value": "READ_FILE"
          }
        }
      ]
    }
  ]
}
