{
    "params": [
        {
            "name": "required",
            "type": "bool",
            "default": false
        },
        {
            "name": "sourceList",
            "type": "multiEnum",
            "view": "views/admin/field-manager/fields/source-list"
        },
        {
            "name": "maxFileSize",
            "type": "float",
            "tooltip": true,
            "min": 0
        },
        {
            "name": "accept",
            "type": "multiEnum",
            "noEmptyString": true,
            "allowCustomOptions": true,
            "options": [
                "image/*",
                "audio/*",
                "video/*",
                ".zip",
                ".pdf",
                ".odt",
                ".ods",
                ".odp",
                ".docx",
                ".xlsx",
                ".pptx",
                ".doc",
                ".xls",
                ".ppt",
                ".rtf",
                ".csv",
                ".md",
                ".txt"
            ],
            "tooltip": "fileAccept"
        },
        {
            "name": "readOnly",
            "type": "bool"
        },
        {
            "name": "readOnlyAfterCreate",
            "type": "bool"
        },
        {
            "name": "audited",
            "type": "bool"
        }
    ],
    "actualFields": [
        "id"
    ],
    "notActualFields": [
        "name"
    ],
    "converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\File",
    "validationList": [
        "required",
        "pattern"
    ],
    "mandatoryValidationList": [
        "pattern"
    ],
    "filter": true,
    "linkDefs": {
        "type": "belongsTo",
        "entity": "Attachment",
        "skipOrmDefs": true,
        "utility": true
    },
    "personalData": true,
    "duplicatorClassName": "Espo\\Classes\\FieldDuplicators\\File"
}
