Flatten Schema into list of paths with properties Primary function of a module
Flatten Schema into list of paths with properties Primary function of a module
JSON Schema
some list of paths with properties if Schema has properties
key
none otherwise
Extract properties
key as FlatProperties list
Extract properties
key as FlatProperties list
JSON Schema (with properties or not) to extract
properties
from
some list of properties if Schema has properties
, none otherwise
Traverse flatten properties to find out properties which can be disassembled (objects) and recursively traverse them, then join .
Traverse flatten properties to find out properties which can be disassembled (objects) and recursively traverse them, then join .
list of flatten properties, which can have both primitive (already flat) subschemas and ready to be disassembled (objects)
accumulated path of parent subschemas
all flat properties
Module supposed to supersede old flattening algorithm with stringified subschemas when Schema AST will be incorporated into other parts of Iglu