Choose the appropriate git tag for the CDM version you need. For example, v5.3.0 docs and DDL are here.
In your case, the value for cdmDatabaseSchema parameter would be ‘dbo’, not ‘cdm5_inst’. This is the schema where your CDM tables are stored. As for resultsDatabaseSchema and scratchDatabaseSchema, these are for Achilles results and various temporary stuff. You can either create a new schema to keep them separate from CDM, or just assign ‘dbo’ as well to have everything in one schema.
Is vocabDatabaseSchema suppose to be the schema to hold the standardized vocabulary tables like concept, vocabulary, domain… tables and cdmDatabaseSchema suppose to be the schema to hold the standardized clinical data tables like person, visit_occurrence, procedure_occurrence… tables? I know I can just use dbo schema for all these tables above.
Yes, that’s correct. This allows for more flexibility is some cases, like when you have several instances of clinical CDM data, but they need to use the same set of standardized vocabularies.