Now we will populate the recently created collection with a few documents that represent games that were part of eSports competitions with specific tags, definitions for their levels, and the high score achievements. We will continue working with the Azure web-based portal, but we will learn to use other tools to perform the same task in the following sections.
Create a new JSON file with the following contents in your favorite text editor and save it in a temporary folder as videogame1_01.json. The following lines show the code that defines the game with its tags, levels, and high score achievements. The code file for the sample is included in the learning_cosmos_db_02_01 folder in the videogames/videogame1_01.json file:
{ "id": "1", "name": "Battle Royale Kingdoms", "lastCompetitionDate...