model.ossie.yaml
The semantic model, in Apache Ossie 0.2. tidepool also accepts the wrapped shape of Ossie 0.1.1 (semantic_model:). See the model for how the parts fit together.
Expressions are SQL. tidepool reads the OSSIE_SQL_2026 dialect, and ANSI_SQL when the expression has no OSSIE_SQL_2026 version.
The whole document.
| key | type | default | description |
|---|---|---|---|
ai_context | any | ||
custom_extensions | list of CustomExtension | ||
datasets | list of Dataset | required | |
description | string | ||
metrics | list of Metric | [] | |
name | string | required | |
relationships | list of Relationship | [] | |
version | string | required |
CustomExtension
| key | type | default | description |
|---|---|---|---|
data | string | required | A JSON document, as a string. |
vendor_name | string | required |
Dataset
| key | type | default | description |
|---|---|---|---|
ai_context | any | ||
custom_extensions | list of CustomExtension | ||
description | string | ||
fields | list of Field | [] | Declared fields. Every column of the source table is also a field of the dataset under its own name; declaring one adds a label, a description, or a derived expression. |
name | string | required | |
primary_key | list of string | ||
source | string | required | In Tidepool: the name of a table in tables/. |
unique_keys | list of list of string |
Metric
| key | type | default | description |
|---|---|---|---|
ai_context | any | ||
custom_extensions | list of CustomExtension | ||
datatype | DataType | ||
description | string | ||
expression | Expression | required | |
name | string | required |
Relationship
| key | type | default | description |
|---|---|---|---|
ai_context | any | ||
custom_extensions | list of CustomExtension | ||
from | string | required | The many side. |
from_columns | list of string | required | |
name | string | required | |
to | string | required | The one side. |
to_columns | list of string | required |
Field
| key | type | default | description |
|---|---|---|---|
ai_context | any | ||
custom_extensions | list of CustomExtension | ||
datatype | DataType | ||
description | string | ||
dimension | Dimension | ||
expression | Expression | required | |
label | string | ||
name | string | required |
DataType
Ossie's logical data types.
Type: String · Integer · Decimal · Float · Boolean · Date · Time · DateTime · DateTimeTz · Opaque.
Expression
| key | type | default | description |
|---|---|---|---|
dialects | list of DialectExpression | required |
Dimension
| key | type | default | description |
|---|---|---|---|
is_time | boolean |
DialectExpression
| key | type | default | description |
|---|---|---|---|
dialect | string | required | The dialect's name. Any string is kept; only [READ_DIALECTS] are read. |
expression | string | required |