var mongoose = require("mongoose");
var Schema = mongoose.Schema;

var answer = new Schema({
		ua: { type: String },
		gender: { type: String },
		age: { type: Number, min: 10, max: 60 },
		married: { type: Boolean },
		atHome: { type: Number },
		needs: { type: [String] },
		interiorRatio: { type: Number, min: 0, max: 100 },
		color: { type: String },
		culture: { type: [String] }
	}, {
		collection: "answer",
		versionKey: false
});

module.exports = mongoose.model("Answer", answer);
@@ -204,15 +204,14 @@
 pe: 
-Boolean
+String
  %7D,%0A
@@ -228,22 +228,22 @@
 %7B type: 
-Number
+String
  %7D,%0A%09%09ne
@@ -296,32 +296,14 @@
 pe: 
-Number, min: 0, max: 100
+String
  %7D,%0A

Edit schema