Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SQL-first semantic layer for consistent metrics across your data stack.

- **Formats:** Sidemantic, Cube, MetricFlow (dbt), LookML, Hex, Rill, Superset, Omni, BSL, Snowflake Cortex, Malloy
- **Formats:** Sidemantic, Cube, MetricFlow (dbt), LookML, Hex, Rill, Superset, Omni, BSL, GoodData LDM, Snowflake Cortex, Malloy
- **Databases:** DuckDB, MotherDuck, PostgreSQL, BigQuery, Snowflake, ClickHouse, Databricks, Spark SQL

[Documentation](https://sidemantic.com) | [GitHub](https://github.com/sidequery/sidemantic) | [Discord](https://discord.com/invite/7MZ4UgSVvF)
Expand Down Expand Up @@ -169,7 +169,7 @@ See `examples/` for more.

- SQL query interface with automatic rewriting
- Automatic joins across models
- Multi-format adapters (Cube, MetricFlow, LookML, Hex, Rill, Superset, Omni, BSL)
- Multi-format adapters (Cube, MetricFlow, LookML, Hex, Rill, Superset, Omni, BSL, GoodData LDM)
- SQLGlot-based SQL generation and transpilation
- Pydantic validation and type safety
- Pre-aggregations with automatic routing
Expand All @@ -180,7 +180,7 @@ See `examples/` for more.

## Multi-Format Support

Auto-detects: Sidemantic (SQL/YAML), Cube, MetricFlow (dbt), LookML, Hex, Rill, Superset, Omni, BSL
Auto-detects: Sidemantic (SQL/YAML), Cube, MetricFlow (dbt), LookML, Hex, Rill, Superset, Omni, BSL, GoodData LDM

```bash
sidemantic query "SELECT revenue FROM orders" --models ./my_models
Expand Down
112 changes: 112 additions & 0 deletions sidemantic-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@
"description": "Display label",
"title": "Label"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Unique dimension name within model",
"title": "Name",
Expand Down Expand Up @@ -443,6 +457,20 @@
"description": "Display label",
"title": "Label"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Unique measure name",
"title": "Name",
Expand Down Expand Up @@ -925,6 +953,20 @@
"description": "Foreign key column (defaults to {name}_id for many_to_one)",
"title": "Foreign Key"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Name of the related model",
"title": "Name",
Expand Down Expand Up @@ -1273,6 +1315,20 @@
"description": "Display label",
"title": "Label"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Unique measure name",
"title": "Name",
Expand Down Expand Up @@ -1506,6 +1562,20 @@
"description": "Display label",
"title": "Label"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Unique dimension name within model",
"title": "Name",
Expand Down Expand Up @@ -1884,6 +1954,20 @@
"description": "Display label",
"title": "Label"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Unique measure name",
"title": "Name",
Expand Down Expand Up @@ -2287,6 +2371,20 @@
"description": "Foreign key column (defaults to {name}_id for many_to_one)",
"title": "Foreign Key"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"name": {
"description": "Name of the related model",
"title": "Name",
Expand Down Expand Up @@ -2435,6 +2533,20 @@
"description": "Parent model to inherit from",
"title": "Extends"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Adapter-specific metadata payload",
"title": "Metadata"
},
"metrics": {
"description": "Measure definitions",
"items": {
Expand Down
Loading