Skip to content

Name a temporal property's type as the standard defines it - #56

Merged
estebanzimanyi merged 1 commit into
masterfrom
fix/temporal-property-type-token
Aug 29, 2026
Merged

Name a temporal property's type as the standard defines it#56
estebanzimanyi merged 1 commit into
masterfrom
fix/temporal-property-type-token

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A TemporalProperty document names its type with one of the five tokens the standard declares: components/schemas/temporalProperty/properties/type admits TBoolean, TText, TInteger, TReal and TImage. An integer property is written TInteger and a boolean one TBoolean. The token is the tier's internal name for the type as well, so the aggregation table and the window dispatch carry the same spelling and a stream query over either property resolves through it; the spellings a caller may write when storing a property stay as they are, tint and tbool among them. A test reads the admitted set out of the vendored schema and checks the token of every spelling the tier accepts, so the singular TemporalProperty document is validated against its schema as the plural TemporalProperties document is.

The rest of that schema has two cells no document can satisfy, and both belong to the standard rather than to the tier: temporalPrimitiveValue declares datetimes an array of minItems: 2 beside values as a single scalar, and its interpolation enum reads Discrete/Step/Linear/Regression where the temporal-geometry half of the same document names Stepwise. The test asserts the cell that has one authority.

A TemporalProperty document names its type with one of the five tokens the
standard declares — `components/schemas/temporalProperty/properties/type` admits
TBoolean, TText, TInteger, TReal and TImage — so an integer property is written
TInteger and a boolean one TBoolean, where they read TInt and TBool. The token
is the tier's internal name for the type as well, so the aggregation table and
the window dispatch carry the same spelling and a stream query over either
property resolves as before; the spellings a caller may write when storing a
property are unchanged, `tint` and `tbool` among them. A test reads the admitted
set out of the vendored schema and checks the token of every spelling the tier
accepts, which is what the suite lacked: the plural TemporalProperties document
was validated against its schema and the singular one was not.
@estebanzimanyi
estebanzimanyi merged commit d22fa1a into master Aug 29, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/temporal-property-type-token branch August 29, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant