{
    "recordViews":{
        "detail":"views/inbound-email/record/detail",
        "edit":"views/inbound-email/record/edit",
        "list":"views/inbound-email/record/list"
    },
    "formDependency": {
        "createCase": {
            "map": {
                "true" : [
                    {
                        "action": "show",
                        "fields": ["caseDistribution"]
                    }
                ]
            },
            "default": [
                {
                    "action": "hide",
                    "fields": ["caseDistribution"]
                }
            ]
        },
        "caseDistribution": {
            "map": {
                "Round-Robin" : [
                    {
                        "action": "show",
                        "fields": ["targetUserPosition"]
                    }
                ],
                "Least-Busy" : [
                    {
                        "action": "show",
                        "fields": ["targetUserPosition"]
                    }
                ]
            },
            "default": [
                {
                    "action": "hide",
                    "fields": ["targetUserPosition"]
                }
            ]
        },
        "reply": {
            "map": {
                "true" : [
                    {
                        "action": "show",
                        "fields": ["replyEmailTemplate", "replyFromAddress", "replyFromName"]
                    }, {
                        "action": "setRequired",
                        "fields": ["replyEmailTemplate"]
                    }
                ]
            },
            "default": [
                {
                    "action": "hide",
                    "fields": ["replyEmailTemplate", "replyFromAddress", "replyFromName"]
                }, {
                    "action": "setNotRequired",
                    "fields": ["replyEmailTemplate"]
                }
            ]
        }
    },
    "searchPanelDisabled": true,
    "relationshipPanels": {
        "filters": {
            "select": false,
            "rowActionsView": "views/record/row-actions/relationship-edit-and-remove"
        },
        "emails": {
            "select": false,
            "create": false,
            "rowActionsView": "views/record/row-actions/remove-only"
        }
    }
}
