Archetype: doc_lookup_entity.org.mustache
Batch-loaded reference table with no management UI. Typically driven by an external
data source (LEI golden copy, reporting definition catalogue, etc.). The
*_lookup_entity.org suffix causes the org loader to dispatch as lookup_entity.
See the Template variable reference and Codegen input org-file schema reference for the complete schema.
Template
The full template source. Edit here and re-tangle with
compass build --direct tangle_codegen_templates to regenerate
library/templates/doc_lookup_entity.org.mustache.
{{! GENERATED FILE — tangled from projects/ores.codegen/library/templates/doc.org. Edit the org source. }}
:PROPERTIES:
:ID: {{id}}
:END:
#+title: {{title}}
#+description: {{description}}
#+type: ores.codegen.lookup_entity
#+component: {{component}}
#+filetags: {{filetags}}
#+product: ores
#+schema: public
#+entity_singular: {{slug}}
#+entity_plural: {{entity_plural}}
#+has_tenant_id: {{has_tenant_id}}
#+has_coding_scheme: false
#+has_image_id: false
#+has_artefact_insert_fn: false
#+created: {{date}}
#+updated: {{date}}
(One paragraph: what external data source this table mirrors, how it is loaded,
and how often it is refreshed.)
* Primary key
:PROPERTIES:
:column:
:type: text
:is_text: true
:END:
(Description of the primary key.)
* Columns
* Artefact indexes
* See also