Templates
A Template is the schema definition in Omnismith. It combines a set of Attributes into a reusable blueprint that shapes how Entities (data records) are created, validated, searched, and visualized.
Think of a Template as a digital form design: once designed, you can create dozens, thousands, or millions of matching records from it.
1. Core Structure of a Template
Section titled “1. Core Structure of a Template”A Template consists of two main configuration areas:
- Basic Info:
- Name: Clear, descriptive template title (e.g.,
Support Ticket,Server Node,Customer Account). - Description: Optional operational notes explaining what data this template holds.
- Visual Styling: Icon and color customization for easy identification across the UI.
- Name: Clear, descriptive template title (e.g.,
- Attribute Composition:
- The list of attached Attributes (Dimensions, Metrics, Lists, References) that define the fields of records created under this template.
- Reordering fields to customize the entity form presentation.
2. Step-by-Step: Creating a Template
Section titled “2. Step-by-Step: Creating a Template”- Navigate to Data Modeling → Templates in the navigation launcher.
- Click + Create Template.
- Basic Details Tab:
- Enter a Name (e.g.
Server Node). - Set an optional description and visual icon.
- Enter a Name (e.g.
- Attributes Tab:
- Click + Attach Attribute.
- Select existing attributes from your project library (e.g. Hostname, Environment, Status, CPU Usage, Latency).
- Drag to reorder fields as desired.
- Click Save Changes.

3. Dynamic Schema Evolution (Zero-Downtime Updates)
Section titled “3. Dynamic Schema Evolution (Zero-Downtime Updates)”One of Omnismith’s greatest strengths is runtime schema flexibility:
- Adding Fields: Attach a new attribute to an existing template at any time. All existing entities under that template instantly gain access to the new field without database migrations.
- Removing Fields: Detach an attribute from a template to hide it from entity forms and search tables without destroying historical metric logs.
- No Downtime: Changes take effect immediately across the web UI, API endpoints, and dashboard views.
💡 Developer Architecture Note
Section titled “💡 Developer Architecture Note”[!NOTE] Runtime Schemas & Entity Partitioning: In traditional databases, adding columns requires
ALTER TABLElocks. In Omnismith’s EAV engine:
- Templates define virtual field maps stored in JSON metadata.
- Dynamic OpenAPI endpoints
/api/v1/entity/template/{templateId}automatically adapt input validation and response payloads based on the template’s active attribute schema.
Next Steps
Section titled “Next Steps”[!TIP]
- Learn how to link templates together in References.
- Populate records using your template in Entity Operations → Create & Edit.
- Package complete template collections into Marketplace Blueprints.