On this page
property.record
Intent
A reusable key/value mapping type.
Exact selection subject:
subject: property.record
The current Runtime IR is evidence, not authority. Target improvements needed for a usable template contract are called out explicitly.
Scope envelope
| Scope | Context |
|---|---|
each | property.record: RecordPropertyContext |
all | properties.records: RecordPropertyContext[] |
| collection candidates | collects.group, collects.feature |
For collects.<dimension>, the singular collector is added beside the plural selected-subject array. A collector is valid only when ownership is semantically provable.
Context tree
| Context path | Type | Meaning / template use |
|---|---|---|
property.record.id | string | Opaque stable semantic identity. |
property.record.name | NameContext | Stable semantic identity and finite naming variants. |
property.record.description | string|null | Human semantic description. |
property.record.tags | string[] | Semantic classifiers; empty when none. |
property.record.explanations | ExplanationContext[] | Advisory usage/security/implementation notes. |
property.record.group | SemanticLinkContext|null | Owning semantic group. |
property.record.feature | SemanticLinkContext|null | Canonical owning feature, when present. |
property.record.lifecycle | LifecycleContext | Deprecation/removal semantics. |
property.record.keys | TypeContext | Allowed key type. |
property.record.values | TypeContext | Mapped value type. |
Usage rules
- Keep the tree semantic; no JavaScript/Python map spelling belongs here.
Runtime IR implications to audit
- Properties should gain universal metadata.
Template example — Handlebars / TypeScript record
export type {{file.symbol}} =
Record<{{renderType property.record.keys}}, {{renderType property.record.values}}>;
The example uses semantic context only. Any renderType/render_type helper shown is a pack-owned macro/partial consuming the documented TypeContext, not hidden Dryv context.
Audit questions
- Can a real property.record pack generate code without parsing raw IR storage conventions?
- Is any field here present only because the current IR happens to store it?
- Does any nested item need first-class selection of its own?