InfrastructureTimeSeriesOpenAPIModels

The six canonical time series association types and the TimeSeriesAssociation wrapper that selects among them on the time_series_type discriminator. An association is metadata: it names where the values live, and never carries the array itself.

InfrastructureTimeSeriesOpenAPIModels.Deterministic — Type
Deterministic

A deterministic forecast: one horizon-length array per window, windows stepping by interval. One of a closed set of six canonical time series types owned by the data layer. This schema records the association and its metadata; the dense values live in the store named by uri.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to Deterministic for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • interval_alignment: Position of each timestamp in the period it represents.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • initial_timestamp: Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.
  • resolution: Cadence within a forecast window. Always present for a forecast, and part of the series' identity.
  • horizon: Length of one forecast window. Descriptive, not part of the series' identity.
  • interval: Step between the start of consecutive forecast windows. Part of the series' identity: two forecasts of one variable at the same resolution but different intervals — a day-ahead and a real-time forecast — are distinct series. PT0S is the canonical interval of a single-window forecast, which has no second window to step to.
  • count: Number of forecast windows. Descriptive, not part of the series' identity.
source
InfrastructureTimeSeriesOpenAPIModels.DeterministicInitialTimestamp — Type
DeterministicInitialTimestamp

Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.

source
InfrastructureTimeSeriesOpenAPIModels.DeterministicSingleTimeSeries — Type
DeterministicSingleTimeSeries

A synthetic deterministic forecast derived from a SingleTimeSeries by transform_single_time_series. Field-identical to Deterministic, and it reads back as one; it stays a distinct type because the catalog records which rows are synthetic, and a request for Deterministic matches both while a request for this type narrows to the synthetic ones alone.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to DeterministicSingleTimeSeries for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • interval_alignment: Position of each timestamp in the period it represents.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • initial_timestamp: Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.
  • resolution: Cadence within a forecast window. Always present for a forecast, and part of the series' identity.
  • horizon: Length of one forecast window. Descriptive, not part of the series' identity.
  • interval: Step between the start of consecutive forecast windows. Part of the series' identity: two forecasts of one variable at the same resolution but different intervals — a day-ahead and a real-time forecast — are distinct series. PT0S is the canonical interval of a single-window forecast, which has no second window to step to.
  • count: Number of forecast windows. Descriptive, not part of the series' identity.
source
InfrastructureTimeSeriesOpenAPIModels.DeterministicSingleTimeSeriesInitialTimestamp — Type
DeterministicSingleTimeSeriesInitialTimestamp

Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.

source
InfrastructureTimeSeriesOpenAPIModels.IntervalAlignment — Type
IntervalAlignment

Position of a timestamp in the period of length resolution that its value represents. At a one-hour resolution, the value at 01:00 covers 01:00 to 02:00 for PERIOD_BEGINNING, 00:30 to 01:30 for PERIOD_MIDPOINT, and 00:00 to 01:00 for PERIOD_ENDING. Descriptive: the store records it and does not realign a series.

source
InfrastructureTimeSeriesOpenAPIModels.NonSequentialTimeSeries — Type
NonSequentialTimeSeries

An irregular static time series, sampled at explicit timestamps rather than on a grid. Deliberately carries neither initial_timestamp nor resolution: an irregular series has no fixed cadence and its key holds no timestamp. The timestamp vector itself lives in the store rather than here, content-addressed so that many irregular series sharing one time axis store it once; timestamps_uri names which axis this series sits on, so a document plus the store's arrays describe the series completely.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to NonSequentialTimeSeries for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • timestamps_uri: Locator for this series' explicit timestamp vector, unique within one store — uri's counterpart for the time axis, with the same contract: no required format, never parsed or interpreted here, and resolved by the backing store (infrastore uses the axis's content hash, the same value it keys the shared vector under). A locator rather than the vector itself because the axis is shared: a cohort of irregular series on one axis names it once each, where inlining the timestamps would repeat the whole vector per row. Optional, so a producer that predates it is still valid, and absent from the other five types, which have no explicit axis. Without it a document cannot say which of the store's axes a row sits on, and the row cannot be reconstructed from the document — the store cannot infer it either, since arrays are content-addressed and two irregular series with identical values on different axes share one stored array. A consumer restoring rows from a document therefore requires it.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • length: Number of timesteps. Together with name this is what identifies the series: its explicit, strictly-increasing timestamp vector lives in the store, content-addressed so that many irregular series sharing one time axis store it once.
source
InfrastructureTimeSeriesOpenAPIModels.OwnerCategory — Type
OwnerCategory

Whether a time series' owner is a component or a supplemental attribute. The producing data layer allocates both kinds of id from one stream, so an owner_id never names one of each; the category is required regardless, because the store's catalog contract still supports independent streams from other producers and remains the store's disambiguator. These are the display and serde spellings; the store's catalog holds them as the integer codes 0 and 1.

source
InfrastructureTimeSeriesOpenAPIModels.Probabilistic — Type
Probabilistic

