MongoDB: Doc update without structure

Hi,

I’m trying to update a document in MongoDB. The document is like that:
{
“_id”: “66c10b7d0e9f642753403b92”,
“fullName”: “Marc”,
“employeeID”: “MKU”,
“status”: “active”,
“schedule”: {
“1”: {
“start”: “12:00”,
“end”: “23:00”
},
“2”: null,
“3”: null,
“4”: null,
“5”: null,
“6”: null,
“7”: null
},
“exceptions”:
}
The sub-collection “schedule” does not always have the same structure. I’m trying to update the document, but a structure is required, with the collection type:


I have tried to make it text and paste a JSON, but it doesn’t work as it arrives as text in MongoDB.
How can I keep the flexibility of a collection and write what I want to a mongoDB Document ?

Thanks