{
    "type": "BusinessObject",
    "id": "bp",
    "label": "Business Partner (ESH-CDS)",
    "labelPlural": "Business Partners (ESH-CDS)",
    "defaultNavigationTarget": {
        "text": "Show Detail",
        "targetUrl": "#mandant={MANDT}&id={BP_ID}",
        "target": "_blank"
    },
    "attributes": [
        {
            "id": "MANDT",
            "label": "Client",
            "type": "String",
            "isSortable": false,
            "usage": {},
            "isKey": true,
            "matchingStrategy": "Exact"
        },
        {
            "id": "COMPANY_NAME",
            "label": "Company Name",
            "type": "String",
            "isSortable": true,
            "usage": { "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "LEGAL_FORM",
            "label": "Company Legal Form",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 2 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "BP_ID",
            "label": "Business Partner ID",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 3 } },
            "isKey": true,
            "matchingStrategy": "Exact"
        },
        {
            "id": "EMAIL_ADDRESS",
            "label": "Email",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 4 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "PHONE_NUMBER",
            "label": "Phone Number",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 5 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "COUNTRY",
            "label": "Country",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 6 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Text"
        },
        {
            "id": "POSTAL_CODE",
            "label": "Postal Code",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 7 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "CITY",
            "label": "City Name",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 8 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Text"
        },
        {
            "id": "STREET",
            "label": "Street Name",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 9 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Text"
        },
        {
            "id": "WEB_ADDRESS",
            "label": "Web Address",
            "type": "String",
            "isSortable": false,
            "usage": { "Detail": { "displayOrder": 10 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "CREATED_AT",
            "label": "Created At",
            "type": "Timestamp",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 11 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "CHANGED_AT",
            "label": "Changed At",
            "type": "Timestamp",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 12 }, "Facet": {} },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "CURRENCY_CODE",
            "label": "Currency Code",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 13 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "FAX_NUMBER",
            "label": "Fax Number",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 14 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "BP_ROLE",
            "label": "Role",
            "type": "String",
            "isSortable": true,
            "usage": { "Detail": { "displayOrder": 15 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "LATITUDE",
            "label": "Latitude",
            "type": "Double",
            "isSortable": false,
            "usage": { "Detail": { "displayOrder": 16 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "LONGITUDE",
            "label": "Longitude",
            "type": "Double",
            "isSortable": false,
            "usage": { "Detail": { "displayOrder": 17 } },
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "BUILDING",
            "label": "Building",
            "type": "String",
            "isSortable": true,
            "usage": {},
            "isKey": false,
            "matchingStrategy": "Exact"
        },
        {
            "id": "COMPANY_NAME____Description",
            "label": "Company Name",
            "type": "Group",
            "isSortable": false,
            "usage": { "Detail": { "displayOrder": 1 }, "Title": { "displayOrder": 1 } },
            "groups": [],
            "template": "{COMPANY_NAME} ({LEGAL_FORM})",
            "attributes": [
                {
                    "attribute": { "id": "COMPANY_NAME" },
                    "group": { "id": "COMPANY_NAME____Description" },
                    "nameInGroup": "COMPANY_NAME"
                },
                {
                    "attribute": { "id": "LEGAL_FORM" },
                    "group": { "id": "COMPANY_NAME____Description" },
                    "nameInGroup": "LEGAL_FORM"
                }
            ],
            "displayAttributes": ["COMPANY_NAME", "LEGAL_FORM"]
        },
        {
            "id": "grp_address",
            "label": "Address",
            "type": "Group",
            "isSortable": false,
            "usage": {},
            "groups": [],
            "template": "{street}, {postal_code} {city}, {country}",
            "attributes": [
                {
                    "attribute": { "id": "COUNTRY" },
                    "group": { "id": "grp_address" },
                    "nameInGroup": "country"
                },
                {
                    "attribute": { "id": "POSTAL_CODE" },
                    "group": { "id": "grp_address" },
                    "nameInGroup": "postal_code"
                },
                { "attribute": { "id": "CITY" }, "group": { "id": "grp_address" }, "nameInGroup": "city" },
                { "attribute": { "id": "STREET" }, "group": { "id": "grp_address" }, "nameInGroup": "street" }
            ],
            "displayAttributes": ["COUNTRY", "CITY", "POSTAL_CODE", "STREET"]
        }
    ]
}
