Model
Schema and Extensions
Tailor a project's LML schema with custom classes, attributes, choices, relations, labels and status workflows, and see how each change affects existing data.
On this page
- Overview
- Concepts
- How to use it
- When and why
- Add an attribute to a class
- Add choices to an existing attribute
- Create a subclass
- Add a label
- Allow a new relationship
- Define a status workflow
- Add or change a workflow's states
- Choose a transition's approvers
- Request approval for a state change
- Share a schema between projects
- Worked example: CubeSat EO-1
- Tips and good practice
- Common mistakes
- How it connects to other features
- The Schema Editor
- How schema changes affect existing data
- Built-in extensions
- Keyboard shortcuts
- Options and settings
- Messages
- Limits
- Related
Overview
The schema defines what a project's model can hold:
- the classes of entities,
- the attributes each class has,
- the relations that may connect classes,
- the labels that tag entities,
- optional workflows: the states of a status attribute per class, how they may change, and which changes need approval.
Every project starts from the default Lifecycle Modeling Language (LML) schema. The Schema Editor changes it for one project only. The first edit creates the project's own copy, so other projects are unaffected. Every schema edit can be undone with a single Undo.
Holarch also adds built-in extensions to every project, such as Priority and Owner on requirements and Handling Strategy on risks. See Built-in extensions.
For working with entities, attributes and relationships day to day, see Model and Database.
Concepts
The project schema
- Default schema: the LML classes, relations, attributes and labels Holarch ships with. The in-app Help topics LML Classes (schema), LML Relationships (schema) and Labels (schema) list them live for the open project.
- Project schema: a copy stored inside the project. It is created on the first edit. It travels with the project in exports and reaches every member who opens it.
- Built-in extensions: additions that Holarch's features need. They are applied by name each time a project opens. So most projects already have their own copy, and the Usage page reads "This project uses its own edited schema."
Classes
A class is a kind of entity, such as Requirement or Asset. It has a Name, Description, Parent and Color, and two flags (Abstract and Hidden).
- Parent: a subclass inherits its parent's attributes and relation targets. It appears in every query, filter and diagram that covers the parent. For example, a custom subclass of Action gets action diagrams. A custom subclass of Requirement gets the quality checks and approval controls.
- Abstract: the class groups subclasses and cannot be created directly.
- Hidden: the class is not offered when you create entities or change their class. It and its subclasses are left out of the Database class filter. Existing entities stay.
- Color: the class badge and swatch color. Without one, a custom class takes the color of its nearest built-in ancestor. The badge shows the first two letters of the name.
Attributes
An attribute is a field that every entity of a class has, such as Priority on requirements. An attribute can also belong to a relation.
An attribute has a Name, a Type and a place in the class's order. It can have Allowed values, a Default Value and a Description. The description shows when you point at the attribute's label.
Types, grouped as the attribute dialog lists them (the stored type id is in brackets; exports, imports and the API use it):
| Group | Type | Holds |
|---|---|---|
| Text | Short text (TEXT), Long text (BIG_TEXT), Rich text (HTML) | One line; several lines; formatted text |
| Numbers | Number (NUMBER), Percent (PERCENT), Duration (DURATION) | A number or a distribution; 0 to 100; a number or distribution with a time unit |
| Date and time | Date and time (DATETIME) | Date and time |
| Choices | One of a list (ENUMERATION), Several of a list (MULTISELECT), Yes or no (BOOLEAN) | One value; several values; Yes or No |
| Links | Web address (URI), File (FILE) | A link; an uploaded file |
| Special | Location (GEOPOINT), Equation (EQUATION), Computed (COMPUTABLE), Person or team (USER_TEAM), Multiplicity (MULTIPLICITY), Quality check (QUALITY) | Latitude and longitude; LaTeX text; a value computed from other entities' attributes; a person or team name; n, n..m, n..* or *; a Yes/No criterion set by the quality check |
The editors for each type are described in Attribute types and editors.
Attributes inherited from parent classes are listed first, then the class's own attributes, in the order set on each class's page (drag a row, or ↑ / ↓). A new attribute goes last.
A hidden attribute keeps its values. It disappears from editors, filters, columns, searches and reports until it is shown again.
Relations and targets
- A relation is always a pair: a name and an inverse name, such as satisfies / satisfied by. Creating one creates both.
- A target allows a relation from one class to another, for example Requirement verified by Test Case. A target to a class also allows its subclasses. Subclasses inherit their parent's targets.
- Relations can carry attributes, for example Multiplicity on decomposed by. An attribute added to a relation also applies to its inverse.
- A hidden relation is shown dimmed in the Schema Editor and left out of the Help reference list. It stays usable.
Labels
A label is a tag you put on entities, such as Stakeholder Need. It adds no fields and changes nothing structural.
A label has a Name, a Description and the Class(es) it applies to. It can have a Parent label, so labels can nest.
- With no class selected, the label applies to every class.
- A label for a class also applies to its subclasses.
- A hidden label stays on entities that have it but is no longer offered.
Workflows
A workflow controls how one ENUMERATION attribute of a class may change, typically Status. It has:
- States: the values the class uses, in order. You can add, rename, reorder and remove custom states. Built-in states, such as a requirement's Approved, can only be retired. A subclass whose attribute is inherited (for example a Software Requirement under Requirement) keeps its own states.
- Transitions (From → To): the allowed changes. Without transitions every state can follow every other.
- Approval on a transition: the change needs an approved change request. By default the approvers set in Change Requests → Settings decide. A transition can name its own approvers instead: owners, editors or named people, and how many of them must approve (up to 5, or every named person).
- Lock the item after this transition (in the transition's ⋯ menu): the item is locked after the change.
The attribute's editors then offer only the current value and the allowed next states. A state that needs approval reads (needs approval).
How to use it
When and why
Tailor the schema at the start of a project: when you set up the modeling method, and before you import data. Typical reasons:
- Adopt a method or standard: add the attributes your process requires, for example a TRL on assets or a Safety Integrity Level on requirements. Add the labels your document templates expect.
- Specialize classes: add subclasses such as Hazard under Risk or Payload Instrument under Asset. Queries, filters and reports can then tell them apart, and they keep every LML relationship.
- Allow a relationship the method needs: add a target, or a new relation pair.
- Enforce a review process: add a workflow so a requirement's Status moves Draft → In Review → Approved. The editor then never lets it skip a step. Mark In Review → Approved as Approval so the move goes through the project's approvers.
- Reuse across projects: export the schema from one project and import it into the next.
The schema answers the question "What can this model say?". Change it deliberately. Queries, saved columns, reports and imports refer to classes, attributes and relations by name.
Add an attribute to a class
- In the navigation rail, click Settings → Schema (with the tools at the bottom).
- In the sidebar under Classes, click the class, for example Asset.
- In the Attributes card, click + Attribute.
- Enter the Name.
- Choose the Type, for example One of a list under Choices.
- For One of a list or Several of a list: type the choices in Allowed values, one per line.
- Optional: set a Default Value. New entities of the class start with it.
- Optional: enter a Description.
- Click Add Attribute.
You see the toast "Attribute saved". The attribute is last in the class's list and appears for that class and its subclasses: in the inspector, the Item View, Database columns and filters, searches, reports and import mappings.
- To move it, drag its row in the Attributes table, or use ↑ and ↓ on the row. Each move can be undone with a single Undo.
Add choices to an existing attribute
- Open the class that defines the attribute. The Defined On column shows it. An inherited attribute is edited on the class that defines it.
- Click ✎ (Edit Attribute) on the row.
- Add the new choice on its own line in Allowed values.
- Click Save.
For One of a list, the square before each choice (under the list) sets the value's colour. Kanban boards whose columns are that attribute's values use it as the column colour.
To remove a choice, delete its line in the same dialog. Entities that already have that value keep it, but the editor no longer offers it. Before you remove a choice, find those entities with an attribute query (for example Requirement:"Priority=Urgent") and give them a current choice.
Create a subclass
- Open the parent class.
- Click + Subclass.
(Or click + Class in the sidebar and choose the Parent.)
- Enter the Name and Description.
- Set Abstract, Hidden and Color if needed.
- Click Create Class.
You see the new class. It already has every inherited attribute and target.
To move existing entities into the new class, select them in the Database and use Change Class…. See Change Class.
Add a label
- Click + Label in the sidebar, or + New Label on the Labels page.
- Enter the Name and Description.
- If the label belongs under another label, choose that Parent.
- Select the Class(es) it applies to. ⌘ / Ctrl/Ctrl+click selects several. With none selected, the label applies to every class.
- Click Create Label.
To apply the label, use + Label in the inspector or the Item View, or Label ▾ in the Database bulk bar.
Allow a new relationship
A relationship between two classes is allowed only when a target permits it. Add a target to allow it.
- Open the source class.
- In Relations, click + Relation.
- Choose the Relation.
- Choose the Other class.
- Keep Add the inverse relation to the other class too checked. The link can then be made from either end.
- Click Add Relation.
If the other class lacks the inverse, the Back to this class column shows + on <class>: click it to add the inverse there.
If the relation you need does not exist, create it first:
- Click New Relation Type… in the dialog (or + Relation in the sidebar).
- Enter the Name and Inverse Name, and their descriptions.
- Click Create Relation.
- Choose the new relation in step 3 above.
Define a status workflow
- Click Workflow in the sidebar.
- In Add a Class…, choose the class.
You see a card for the class. The workflow watches the class's first enumeration attribute.
- If needed, choose a different attribute in the watches list. Changing it clears the transitions.
- Click + Add Transition.
- Set the transition's Name, From and To. From is (Initial — no value) or a state.
- Tick Approval if the change needs an approved change request. To lock the item after the change, open the row's ⋯ menu (or right-click the row) and choose Lock the item after this transition; the row then says Locks the item.
- Repeat steps 4 to 6 for each allowed step.
To choose who approves a transition, see Choose a transition's approvers.
The attribute's editors now offer only the allowed next states, marked ⇢ workflow.
Add or change a workflow's states
- On the Workflow page, find the class's card. The Items column counts the items in each state; an item without a value counts under the attribute's default (a test case without a status counts as Not Run, as the Test Center shows it).
- To add a state, type its name in New state and click + Add State.
The state is added to the class and to the attribute's choices.
- To order the states, click ↑ or ↓. Pickers and board columns follow this order.
- To rename a custom state, click Rename… and enter the new name.
Items in that state, the transitions and the value colour get the new name. A single Undo takes it all back.
- To remove a state, click Remove… (custom) or Retire… (built-in).
- A state no item holds is removed.
- When items hold it, choose Move and Remove with the state to move them to, or Keep as Retired. A retired state stays on its items, shows (retired), and is no longer offered. Its outgoing transitions stay, so items can leave it. Restore offers it again.
No change on this page clears a value.
Choose a transition's approvers
- On the Workflow page, tick Approval on the transition.
A button appears beside it: Change Request settings ▾.
- Click the button.
Transition Approvers opens.
- In Who approves, choose one:
- As set in Change Requests → Settings: the project's approvers decide (the default).
- Owners or Owners and editors.
- Named people: tick the project members who approve. On the desktop app, type their names, separated by commas, as each person enters it in Preferences → Your name.
- In Approvals needed, choose how many must approve: 1 to 5, or Every named person.
- Click Save.
The button shows the rule, for example All 3 named ▾. A single Undo takes the change back.
A request that holds several state changes needs every rule that applies. One rejection by someone who may approve rejects it. On the hosted service, named approvers count only when a project owner set the workflow last; otherwise the transition needs the same number of owner approvals.
Request approval for a state change
- In the inspector or Item View, choose a state marked (needs approval). For a requirement, you can also click its transition in the review strip (it ends in …).
Request Approval opens.
- Optionally enter a Reason, then click Submit Request.
A change request with the state change is created and submitted. The dialog names its approvers: the transition's own, or those set in Change Requests → Settings. The item keeps its state.
While the request is open, the requirement's review strip shows it with its count, for example CR-4: 1 of 3 approvals.
- The approvers approve it.
With the last approval the item moves to the new state, when that approver may edit the project. Otherwise an editor opens the request and clicks Apply Changes. The item's history shows via CR-n, and a requirement's approval record names every approver and the request.
Direct changes to such a state are refused with "… needs approval. Choose "X" on the item to request it.": bulk Attributes…, grid cells, board moves and AI changes. Choosing the state again while a request is open opens that request.
Share a schema between projects
- In the source project, open Settings → Schema in the rail.
- Click Export Schema.
A JSON file downloads.
- In the target project, open Settings → Schema in the rail.
- Click More ▾ → Import Schema… and choose the file.
- Choose the Mode:
- Merge (add the classes, attributes, relations and labels this project lacks, matched by name), or
- Replace this project's schema.
- Click Import.
Worked example: CubeSat EO-1
This example adds a technology readiness level (TRL) to assets, specializes a class and adds a review workflow. Create the demo with Manage Projects → Project Files ▾ → New Demo Project, then open Settings → Schema in the rail.
Look at the model.
- Read the Usage page.
The Classes table lists the most used classes first, with their items, attributes and relations. Not used yet lists the classes, labels and relations the demo does not use.
Add a TRL to assets.
- Click Asset, then + Attribute.
- Enter the Name
TRLand choose the Type One of a list. - Type the choices
1to9in Allowed values, one per line. - Enter the Description
Technology readiness level. - Click Add Attribute.
Fill it in.
- Open Architecture → Assets.
- Select 1.2.1 Reaction Wheel Assembly and set TRL to
7in the inspector. - Set 1.2.2 Star Tracker to
6and 1.1 Payload Camera to5the same way.Query it.
- In the search box, type
Asset:"TRL>=6"and press Enter.The query becomes a filter chip in the query bar. The table lists the reaction wheels and the star tracker. Choice values that are numbers compare as numbers.
Specialize a class.
- Back in the Schema Editor, open Asset and click + Subclass.
- Name it
Payload Instrumentand click Create Class. - In the Database, check 1.1 Payload Camera and click Change Class….
- Choose Payload Instrument as the New class.
The dialog says "1 item will become Payload Instrument." and lists nothing to remove: the subclass inherits every Asset attribute and target.
- Click Change Class.
The camera keeps its TRL, its performs links and its place in the decomposition.
Add a review workflow.
- Open Workflow and choose Requirement in Add a Class….
- Check that it watches Status.
- Add these transitions: Initial → Draft, Draft → In Review, In Review → Approved, In Review → Rejected, Rejected → Draft.
- Open 2.4 Target Slew. Its Status is Draft.
Its Status list now offers only Draft and In Review.
Undo or keep.
- Press ⌘Z / Ctrl+Z once per change to undo the experiment. Or keep the changes and click Export Schema to reuse them in the next CubeSat project.
Tips and good practice
- Prefer subclasses and labels to new top-level classes. A subclass keeps every LML relation, diagram and check of its parent. A label changes nothing structural at all.
- Hide instead of delete. Hiding a class, attribute or label keeps existing data intact and can be reversed.
- Set up the schema before importing. The import mapping offers the attributes that exist. Columns mapped to New Attribute are created automatically, with a guessed type. See Import and Export.
- Keep built-in additions. Hide a built-in extension you do not need. Do not rename or delete it: a missing one is added again, with an empty value, the next time the project opens.
- Document every custom element in its Description. It appears as the tooltip in editors and in Help's schema tables.
- Less-than attribute tests also match entities with no value. For example,
Asset:"TRL<6"includes assets without a TRL. Combine such a test with a positive test, or use>=on the complement.
Common mistakes
- Changing an attribute's type clears its values. Holarch warns "N entities have a "X" value. Changing the type from A to B clears those values." If you need the old values, export a CSV report first. A single Undo takes back both the type change and the cleared values; on projects with more than 5,000 such values the progress card shows while they are cleared.
- Deleting a relation deletes its relationships. The confirmation counts them. Undo restores them.
- Removing a target leaves relationships the schema no longer allows. Existing links stay; Model Checks lists them under rule Global.9 (Relationships the schema does not allow). Remove them or change their relation before or after you remove the target; the confirmation counts them.
- A class cannot be deleted while it has entities. Change their class or delete them first, or hide the class.
- Plain transitions only guide the editors. Bulk Attributes…, imports and AI changes can still set any state that does not need approval. Mark a transition Approval when a change must not bypass review.
- Renaming a built-in state is not possible. Approvals, configuration control and verification rely on them. Add a new state instead, or retire the built-in one.
How it connects to other features
- Database, inspector and Item View show and edit the attributes. They offer the relations the schema allows. Queries refer to classes, attributes, labels and relations by name. See Model and Database.
- Diagrams: the diagram types an entity can have depend on its class and the classes above it. Custom subclasses inherit them.
- Requirements features (quality, approvals, TBD/TBR, links to review) rely on built-in attributes such as Status, TBD/TBR and the quality criteria. See Requirements.
- Traceability Matrix and Model Checks use the relation targets to decide what is allowed and what is missing. See Traceability.
- Import and export map to attributes by name and carry the schema in project JSON,
.holarchand ReqIF files. See Import and Export.
The Schema Editor
The Schema Editor is where you make every schema change. Open it from Settings → Schema in the navigation rail (with the tools at the bottom). The address schema?class=<id> opens a class directly (an earlier built-in class number still works).
The editor has a page header, a sidebar and a main area. The main area shows the Usage page, a class, or the Relations, Labels or Workflow page.
Page header
| Control | What it does |
|---|---|
| Export Schema | Downloads the project's schema as JSON (<Project_name>_schema.json). |
| More ▾ → Import Schema… | Imports a schema JSON file (also a project JSON that contains a schema) with Merge or Replace. |
| Add New Built-ins… | Shown when the project has its own schema. Lists the classes, relations, attributes and labels that the default schema has and this copy lacks (matched by name), such as the LML 2.0 additions, and the LML 2.0 values and allowed relationships of existing ones (Decision Status Open and Closed; Logical decomposed by Logical; Connection transfers Input/Output), and adds them, and a single Undo takes it all back. Existing classes, attributes, choices and data stay unchanged; new values go after the existing ones. |
| More ▾ → Reset to Default… | Offered when the project has its own schema. Replaces it with the default LML schema after confirmation. |
Sidebar
- Search classes, attributes, relations, labels… filters the class tree. The main area shows matching Classes, Attributes, Relations found and Labels found, or "No class, attribute, relation or label matches. Try another search term."
- Usage.
- + Class, + Label, + Relation.
- Classes: the class tree with color swatches, "(abstract)" and "(hidden)" marks, and the number of entities (including subclasses).
- Other: Relations (with the count), Labels (with the count) and Workflow.
Usage
Usage opens first. Its status line reads "The default LML schema. The first edit makes a copy for this project." or "This project uses its own edited schema."
- Classes: a table of the classes that are not hidden, most used first: Class (click to open it), Items (with its subclasses), Attributes (its own), Relations (allowed, inherited included) and Last change (the last time one of its items changed).
- Not used yet: three lists you can open, Classes, Labels and Relations that nothing in the project uses, each with a count. Hide on a row hides that class, label or relation pair (a single Undo takes it all back); hidden items stay in the schema and are shown again on their page or dialog.
Class page
Click a class in the sidebar to open its page. From top to bottom:
- Breadcrumb of parent classes. Click one to open it.
- Header: class icon and name, Abstract and Hidden chips, ✎ Edit Class, + Subclass and Delete. N entities in project › opens the Database filtered to the class.
- Description card: the description, the chips Id N, Attributes N (with "(k inherited)" when some come from parents), Relations N and Entities N, and the Subclasses.
- Attributes card: + Attribute and a table with these columns:
- The order controls of the class's own attributes: drag the row, or ↑ / ↓ (a single Undo takes back each move).
- Name, Type (the type's name; point at it for the stored id).
- Details: choices and default.
- Defined On: "this class" or the ancestor class.
- Description.
- Actions, for attributes defined on this class: ✎ (Edit Attribute), ⊘ / 👁 (Hide Attribute / Show Attribute) and × (Remove Attribute).
- Relations card: + Relation and a table with both directions: Relation, Other classes, Back to this class (the inverse name, and + on <class> for an other class that lacks the inverse) and Description. In Other classes, × removes a relation defined on this class. Inherited ones show "(inherited from X)".
- Labels card: the labels available on the class.
*marks labels available on every class.
Edit Class dialog
Titled Create New Class or Edit Class — X. Fields: Name, Description, Parent ((none — top level) or a class), Hidden, Abstract and Color. Click Create Class or Save Class.
A built-in class that has entities cannot change its parent: "Entities use this built-in class, so its parent is fixed."
Attribute dialog
Titled New Attribute or Edit Attribute — X. For a relation attribute, the title adds "(relation "…")". Click Add Attribute or Save.
- Name and Type (grouped: Text, Numbers, Date and time, Choices, Links, Special). There is no order field: a new attribute goes last.
- Allowed values (one per line): for One of a list and Several of a list only. Empty lines and repeated values are dropped. A list needs at least two values: "An enumeration needs at least two choices. Add another choice." ("A multiselect …" for Several of a list). An attribute that already has a single value still saves while its list is unchanged. For One of a list, a colour square per value follows the list.
- Default Value: not for FILE, COMPUTABLE, QUALITY, HTML and USER_TEAM.
- Description.
Relations page
Click Relations in the sidebar to see every relation pair. The page has + Relation and a table with these columns:
- Relation and Inverse.
- Source → Target: every class pair allowed.
- Attributes: ✎ per attribute, and + Attribute.
- Used: the number of relationships.
- Description.
- ✎ (Edit Relation) and × (Delete Relation).
The relation dialog is titled New Relation or Edit Relation — X. It has Name, Inverse Name, Description, Inverse Description, Hidden and Colour (or Default colour). Spider diagrams draw the relation in this colour; a diagram can still pick its own colour per relationship. The Relation column shows the colour as a swatch. When editing, it also lists the relation's attributes, with + Add Attribute. Click Create Relation or Save.
Labels page
Click Labels in the sidebar to see every label. The page has Add DoDAF Labels and Add UAF Labels (the framework labels this project lacks; they are also added on the first DoDAF product or UAF view), + New Label and a table in tree order with these columns:
- Label.
- Applies To: class chips or "All classes".
- Entities: the count.
- Description.
- Actions: ✎ (Edit Label), ⊖ (Take this label off every entity, shown when it is in use) and × (Delete Label). A single Undo puts a label back on every entity it was taken off; with more than 5,000 entities the progress card shows.
The label dialog is titled Create New Label or Edit Label — X. It has Name, Description, Parent ((none) or a label), Classes (none selected: every class) and Hidden. Click Create Label or Save Label.
Workflow page
Click Workflow in the sidebar. The page reads "Set which value changes an enumeration attribute (such as Status) allows."
The page reads "Set the states of a class and which changes between them are allowed or need approval."
Add a Class… lists the classes that have an enumeration attribute and no workflow yet. It watches Status when the class has one. Each workflow class has a card with:
- The class chip, watches and the watched attribute. Changing it asks first when the workflow has transitions.
- Remove: removes the class's workflow. Item values stay.
- States: a table of State (marked built-in or (retired)), Items (the count) and ↑, ↓, Rename…, Remove… or Retire…, or Restore. New state and + Add State below it. A subclass with an inherited attribute reads "Own states of X; Y is inherited."
- Transitions: + Add Transition adds "New Transition" from (Initial — no value) to the first state. A table: Name, From, To, Approval and a ⋯ menu with Lock the item after this transition and Delete transition (also right-click the row, or ⇧F10 / Shift+F10 on it). Name, From and To read as text; click one (or press Enter or F2 on it) to change it. Without transitions the card reads "No transitions: every state can follow every other."
On the hosted service, only project owners change workflows; others see the page read-only with "Only project owners change workflows."
How schema changes affect existing data
Check this table before you change a schema element that already has data.
| Change | Effect on entities and relationships |
|---|---|
| Rename a class, attribute, relation or label | Data is kept, because everything is stored by id. Saved queries, search text and column titles that use the old name stop matching. Update them. |
| Change a class's parent | In editors, the class gains the new parent's attributes and targets and loses the old parent's. Stored values stay. Not allowed for a built-in class that has entities. |
| Mark a class abstract or hidden | Existing entities stay. The class is no longer offered for new entities or Change Class. |
| Delete a class | Allowed only when the class has no subclasses and no entities. Its own attributes and targets are removed. Labels drop it from their class list. |
| Add an attribute | Existing entities have no value. New entities get the Default Value. |
| Change an attribute's type | Every value of that attribute is cleared, after confirmation. |
| Remove a choice | Entities keep the old value. The editor no longer offers it. |
| Hide an attribute | Values are kept but not shown, searched or exported until shown again. |
| Remove an attribute | Its value is cleared on every entity and relationship, after confirmation. |
| Add a target | The relation becomes available between those classes (and their subclasses). |
| Remove a target | Existing relationships stay, although the schema no longer allows them. Model Checks rule Global.9 lists them. |
| Delete a relation | The relation pair, its targets and every relationship using it are removed. |
| Delete a label | It is removed from every entity. Its child labels move up to its parent. |
| Import Schema (Merge) | Adds classes, relations, targets, attributes and labels that are missing by name. Nothing existing is changed or removed. |
| Add New Built-ins | Adds the default schema's classes, relations, attributes and labels that are missing by name, with their default ids. Targets are added for the added classes and relations, plus the LML 2.0 targets between existing classes; the LML 2.0 Decision Status values are appended. Nothing existing is changed or removed. |
| Import Schema (Replace) or Reset to Default | The schema is replaced. Entity data stays, but values of attributes that no longer exist are not shown. Built-in extensions are added again the next time the project opens. |
Every change can be undone with a single Undo, and ⌘Z / Ctrl+Z restores the schema together with any data it removed.
Built-in extensions
Holarch adds these elements to every project when it opens, because its features need them.
- They are matched by name, ignoring case.
- They are added only when missing, and never renamed or removed.
- Your edits to them are kept.
| Class | Attributes added |
|---|---|
| Requirement | Priority and Criticality (High, Medium, Low), Owner, Source, TBD/TBR (None, TBD, TBR), TBD Owner, TBD Due Date, Verification Method (multiselect: Analysis, Demonstration, Inspection, Test), Verification Level (Component, Subsystem, System), Success Criteria |
| Risk | Owner, Handling Strategy (Accept, Avoid, Transfer, Mitigate, Watch), Residual Probability, Residual Consequence, Need-by Date, Trigger, Closure Rationale; Status gains the choices Mitigating and Watch |
| Test Case | Tested By, Test Date, Configuration, Test Article, Test Evidence (file) |
| Task | Board Column (enumeration), added when a Kanban board with its own column names is created or converted. Its values are the column names. |
| Input/Output | Data Rate, Data Rate Units, Protocol/Format, Message/Data Definition |
| Conduit | Connector/Pins, Medium, Owner, Interface Status (Draft, Proposed, Agreed, Baselined), TBD/TBR (None, TBD, TBR) |
| Port | Conjugated |
| Measure | Weight, Improvement Direction (N/A, Positive, Negative), Scoring Method (Direct 1-10, Direct 1-5, Linear, Thresholds), Score Thresholds, Current Estimate |
| Decision | Status (Open, In Analysis, Decided, Deferred, Superseded), Decision Date, Decided By |
| Characteristic | Units |
| Asset | Quantity |
Labels added: Stakeholder Need and Interface Requirement (Requirement), Interface Block (Asset, under Block), Trade Study and Whiteboard (Artifact), Criteria and TPM (Measure).
Relation targets added: Decision alternative Asset, Action, Artifact, Resource, Statement and Requirement, with the inverse alternative of.
Framework pages (DoDAF and UAF) create the labels their products use the first time you add such a product.
Keyboard shortcuts
| Key | Where | Action |
|---|---|---|
| Enter | Allowed values field in the attribute dialog | Start the next choice (one per line) |
| ⌘ / Ctrl/Ctrl+click | Class(es) list in the label dialog | Select several classes |
| ⌘ / Ctrl+Z / ⌘ / Ctrl+Shift+Z | Anywhere | Undo / redo a schema change |
Options and settings
- The project schema is stored in the project and shared with every member who can open it.
- Members with the viewer role cannot change it ("View only: ask an owner for edit access.").
- Export Schema files use the
holarch-schemaformat and contain the classes, relations, attributes, labels and workflow.
Messages
| Message | Meaning and fix |
|---|---|
| "Enter a class name." | The class name is empty. |
| "That class name is too long; shorten it." | Class and label names are limited to 100 characters. |
| "Class names cannot contain : " ( ) < or >. Searches give these characters a meaning." | Remove those characters. Other letters, digits, spaces and punctuation are allowed. Existing class names stay valid. |
| "Another class already uses this name. Choose a different one." | Class names are unique (not case-sensitive). |
| ""X" is a search keyword (as in x:…). Choose another class name." | The search keys (class, label, name, number, description, is, relationship, in, under, diagram, id, order) and AND, OR, NOT cannot name a class, because a search would read the class as that key. |
| "That parent would make this class its own ancestor." | Choose a parent outside the class's subtree. |
| "This class has subclasses. Delete them or move them to another parent first." | A class with subclasses cannot be deleted. |
| ""X" (or a subclass) has N entities. Change their class or delete them first, or hide the class." | A class with entities cannot be deleted. |
| "Enter an attribute name." | The attribute name is empty. |
| "The attribute name contains characters that are not allowed." | Use letters, digits, spaces and _ - $ ( ) . , /. |
| "Name, Number and Description are built in; pick another attribute name." | These are entity fields, not attributes. |
| "An attribute with this name already exists here." | The class, a parent or a subclass already has it. |
| "Add at least one choice." | ENUMERATION and MULTISELECT need choices. |
| "Enter a label name." / "The label name contains characters that are not allowed." / "Another label already uses this name." / "A label cannot be inside itself. Choose another parent." | Label dialog checks. Labels may also use & and '. |
| "Enter a relation name and an inverse name." / "The relation name and the inverse name must be different." / "A relation named "X" already exists." | Relation dialog checks. |
| "Not a JSON file." / "This file is not a schema: it needs classes, relations, attributes and labels." | Import Schema… needs a schema or project JSON file. |
| "Merged schema: N item(s) added" / "Schema replaced" | Import finished. |
| "No workflow classes. Choose a class with Add a Class… to define its status transitions." | No workflow is defined yet. |
Before a destructive change, a confirmation states the consequence:
| Confirmation | Text |
|---|---|
| Remove Attribute | "N entities have a value that will be cleared." |
| Change Type and Clear Values | "N entities have a "X" value. Changing the type from A to B clears those values." |
| Delete Class | "Delete the class "X" with its attributes and targets?" |
| Remove Target (× in Other classes) | "N existing relationship(s) stay, although the schema no longer allows them." |
| Delete Relation | "N relationship(s) using it are removed too." |
| Delete Label | "It is removed from N entities." |
| Remove Label From Items | "Remove "X" from N entities?" |
| Reset Schema | "Custom classes, attributes, relations and labels are removed from the schema (entity data stays; Undo is available)." |
Limits
- Class and label names: 100 characters.
- Names of attributes created by imports: 80 characters.
- One watched attribute per class.
- Plain transitions are applied by the attribute editors, grid cells and the Kanban board. Approval transitions also refuse direct and bulk changes. New items can be created in any state.
- Lock applies to LML items. SysML v2 elements are not locked.
- State names: 100 characters.
- Merge does not add new choices to an attribute that already exists; add them in the attribute dialog.
- Add New Built-ins… appears only after you open the page again, once the schema has become custom.
Related
- Model and Database: entities, attribute editors, queries and bulk edits.
- Requirements: the requirement attributes, quality checks and approvals.
- Traceability: how relations feed the matrix and coverage checks.
- Import and Export: attribute mapping and schema in exchange files.
- Help: Schema, LML Basics.