---
auto_fieldset: 1

elements:
   - type: Hidden
     name: id

   - type: Text
     name: name

   - type: Text
     name: master

   - type: Repeatable
     nested_name: addresses
     counter_name: count
     model_config:
       new_rows_max: 2

     elements:
       - type: Hidden
         name: id

       - type: Text
         name: address

   - type: Hidden
     name: count

   - type: Submit
     name: submit

