<% inputs.forEach((input) => { -%>
  <%- helpers.formatType(input.key) %>: {
    inputType: "<%= helpers.camelizeLowercaseType(input.inputType) %>",
    <%_ if (input.collection) { -%>
    collection: "<%= input.collection %>",
    <%_ } else { -%>
    collection: undefined,
    <%_ } -%>
    <%_ if (Array.isArray(input.default)) { -%>
    default: <%- JSON.stringify(input.default) %>,
    <%_ } else if (typeof input.default !== 'undefined') { -%>
    default: `<%- input.default %>`,
    <%_ } else { -%>
    default: undefined,
    <%_ } -%>
    <%_ if (input.required) { -%>
    required: <%= input.required %>,
    <%_ } -%>
    <%_ if (typeof input.onPremControlled !== "undefined") { -%>
    onPremControlled: <%= input.onPremControlled %>,
    <%_ } -%>
  },
<% }); -%>