Template Specifications
A TemplateSpecification represents a standard, code or specification a template is written against (e.g. AS3600, NCC2022, NATSPEC). Linking a template to a spec helps users pick the right one for their project and ensures compliance is traceable.
Spec Record
| Field | Purpose |
|---|---|
| Name | E.g. "AS 3600 — 2018". |
| Code | Short code "AS3600". |
| Version | "2018", "2022", etc. |
| Description | What the standard covers. |
| Color | Hex for UI badging. |
| IsSystem | System specs cannot be deleted. |
| IsActive | Deactivate obsolete specs without losing history. |
Linking a Template to Specs
Many-to-many via TemplateSpecificationMapping — a template can comply with multiple specs (e.g. both AS3600 and NCC2022).
- Open the template.
- In the Specifications tab, click Add Spec.
- Select one or more.
- Save.
Filtering by Spec
The Templates view has a Specifications filter — show only templates claiming compliance with a specific version of a standard.
Pre-Shipped Specs
TX1 seeds common Australian and international standards. Organisation admins can add custom ones.
Usage Counts
Each spec shows UsageCount — number of templates linked. Useful for admins deciding whether to deprecate a standard.
Deletion
Specs cannot be deleted while templates link to them — reassign or archive the templates first. System specs cannot be deleted at all.
Colour and Display
Linked specs appear as coloured badges on template cards, making it easy to spot compliance at a glance.