Schemas for the mongo backend are managed by lightblue. Therefore it's important to understand how metadata field types are mapped to mongo data types. Or more specifically to BSON types.
|binary||String||encoding handled by clients|
|date||String||format: YYYYMMDDTHH:mm:ss.SSS+-ZZZZ (note T is a literal string)|
|biginteger||String||operators < and > not allowed during search|
|bigdecimal||String||operators < and > not allowed during search|
|reference||N/A||only used for
Note there is a special case for any field named
_id. For these fields, they are mapped to BSON Object Id if the structure matches the BSON ObjectID type.