getSchemaSpecification is used to get the schema.
getSchemaSpecification
interface DossierClient { getSchemaSpecification(options?: { includeMigrations: boolean; }): PromiseResult< SchemaSpecification | SchemaSpecificationWithMigrations, "Generic" >;}