dist/@ajsf/core/esm2015/lib/shared/json-schema.functions.js
/**
 * 'buildSchemaFromLayout' function
 *
 * TODO: Build a JSON Schema from a JSON Form layout
 *
 * //   layout - The JSON Form layout
 * //  - The new JSON Schema
 */
'buildSchemaFromLayout' function
TODO: Build a JSON Schema from a JSON Form layout

The JSON Form layout
- The new JSON Schema
' buildSchemaFromLayout ' function TODO : Build a JSON Schema from a JSON Form layout The JSON Form layout - The new JSON Schema
function buildSchemaFromLayout(layout) {
    return;
     else if (layoutItem.key) {
}
function buildSchemaFromLayout ( layout ) { return ; }
'buildSchemaFromLayout' function
 TODO: Build a JSON Schema from a JSON Form layout
' buildSchemaFromLayout ' function TODO : Build a JSON Schema from a JSON Form layout
// let newSchema: any = { }; // const walkLayout = (layoutItems: any[], callback: Function): any[] => { //   let returnArray: any[] = []; //   for (let layoutItem of layoutItems) { //     const returnItem: any = callback(layoutItem); //     if (returnItem) { returnArray = returnArray.concat(callback(layoutItem)); } //     if (layoutItem.items) { //       returnArray = returnArray.concat(walkLayout(layoutItem.items, callback)); //     } //   } //   return returnArray; // }; // walkLayout(layout, layoutItem => { //   let itemKey: string; //   if (typeof layoutItem === 'string') { //     itemKey = layoutItem; //   } else if (layoutItem.key) { //     itemKey = layoutItem.key; //   } //   if (!itemKey) { return; } //   // // });