fields:
    name:
        label: 'vdomah.roles::lang.fields.name'
        span: auto
        oc.commentPosition: ''
        type: text
    code:
        label: 'vdomah.roles::lang.fields.code'
        span: auto
        comment: 'code'
        preset:
            field: name
            type: slug
        type: text
    parent:
        label: 'vdomah.roles::lang.fields.parent'
        oc.commentPosition: ''
        span: auto
        type: relation
        emptyOption: 'vdomah.roles::lang.fields.empty'