@flatfile/plugin-convert-yaml-schema
The @flatfile/plugin-convert-yaml-schema plugin converts YAML schema to
Flatfile Blueprint.
Event Type:
Event Type:
listener.on('space:configure')Overview
This plugin will automatically convert Yaml Schema to the Flatfile Blueprint, a powerful DDL (Data Definition Language) created by Flatfile with a focus on validation and data preparation.Parameters
ModelToSheetConfig[]
required
The
models parameter holds the YAML Schema sourceUrl and take other Sheet
configuration options.PartialWorkbookConfig
The
options.workbookConfig parameter takes other optional Workbook
configurations.boolean
The
options.debug parameter lets you toggle on/off helpful debugging
messages for development purposes.function
The
callback parameter receives three arguments: event, workbookIds, and
a tick function. The tick function can be used to update the Job’s
progress. The callback function is invoked once the Space and Workbooks are
fully configured.Imported NPM Packages
@flatfile/api@1.5.37+@flatfile/plugin-space-configure@0.1.6+@flatfile/plugin-json-schema@0.0.2+@hyperjump/json-schema@1.6.4+axios@1.5.1+js-yaml@4.1.0+
Basic Example
listener.js
Advanced Example
listener.js