Flexibility in Handling Wrong Data Types in Models

Hello @Francesca_Ricci-Tam, you can try using the procedure described in the following community post: Validate schema with conditions

Also refer the MongoDB Manual about Schema Validation and $jsonSchema - keywords