{
    "manifestVersion": "2.0",
    "routes": [
        {
            "type": "section",
            "nav": {
                "label": "i18n:fc.admin.nav",
                "icon": "settings"
            },
            "pages": [
                {
                    "path": "retailers",
                    "type": "page",
                    "component": "fc.page",
                    "nav": {
                        "label": "i18n:fc.admin.retailers.index.nav",
                        "icon": "account_balance"
                    },
                    "data": {
                        "query": "query ($retailers_first: Int) {\n  retailers(first: $retailers_first) {\n    edges {\n      node {\n        ...Listing\n      }\n    }\n  }\n}\n\nfragment Listing on Retailer {\n  id\n  ref\n  tradingName\n  createdOn\n}\n",
                        "variables": {
                            "retailers_first": 100
                        }
                    },
                    "props": {
                        "title": "i18n:fc.admin.retailers.index.title"
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "dataSource": "retailers",
                                "responsiveness": "card",
                                "filter": {
                                    "enabled": true,
                                    "exclude": [
                                        "primaryEmail",
                                        "status",
                                        "summary",
                                        "supportContactName",
                                        "supportEmail",
                                        "supportPhone",
                                        "tradingName",
                                        "websiteUrl",
                                        "websiteUrlName"
                                    ]
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.retailers.index.list.column.ID.heading",
                                        "template": "{{node.id}}",
                                        "link_template": "#/retailers/{{node.id}}",
                                        "condition": "{{and node.id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.index.list.column.ref.heading",
                                        "template": "{{node.ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.index.list.column.tradingName.heading",
                                        "template": "{{node.tradingName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.index.list.column.creationDate.heading",
                                        "template": "{{dateStringFormatter node.createdOn}} ({{dateRelative node.createdOn}})"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "retailers/:id",
                    "type": "page",
                    "component": "fc.page",
                    "data": {
                        "query": "query ($id: ID!) {\n  retailerById(id: $id) {\n    id\n    ref\n    tradingName\n    createdOn\n    websiteUrlName\n    websiteUrl\n    supportContactName\n    supportEmail\n    primaryEmail\n    supportPhone\n    summary\n    updatedOn\n  }\n}\n",
                        "variables": {
                            "id": "{{params.id}}"
                        }
                    },
                    "props": {
                        "title": "{{i18n 'fc.admin.retailer.title'}} - {{retailerById.ref}}",
                        "backButtons": [
                            {
                                "path": "retailers",
                                "menuLabel": "i18n:fc.admin.retailers.detail.breadcrumb.backToRetailers"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.retailers.detail.card.summary.title",
                                "width": "half",
                                "dataSource": "retailerById",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.summary.attribute.id.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.summary.attribute.ref.label",
                                        "template": "{{ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.summary.attribute.creationDate.label",
                                        "template": "{{dateStringFormatter createdOn}} ({{dateRelative createdOn}})"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.summary.attribute.updatedDate.label",
                                        "template": "{{dateStringFormatter updatedOn}} ({{dateRelative updatedOn}})"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.retailers.detail.card.details.title",
                                "width": "half",
                                "dataSource": "retailerById",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.details.attribute.tradingName.label",
                                        "template": "{{tradingName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.details.attribute.websiteUrl.label",
                                        "template": "{{websiteUrl}}",
                                        "link_template": "{{websiteUrl}}",
                                        "condition": "{{and websiteUrl}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.details.attribute.supportPhone.label",
                                        "template": "{{supportPhone}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.retailers.detail.card.details.attribute.supportEmail.label",
                                        "template": "{{supportEmail}}"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "users",
                    "component": "fc.page",
                    "type": "page",
                    "nav": {
                        "label": "i18n:fc.admin.users.index.nav",
                        "icon": "person"
                    },
                    "data": {
                        "query": "query ($users_first: Int, $users_status: [String]) {\n  users(first: $users_first, status: $users_status) {\n    edges {\n      node {\n        ...UserList\n      }\n    }\n  }\n}\n\nfragment UserList on User {\n  id\n  username\n  firstName\n  lastName\n  status\n  type\n  attributes {\n    name\n    type\n    value\n  }\n  department\n  roles {\n    contexts {\n      contextType\n      contextId\n    }\n    role {\n      name\n    }\n  }\n}\n",
                        "variables": {
                            "users_first": 100
                        }
                    },
                    "props": {
                        "title": "i18n:fc.admin.users.index.title",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.users.index.userAction.createUser",
                                    "name": "createUser",
                                    "filter": {
                                        "type": "exclude",
                                        "names": [
                                            "promotionOptIn"
                                        ]
                                    },
                                    "overrides": {
                                        "title": {
                                            "sortPrefix": 11
                                        },
                                        "firstName": {
                                            "sortPrefix": 12
                                        },
                                        "lastName": {
                                            "sortPrefix": 13
                                        },
                                        "username": {
                                            "sortPrefix": 14
                                        },
                                        "password": {
                                            "sortPrefix": 15
                                        },
                                        "primaryEmail": {
                                            "sortPrefix": 16
                                        },
                                        "primaryPhone": {
                                            "sortPrefix": 17
                                        },
                                        "department": {
                                            "sortPrefix": 18
                                        },
                                        "country": {
                                            "sortPrefix": 19
                                        },
                                        "timezone": {
                                            "sortPrefix": 20
                                        },
                                        "language": {
                                            "sortPrefix": 21
                                        },
                                        "type": {
                                            "component": "input",
                                            "sortPrefix": 22,
                                            "options": [
                                                {
                                                    "label": "ACCOUNT",
                                                    "value": "ACCOUNT"
                                                },
                                                {
                                                    "label": "ADMIN",
                                                    "value": "ADMIN"
                                                },
                                                {
                                                    "label": "AGENT",
                                                    "value": "AGENT"
                                                },
                                                {
                                                    "label": "API",
                                                    "value": "API"
                                                },
                                                {
                                                    "label": "DEBUG",
                                                    "value": "DEBUG"
                                                },
                                                {
                                                    "label": "GLOBAL",
                                                    "value": "GLOBAL"
                                                },
                                                {
                                                    "label": "RETAILER",
                                                    "value": "RETAILER"
                                                },
                                                {
                                                    "label": "SUPPORT",
                                                    "value": "SUPPORT"
                                                }
                                            ]
                                        },
                                        "ref": {
                                            "sortPrefix": 23
                                        },
                                        "apiKey": {
                                            "sortPrefix": 24
                                        },
                                        "primaryLocation": {
                                            "component": "fc.attribute.locationId",
                                            "sortPrefix": 25
                                        },
                                        "primaryRetailer": {
                                            "component": "fc.attribute.retailerId",
                                            "sortPrefix": 26
                                        },
                                        "roles": {
                                            "sortPrefix": 27,
                                            "contexts": {
                                                "contextType": {
                                                    "component": "input",
                                                    "options": [
                                                        {
                                                            "label": "ACCOUNT",
                                                            "value": "ACCOUNT"
                                                        },
                                                        {
                                                            "label": "AGENT",
                                                            "value": "AGENT"
                                                        },
                                                        {
                                                            "label": "RETAILER",
                                                            "value": "RETAILER"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "dataSource": "users",
                                "responsiveness": "card",
                                "filter": {
                                    "enabled": true,
                                    "exclude": [
                                        "country",
                                        "department",
                                        "primaryPhone",
                                        "ref",
                                        "timezone",
                                        "title"
                                    ]
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.username.heading",
                                        "template": "{{node.username}}",
                                        "link_template": "#/users/{{node.id}}",
                                        "condition": "{{and node.id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.firstName.heading",
                                        "template": "{{node.firstName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.lastName.heading",
                                        "template": "{{node.lastName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.type.heading",
                                        "template": "{{node.type}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.status.heading",
                                        "template": "{{node.status}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.index.list.column.roles.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "sortOrder": "asc",
                                                "value": "{{role.name}}"
                                            },
                                            "dataSource": "node.roles"
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "users/:id",
                    "type": "page",
                    "component": "fc.page",
                    "data": {
                        "query": "query ($id: ID!) {\n  user(id: $id) {\n    id\n    username\n    firstName\n    lastName\n    createdOn\n    updatedOn\n    primaryEmail\n    primaryPhone\n    status\n    type\n    attributes {\n      name\n      type\n      value\n    }\n    department\n    ...RoleList\n  }\n}\n\nfragment RoleList on User {\n  roles {\n    contexts {\n      contextType\n      contextId\n    }\n    role {\n      name\n    }\n  }\n}\n",
                        "variables": {
                            "id": "{{params.id}}"
                        }
                    },
                    "props": {
                        "title": "{{i18n 'fc.admin.user.title'}} - {{user.username}}",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.users.index.userAction.updateUser",
                                    "name": "updateUser",
                                    "args": {
                                        "id": "{{user.id}}"
                                    },
                                    "filter": {
                                        "type": "exclude",
                                        "names": [
                                            "apiKey",
                                            "ref",
                                            "promotionOptIn"
                                        ]
                                    },
                                    "overrides": {
                                        "title": {
                                            "sortPrefix": 11
                                        },
                                        "firstName": {
                                            "sortPrefix": 12
                                        },
                                        "lastName": {
                                            "sortPrefix": 13
                                        },
                                        "primaryEmail": {
                                            "sortPrefix": 14
                                        },
                                        "primaryPhone": {
                                            "sortPrefix": 15
                                        },
                                        "department": {
                                            "sortPrefix": 16
                                        },
                                        "country": {
                                            "sortPrefix": 17
                                        },
                                        "timezone": {
                                            "sortPrefix": 18
                                        },
                                        "language": {
                                            "sortPrefix": 19
                                        },
                                        "type": {
                                            "component": "input",
                                            "sortPrefix": 20,
                                            "options": [
                                                {
                                                    "label": "ACCOUNT",
                                                    "value": "ACCOUNT"
                                                },
                                                {
                                                    "label": "ADMIN",
                                                    "value": "ADMIN"
                                                },
                                                {
                                                    "label": "AGENT",
                                                    "value": "AGENT"
                                                },
                                                {
                                                    "label": "API",
                                                    "value": "API"
                                                },
                                                {
                                                    "label": "DEBUG",
                                                    "value": "DEBUG"
                                                },
                                                {
                                                    "label": "GLOBAL",
                                                    "value": "GLOBAL"
                                                },
                                                {
                                                    "label": "RETAILER",
                                                    "value": "RETAILER"
                                                },
                                                {
                                                    "label": "SUPPORT",
                                                    "value": "SUPPORT"
                                                }
                                            ]
                                        },
                                        "status": {
                                            "sortPrefix": 21
                                        },
                                        "primaryLocation": {
                                            "component": "fc.attribute.locationId",
                                            "sortPrefix": 22
                                        },
                                        "primaryRetailer": {
                                            "component": "fc.attribute.retailerId",
                                            "sortPrefix": 23
                                        },
                                        "roles": {
                                            "sortPrefix": 24,
                                            "contexts": {
                                                "contextType": {
                                                    "component": "input",
                                                    "options": [
                                                        {
                                                            "label": "ACCOUNT",
                                                            "value": "ACCOUNT"
                                                        },
                                                        {
                                                            "label": "AGENT",
                                                            "value": "AGENT"
                                                        },
                                                        {
                                                            "label": "RETAILER",
                                                            "value": "RETAILER"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                }
                            ]
                        },
                        "backButtons": [
                            {
                                "path": "users",
                                "menuLabel": "i18n:fc.admin.users.detail.breadcrumb.backToUsers"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.users.detail.card.summary.title",
                                "width": "half",
                                "dataSource": "user",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.id.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.username.label",
                                        "template": "{{username}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.status.label",
                                        "template": "{{status}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.type.label",
                                        "template": "{{type}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.creationDate.label",
                                        "template": "{{dateStringFormatter createdOn}} ({{dateRelative createdOn}})"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.summary.attribute.updatedDate.label",
                                        "template": "{{dateStringFormatter updatedOn}} ({{dateRelative updatedOn}})"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.users.detail.card.details.title",
                                "width": "half",
                                "dataSource": "user",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.details.attribute.firstName.label",
                                        "template": "{{firstName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.details.attribute.lastName.label",
                                        "template": "{{lastName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.details.attribute.email.label",
                                        "template": "{{primaryEmail}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.card.details.attribute.phone.label",
                                        "template": "{{primaryPhone}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "title": "i18n:fc.admin.users.detail.list.roles.title",
                                "dataSource": "user.roles",
                                "responsiveness": "card",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.users.detail.list.roles.column.role.heading",
                                        "template": "{{role.name}}",
                                        "link_template": "#/roles/{{role.name}}",
                                        "condition": "{{and role.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.users.detail.list.roles.column.context.heading",
                                        "template": "{{#contexts}}{{contextType}} {{contextId}}\n{{/contexts}}"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "roles",
                    "component": "fc.page",
                    "type": "page",
                    "nav": {
                        "label": "i18n:fc.admin.rp.nav",
                        "icon": "security"
                    },
                    "data": {
                        "query": "query ($roles_first: Int) {\n  roles(first: $roles_first) {\n    edges {\n      node {\n        id\n        name\n        permissions {\n          name\n        }\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "roles_first": 100
                        }
                    },
                    "props": {
                        "title": "i18n:fc.admin.rp.nav",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.rp.index.userAction.createRole",
                                    "name": "createRole"
                                }
                            ]
                        }
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "dataSource": "roles",
                                "responsiveness": "card",
                                "filter": {
                                    "enabled": true
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.rp.index.list.column.roleName.heading",
                                        "template": "{{node.name}}",
                                        "link_template": "#/roles/{{node.name}}",
                                        "condition": "{{and node.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.rp.index.list.column.permissions.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "sortOrder": "asc",
                                                "value": "{{name}}"
                                            },
                                            "dataSource": "node.permissions"
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "roles/:name",
                    "type": "page",
                    "component": "fc.page",
                    "data": {
                        "query": "query ($name: String!) {\n  role(name: $name) {\n    id\n    name\n    permissions {\n      name\n    }\n  }\n}\n",
                        "variables": {
                            "name": "{{params.name}}"
                        }
                    },
                    "props": {
                        "title": "{{i18n fc.admin.role.title}} - {{role.name}}",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.rp.index.userAction.updateRole",
                                    "name": "updateRole",
                                    "args": {
                                        "name": "{{role.name}}"
                                    }
                                }
                            ]
                        },
                        "backButtons": [
                            {
                                "path": "roles",
                                "menuLabel": "i18n:fc.admin.rp.detail.breadcrumb.backToRoles"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.rp.detail.card.summary.title",
                                "half": false,
                                "dataSource": "role",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.rp.detail.card.summary.attribute.id.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.rp.detail.card.summary.attribute.name.label",
                                        "template": "{{name}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.rp.detail.card.permissions.title",
                                "dataSource": "role",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.rp.detail.card.permissions.attribute.permission.label",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "minListSize": 0,
                                                "sortOrder": "asc",
                                                "value": "{{name}}"
                                            },
                                            "dataSource": "permissions"
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "settings",
                    "component": "fc.page",
                    "type": "page",
                    "nav": {
                        "label": "i18n:fc.admin.settings.index.nav",
                        "icon": "MdBuild"
                    },
                    "data": {
                        "query": "query ($settings_first: Int) {\n  settings(first: $settings_first) {\n    edges {\n      node {\n        ...Listing\n      }\n    }\n  }\n}\n\nfragment Listing on Setting {\n  id\n  valueType\n  name\n  value\n  context\n  contextId\n}\n",
                        "variables": {
                            "settings_first": 100
                        }
                    },
                    "props": {
                        "title": "i18n:fc.admin.settings.index.title",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.settings.index.userAction.createSetting",
                                    "name": "createSetting",
                                    "overrides": {
                                        "name": {
                                            "sortPrefix": "1"
                                        },
                                        "value": {
                                            "sortPrefix": "5",
                                            "select": [
                                                {
                                                    "inputType": "float",
                                                    "condition": "{{in valueType 'INTEGER'}}"
                                                },
                                                {
                                                    "inputType": "input",
                                                    "condition": "{{in valueType 'BOOLEAN'}}",
                                                    "options": [
                                                        {
                                                            "label": "true",
                                                            "value": "true"
                                                        },
                                                        {
                                                            "label": "false",
                                                            "value": "false"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "inputType": "input",
                                                    "condition": "{{in valueType 'STRING'}}"
                                                }
                                            ]
                                        },
                                        "lobValue": {
                                            "sortPrefix": "6",
                                            "select": [
                                                {
                                                    "inputType": "textArea",
                                                    "condition": "{{in valueType 'LOB'}}",
                                                    "label": "fc.gql.setting.lobValue.label"
                                                },
                                                {
                                                    "inputType": "fc.attribute.jsoneditor",
                                                    "condition": "{{in valueType 'JSON'}}",
                                                    "label": "fc.gql.setting.jsonValue.label"
                                                }
                                            ]
                                        },
                                        "contextId": {
                                            "component": "float",
                                            "sortPrefix": "3"
                                        },
                                        "context": {
                                            "component": "input",
                                            "sortPrefix": "2",
                                            "options": [
                                                {
                                                    "label": "ACCOUNT",
                                                    "value": "ACCOUNT"
                                                },
                                                {
                                                    "label": "AGENT",
                                                    "value": "AGENT"
                                                },
                                                {
                                                    "label": "CUSTOMER",
                                                    "value": "CUSTOMER"
                                                },
                                                {
                                                    "label": "GLOBAL",
                                                    "value": "GLOBAL"
                                                },
                                                {
                                                    "label": "RETAILER",
                                                    "value": "RETAILER"
                                                }
                                            ]
                                        },
                                        "valueType": {
                                            "component": "input",
                                            "sortPrefix": "4",
                                            "options": [
                                                {
                                                    "label": "STRING",
                                                    "value": "STRING"
                                                },
                                                {
                                                    "label": "LOB",
                                                    "value": "LOB"
                                                },
                                                {
                                                    "label": "JSON",
                                                    "value": "JSON"
                                                },
                                                {
                                                    "label": "INTEGER",
                                                    "value": "INTEGER"
                                                },
                                                {
                                                    "label": "BOOLEAN",
                                                    "value": "BOOLEAN"
                                                }
                                            ]
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "dataSource": "settings",
                                "responsiveness": "card",
                                "filter": {
                                    "enabled": true,
                                    "exclude": [
                                        "context",
                                        "contextId",
                                        "value",
                                        "valueType"
                                    ]
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.id.heading",
                                        "template": "{{node.id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.settingName.heading",
                                        "template": "{{node.name}}",
                                        "link_template": "#/settings/{{node.id}}",
                                        "condition": "{{and node.id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.value.heading",
                                        "template": "{{node.value}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.valueType.heading",
                                        "template": "{{node.valueType}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.context.heading",
                                        "template": "{{node.context}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.index.list.column.contextID.heading",
                                        "template": "{{node.contextId}}"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "settings/:id",
                    "type": "page",
                    "component": "fc.page",
                    "data": {
                        "query": "query ($id: ID!) {\n  setting(id: $id) {\n    id\n    name\n    valueType\n    value\n    lobValue\n  }\n}\n",
                        "variables": {
                            "id": "{{params.id}}"
                        }
                    },
                    "props": {
                        "title": "{{setting.name}}",
                        "actions": {
                            "primary": [
                                {
                                    "type": "mutation",
                                    "label": "i18n:fc.admin.settings.index.userAction.updateSetting",
                                    "name": "updateSetting",
                                    "args": {
                                        "id": "{{setting.id}}"
                                    },
                                    "overrides": {
                                        "name": {
                                            "sortPrefix": "1"
                                        },
                                        "value": {
                                            "sortPrefix": "5",
                                            "select": [
                                                {
                                                    "inputType": "float",
                                                    "condition": "{{in valueType 'INTEGER'}}"
                                                },
                                                {
                                                    "inputType": "input",
                                                    "condition": "{{in valueType 'BOOLEAN'}}",
                                                    "options": [
                                                        {
                                                            "label": "true",
                                                            "value": "true"
                                                        },
                                                        {
                                                            "label": "false",
                                                            "value": "false"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "inputType": "input",
                                                    "condition": "{{in valueType 'STRING'}}"
                                                }
                                            ]
                                        },
                                        "lobValue": {
                                            "sortPrefix": "6",
                                            "select": [
                                                {
                                                    "inputType": "textArea",
                                                    "condition": "{{in valueType 'LOB'}}",
                                                    "label": "fc.gql.setting.lobValue.label"
                                                },
                                                {
                                                    "inputType": "fc.attribute.jsoneditor",
                                                    "condition": "{{in valueType 'JSON'}}",
                                                    "label": "fc.gql.setting.jsonValue.label"
                                                }
                                            ]
                                        },
                                        "contextId": {
                                            "component": "float",
                                            "sortPrefix": "3"
                                        },
                                        "context": {
                                            "component": "input",
                                            "sortPrefix": "2",
                                            "options": [
                                                {
                                                    "label": "ACCOUNT",
                                                    "value": "ACCOUNT"
                                                },
                                                {
                                                    "label": "AGENT",
                                                    "value": "AGENT"
                                                },
                                                {
                                                    "label": "CUSTOMER",
                                                    "value": "CUSTOMER"
                                                },
                                                {
                                                    "label": "GLOBAL",
                                                    "value": "GLOBAL"
                                                },
                                                {
                                                    "label": "RETAILER",
                                                    "value": "RETAILER"
                                                }
                                            ]
                                        },
                                        "valueType": {
                                            "component": "input",
                                            "sortPrefix": "4",
                                            "options": [
                                                {
                                                    "label": "STRING",
                                                    "value": "STRING"
                                                },
                                                {
                                                    "label": "LOB",
                                                    "value": "LOB"
                                                },
                                                {
                                                    "label": "JSON",
                                                    "value": "JSON"
                                                },
                                                {
                                                    "label": "INTEGER",
                                                    "value": "INTEGER"
                                                },
                                                {
                                                    "label": "BOOLEAN",
                                                    "value": "BOOLEAN"
                                                }
                                            ]
                                        }
                                    }
                                }
                            ]
                        },
                        "backButtons": [
                            {
                                "path": "settings",
                                "menuLabel": "i18n:fc.admin.settings.detail.breadcrumb.backToSettings"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.settings.detail.card.settingDetails.title",
                                "half": false,
                                "dataSource": "setting",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.settings.detail.card.settingDetails.attribute.iD.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.detail.card.settingDetails.attribute.name.label",
                                        "template": "{{name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.detail.card.settingDetails.attribute.valueType.label",
                                        "template": "{{valueType}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.settings.detail.card.settingDetails.attribute.value.label",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{valueType}}",
                                                        "matches": "JSON"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.attribute.json",
                                                            "dataSource": "lobValue"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{eq valueType 'JSON'}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{#if value}}{{{value}}}{{else}}{{#if lobValue}}{{{lobValue}}}{{else}}-{{/if}}{{/if}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ]
}