Home > fff-flavored-frontmatter > FFFSchema
FFFSchema type
Type used to generate the schema. It doesn't support object media due to generator limitations.
Signature:
typescript
type FFFSchema = FFFBase & FFFDateTime & FFFSchemaMedia & FFFMention & FFFExtra;
References: FFFBase, FFFDateTime, FFFMention, FFFExtra
Example
bash
# generate json schema
npx ts-json-schema-generator --path 'packages/fff-flavored-frontmatter/src/schema.ts' --type 'FFFSchema'