Skip to main content

generateTopLevelSchemas

@webda/content-mapper


Function: generateTopLevelSchemas()

generateTopLevelSchemas(ctx, options): Record<string, JSONSchema7>

Defined in: packages/content-mapper/src/schema/project.ts:48

Build every top-level schema for a project.

Parameters​

ctx​

AnalysisContext

analysis context, whose sourceFiles are the project's own

options​

TopLevelSchemaOptions

roots and namespace

Returns​

Record<string, JSONSchema7>

the schemas map