protected function prepareField(array $data)
    {
        return array_merge([

            /** Rendering config */
            'default' => null, // todo test null vs empty
            'position' => 0,

            /** Handler config */
            'flash' => true, // which fields to flash into session
            'validate' => [], // field validation rules

            /** HTML config */
            'label' => null, // html label
            'label_options' => [], // label options
            'comment' => null, // string comment

            /** Field config */
            'type' => 'text', // type alias
            'name' => null, // field name
            'value' => null, // field value
            'options' => ['id' => null], // field options
            'resource' => null,
            'use_default' => false,// bool|string, adds checkbox to disable field

        ], $data);
    }