Configurations
Configurations in OpenRegister allow you to package and manage related registers, schemas, and objects together as a coherent unit. This feature is particularly useful for multi-tenancy, application packaging, and organizing complex data structures.
Overview
A Configuration is a container that groups together:
- Registers: Collections of objects that share similar characteristics
- Schemas: Data structure definitions that define object properties
- Objects: Individual data items (optional)
- Mappings: Data transformation rules for converting between formats (see Mappings)
Key Concepts
Configuration Properties
Each configuration has the following properties:
- Title: A human-readable name for the configuration
- Description: Detailed description of what the configuration contains
- Type: The type or category of the configuration (e.g., 'application', 'tenant', 'module')
- Owner/App: The application or owner identifier
- Registers: Array of register IDs that are part of this configuration
- Schemas: Array of schema IDs that are part of this configuration
- Objects: Array of object IDs that are part of this configuration (optional)
- Mappings: Array of mapping IDs imported by this configuration
- Version: Configuration version for tracking changes
- Created/Updated: Timestamps for auditing
Use Cases
Application Packaging
Package all registers and schemas for a specific application:
Multi-Tenancy
Create separate configurations for different tenants:
Module Organization
Group related functionality into logical modules:
- Core Module: Base registers and schemas
- Customer Module: Customer-related data structures
- Product Module: Product catalog structures
- Order Module: Order processing structures