Examples

Slug field

      'slug_1' => [ 
         'exclude' => 1,
         'label' => 'slug_1',
         'description' => 'field description',
         'config' => [ 
            'type' => 'slug',
            'generatorOptions' => [ 
               'fields' => [ 
                  '0' => 'input_1',
                  '1' => 'input_2',
               ],
               'fieldSeparator' => '/',
               'prefixParentPageSlug' => true,
               'replacements' => [ 
                  '/' => '',
               ],
            ],
            'appearance' => [ 
               'prefix' => 'TYPO3\CMS\Styleguide\UserFunctions\FormEngine\SlugPrefix->getPrefix',
            ],
            'fallbackCharacter' => '-',
            'eval' => 'uniqueInSite',
            'default' => '',
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_slugs"

Another slug field

      'slug_2' => [ 
         'exclude' => 1,
         'label' => 'slug_2',
         'config' => [ 
            'type' => 'slug',
            'size' => 50,
            'generatorOptions' => [ 
               'fields' => [ 
                  '0' => 'input_1',
               ],
               'fieldSeparator' => '/',
               'prefixParentPageSlug' => true,
            ],
            'fallbackCharacter' => '-',
            'eval' => 'uniqueInSite',
            'default' => '',
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_slugs"