There are several basic ways (dictionaries) of microdata:
- Adding Schema.org parameters directly to the site code
- Use the code JSON-LD code
The JSON-LD method allows you to not change the code for each element manually. To add markup in this case, it is sufficient to write or generate markup code and add it separately to the Head of the site or page. It is also recommended by Google.