{
    "manifestVersion": "2.0",
    "settings": [
        {
            "name": "fc.sourcingprofile.list.status.column"
        },
        {
            "name": "fc.sourcingprofile.details.strategy.status.column"
        }
    ],
    "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": "carriers",
                    "type": "page",
                    "component": "fc.page",
                    "nav": {
                        "label": "i18n:fc.admin.carriers.index.nav",
                        "icon": "local_shipping"
                    },
                    "data": {
                        "query": "query ($carriers_first: Int) {\n  carriers(first: $carriers_first) {\n    edges {\n      node {\n        ...Listing\n      }\n    }\n  }\n}\n\nfragment Listing on Carrier {\n  id\n  ref\n  name\n  createdOn\n}\n",
                        "variables": {
                            "carriers_first": 100
                        }
                    },
                    "props": {
                        "title": "i18n:fc.admin.carriers.index.title"
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "dataSource": "carriers",
                                "responsiveness": "card",
                                "filter": {
                                    "enabled": true,
                                    "exclude": [
                                        "status",
                                        "type",
                                        "ref"
                                    ]
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.carriers.index.list.column.ref.heading",
                                        "template": "{{node.ref}}",
                                        "link_template": "#/carriers/{{node.ref}}",
                                        "condition": "{{and node.ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.index.list.column.name.heading",
                                        "template": "{{node.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.index.list.column.creationDate.heading",
                                        "template": "{{dateStringFormatter node.createdOn}} ({{dateRelative node.createdOn}})"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "path": "carriers/:ref",
                    "component": "fc.page",
                    "type": "page",
                    "data": {
                        "query": "query ($ref: String!, $carrierConsignments_first: Int) {\n  carrier(ref: $ref) {\n    id\n    ref\n    type\n    status\n    name\n    createdOn\n    updatedOn\n    ...Consignments\n    ...attributes\n  }\n}\n\nfragment Consignments on Carrier {\n  carrierConsignments(first: $carrierConsignments_first) {\n    edges {\n      node {\n        ref\n        status\n        createdOn\n        consignmentReference\n        id\n        carrierConsignmentArticles {\n          edges {\n            node {\n              article {\n                id\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\nfragment attributes on Carrier {\n  attributes {\n    name\n    type\n    value\n  }\n}\n",
                        "variables": {
                            "ref": "{{params.ref}}",
                            "carrierConsignments_first": 100
                        }
                    },
                    "props": {
                        "title": "{{i18n 'fc.admin.carrier.title'}} - {{carrier.name}}",
                        "backButtons": [
                            {
                                "path": "carriers",
                                "menuLabel": "i18n:fc.admin.carriers.detail.breadcrumb.backToCarriers"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.carriers.detail.card.carrierDetails.title",
                                "width": "half",
                                "dataSource": "carrier",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.ID.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.ref.label",
                                        "template": "{{ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.type.label",
                                        "template": "{{type}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.status.label",
                                        "template": "{{status}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.name_.label",
                                        "template": "{{name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.creationDate.label",
                                        "template": "{{dateStringFormatter createdOn}} ({{dateRelative createdOn}})"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.card.carrierDetails.attribute.updatedDate.label",
                                        "template": "{{dateStringFormatter updatedOn}} ({{dateRelative updatedOn}})"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "title": "i18n:fc.admin.carriers.detail.list.consignments.title",
                                "dataSource": "carrier.carrierConsignments",
                                "responsiveness": "card",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.consignments.column.id.heading",
                                        "template": "{{node.consignmentReference}}",
                                        "link_template": "#/consignment/{{node.carrierConsignmentArticles.edges.0.node.article.id}}/{{node.id}}",
                                        "condition": "{{and node.carrierConsignmentArticles.edges.0.node.article.id node.id}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.consignments.column.status.heading",
                                        "template": "{{node.status}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.consignments.column.creationDate.heading",
                                        "template": "{{dateStringFormatter node.createdOn}} ({{dateRelative node.createdOn}})"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "title": "i18n:fc.admin.carriers.detail.list.attributes.title",
                                "dataSource": "carrier.attributes",
                                "responsiveness": "card",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.attributes.column.name.heading",
                                        "template": "{{name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.attributes.column.type.heading",
                                        "template": "{{type}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.carriers.detail.list.attributes.column.value.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{type}}",
                                                        "matches": "JSON"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.attribute.json",
                                                            "dataSource": "value"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{eq type 'JSON'}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{value}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "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
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "type": "page",
                    "path": "sourcingProfiles",
                    "component": "fc.page",
                    "data": {
                        "query": "query sourcingProfiles {\n  sourcingProfiles(status: \"ACTIVE\") {\n    edges {\n      node {\n        id\n        ref\n        name\n        version\n        updatedOn\n        user {\n          firstName\n          lastName\n        }\n        retailer {\n          id\n          tradingName\n        }\n        defaultVirtualCatalogue {\n          ref\n          name\n        }\n        defaultNetwork {\n          ref\n        }\n        defaultMaxSplit\n        status\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "sourcingProfiles_first": 100
                        }
                    },
                    "nav": {
                        "label": "i18n:fc.admin.sourcingProfiles.index.nav",
                        "icon": "FaMagic"
                    },
                    "props": {
                        "title": "i18n:fc.admin.sourcingProfiles.index.title"
                    },
                    "descendants": [
                        {
                            "component": "fc.list",
                            "props": {
                                "defaultPageSize": 100,
                                "dataSource": "sourcingProfiles",
                                "responsiveness": "card",
                                "row": {
                                    "actions": {
                                        "secondary": [
                                            {
                                                "type": "component",
                                                "component": "fc.sourcing.profile.drawer.button",
                                                "props": {
                                                    "action": "editProfile",
                                                    "label": "i18n:fc.sourcingProfileDrawerButton.edit.label",
                                                    "title": "i18n:fc.sourcingProfileDrawerButton.editProfile.title",
                                                    "style": "Secondary",
                                                    "filter": {
                                                        "type": "exclude",
                                                        "names": [
                                                            "status",
                                                            "ref",
                                                            "retailer",
                                                            "versionComment"
                                                        ]
                                                    },
                                                    "overrides": {
                                                        "name": {
                                                            "sortPrefix": 1
                                                        },
                                                        "description": {
                                                            "sortPrefix": 2,
                                                            "component": "textArea"
                                                        },
                                                        "defaultNetwork": {
                                                            "sortPrefix": 3,
                                                            "component": "fc.field.filterComplex",
                                                            "extensions": {
                                                                "query": "query networks { networks{ edges { node { ref } } } } ",
                                                                "variables": {
                                                                    "networks_first": 100
                                                                },
                                                                "exclude": [
                                                                    "createdOn",
                                                                    "controlGroupRef",
                                                                    "description",
                                                                    "inventoryCatalogueRef",
                                                                    "networkIds",
                                                                    "productCatalogueRef",
                                                                    "retailerRefs",
                                                                    "status",
                                                                    "type",
                                                                    "updatedOn",
                                                                    "workflowRef",
                                                                    "workflowVersion"
                                                                ],
                                                                "mode": "single",
                                                                "searchItemConfig": {
                                                                    "component": "fc.card.product",
                                                                    "props": {
                                                                        "attributes": [
                                                                            {
                                                                                "value": "{{node.ref}}"
                                                                            }
                                                                        ]
                                                                    }
                                                                },
                                                                "chipItemConfig": {
                                                                    "label": "{{node.ref}}",
                                                                    "query": "query networks { networks{ edges { node { ref } } } }",
                                                                    "variables": {
                                                                        "networks_ref": "{{value.ref}}"
                                                                    }
                                                                },
                                                                "onChangeValues": {
                                                                    "value": "node"
                                                                }
                                                            }
                                                        },
                                                        "defaultVirtualCatalogue": {
                                                            "sortPrefix": 4,
                                                            "component": "fc.field.filterComplex",
                                                            "extensions": {
                                                                "query": "query virtualCatalogues{ virtualCatalogues{ edges { node { ref name } } } }",
                                                                "variables": {
                                                                    "virtualCatalogues_first": 100
                                                                },
                                                                "exclude": [
                                                                    "createdOn",
                                                                    "controlGroupRef",
                                                                    "description",
                                                                    "inventoryCatalogueRef",
                                                                    "networkIds",
                                                                    "productCatalogueRef",
                                                                    "retailerRefs",
                                                                    "status",
                                                                    "type",
                                                                    "updatedOn",
                                                                    "workflowRef",
                                                                    "workflowVersion"
                                                                ],
                                                                "mode": "single",
                                                                "searchItemConfig": {
                                                                    "component": "fc.card.product",
                                                                    "props": {
                                                                        "attributes": [
                                                                            {
                                                                                "value": "{{node.name}}"
                                                                            },
                                                                            {
                                                                                "value": "{{node.ref}}"
                                                                            }
                                                                        ]
                                                                    }
                                                                },
                                                                "chipItemConfig": {
                                                                    "label": "{{node.name}}",
                                                                    "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                                    "variables": {
                                                                        "virtualCatalogues_ref": "{{value.ref}}"
                                                                    }
                                                                },
                                                                "onChangeValues": {
                                                                    "value": "node",
                                                                    "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                                },
                                                                "overrides": {
                                                                    "name": {
                                                                        "sortPrefix": 1
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "defaultMaxSplit": {
                                                            "sortPrefix": 5
                                                        },
                                                        "sourcingStrategies": {
                                                            "extensions": {
                                                                "itemConfig": {
                                                                    "props": {
                                                                        "hideLabels": true,
                                                                        "attributes": [
                                                                            {
                                                                                "value": "{{bold name}}"
                                                                            },
                                                                            {
                                                                                "type": "component",
                                                                                "options": {
                                                                                    "component": "fc.attribute.column",
                                                                                    "props": {
                                                                                        "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                                        "value": "{{status}}"
                                                                                    }
                                                                                }
                                                                            }
                                                                        ]
                                                                    }
                                                                }
                                                            },
                                                            "sortPrefix": 6
                                                        },
                                                        "sourcingFallbackStrategies": {
                                                            "extensions": {
                                                                "itemConfig": {
                                                                    "props": {
                                                                        "hideLabels": true,
                                                                        "attributes": [
                                                                            {
                                                                                "value": "{{bold name}}"
                                                                            },
                                                                            {
                                                                                "type": "component",
                                                                                "options": {
                                                                                    "component": "fc.attribute.column",
                                                                                    "props": {
                                                                                        "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                                        "value": "{{status}}"
                                                                                    }
                                                                                }
                                                                            }
                                                                        ]
                                                                    }
                                                                }
                                                            },
                                                            "sortPrefix": 7
                                                        }
                                                    },
                                                    "confirmModal": {
                                                        "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveProfile.title",
                                                        "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                                    }
                                                }
                                            },
                                            {
                                                "type": "component",
                                                "component": "fc.drawer.button",
                                                "props": {
                                                    "label": "i18n:fc.admin.sourcingProfiles.profile.drawer.viewHistory.label",
                                                    "style": "Secondary",
                                                    "title": "i18n:fc.admin.sourcingProfiles.profile.drawer.profileHistory.title",
                                                    "width": "small",
                                                    "query": "query sourcingProfiles($ref: [String!]) {\n  active: sourcingProfiles(ref: $ref, status: \"ACTIVE\") {\n    edges {\n      node {\n        ref\n        status\n        updatedOn\n        user {\n          firstName\n          lastName\n        }\n        version\n        versionComment\n      }\n    }\n  }\n  sourcingProfile: sourcingProfiles(ref: $ref) {\n    edges {\n      node {\n        ref\n        status\n        updatedOn\n        user {\n          firstName\n          lastName\n        }\n        version\n        versionComment\n      }\n    }\n  }\n}\n",
                                                    "variables": {
                                                        "ref": "{{node.ref}}"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.card.attribute",
                                                            "props": {
                                                                "dataSource": "active.edges.0",
                                                                "title": "i18n:fc.admin.sourcingProfiles.profile.activeVersion.card.title",
                                                                "hideLabels": true,
                                                                "link": "#/sourcingProfiles/{{node.ref}}/{{node.version}}",
                                                                "attributes": [
                                                                    {
                                                                        "value": "{{placeholderText node.version}}"
                                                                    },
                                                                    {
                                                                        "type": "component",
                                                                        "options": {
                                                                            "component": "fc.attribute.column",
                                                                            "props": {
                                                                                "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                                                "value": "{{node.status}}"
                                                                            }
                                                                        }
                                                                    },
                                                                    {
                                                                        "value": "{{dateFormat node.updatedOn}} ({{dateRelative node.updatedOn}})"
                                                                    },
                                                                    {
                                                                        "value": "{{node.user.firstName}} {{node.user.lastName}}"
                                                                    },
                                                                    {
                                                                        "value": "{{node.versionComment}}"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        {
                                                            "component": "fc.list",
                                                            "props": {
                                                                "dataSource": "sourcingProfile",
                                                                "title": "i18n:fc.admin.sourcingProfiles.profile.allVersions.list.title",
                                                                "hideLabels": true,
                                                                "responsiveness": "forcecard",
                                                                "rowLink": "#/sourcingProfiles/{{node.ref}}/{{node.version}}",
                                                                "filter": {
                                                                    "enabled": true,
                                                                    "exclude": [
                                                                        "createdOn",
                                                                        "defaultMaxSplit",
                                                                        "description",
                                                                        "name",
                                                                        "updatedOn",
                                                                        "version",
                                                                        "versionComment"
                                                                    ]
                                                                },
                                                                "attributes": [
                                                                    {
                                                                        "value": "{{placeholderText node.version}}"
                                                                    },
                                                                    {
                                                                        "type": "component",
                                                                        "options": {
                                                                            "component": "fc.attribute.column",
                                                                            "props": {
                                                                                "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                                                "value": "{{status}}"
                                                                            },
                                                                            "dataSource": "node"
                                                                        }
                                                                    },
                                                                    {
                                                                        "value": "{{dateFormat node.updatedOn}} ({{dateRelative node.updatedOn}})"
                                                                    },
                                                                    {
                                                                        "value": "{{node.user.firstName}} {{node.user.lastName}}"
                                                                    },
                                                                    {
                                                                        "value": "{{node.versionComment}}"
                                                                    }
                                                                ]
                                                            }
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.profile.title",
                                        "value": "{{node.name}}",
                                        "link": "#/sourcingProfiles/{{node.ref}}/{{node.version}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.version.title",
                                        "value": "{{node.version}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.lastUpdated.title",
                                        "value": "{{dateStringFormatter node.updatedOn}} ({{dateRelative node.updatedOn}})"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.lastUpdatedBy.title",
                                        "value": "{{node.user.firstName}} {{node.user.lastName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.retailer.title",
                                        "value": "{{node.retailer.tradingName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.defaultVirtualCatalogue.title",
                                        "value": "{{node.defaultVirtualCatalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.defaultNetwork.title",
                                        "value": "{{node.defaultNetwork.ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.defaultMaxSplit.title",
                                        "value": "{{node.defaultMaxSplit}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.index.list.attribute.status.title",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                "value": "{{status}}"
                                            },
                                            "dataSource": "node"
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "type": "page",
                    "path": "sourcingProfiles/:ref/:version",
                    "component": "fc.page",
                    "data": {
                        "query": "query sourcingProfile($ref: String!, $version: Int) {\n  sourcingProfile(ref: $ref, version: $version) {\n    ref\n    name\n    description\n    defaultVirtualCatalogue {\n      ref\n      name\n    }\n    defaultNetwork {\n      ref\n    }\n    defaultMaxSplit\n    status\n    version\n    versionComment\n    updatedOn\n    retailer {\n      id\n      tradingName\n    }\n    user {\n      firstName\n      lastName\n    }\n    sourcingStrategies {\n      id\n      priority\n      name\n      description\n      status\n      ref\n      virtualCatalogue {\n        ref\n        name\n      }\n      network {\n        ref\n      }\n      maxSplit\n      sourcingConditions {\n        type\n        params\n      }\n      sourcingCriteria {\n        type\n        params\n      }\n    }\n    sourcingFallbackStrategies {\n      id\n      priority\n      name\n      description\n      status\n      ref\n      virtualCatalogue {\n        ref\n        name\n      }\n      network {\n        ref\n      }\n      maxSplit\n      sourcingConditions {\n        type\n        params\n      }\n      sourcingCriteria {\n        type\n        params\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "ref": "{{params.ref}}",
                            "version": "{{params.version}}"
                        }
                    },
                    "props": {
                        "title": "{{sourcingProfile.name}}",
                        "actions": {
                            "primary": [
                                {
                                    "type": "component",
                                    "component": "fc.page.section",
                                    "descendants": [
                                        {
                                            "component": "fc.conditional",
                                            "props": {
                                                "value": "{{sourcingProfile.status}}",
                                                "matches": [
                                                    "DRAFT",
                                                    "INACTIVE"
                                                ]
                                            },
                                            "descendants": [
                                                {
                                                    "component": "fc.sourcing.profile.modal.button",
                                                    "props": {
                                                        "action": "activate",
                                                        "label": "i18n:fc.sourcingProfileModalButton.activate.label",
                                                        "title": "i18n:fc.sourcingProfileModalButton.activate.title",
                                                        "description": "i18n:fc.sourcingProfileModalButton.activate.description"
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                },
                                {
                                    "type": "component",
                                    "component": "fc.sourcing.profile.drawer.button",
                                    "props": {
                                        "action": "editProfile",
                                        "label": "i18n:fc.sourcingProfileDrawerButton.edit.label",
                                        "title": "i18n:fc.sourcingProfileDrawerButton.editProfile.title",
                                        "filter": {
                                            "type": "exclude",
                                            "names": [
                                                "status",
                                                "ref",
                                                "retailer",
                                                "versionComment"
                                            ]
                                        },
                                        "overrides": {
                                            "name": {
                                                "sortPrefix": 1
                                            },
                                            "description": {
                                                "sortPrefix": 2,
                                                "component": "textArea"
                                            },
                                            "defaultNetwork": {
                                                "sortPrefix": 3,
                                                "component": "fc.field.filterComplex",
                                                "extensions": {
                                                    "query": "query networks { networks{ edges { node { ref } } } } ",
                                                    "variables": {
                                                        "networks_first": 100
                                                    },
                                                    "exclude": [
                                                        "createdOn",
                                                        "controlGroupRef",
                                                        "description",
                                                        "inventoryCatalogueRef",
                                                        "networkIds",
                                                        "productCatalogueRef",
                                                        "retailerRefs",
                                                        "status",
                                                        "type",
                                                        "updatedOn",
                                                        "workflowRef",
                                                        "workflowVersion"
                                                    ],
                                                    "mode": "single",
                                                    "searchItemConfig": {
                                                        "component": "fc.card.product",
                                                        "props": {
                                                            "attributes": [
                                                                {
                                                                    "value": "{{node.ref}}"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "chipItemConfig": {
                                                        "label": "{{node.ref}}",
                                                        "query": "query networks { networks{ edges { node { ref } } } }",
                                                        "variables": {
                                                            "networks_ref": "{{value.ref}}"
                                                        }
                                                    },
                                                    "onChangeValues": {
                                                        "value": "node"
                                                    }
                                                }
                                            },
                                            "defaultVirtualCatalogue": {
                                                "sortPrefix": 4,
                                                "component": "fc.field.filterComplex",
                                                "extensions": {
                                                    "query": "query virtualCatalogues{ virtualCatalogues{ edges { node { ref name } } } }",
                                                    "variables": {
                                                        "virtualCatalogues_first": 100
                                                    },
                                                    "exclude": [
                                                        "createdOn",
                                                        "controlGroupRef",
                                                        "description",
                                                        "inventoryCatalogueRef",
                                                        "networkIds",
                                                        "productCatalogueRef",
                                                        "retailerRefs",
                                                        "status",
                                                        "type",
                                                        "updatedOn",
                                                        "workflowRef",
                                                        "workflowVersion"
                                                    ],
                                                    "mode": "single",
                                                    "searchItemConfig": {
                                                        "component": "fc.card.product",
                                                        "props": {
                                                            "attributes": [
                                                                {
                                                                    "value": "{{node.name}}"
                                                                },
                                                                {
                                                                    "value": "{{node.ref}}"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "chipItemConfig": {
                                                        "label": "{{node.name}}",
                                                        "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                        "variables": {
                                                            "virtualCatalogues_ref": "{{value.ref}}"
                                                        }
                                                    },
                                                    "onChangeValues": {
                                                        "value": "node",
                                                        "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                    },
                                                    "overrides": {
                                                        "name": {
                                                            "sortPrefix": 1
                                                        }
                                                    }
                                                }
                                            },
                                            "defaultMaxSplit": {
                                                "sortPrefix": 5
                                            },
                                            "sourcingStrategies": {
                                                "extensions": {
                                                    "itemConfig": {
                                                        "props": {
                                                            "hideLabels": true,
                                                            "attributes": [
                                                                {
                                                                    "value": "{{bold name}}"
                                                                },
                                                                {
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                            "value": "{{status}}"
                                                                        }
                                                                    }
                                                                }
                                                            ]
                                                        }
                                                    }
                                                },
                                                "sortPrefix": 6
                                            },
                                            "sourcingFallbackStrategies": {
                                                "extensions": {
                                                    "itemConfig": {
                                                        "props": {
                                                            "hideLabels": true,
                                                            "attributes": [
                                                                {
                                                                    "value": "{{bold name}}"
                                                                },
                                                                {
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                            "value": "{{status}}"
                                                                        }
                                                                    }
                                                                }
                                                            ]
                                                        }
                                                    }
                                                },
                                                "sortPrefix": 7
                                            }
                                        },
                                        "confirmModal": {
                                            "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveProfile.title",
                                            "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                        }
                                    }
                                }
                            ],
                            "secondary": [
                                {
                                    "type": "component",
                                    "component": "fc.drawer.button",
                                    "props": {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.drawer.viewHistory.label",
                                        "style": "Secondary",
                                        "title": "i18n:fc.admin.sourcingProfiles.profile.drawer.profileHistory.title",
                                        "width": "small",
                                        "query": "query sourcingProfiles($ref: [String!]) {\n  active: sourcingProfiles(ref: $ref, status: \"ACTIVE\") {\n    edges {\n      node {\n        ref\n        status\n        updatedOn\n        user {\n          firstName\n          lastName\n        }\n        version\n        versionComment\n      }\n    }\n  }\n  sourcingProfile: sourcingProfiles(ref: $ref) {\n    edges {\n      node {\n        ref\n        status\n        updatedOn\n        user {\n          firstName\n          lastName\n        }\n        version\n        versionComment\n      }\n    }\n  }\n}\n",
                                        "variables": {
                                            "ref": "{{sourcingProfile.ref}}"
                                        },
                                        "descendants": [
                                            {
                                                "component": "fc.card.attribute",
                                                "props": {
                                                    "dataSource": "active.edges.0",
                                                    "title": "i18n:fc.admin.sourcingProfiles.profile.activeVersion.card.title",
                                                    "hideLabels": true,
                                                    "link": "#/sourcingProfiles/{{node.ref}}/{{node.version}}",
                                                    "attributes": [
                                                        {
                                                            "value": "{{placeholderText node.version}}"
                                                        },
                                                        {
                                                            "type": "component",
                                                            "options": {
                                                                "component": "fc.attribute.column",
                                                                "props": {
                                                                    "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                                    "value": "{{node.status}}"
                                                                }
                                                            }
                                                        },
                                                        {
                                                            "value": "{{dateFormat node.updatedOn}} ({{dateRelative node.updatedOn}})"
                                                        },
                                                        {
                                                            "value": "{{node.user.firstName}} {{node.user.lastName}}"
                                                        },
                                                        {
                                                            "value": "{{node.versionComment}}"
                                                        }
                                                    ]
                                                }
                                            },
                                            {
                                                "component": "fc.list",
                                                "props": {
                                                    "dataSource": "sourcingProfile",
                                                    "title": "i18n:fc.admin.sourcingProfiles.profile.allVersions.list.title",
                                                    "hideLabels": true,
                                                    "responsiveness": "forcecard",
                                                    "rowLink": "#/sourcingProfiles/{{node.ref}}/{{node.version}}",
                                                    "filter": {
                                                        "enabled": true,
                                                        "exclude": [
                                                            "createdOn",
                                                            "defaultMaxSplit",
                                                            "description",
                                                            "name",
                                                            "updatedOn",
                                                            "version",
                                                            "versionComment"
                                                        ]
                                                    },
                                                    "attributes": [
                                                        {
                                                            "value": "{{placeholderText node.version}}"
                                                        },
                                                        {
                                                            "type": "component",
                                                            "options": {
                                                                "component": "fc.attribute.column",
                                                                "props": {
                                                                    "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                                    "value": "{{status}}"
                                                                },
                                                                "dataSource": "node"
                                                            }
                                                        },
                                                        {
                                                            "value": "{{dateFormat node.updatedOn}} ({{dateRelative node.updatedOn}})"
                                                        },
                                                        {
                                                            "value": "{{node.user.firstName}} {{node.user.lastName}}"
                                                        },
                                                        {
                                                            "value": "{{node.versionComment}}"
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                }
                            ]
                        },
                        "backButtons": [
                            {
                                "path": "sourcingProfiles",
                                "menuLabel": "i18n:fc.admin.sourcingProfiles.profile.summary.breadcrumb.sourcingProfiles"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.sourcingProfiles.profile.summary.card.title",
                                "width": "half",
                                "dataSource": "sourcingProfile",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.summary.card.attribute.name.title",
                                        "value": "{{name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.summary.card.attribute.description.title",
                                        "value": "{{description}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.summary.card.attribute.defaultVirtualCatalogue.title",
                                        "value": "{{defaultVirtualCatalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.summary.card.attribute.defaultNetwork.title",
                                        "value": "{{defaultNetwork.ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.summary.card.attribute.defaultMaxSplit.title",
                                        "value": "{{defaultMaxSplit}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.admin.sourcingProfiles.profile.status.card.title",
                                "width": "half",
                                "dataSource": "sourcingProfile",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.status.card.attribute.status.title",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.sourcingprofile.list.status.column",
                                                "value": "{{status}}"
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.status.card.attribute.version.title",
                                        "value": "{{version}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.status.card.attribute.lastUpdatedBy.title",
                                        "value": "{{user.firstName}} {{user.lastName}}"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.status.card.attribute.lastUpdated.title",
                                        "value": "{{dateStringFormatter updatedOn}} ({{dateRelative updatedOn}})"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.tabs.card",
                            "props": {
                                "noCard": true,
                                "tabs": [
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.tab.primary.label"
                                    },
                                    {
                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.tab.fallback.label"
                                    }
                                ]
                            },
                            "descendants": [
                                {
                                    "component": "fc.page.section",
                                    "descendants": [
                                        {
                                            "component": "fc.list",
                                            "props": {
                                                "title": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.title",
                                                "dataSource": "sourcingProfile.sourcingStrategies",
                                                "responsiveness": "card",
                                                "hidePagination": true,
                                                "cardActions": {
                                                    "showAtLeast": 1,
                                                    "primary": [
                                                        {
                                                            "type": "component",
                                                            "component": "fc.sourcing.profile.drawer.button",
                                                            "props": {
                                                                "action": "addStrategy",
                                                                "label": "i18n:fc.sourcingProfileDrawerButton.addPrimaryStrategy.label",
                                                                "title": "i18n:fc.sourcingProfileDrawerButton.newStrategy.title",
                                                                "filter": {
                                                                    "type": "exclude",
                                                                    "names": [
                                                                        "ref",
                                                                        "status"
                                                                    ]
                                                                },
                                                                "overrides": {
                                                                    "name": {
                                                                        "sortPrefix": 1
                                                                    },
                                                                    "description": {
                                                                        "sortPrefix": 2,
                                                                        "component": "textArea"
                                                                    },
                                                                    "network": {
                                                                        "sortPrefix": 3,
                                                                        "component": "fc.field.filterComplex",
                                                                        "extensions": {
                                                                            "query": "query networks { networks{ edges { node { ref } } } } ",
                                                                            "variables": {
                                                                                "networks_first": 100
                                                                            },
                                                                            "exclude": [
                                                                                "createdOn",
                                                                                "controlGroupRef",
                                                                                "description",
                                                                                "inventoryCatalogueRef",
                                                                                "networkIds",
                                                                                "productCatalogueRef",
                                                                                "retailerRefs",
                                                                                "status",
                                                                                "type",
                                                                                "updatedOn",
                                                                                "workflowRef",
                                                                                "workflowVersion"
                                                                            ],
                                                                            "mode": "single",
                                                                            "searchItemConfig": {
                                                                                "component": "fc.card.product",
                                                                                "props": {
                                                                                    "attributes": [
                                                                                        {
                                                                                            "value": "{{node.ref}}"
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "chipItemConfig": {
                                                                                "label": "{{node.ref}}"
                                                                            },
                                                                            "onChangeValues": {
                                                                                "value": "node"
                                                                            }
                                                                        }
                                                                    },
                                                                    "virtualCatalogue": {
                                                                        "sortPrefix": 4,
                                                                        "component": "fc.field.filterComplex",
                                                                        "extensions": {
                                                                            "query": "query virtualCatalogues{ virtualCatalogues{ edges { node { ref name } } } }",
                                                                            "variables": {
                                                                                "virtualCatalogues_first": 100
                                                                            },
                                                                            "exclude": [
                                                                                "createdOn",
                                                                                "controlGroupRef",
                                                                                "description",
                                                                                "inventoryCatalogueRef",
                                                                                "networkIds",
                                                                                "productCatalogueRef",
                                                                                "retailerRefs",
                                                                                "status",
                                                                                "type",
                                                                                "updatedOn",
                                                                                "workflowRef",
                                                                                "workflowVersion"
                                                                            ],
                                                                            "mode": "single",
                                                                            "searchItemConfig": {
                                                                                "component": "fc.card.product",
                                                                                "props": {
                                                                                    "attributes": [
                                                                                        {
                                                                                            "value": "{{node.name}}"
                                                                                        },
                                                                                        {
                                                                                            "value": "{{node.ref}}"
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "chipItemConfig": {
                                                                                "label": "{{node.name}}"
                                                                            },
                                                                            "onChangeValues": {
                                                                                "value": "node",
                                                                                "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                                            },
                                                                            "overrides": {
                                                                                "name": {
                                                                                    "sortPrefix": 1
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    "maxSplit": {
                                                                        "sortPrefix": 5,
                                                                        "component": "fc.field.nullable",
                                                                        "extensions": {
                                                                            "component": "integer",
                                                                            "description": "i18n:fc.sourcingProfileDrawerButton.inheritedFromProfile.description"
                                                                        }
                                                                    },
                                                                    "sourcingConditions": {
                                                                        "sortPrefix": 6
                                                                    },
                                                                    "sourcingCriteria": {
                                                                        "sortPrefix": 7
                                                                    }
                                                                },
                                                                "confirmModal": {
                                                                    "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveStrategy.title",
                                                                    "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                                                }
                                                            }
                                                        }
                                                    ]
                                                },
                                                "row": {
                                                    "actions": {
                                                        "secondary": [
                                                            {
                                                                "type": "component",
                                                                "component": "fc.sourcing.profile.drawer.button",
                                                                "props": {
                                                                    "action": "editStrategy",
                                                                    "label": "i18n:fc.sourcingProfileDrawerButton.edit.label",
                                                                    "title": "i18n:fc.sourcingProfileDrawerButton.editStrategy.title",
                                                                    "style": "Secondary",
                                                                    "filter": {
                                                                        "type": "exclude",
                                                                        "names": [
                                                                            "ref",
                                                                            "status"
                                                                        ]
                                                                    },
                                                                    "overrides": {
                                                                        "name": {
                                                                            "sortPrefix": 1
                                                                        },
                                                                        "description": {
                                                                            "sortPrefix": 2,
                                                                            "component": "textArea"
                                                                        },
                                                                        "network": {
                                                                            "sortPrefix": 3,
                                                                            "component": "fc.field.filterComplex",
                                                                            "extensions": {
                                                                                "query": "query networks { networks{ edges { node { ref } } } }",
                                                                                "variables": {
                                                                                    "networks_first": 100
                                                                                },
                                                                                "exclude": [
                                                                                    "createdOn",
                                                                                    "updatedOn",
                                                                                    "type",
                                                                                    "workflowRef",
                                                                                    "workflowVersion",
                                                                                    "status",
                                                                                    "name",
                                                                                    "description",
                                                                                    "inventoryCatalogueRef",
                                                                                    "productCatalogueRef",
                                                                                    "networkIds",
                                                                                    "controlGroupRef",
                                                                                    "retailerRefs"
                                                                                ],
                                                                                "mode": "single",
                                                                                "searchItemConfig": {
                                                                                    "component": "fc.card.product",
                                                                                    "props": {
                                                                                        "attributes": [
                                                                                            {
                                                                                                "value": "{{node.ref}}"
                                                                                            }
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "chipItemConfig": {
                                                                                    "label": "{{node.ref}}",
                                                                                    "query": "query networks { networks{ edges { node { ref } } } }",
                                                                                    "variables": {
                                                                                        "networks_ref": "{{value.ref}}"
                                                                                    }
                                                                                },
                                                                                "onChangeValues": {
                                                                                    "value": "node"
                                                                                }
                                                                            }
                                                                        },
                                                                        "virtualCatalogue": {
                                                                            "sortPrefix": 4,
                                                                            "component": "fc.field.filterComplex",
                                                                            "extensions": {
                                                                                "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                                                "variables": {
                                                                                    "virtualCatalogues_first": 100
                                                                                },
                                                                                "exclude": [
                                                                                    "createdOn",
                                                                                    "updatedOn",
                                                                                    "type",
                                                                                    "workflowRef",
                                                                                    "workflowVersion",
                                                                                    "status",
                                                                                    "description",
                                                                                    "inventoryCatalogueRef",
                                                                                    "productCatalogueRef",
                                                                                    "networkIds",
                                                                                    "controlGroupRef",
                                                                                    "retailerRefs"
                                                                                ],
                                                                                "mode": "single",
                                                                                "searchItemConfig": {
                                                                                    "component": "fc.card.product",
                                                                                    "props": {
                                                                                        "attributes": [
                                                                                            {
                                                                                                "value": "{{node.name}}"
                                                                                            },
                                                                                            {
                                                                                                "value": "{{node.ref}}"
                                                                                            }
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "chipItemConfig": {
                                                                                    "label": "{{node.name}}",
                                                                                    "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                                                    "variables": {
                                                                                        "virtualCatalogues_ref": "{{value.ref}}"
                                                                                    }
                                                                                },
                                                                                "onChangeValues": {
                                                                                    "value": "node",
                                                                                    "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                                                },
                                                                                "overrides": {
                                                                                    "name": {
                                                                                        "sortPrefix": 1
                                                                                    }
                                                                                }
                                                                            }
                                                                        },
                                                                        "maxSplit": {
                                                                            "sortPrefix": 5,
                                                                            "component": "fc.field.nullable",
                                                                            "extensions": {
                                                                                "component": "integer",
                                                                                "description": "i18n:fc.sourcingProfileDrawerButton.inheritedFromProfile.description"
                                                                            }
                                                                        },
                                                                        "sourcingConditions": {
                                                                            "sortPrefix": 6
                                                                        },
                                                                        "sourcingCriteria": {
                                                                            "sortPrefix": 7
                                                                        }
                                                                    },
                                                                    "confirmModal": {
                                                                        "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveStrategy.title",
                                                                        "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                                                    }
                                                                }
                                                            },
                                                            {
                                                                "type": "component",
                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                "props": {
                                                                    "action": "remove",
                                                                    "label": "i18n:fc.sourcingStrategyModalButton.remove.label",
                                                                    "title": "i18n:fc.sourcingStrategyModalButton.remove.title",
                                                                    "description": "i18n:fc.sourcingStrategyModalButton.remove.description",
                                                                    "style": "Secondary"
                                                                }
                                                            },
                                                            {
                                                                "type": "component",
                                                                "component": "fc.page.section",
                                                                "descendants": [
                                                                    {
                                                                        "component": "fc.conditional",
                                                                        "props": {
                                                                            "value": "{{status}}",
                                                                            "matches": "INACTIVE"
                                                                        },
                                                                        "descendants": [
                                                                            {
                                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                                "props": {
                                                                                    "action": "activate",
                                                                                    "label": "i18n:fc.sourcingStrategyModalButton.activate.label",
                                                                                    "title": "i18n:fc.sourcingStrategyModalButton.activate.title",
                                                                                    "description": "i18n:fc.sourcingStrategyModalButton.activate.description",
                                                                                    "style": "Secondary"
                                                                                }
                                                                            }
                                                                        ]
                                                                    },
                                                                    {
                                                                        "component": "fc.conditional",
                                                                        "props": {
                                                                            "value": "{{status}}",
                                                                            "matches": "ACTIVE"
                                                                        },
                                                                        "descendants": [
                                                                            {
                                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                                "props": {
                                                                                    "action": "deactivate",
                                                                                    "label": "i18n:fc.sourcingStrategyModalButton.deactivate.label",
                                                                                    "title": "i18n:fc.sourcingStrategyModalButton.deactivate.title",
                                                                                    "description": "i18n:fc.sourcingStrategyModalButton.deactivate.description",
                                                                                    "style": "Secondary"
                                                                                }
                                                                            }
                                                                        ]
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                },
                                                "attributes": [
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.priority.title",
                                                        "value": "{{priority}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.name.title",
                                                        "value": "{{name}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.description.title",
                                                        "value": "{{description}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.virtualCatalogue.title",
                                                        "value": "{{virtualCatalogue.name}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.network.title",
                                                        "value": "{{network.ref}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.maxSplit.title",
                                                        "value": "{{maxSplit}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.status.title",
                                                        "type": "component",
                                                        "options": {
                                                            "component": "fc.attribute.column",
                                                            "props": {
                                                                "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                "value": "{{status}}"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                {
                                    "component": "fc.page.section",
                                    "descendants": [
                                        {
                                            "component": "fc.list",
                                            "props": {
                                                "title": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.title",
                                                "dataSource": "sourcingProfile.sourcingFallbackStrategies",
                                                "responsiveness": "card",
                                                "hidePagination": true,
                                                "cardActions": {
                                                    "showAtLeast": 1,
                                                    "primary": [
                                                        {
                                                            "type": "component",
                                                            "component": "fc.sourcing.profile.drawer.button",
                                                            "props": {
                                                                "action": "addFallbackStrategy",
                                                                "label": "i18n:fc.sourcingProfileDrawerButton.addFallbackStrategy.label",
                                                                "title": "i18n:fc.sourcingProfileDrawerButton.newFallbackStrategy.title",
                                                                "filter": {
                                                                    "type": "exclude",
                                                                    "names": [
                                                                        "ref",
                                                                        "status"
                                                                    ]
                                                                },
                                                                "overrides": {
                                                                    "name": {
                                                                        "sortPrefix": 1
                                                                    },
                                                                    "description": {
                                                                        "sortPrefix": 2,
                                                                        "component": "textArea"
                                                                    },
                                                                    "network": {
                                                                        "sortPrefix": 3,
                                                                        "component": "fc.field.filterComplex",
                                                                        "extensions": {
                                                                            "query": "query networks { networks{ edges { node { ref } } } } ",
                                                                            "variables": {
                                                                                "networks_first": 100
                                                                            },
                                                                            "exclude": [
                                                                                "createdOn",
                                                                                "controlGroupRef",
                                                                                "description",
                                                                                "inventoryCatalogueRef",
                                                                                "networkIds",
                                                                                "productCatalogueRef",
                                                                                "retailerRefs",
                                                                                "status",
                                                                                "type",
                                                                                "updatedOn",
                                                                                "workflowRef",
                                                                                "workflowVersion"
                                                                            ],
                                                                            "mode": "single",
                                                                            "searchItemConfig": {
                                                                                "component": "fc.card.product",
                                                                                "props": {
                                                                                    "attributes": [
                                                                                        {
                                                                                            "value": "{{node.ref}}"
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "chipItemConfig": {
                                                                                "label": "{{node.ref}}"
                                                                            },
                                                                            "onChangeValues": {
                                                                                "value": "node"
                                                                            }
                                                                        }
                                                                    },
                                                                    "virtualCatalogue": {
                                                                        "sortPrefix": 4,
                                                                        "component": "fc.field.filterComplex",
                                                                        "extensions": {
                                                                            "query": "query virtualCatalogues{ virtualCatalogues{ edges { node { ref name } } } }",
                                                                            "variables": {
                                                                                "virtualCatalogues_first": 100
                                                                            },
                                                                            "exclude": [
                                                                                "createdOn",
                                                                                "controlGroupRef",
                                                                                "description",
                                                                                "inventoryCatalogueRef",
                                                                                "networkIds",
                                                                                "productCatalogueRef",
                                                                                "retailerRefs",
                                                                                "status",
                                                                                "type",
                                                                                "updatedOn",
                                                                                "workflowRef",
                                                                                "workflowVersion"
                                                                            ],
                                                                            "mode": "single",
                                                                            "searchItemConfig": {
                                                                                "component": "fc.card.product",
                                                                                "props": {
                                                                                    "attributes": [
                                                                                        {
                                                                                            "value": "{{node.name}}"
                                                                                        },
                                                                                        {
                                                                                            "value": "{{node.ref}}"
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "chipItemConfig": {
                                                                                "label": "{{node.name}}"
                                                                            },
                                                                            "onChangeValues": {
                                                                                "value": "node",
                                                                                "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                                            },
                                                                            "overrides": {
                                                                                "name": {
                                                                                    "sortPrefix": 1
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    "maxSplit": {
                                                                        "sortPrefix": 5,
                                                                        "component": "fc.field.nullable",
                                                                        "extensions": {
                                                                            "component": "integer",
                                                                            "description": "i18n:fc.sourcingProfileDrawerButton.inheritedFromProfile.description"
                                                                        }
                                                                    },
                                                                    "sourcingConditions": {
                                                                        "sortPrefix": 6
                                                                    },
                                                                    "sourcingCriteria": {
                                                                        "sortPrefix": 7
                                                                    }
                                                                },
                                                                "confirmModal": {
                                                                    "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveStrategy.title",
                                                                    "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                                                }
                                                            }
                                                        }
                                                    ]
                                                },
                                                "row": {
                                                    "actions": {
                                                        "secondary": [
                                                            {
                                                                "type": "component",
                                                                "component": "fc.sourcing.profile.drawer.button",
                                                                "props": {
                                                                    "action": "editFallbackStrategy",
                                                                    "label": "i18n:fc.sourcingProfileDrawerButton.edit.label",
                                                                    "title": "i18n:fc.sourcingProfileDrawerButton.editFallbackStrategy.title",
                                                                    "style": "Secondary",
                                                                    "filter": {
                                                                        "type": "exclude",
                                                                        "names": [
                                                                            "ref",
                                                                            "status"
                                                                        ]
                                                                    },
                                                                    "overrides": {
                                                                        "name": {
                                                                            "sortPrefix": 1
                                                                        },
                                                                        "description": {
                                                                            "sortPrefix": 2,
                                                                            "component": "textArea"
                                                                        },
                                                                        "network": {
                                                                            "sortPrefix": 3,
                                                                            "component": "fc.field.filterComplex",
                                                                            "extensions": {
                                                                                "query": "query networks { networks{ edges { node { ref } } } } ",
                                                                                "variables": {
                                                                                    "networks_first": 100
                                                                                },
                                                                                "exclude": [
                                                                                    "createdOn",
                                                                                    "updatedOn",
                                                                                    "type",
                                                                                    "workflowRef",
                                                                                    "workflowVersion",
                                                                                    "status",
                                                                                    "name",
                                                                                    "description",
                                                                                    "inventoryCatalogueRef",
                                                                                    "productCatalogueRef",
                                                                                    "networkIds",
                                                                                    "controlGroupRef",
                                                                                    "retailerRefs"
                                                                                ],
                                                                                "mode": "single",
                                                                                "searchItemConfig": {
                                                                                    "component": "fc.card.product",
                                                                                    "props": {
                                                                                        "attributes": [
                                                                                            {
                                                                                                "value": "{{node.ref}}"
                                                                                            }
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "chipItemConfig": {
                                                                                    "label": "{{node.ref}}",
                                                                                    "query": "query networks { networks{ edges { node { ref } } } }",
                                                                                    "variables": {
                                                                                        "networks_ref": "{{value.ref}}"
                                                                                    }
                                                                                },
                                                                                "onChangeValues": {
                                                                                    "value": "node"
                                                                                }
                                                                            }
                                                                        },
                                                                        "virtualCatalogue": {
                                                                            "sortPrefix": 4,
                                                                            "component": "fc.field.filterComplex",
                                                                            "extensions": {
                                                                                "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                                                "variables": {
                                                                                    "virtualCatalogues_first": 100
                                                                                },
                                                                                "exclude": [
                                                                                    "createdOn",
                                                                                    "updatedOn",
                                                                                    "type",
                                                                                    "workflowRef",
                                                                                    "workflowVersion",
                                                                                    "status",
                                                                                    "description",
                                                                                    "inventoryCatalogueRef",
                                                                                    "productCatalogueRef",
                                                                                    "networkIds",
                                                                                    "controlGroupRef",
                                                                                    "retailerRefs"
                                                                                ],
                                                                                "mode": "single",
                                                                                "searchItemConfig": {
                                                                                    "component": "fc.card.product",
                                                                                    "props": {
                                                                                        "attributes": [
                                                                                            {
                                                                                                "value": "{{node.name}}"
                                                                                            },
                                                                                            {
                                                                                                "value": "{{node.ref}}"
                                                                                            }
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "chipItemConfig": {
                                                                                    "label": "{{node.name}}",
                                                                                    "query": "query virtualCatalogues{ virtualCatalogues{ edges { node {ref name } } } }",
                                                                                    "variables": {
                                                                                        "virtualCatalogues_ref": "{{value.ref}}"
                                                                                    }
                                                                                },
                                                                                "onChangeValues": {
                                                                                    "value": "node",
                                                                                    "outputTemplate": "{\"ref\": \"{{node.ref}}\"}"
                                                                                },
                                                                                "overrides": {
                                                                                    "name": {
                                                                                        "sortPrefix": 1
                                                                                    }
                                                                                }
                                                                            }
                                                                        },
                                                                        "maxSplit": {
                                                                            "sortPrefix": 5,
                                                                            "component": "fc.field.nullable",
                                                                            "extensions": {
                                                                                "component": "integer",
                                                                                "description": "i18n:fc.sourcingProfileDrawerButton.inheritedFromProfile.description"
                                                                            }
                                                                        },
                                                                        "sourcingConditions": {
                                                                            "sortPrefix": 6
                                                                        },
                                                                        "sourcingCriteria": {
                                                                            "sortPrefix": 7
                                                                        }
                                                                    },
                                                                    "confirmModal": {
                                                                        "title": "i18n:fc.sourcingProfileDrawerButton.confirmModal.saveStrategy.title",
                                                                        "description": "i18n:fc.sourcingProfileDrawerButton.confirmModal.description"
                                                                    }
                                                                }
                                                            },
                                                            {
                                                                "type": "component",
                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                "props": {
                                                                    "action": "remove",
                                                                    "label": "i18n:fc.sourcingStrategyModalButton.remove.label",
                                                                    "title": "i18n:fc.sourcingStrategyModalButton.remove.title",
                                                                    "description": "i18n:fc.sourcingStrategyModalButton.remove.description",
                                                                    "style": "Secondary"
                                                                }
                                                            },
                                                            {
                                                                "type": "component",
                                                                "component": "fc.page.section",
                                                                "descendants": [
                                                                    {
                                                                        "component": "fc.conditional",
                                                                        "props": {
                                                                            "value": "{{status}}",
                                                                            "matches": "INACTIVE"
                                                                        },
                                                                        "descendants": [
                                                                            {
                                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                                "props": {
                                                                                    "action": "activate",
                                                                                    "label": "i18n:fc.sourcingStrategyModalButton.activate.label",
                                                                                    "title": "i18n:fc.sourcingStrategyModalButton.activate.title",
                                                                                    "description": "i18n:fc.sourcingStrategyModalButton.activate.description",
                                                                                    "style": "Secondary"
                                                                                }
                                                                            }
                                                                        ]
                                                                    },
                                                                    {
                                                                        "component": "fc.conditional",
                                                                        "props": {
                                                                            "value": "{{status}}",
                                                                            "matches": "ACTIVE"
                                                                        },
                                                                        "descendants": [
                                                                            {
                                                                                "component": "fc.sourcing.strategy.modal.button",
                                                                                "props": {
                                                                                    "action": "deactivate",
                                                                                    "label": "i18n:fc.sourcingStrategyModalButton.deactivate.label",
                                                                                    "title": "i18n:fc.sourcingStrategyModalButton.deactivate.title",
                                                                                    "description": "i18n:fc.sourcingStrategyModalButton.deactivate.description",
                                                                                    "style": "Secondary"
                                                                                }
                                                                            }
                                                                        ]
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                },
                                                "attributes": [
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.priority.title",
                                                        "value": "{{priority}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.name.title",
                                                        "value": "{{name}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.description.title",
                                                        "value": "{{description}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.virtualCatalogue.title",
                                                        "value": "{{virtualCatalogue.name}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.network.title",
                                                        "value": "{{network.ref}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.maxSplit.title",
                                                        "value": "{{maxSplit}}"
                                                    },
                                                    {
                                                        "label": "i18n:fc.admin.sourcingProfiles.profile.strategies.list.attribute.status.title",
                                                        "type": "component",
                                                        "options": {
                                                            "component": "fc.attribute.column",
                                                            "props": {
                                                                "contentColumnSetting": "fc.sourcingprofile.details.strategy.status.column",
                                                                "value": "{{status}}"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}