{
  "i18n": {
    "de": {
      "entityName": "Applikation",
      "navigationTitle": "Applikationen",
      "labelID": "Identifier",
      "labelEstabl": "Erstellt am",
      "labelEdit": "Zuletzt editiert am",
      "labelName": "Name",
      "labelWork": "Arbeitsstand",
      "labelClientConfig": "Client-Konfiguration",
      "labelTree": "Themenbaum",
      "labelLayerConfig": "Layer-Konfiguration",
      "labelToolConfig": "Werkzeug Konfiguration",
      "labelUserPermissions": "Nutzerberechtigungen",
      "titleId": "ID",
      "titleName": "Name",
      "titleEdit": "Zuletzt editiert am",
      "titleLink": "Link zur Applikation",
      "toolTipLink": "Öffne Applikation"
    },
    "en": {
      "entityName": "Application",
      "navigationTitle": "Application",
      "labelID": "Identifier",
      "labelEstabl": "Created at",
      "labelEdit": "Last edited on",
      "labelName": "Name",
      "labelWork": "Status of work",
      "labelClientConfig": "Client configuration",
      "labelTree": "Layertree",
      "labelLayerConfig": "Layer configuration",
      "labelToolConfig": "Configure Tools",
      "labelUserPermissions": "User permissions",
      "titleId": "ID",
      "titleName": "Name",
      "titleEdit": "Last edited on",
      "titleLink": "Link to application",
      "toolTipLink": "Open application"
    }
  },
  "endpoint": "/applications",
  "entityType": "application",
  "entityName": "#i18n.entityName",
  "navigationTitle": "#i18n.navigationTitle",
  "subTitle": "",
  "formConfig": {
    "name": "application",
    "fields": [
      {
        "dataType": "number",
        "dataField": "id",
        "label": "#i18n.labelID",
        "readOnly": "true"
      },
      {
        "dataField": "created",
        "dataType": "date",
        "readOnly": "true",
        "component": "DateField",
        "label": "#i18n.labelEstabl",
        "fieldProps": {
          "dateFormat": "DD.MM.YYYY HH:mm"
        }
      },
      {
        "dataField": "modified",
        "dataType": "date",
        "readOnly": "true",
        "label": "#i18n.labelEdit",
        "component": "DateField",
        "fieldProps": {
          "dateFormat": "DD.MM.YYYY HH:mm"
        }
      },
      {
        "component": "Input",
        "dataField": "name",
        "label": "#i18n.labelName",
        "required": "true"
      },
      {
        "component": "Switch",
        "dataField": "stateOnly",
        "label": "#i18n.labelWork",
        "readOnly": "true"
      },
      {
        "component": "JSONEditor",
        "dataField": "clientConfig",
        "label": "#i18n.labelClientConfig",
        "fieldProps": {}
      },
      {
        "component": "JSONEditor",
        "dataField": "layerTree",
        "label": "#i18n.labelTree",
        "fieldProps": {}
      },
      {
        "component": "JSONEditor",
        "dataField": "layerConfig",
        "label": "#i18n.labelLayerConfig",
        "fieldProps": {}
      },
      {
        "component": "JSONEditor",
        "dataField": "toolConfig",
        "label": "#i18n.labelToolConfig",
        "fieldProps": {}
      },
      {
        "component": "UserPermissionGrid",
        "label": "#i18n.labelUserPermissions",
        "fieldProps": {}
      }
    ]
  },
  "tableConfig": {
    "columnDefinition": [
      {
        "title": "#i18n.titleId",
        "dataIndex": "id",
        "sortConfig": {
          "isSortable": true,
          "defaultSortOrder": "descend"
        }
      },
      {
        "title": "#i18n.titleName",
        "dataIndex": "name",
        "key": "name",
        "sortConfig": {
          "isSortable": false
        },
        "filterConfig": {
          "isFilterable": true
        }
      },
      {
        "title": "#i18n.titleEdit",
        "dataIndex": "modified",
        "key": "modified",
        "sortConfig": {
          "isSortable": true
        },
        "cellRenderComponentName": "DateCell"
      },
      {
        "title": "#i18n.titleLink",
        "dataIndex": "id",
        "key": "link",
        "cellRenderComponentName": "LinkCell",
        "cellRenderComponentProps": {
          "title": "#i18n.toolTipLink",
          "template": "/client?applicationId={}"
        }
      }
    ]
  }
}
