@flatfile/plugin-convert-yaml-schema
A plugin for converting YAML Schema to Flatfile Blueprint.
When embedding Flatfile, this plugin should be deployed in a server-side listener. Learn more
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
The models
parameter holds the YAML Schema sourceUrl
and take other Sheet
configuration options.
The options.workbookConfig
parameter takes other optional Workbook
configurations.
The options.debug
parameter lets you toggle on/off helpful debugging
messages for development purposes.
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+