Array should have same type of objects. Is it not right for Mongo arrays? Here attributes field have two different objects
{ "_id": 1,
"pet": "cat",
"attributes": [ { "coat": "fur",
"type": "soft" },
{ "defense": "claws",
"location": "paws",
"nickname": "murder mittens" } ],
"name": "Furball" }