It can be tested here. Approach would be similar for JSON form.
Data schema of a simplyfied Add Package form
UI schema that applies to the above data
Incremental data schema for Carvel on top of the core form.
UI schema that applies to the above data