Skip to content

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.

keytypedefaultdescription
ai_contextany
custom_extensionslist of CustomExtension
datasetslist of Datasetrequired
descriptionstring
metricslist of Metric[]
namestringrequired
relationshipslist of Relationship[]
versionstringrequired

CustomExtension ​

keytypedefaultdescription
datastringrequiredA JSON document, as a string.
vendor_namestringrequired

Dataset ​

keytypedefaultdescription
ai_contextany
custom_extensionslist of CustomExtension
descriptionstring
fieldslist 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.
namestringrequired
primary_keylist of string
sourcestringrequiredIn Tidepool: the name of a table in tables/.
unique_keyslist of list of string

Metric ​

keytypedefaultdescription
ai_contextany
custom_extensionslist of CustomExtension
datatypeDataType
descriptionstring
expressionExpressionrequired
namestringrequired

Relationship ​

keytypedefaultdescription
ai_contextany
custom_extensionslist of CustomExtension
fromstringrequiredThe many side.
from_columnslist of stringrequired
namestringrequired
tostringrequiredThe one side.
to_columnslist of stringrequired

Field ​

keytypedefaultdescription
ai_contextany
custom_extensionslist of CustomExtension
datatypeDataType
descriptionstring
dimensionDimension
expressionExpressionrequired
labelstring
namestringrequired

DataType ​

Ossie's logical data types.

Type: String · Integer · Decimal · Float · Boolean · Date · Time · DateTime · DateTimeTz · Opaque.

Expression ​

keytypedefaultdescription
dialectslist of DialectExpressionrequired

Dimension ​

keytypedefaultdescription
is_timeboolean

DialectExpression ​

keytypedefaultdescription
dialectstringrequiredThe dialect's name. Any string is kept; only [READ_DIALECTS] are read.
expressionstringrequired

reference generated from the schemas, the endpoint table and the MCP tools: just docs