{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "$id": "http://kalisio.xyz/schemas/users.update-profile.json#",
    "title": "schemas.OBJECT_NAME",
    "description": "User profile perspective",
    "type": "object",
    "properties": {
        "avatar": {
            "type": "object",
            "field": {
                "component": "form/KAttachmentField",
                "helper": "schemas.AVATAR_FIELD_HELPER",
                "service": "storage",
                "acceptedFiles": "image/*",
                "maxFilesize": 0.5,
                "autoProcessQueue": false,
                "storagePath": "avatars/<%= id %>",
                "params": {
                    "public": true
                }
            }
        },
        "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 3,
            "field": {
                "component": "form/KTextField",
                "helper": "schemas.NAME_FIELD_HELPER"
            }
        }
    },
    "required": [
        "name"
    ]
}