{
    "fields": {
        "customMainContactName": {
            "type": "varchar",
            "default": null,
            "maxLength": null,
            "options": [],
            "isCustom": true,
            "trim": false
        },
        "isPartner": {
            "notNull": true,
            "type": "bool",
            "isCustom": true
        },
        "customuserid": {
            "type": "int",
            "isCustom": true
        },
        "customaccount": {
            "type": "url",
            "readOnly": true,
            "isCustom": true
        },
        "customstripeid": {
            "type": "text",
            "rowsMin": 2,
            "cutHeight": 200,
            "readOnly": true,
            "inlineEditDisabled": true,
            "isCustom": true
        },
        "customnumbsinesses": {
            "type": "int",
            "default": 0,
            "readOnly": true,
            "inlineEditDisabled": true,
            "tooltip": true,
            "isCustom": true
        },
        "customSubscriptions": {
            "type": "varchar",
            "maxLength": 800,
            "trim": true,
            "default": "-",
            "readOnly": true,
            "options": [],
            "isCustom": true
        },
        "opportunity": {
            "type": "linkOne",
            "isCustom": true
        },
        "industry": {
            "options": [
                "Advertising",
                "Agency",
                "Analytics",
                "Charity",
                "Consulting",
                "Education (E-Learning)",
                "Finance",
                "Gaming",
                "Health",
                "Legal Services",
                "Logistics",
                "Manufacturing",
                "Marketplace",
                "Media",
                "Medical Device",
                "Privacy",
                "Recruiting",
                "Research",
                "Retail",
                "SaaS",
                "Security",
                "Service",
                "Technology",
                "Telecommunications",
                "Transportation",
                "Unknown"
            ],
            "style": {
                "Advertising": null,
                "Agency": null,
                "Analytics": null,
                "Charity": null,
                "Consulting": null,
                "Education (E-Learning)": null,
                "Finance": null,
                "Gaming": null,
                "Health": null,
                "Legal Services": null,
                "Logistics": null,
                "Manufacturing": null,
                "Marketplace": null,
                "Media": null,
                "Medical Device": null,
                "Privacy": null,
                "Recruiting": null,
                "Research": null,
                "Retail": null,
                "SaaS": null,
                "Security": null,
                "Service": null,
                "Technology": null,
                "Telecommunications": null,
                "Transportation": null,
                "Unknown": null
            },
            "isSorted": false
        },
        "customName": {
            "type": "varchar",
            "maxLength": 200,
            "trim": true,
            "readOnly": true,
            "options": [],
            "isCustom": true,
            "isPersonalData": true
        },
        "customEmailForCommunication": {
            "type": "varchar",
            "maxLength": 150,
            "trim": true,
            "readOnly": true,
            "options": [],
            "isCustom": true
        },
        "businesss": {
            "type": "linkMultiple",
            "layoutDetailDisabled": false,
            "layoutMassUpdateDisabled": false,
            "noLoad": false,
            "importDisabled": false,
            "isCustom": true
        },
        "billingAddressCountry": {
            "readOnly": true,
            "tooltip": true
        },
        "billingAddress": {
            "viewMap": false
        },
        "vatNumber": {
            "type": "varchar",
            "maxLength": 150,
            "trim": true,
            "readOnly": true,
            "options": [],
            "isCustom": true
        },
        "customBillingAddress": {
            "type": "varchar",
            "maxLength": 150,
            "trim": true,
            "options": [],
            "isCustom": true
        },
        "customAccountType": {
            "type": "enum",
            "options": [
                "full",
                "light"
            ],
            "style": {
                "full": "success",
                "light": "info"
            },
            "default": "light",
            "readOnly": true,
            "tooltip": true,
            "isCustom": true
        },
        "customAccountholderRole": {
            "type": "varchar",
            "maxLength": 150,
            "trim": true,
            "readOnly": true,
            "isPersonalData": true,
            "options": [],
            "isCustom": true
        },
        "customClientIsinGoodStanding": {
            "type": "enum",
            "options": [
                "yes",
                "no1",
                "noM",
                "unknown"
            ],
            "style": {
                "yes": "success",
                "no1": "warning",
                "noM": "danger",
                "unknown": null
            },
            "default": "unknown",
            "displayAsLabel": true,
            "readOnly": true,
            "isCustom": true,
            "tooltip": true
        },
        "customReferredAccounts": {
            "type": "linkMultiple",
            "layoutDetailDisabled": false,
            "layoutMassUpdateDisabled": false,
            "noLoad": false,
            "importDisabled": false,
            "isCustom": true
        },
        "customReferredBy": {
            "type": "link"
        },
        "customAccountMRR": {
            "type": "int",
            "default": 0,
            "readOnly": true,
            "isCustom": true
        },
        "partner": {
            "type": "varchar",
            "maxLength": 150,
            "trim": true,
            "options": [],
            "isCustom": true
        }
    },
    "links": {
        "opportunity": {
            "type": "hasOne",
            "foreign": "account1",
            "entity": "Opportunity",
            "isCustom": true
        },
        "businesss": {
            "type": "hasMany",
            "foreign": "account",
            "entity": "Business",
            "audited": false,
            "isCustom": true
        },
        "contacts": {
            "audited": false
        },
        "customReferredAccounts": {
            "type": "hasMany",
            "foreign": "customReferredBy",
            "entity": "Account",
            "audited": false,
            "isCustom": true
        },
        "customReferredBy": {
            "type": "belongsTo",
            "foreign": "customReferredAccounts",
            "entity": "Account",
            "audited": false,
            "isCustom": true
        }
    },
    "collection": {
        "fullTextSearch": false,
        "countDisabled": false
    }
}
