{
    "params": [
        {
            "name": "required",
            "type": "bool",
            "default": false
        },
        {
            "name": "audited",
            "type": "bool",
            "tooltip": true
        },
        {
            "name": "sourceList",
            "type": "multiEnum",
            "view": "views/admin/field-manager/fields/source-list"
        },
        {
            "name": "maxFileSize",
            "type": "float",
            "tooltip": true,
            "min": 0
        },
        {
            "name": "previewSize",
            "type": "enum",
            "default": "medium",
            "options": [
                "",
                "x-small",
                "small",
                "medium",
                "large"
            ]
        },
        {
            "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": "maxCount",
            "type": "int",
            "min": 1,
            "tooltip": true
        }
    ],
    "actualFields": [
        "ids"
    ],
    "notActualFields": [
        "names",
        "types"
    ],
    "linkDefs": {
        "type": "hasChildren",
        "entity": "Attachment",
        "foreign": "parent",
        "layoutRelationshipsDisabled": true,
        "relationName": "attachments",
        "utility": true
    },
    "notSortable": true,
    "converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\AttachmentMultiple",
    "filter": true,
    "personalData": true,
    "validationList": [
        "required",
        "pattern",
        "maxCount"
    ],
    "mandatoryValidationList": [
        "pattern"
    ],
    "validatorClassName": "Espo\\Classes\\FieldValidators\\LinkMultipleType",
    "duplicatorClassName": "Espo\\Classes\\FieldDuplicators\\AttachmentMultiple",
    "massUpdateActionList": [
        "update",
        "add"
    ]
}
