const form: BetterFormDef = {
schema: {
title: 'A registration form',
type: 'object',
properties: {
meal: {
type: 'string',
title: 'Meal'
},
comment: {
type: 'string',
title: 'Comment',
format: 'draft'
},
required: ['meal']
}
},
uiSchema: {
'ui:order': ['meal', 'comment']
}
};