if (_.isArray(model.model.properties[key].type)) {
            type = '[ ' + type + ' ]';
          }