Schema Import & Export
Schemas can be exported from and imported into a hive directly from the Explore section.
This allows you to:
- Reuse schema designs across multiple hives
- Create new hives from existing schema definitions
- Share schema definitions with other SyncHive users
- Import only selected parts of an existing schema
- Maintain consistency across multiple implementations
A schema export contains the structure of your data model, including entities, tables, properties, relationships, and shapes.
It does not export the records stored in those tables.
Schema Import & Export vs Schema Library
Both Schema Import & Export and the Schema Library allow schema components to be added to a hive, but they serve different purposes.
| Option | Purpose |
|---|---|
| Schema Library | Provides reusable components maintained and distributed through SyncHive. Library components also include sample data to help you explore and test the schema. |
| Schema Import & Export | Allows you to move schema definitions between specific hives using exported .seed files. |
Use the Schema Library when you want to start from predefined SyncHive components or experiment with sample data and reference data.
Use Schema Import & Export when you want to copy or migrate schema definitions that already exist in another hive.
Exporting a Schema
To export a schema:
- Open Explore.
- Select the Schema tab.
- Select the Download Schema button.
SyncHive generates an encrypted .seed file containing the schema definition.
The file can be imported into another hive, but it is not intended to be read or edited directly.
Importing a Schema
To import a schema:
- Open Explore.
- Select the Import tab.
- Choose whether to import everything or select specific tables and shapes.
- Upload a
.seedfile by dragging and dropping it into the upload area or selecting it from your device.
After the file is uploaded, SyncHive analyses its contents and displays the available schema components.
Selecting Components
When using Choose what to import, you can select the entities, tables, and shapes you want to bring into your hive.
This allows you to:
- Reuse only part of an existing schema
- Extend an existing hive incrementally
- Import specific business objects without importing the entire schema
After selecting the required components, choose Add to Schema to review the proposed changes.
Reviewing Schema Changes
Before changes are applied, SyncHive displays a summary showing how the imported components will affect the current schema.
Depending on whether matching components already exist, SyncHive:
- Merges schema definitions into existing entities or tables
- Replaces existing shape definitions
- Adds new entities, tables, relationships, and shapes
The summary allows you to review the proposed changes before they are applied.
Applying the Import
After the changes have been reviewed, confirm the import to apply the selected schema components to the current hive.
Imported components become part of the schema and can be managed in the same way as any other entities, tables, and shapes created directly within the hive.