A probabilistic forecast: per-percentile, per-window horizon arrays. Adds a percentile axis in front of the deterministic layout.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to Probabilistic for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • interval_alignment: Position of each timestamp in the period it represents.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • initial_timestamp: Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.
  • resolution: Cadence within a forecast window. Always present for a forecast, and part of the series' identity.
  • horizon: Length of one forecast window. Descriptive, not part of the series' identity.
  • interval: Step between the start of consecutive forecast windows. Part of the series' identity: two forecasts of one variable at the same resolution but different intervals — a day-ahead and a real-time forecast — are distinct series. PT0S is the canonical interval of a single-window forecast, which has no second window to step to.
  • count: Number of forecast windows. Descriptive, not part of the series' identity.
  • percentiles: The percentiles this forecast carries, one per leading axis entry of the stored array.
source
InfrastructureTimeSeriesOpenAPIModels.ProbabilisticInitialTimestamp — Type
ProbabilisticInitialTimestamp

Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.

source
InfrastructureTimeSeriesOpenAPIModels.Scenarios — Type
Scenarios

A scenarios forecast: per-scenario, per-window horizon arrays. Adds a scenario axis in front of the deterministic layout.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to Scenarios for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • interval_alignment: Position of each timestamp in the period it represents.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • initial_timestamp: Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.
  • resolution: Cadence within a forecast window. Always present for a forecast, and part of the series' identity.
  • horizon: Length of one forecast window. Descriptive, not part of the series' identity.
  • interval: Step between the start of consecutive forecast windows. Part of the series' identity: two forecasts of one variable at the same resolution but different intervals — a day-ahead and a real-time forecast — are distinct series. PT0S is the canonical interval of a single-window forecast, which has no second window to step to.
  • count: Number of forecast windows. Descriptive, not part of the series' identity.
  • scenario_count: Number of scenarios, one per leading axis entry of the stored array. The store's catalog has no column for this and reads it off the array's shape; it is recorded explicitly here because this layer carries no array.
source
InfrastructureTimeSeriesOpenAPIModels.ScenariosInitialTimestamp — Type
ScenariosInitialTimestamp

Start of the first forecast window. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.

source
InfrastructureTimeSeriesOpenAPIModels.SingleTimeSeries — Type
SingleTimeSeries

A static time series on a regular grid: values at initial_timestamp + k * resolution. One of a closed set of six canonical time series types owned by the data layer. This schema records the association and its metadata; the dense values live in the store named by uri.

  • association_id: Surrogate id of this association, minted by the store that holds it. Assigned once when the association is created and never changed: renaming the series or reassigning its owner leaves it alone, so a consumer may persist it as a durable reference. Ids are never reused, and they are store-local — resolve one against the same store the document was exported from, not against an independently built store. Assigned by the store, never by a document author.
  • owner_id: ID of the owning component or supplemental attribute. The producing data layer allocates both from one id stream, so an owner_id never collides across the two categories; owner_category remains required because the store's catalog contract still supports independent streams from other producers, and it is still the store's disambiguator.
  • owner_type: Type name of the owning entity. Descriptive, not part of the series' identity.
  • owner_category: Whether the owner is a component or a supplemental attribute.
  • time_series_type: Discriminator. Fixed to SingleTimeSeries for this schema, pinned with const to match this repo's existing discriminators (Core/common.json's curve_type), which generate a plain string literal in both toolchains.
  • name: Time series name (e.g. maxactivepower). Part of the series' identity, and often carrying a disambiguating suffix; component_field records what the values are for.
  • features: User-defined key/value tags that are part of the series' identity: two series differing only by a feature are distinct series. Feature names that collide with a field of a series or of the tuple addressing one are rejected.
  • uri: Locator for the dense data, unique within one store. No required format — typically a file path or an HDF5 dataset path; the backing store decides what it means and resolves it (infrastore uses its content hash as this value). Never parsed or interpreted here. This layer records where the values are, never the values.
  • data_hash: Content hash of the stored array: SHA-256, hex-encoded. Optional — not every producer computes it.
  • element_type: What one timestep's values mean and how they are laid out. The physical dtype of the stored bytes derives from this and is not recorded separately. Unlike units and quantity_kind this is not a user-facing label — the writing package derives it from the array.
  • element_shape: Per-step element shape: the trailing dims after time. An empty array means a scalar element.
  • array_shape: Full native shape of the stored array, in the order the store holds it: the first axis is the array's length and the trailing axes end with element_shape. Static types are [length, *element_shape]; a deterministic forecast stacks windows as [horizon_count, count, *element_shape]; probabilistic and scenarios forecasts add a percentile or scenario axis in front of that. Optional, and redundant for the static types, where it is exactly [length] + element_shape. It earns its place on the forecasts, whose array layout is a convention the producing package owns rather than a rule this layer enforces, so the stored geometry cannot be reconstructed from horizon, count, percentiles, and scenario_count alone. A consumer that has it should prefer it; one that does not falls back to those fields, which is exact for the static types and a best effort for the forecasts.
  • units: Unit label for the series values. Set by whoever creates the series and returned unchanged; not part of the series' identity, so two series differing only in this label are duplicates. Meaningless on its own when unit_system is a per-unit basis, where the values are dimensionless. By convention drawn from the unit vocabulary in Core/units.json, though this field is a free-text label the store does not validate against it.
  • quantity_kind: Kind of physical quantity the values measure (e.g. ActivePower, ReactivePower, ElectricalEnergy). Coarser than units but finer than a dimension: ActivePower, ReactivePower, and ApparentPower share the dimension {M:1,L:2,T:-3}, so a dimension cannot tell them apart and a quantity kind can. It is also the only record of what the values measure when unit_system is a per-unit basis.
  • unit_system: Basis the series values are already expressed in. A declaration, not a conversion: nothing here rescales values, and converting a COMPONENTBASE series back to natural units needs the owning component's field that `perunitof` names. Absent means unspecified, which is deliberately not the same as NATURALUNITS.
  • per_unit_of: The field on the owning component that the values are a fraction of when unit_system is COMPONENTBASE (e.g. basepower, storagecapacity). Completes the per-unit declaration: it names which of the owner's fields converts the values back to natural units, so a consumer need not know the owner's conventions. Free-form: it names a field in the consumer's own object model, and nothing here checks it against `unitsystem`. Not part of the series' identity.
  • time_reference: How this series' timestamps were spelled, so a read hands back what the write declared instead of relabelling everything UTC. Absent means unspecified, which is not a claim the timestamps were written as UTC.
  • interval_alignment: Position of each timestamp in the period it represents.
  • component_field: The field on the owning component or supplemental attribute whose value these values are the time-varying form of (e.g. maxactivepower, rating). Free-form: it names a field in the consumer's own object model. Records what the values are for, where name only says which series they are.
  • application_data: Opaque, package-owned payload (typically JSON) carried verbatim for an application to reconstruct its own domain objects. Never parsed or interpreted here, and end users are not expected to set it. Element typing does not belong here — that is element_type.
  • initial_timestamp: First timestamp of the regular grid; every later step lands at initial_timestamp + k * resolution. The store's floor is one millisecond, matching Julia's millisecond-precision DateTime. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.
  • resolution: Cadence of the regular grid. Always present for a SingleTimeSeries, and part of the series' identity.
  • length: Number of timesteps.
