{
 "options": {
  "culture": "en",
  "lang": "py",
  "defaultViewMode": "{{file_dialog_view}}",
  "autoload": true,
  "showFullPath": false,
  "dialog_type": "{{data.dialog_type}}",
  "show_hidden_files": {% if show_hidden_files %}true{% else %}false{% endif%},
  "fileRoot": "{{data.fileroot}}",
  "capabilities": [{% for i in data.capabilities %}{% if loop.index != 1 %}, {% endif %}"{{i}}"{% endfor %}],
  "allowed_file_types": [{% for i in data.supported_types %}{% if loop.index != 1 %}, {% endif %}"{{i}}"{% endfor %}],
  "platform_type": "{{ data.platform_type }}",
  "show_volumes": {% if data.show_volumes %}true{% else %}false{% endif %},
  "homedir": "{{ data.homedir }}"
 },
 "security": {
  "uploadPolicy": "{{ data.security.uploadPolicy }}",
  "uploadRestrictions": [{% for i in data.security.uploadRestrictions %}{% if loop.index != 1 %}, {% endif %}"{{i}}"{% endfor %}]
 },
 "upload": {
  "multiple": "{{ data.upload.multiple }}",
  "number": 20,
  "fileSizeLimit": "{{ data.upload.fileSizeLimit }}",
  "imagesOnly": false
 }
}
