{
  "portal_type_source": "Applications",
  "portal_type_title": "application",
  "portal_type_fields": "application_fieldlist",
  "class_list": "",
  "form": true,
  "id": "application_add",
  "children": [
    {
      "type": "p",
      "direct": {"className": "ui-content-element translate responsive"},
      "attributes":{"data-i18n":"pages.submit.submission_info"},
      "logic":{"text":"Adding an application to officeJS only requires 1 URL and 1 click. Please read the specifications for applications before submitting your own app. Only applications that meet the specifications will be published."}
    }, {
      "generate": "widget",
      "type": "form",
      "class_list": "responsive",
      "property_dict": {
        "editable": true
      },
      "children": [{
        "generate": "widget",
        "type": "controlgroup",
        "class_list": "center",
        "property_dict": {
          "direction": "horizontal"
        },
        "children": [
          {"type": "input", "direct": {"value": "Reset", "className": "action translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global.action_list.reset"}},
          {"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]global.action_list.submit", "data-theme": "slapos-black"}}
        ]
      }],
      "layout": [
        {
          "position": "center",
          "fieldlist": [
            {"title": "application_title"},
            {"title": "application_url"}
          ]
        },{
          "position": "center",
          "fieldlist": [
            {"title": "application_description"}
          ]
        }, {
          "position": "left",
          "fieldlist": [
            {"title": "application_toc_accept"}
          ]
        }
      ]
    }
  ]
}