source
InfrastructureTimeSeriesOpenAPIModels.SingleTimeSeriesInitialTimestamp — Type
SingleTimeSeriesInitialTimestamp

First timestamp of the regular grid; every later step lands at initial_timestamp + k * resolution. The store's floor is one millisecond, matching Julia's millisecond-precision DateTime. Written in one of two RFC 3339 forms, with at most 3 fractional-second digits: date-time, with Z or a UTC offset, names an instant; date-time-local, with no offset, is a wall clock and names no instant. time_reference fixes the form: zoneless requires date-time-local, utc requires a zero offset, and a fixed offset or an IANA zone requires date-time. With no time_reference, either form is accepted and none is assumed.

source
InfrastructureTimeSeriesOpenAPIModels.TimeSeriesAssociation — Type
TimeSeriesAssociation

Metadata linking one time series to the component or supplemental attribute that owns it — the JSON form of a row in the store's time_series_associations catalog table. A closed set of six canonical types owned by the data layer: two static (SingleTimeSeries on a regular grid, NonSequentialTimeSeries on explicit irregular timestamps) and four forecasts. The type decides which timing fields the row carries, which is why each is its own schema rather than one row with everything nullable.

Dense values never appear here. uri names the store location that holds them; data_hash optionally carries a content hash of that array. A NonSequentialTimeSeries adds timestamps_uri, the same kind of locator for its explicit time axis, which is likewise stored rather than carried. Content hashes themselves (featureshash, timestampshash) remain store-internal and deliberately absent — a locator names where something is, which is not the same as exposing the store's own address for it.

source
InfrastructureTimeSeriesOpenAPIModels.TimeSeriesFeatureValue — Type
TimeSeriesFeatureValue

One feature value. Four kinds, matching the backing store's feature-value type: int, float, bool, str. anyOf rather than oneOf is required, not stylistic: JSON Schema's integer is a subset of number, so an integer instance matches both branches and oneOf — which demands exactly one match — would reject every integer feature. A float feature is compared and hashed by its bit pattern rather than by IEEE comparison, so 0.0 and -0.0 are two different series; NaN and negative zero are rejected on write because the catalog cannot store either faithfully.

source
InfrastructureTimeSeriesOpenAPIModels.TimeSeriesFeatures — Type
TimeSeriesFeatures

User-defined key/value tags forming part of a series' identity. A map, matching the backing store's feature-map type (a BTreeMap whose sort order is load-bearing, because the hash of the feature map keys the catalog's uniqueness index). The excluded property names each already name a field of a time series or of the tuple that addresses one: consumers routinely spread a feature map into keyword arguments, where a feature called name or resolution would shadow the real field and silently change what a query means. The comparison is exact and case-sensitive — resolution is reserved, Resolution is not.

source