{
    "filters": [
        {
            "name": "PermissionSetsFiltering",
            "description": "Remove obsolete references from profiles and permission sets",
            "folders": [
                "profiles",
                "permissionsets"
            ],
            "file_extensions": [
                "profile",
                "permissionset",
                "xml"
            ],
            "exclude_list": [
                {
                    "type_tag": "fieldPermissions",
                    "identifier_tag": "field",
                    "values": {{ CustomField }}
                },
                {
                    "type_tag": "objectPermissions",
                    "identifier_tag": "object",
                    "values": {{ CustomObject }}
                },
                {
                    "type_tag": "tabSettings",
                    "identifier_tag": "tab",
                    "values": {{ CustomTab }}
                },
                {
                    "type_tag": "userPermissions",
                    "identifier_tag": "name",
                    "values": {{ CustomPermissions }}
                }
            ]
        },
        {
            "name": "Dashboards filtering",
            "description": "Remove user references from dashboards",
            "folders": [
                "dashboards"
            ],
            "file_extensions": [
                "xml"
            ],
            "exclude_list": [
                {
                    "type_tag": "folderShares",
                    "identifier_tag": "sharedToType",
                    "values": {{ HardcodedUser }}
                }
            ]
        }
    ]
}