I am trying to add a new schema to my app, but I keep getting this error “schema for namespace (AppName.User) must include partition key “pair””. Any ideas about how I can resolve this?
{ "properties": { "_id": { "bsonType": "string" }, "_partition": { "bsonType": "string" }, "memberOf": { "bsonType": "array", "items": { "bsonType": "object", "properties": { "name": { "bsonType": "string" }, "partition": { "bsonType": "string" } }, "title": "Project" } }, "name": { "bsonType": "string" } }, "required": [ "_id", "_partition", "name" ], "title": "User" }