in generator/generate.ts [245:256]
async function saveSchemaFile(schemaConfig: SchemaConfiguration) {
const schemaRef = `${constants.schemasBaseUri}/${schemaConfig.relativePath}#`
const schemaPath = path.join(constants.schemasBasePath, schemaConfig.relativePath);
await safeMkdir(path.dirname(schemaPath));
const output = await readJsonFile(schemaConfig.temporaryPath);
output.id = schemaRef;
await writeJsonFile(schemaPath, output);
}