On this page

property.temporal

Intent

A reusable temporal value such as date, instant, duration, interval, or zoned date-time.

Exact selection subject:

yaml
subject: property.temporal

The current Runtime IR is evidence, not authority. Target improvements needed for a usable template contract are called out explicitly.

Scope envelope

ScopeContext
eachproperty.temporal: TemporalPropertyContext
allproperties.temporal: TemporalPropertyContext[]
collection candidatescollects.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 pathTypeMeaning / template use
property.temporal.idstringOpaque stable semantic identity.
property.temporal.nameNameContextStable semantic identity and finite naming variants.
property.temporal.descriptionstring|nullHuman semantic description.
property.temporal.tagsstring[]Semantic classifiers; empty when none.
property.temporal.explanationsExplanationContext[]Advisory usage/security/implementation notes.
property.temporal.groupSemanticLinkContext|nullOwning semantic group.
property.temporal.featureSemanticLinkContext|nullCanonical owning feature, when present.
property.temporal.lifecycleLifecycleContextDeprecation/removal semantics.
property.temporal.kinddate|time|date-time|instant|zoned-date-time|duration|interval|year-month|month-dayTemporal kind.
property.temporal.precisionsecond|millisecond|microsecond|nullPrecision when meaningful.
property.temporal.pointSemanticLinkContext|nullInterval point temporal type.
property.temporal.constraints.rangeTemporalRangeContext|nullMin/max temporal bounds.
property.temporal.constraints.pastboolean|DurationContext|nullPast-only rule.
property.temporal.constraints.futureboolean|DurationContext|nullFuture-only rule.
property.temporal.constraints.time_zonestring|nullTimezone rule.

Usage rules

  • Normalize temporal rules under constraints for a predictable tree.

Runtime IR implications to audit

  • Properties should gain universal metadata.
  • Consider canonical normalization of temporal constraints.

Template example — Jinja / Python temporal alias

jinja
{% if property.temporal.kind == "instant" %}
{{ file.symbol }} = datetime
{% elif property.temporal.kind == "date" %}
{{ file.symbol }} = date
{% endif %}

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.temporal 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?
Search in