{
    "view":"views/dashlets/abstract/record-list",
    "aclScope": "Lead",
    "entityType": "Lead",
    "options": {
        "fields": {
            "title": {
                "type": "varchar",
                "required": true
            },
            "autorefreshInterval": {
                "type": "enumFloat",
                "options": [0, 0.5, 1, 2, 5, 10]
            },
            "displayRecords": {
                "type": "int",
                "min": 1,
                "max": 20
            },
            "expandedLayout": {
                "type": "base",
                "view": "views/dashlets/fields/records/expanded-layout"
            }
        },
        "defaults": {
            "orderBy": "createdAt",
            "order": "desc",
            "displayRecords": 5,
            "populateAssignedUser": true,
            "expandedLayout": {
                "rows": [
                    [
                        {
                            "name": "name",
                            "link": true
                        },
                        {
                            "name": "addressCity"
                        }
                    ],
                    [
                        {
                            "name": "status"
                        },
                        {
                            "name": "source"
                        }
                    ]
                ]
            },
            "searchData": {
                "bool": {
                    "onlyMy": true
                },
                "primary": "actual"
            }
        },
        "layout": [
            {
                "rows": [
                    [
                        {"name": "title"}
                    ],
                    [
                        {"name": "displayRecords"},
                        {"name": "autorefreshInterval"}
                    ],
                    [
                        {"name": "expandedLayout"},
                        false
                    ]
                ]
            }
        ]
    }
}
