{ "$jsonSchema": { "bsonType": "object", "required": ["app_id", "user_name", "text", "score", "timestamp"], "properties": { "app_id": { "bsonType": "string", "minLength": 3, "maxLength": 5 }, "user_name": { "bsonType": "string", "minLength": 3, "maxLength": 16 }, "score": { "bsonType": "number", "minimum": 1, "maximum": 10 }, "text": { "bsonType": "string", "minLength": 2, "maxLength": 2000 }, "timestamp": { "bsonType": "number", "minimum": 1658995612 } } } }