Now we will add another document to the same collection. In this case, the new document will have new keys that didn't exist in the previously inserted document.
Create a new JSON file with the following contents in your favorite text editor and save it in a temporary folder as videogame1_02.json. The following lines show the code that defines a new game with its tags, levels, high score achievements, and prizes. The code file for the sample is included in the learning_cosmos_db_02_01 folder in the videogames/videogame1_02.json file:
{
"id": "2",
"name": "Fortnite vs Zombies",
"lastCompetitionDate": "2018-09-30T03:31:20.7251173Z",
"tags": [
"3D", "battle royale", "monsters", "shooter"
],
...