Wiki

Clone wiki

neo4j-databridge / 3.4 The Schema control file

3.4 The Schema control file

The Schema control file, schema.json, is used to by the importer to know which schema mapping files to include in an import project.


Configuration

Add schema mapping files to the schema control file in the order you want them to be imported:

{
    "include" : [
         "customers-schema.json",
         "orders-schema.json"
    ]
}

Because the importer doesn't reload already-loaded data by default, this approach allows you to build a graph in stages if you want, first by loading the customers data, then by adding the related orders data later. The already loaded customer data will not be reloaded unless you explicitly request it to be.

Updated