Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Auto-update documentation for master (#82604)

github-automation-metabasebfc9d9aa9114
diff --git a/docs/api.json b/docs/api.json
index ecdb090243c..a1fb89f16f9 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -7609,131 +7609,6 @@
},
"required" : [ "moved" ]
},
- "metabase.collections.schema..collection.update" : {
- "description" : "What an update (or insert) of a Collection accepts: every column of `:collection` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "archive_operation_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "authority_level" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "is_sample" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_remote_synced" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "slug" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "location" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "namespace" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "personal_owner_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
"metabase.collections.schema.CardType" : {
"type" : "string",
"enum" : [ "model", "question", "metric" ]
@@ -8072,142 +7947,187 @@
},
"required" : [ "id", "email", "first_name", "last_name", "timestamp" ]
},
- "metabase.collections.schema.collection" : {
- "description" : "What an update (or insert) of a Collection accepts: every column of `:collection` except `id`, all optional.",
+ "metabase.comments.schema..comment.context" : {
+ "description" : "The `:context` column of a Comment, decoded.",
"type" : "object",
"properties" : {
- "archive_operation_id" : {
+ "exploration_query_ids" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "highlight_label" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "maxLength" : 1000
}, {
"type" : "null"
} ]
},
- "authority_level" : {
+ "highlighted" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.comments.schema..comment.highlight"
}, {
"type" : "null"
} ]
},
- "is_sample" : {
+ "timeline_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- },
- "effective_location" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.comments.schema..comment.highlight" : {
+ "description" : "The chart point a comment is anchored to. Identity only — which column, and which dimension values\n pick out the point — so the client can re-find it in a result set it is separately authorized to\n read.",
+ "type" : "object",
+ "properties" : {
+ "columnName" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "is_remote_synced" : {
+ "dimensions" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "columnName" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "value" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ },
+ "additionalProperties" : false
+ }
}, {
"type" : "null"
} ]
- },
- "name" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.comments.schema..prose-mirror-node.attrs" : {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "description" : "Value must be a map."
+ } ],
+ "type" : "object",
+ "properties" : {
+ "entityId" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "slug" : {
+ "label" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "archived" : {
+ "level" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "location" : {
+ "model" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "can_write" : {
- "type" : "boolean"
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
+ }
+ }
+ },
+ "metabase.comments.schema.prose-mirror-node" : {
+ "description" : "One node of the ProseMirror/TipTap document a comment is written in, in the shape ProseMirror's `Node.toJSON`\n emits: a `:type`, the children it contains, the marks applied to it, and `:text` on text nodes. Those five keys are\n the whole of the ProseMirror JSON node format; `:attrs` varies by node type. Marks are nodes too as far as this\n schema is concerned -- a mark carries only `:type` and `:attrs`, which is a subset of a node.",
+ "type" : "object",
+ "properties" : {
+ "attrs" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.comments.schema..prose-mirror-node.attrs"
}, {
"type" : "null"
} ]
},
- "namespace" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "content" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.comments.schema.prose-mirror-node"
+ }
},
- "is_personal" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "marks" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.comments.schema.prose-mirror-node"
+ }
},
- "personal_owner_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
+ "text" : {
+ "type" : "string"
},
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.data-studio.api.table.bulk-table-info" : {
+ "description" : "Schema for table info in bulk operations. Matches frontend BulkTableInfo type.",
+ "type" : "object",
+ "properties" : {
+ "db_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "description" : {
+ "display_name" : {
+ "type" : "string"
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "is_published" : {
+ "type" : "boolean"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "schema" : {
"oneOf" : [ {
"type" : "string"
}, {
@@ -8215,159 +8135,158 @@
} ]
}
},
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.collections.schema.collection-or-root" : {
- "description" : "A Collection row, or the Root Collection placeholder.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.root-collection"
- }, {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection"
- } ]
+ "required" : [ "id", "db_id", "name", "display_name", "schema", "is_published" ]
},
- "metabase.collections.schema.root-collection" : {
- "description" : "The placeholder for the Root Collection, which has no row, as `metabase.collections.models.collection.root` builds it.",
+ "metabase.data-studio.api.table.bulk-table-selection-info" : {
+ "description" : "Schema for /selection endpoint response. Matches frontend BulkTableSelectionInfo type.",
"type" : "object",
"properties" : {
- "can_delete" : {
- "type" : "boolean"
+ "published_downstream_tables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
+ }
},
- "authority_level" : {
+ "selected_table" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
}, {
"type" : "null"
} ]
},
- "id" : {
- "const" : "root"
+ "unpublished_upstream_tables" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
+ }
+ }
+ },
+ "required" : [ "selected_table", "published_downstream_tables", "unpublished_upstream_tables" ]
+ },
+ "metabase.data-studio.api.table.data-authorities" : {
+ "type" : "string",
+ "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]
+ },
+ "metabase.data-studio.api.table.data-layers" : {
+ "type" : "string",
+ "enum" : [ "final", "internal", "hidden" ]
+ },
+ "metabase.data-studio.api.table.data-sources" : {
+ "type" : "string",
+ "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]
+ },
+ "metabase.data-studio.api.table.table-selectors" : {
+ "type" : "object",
+ "properties" : {
+ "database_ids" : {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
},
- "effective_ancestors" : {
+ "schema_ids" : {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection"
+ "type" : "string"
}
},
- "effective_location" : {
+ "table_ids" : {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.documents.prose-mirror..card-embed.explore-filter" : {
+ "description" : "One explore-further filter `metabase.explorations` snapshots onto a static card embed: the filter as the client\n sent it, plus the name of the dimension it is on. Its `:field_ref` is the legacy `field_ref` of the chart column\n that was clicked.",
+ "type" : "object",
+ "properties" : {
+ "dimension_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "is_remote_synced" : {
- "type" : "boolean"
- },
- "name" : {
+ "display_value" : {
"type" : "string"
},
- "can_write" : {
- "type" : "boolean"
- },
- "parent_id" : {
- "type" : "null"
- },
- "can_restore" : {
- "type" : "boolean"
+ "field_ref" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..dimension.target"
},
- "metabase.collections.models.collection.root/is-root?" : {
- "const" : true
+ "operator" : {
+ "type" : "string"
},
- "namespace" : {
+ "value" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
}, {
- "type" : "string"
+ "type" : "number"
+ }, {
+ "type" : "boolean"
} ]
}, {
"type" : "null"
} ]
},
- "is_personal" : {
- "type" : "boolean"
+ "values" : {
+ "type" : "array",
+ "prefixItems" : [ {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }, {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ } ]
}
},
- "required" : [ "metabase.collections.models.collection.root/is-root?" ],
+ "required" : [ "operator", "field_ref", "display_value" ],
"additionalProperties" : false
},
- "metabase.comments.schema..comment.context" : {
- "description" : "The `:context` column of a Comment, decoded.",
+ "metabase.documents.prose-mirror..card-embed.host-data" : {
+ "description" : "What `metabase.explorations` writes under `:host_data` of a static card embed so the frontend can render the\n embed's filter pills and hover highlights without a live lookup.",
"type" : "object",
"properties" : {
- "exploration_query_ids" : {
+ "explore_filters" : {
"oneOf" : [ {
"type" : "array",
"items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.documents.prose-mirror..card-embed.explore-filter"
}
}, {
"type" : "null"
} ]
},
- "highlight_label" : {
- "oneOf" : [ {
- "type" : "string",
- "maxLength" : 1000
- }, {
- "type" : "null"
- } ]
- },
- "highlighted" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.comments.schema..comment.highlight"
- }, {
- "type" : "null"
- } ]
- },
- "timeline_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.comments.schema..comment.highlight" : {
- "description" : "The chart point a comment is anchored to. Identity only — which column, and which dimension values\n pick out the point — so the client can re-find it in a result set it is separately authorized to\n read.",
- "type" : "object",
- "properties" : {
- "columnName" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimensions" : {
+ "query_ids" : {
"oneOf" : [ {
"type" : "array",
"items" : {
- "type" : "object",
- "properties" : {
- "columnName" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- },
- "additionalProperties" : false
+ "type" : "integer"
}
}, {
"type" : "null"
@@ -8376,7 +8295,7 @@
},
"additionalProperties" : false
},
- "metabase.comments.schema..prose-mirror-node.attrs" : {
+ "metabase.documents.prose-mirror..node.attrs" : {
"description" : "Value must be a map.",
"oneOf" : [ {
"type" : "object",
@@ -8386,98 +8305,31 @@
} ],
"type" : "object",
"properties" : {
- "entityId" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "label" : {
+ "model" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "level" : {
+ "stored_result_id" : {
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
- "model" : {
+ "label" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- }
- }
- },
- "metabase.comments.schema.prose-mirror-node" : {
- "description" : "One node of the ProseMirror/TipTap document a comment is written in, in the shape ProseMirror's `Node.toJSON`\n emits: a `:type`, the children it contains, the marks applied to it, and `:text` on text nodes. Those five keys are\n the whole of the ProseMirror JSON node format; `:attrs` varies by node type. Marks are nodes too as far as this\n schema is concerned -- a mark carries only `:type` and `:attrs`, which is a subset of a node.",
- "type" : "object",
- "properties" : {
- "attrs" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.comments.schema..prose-mirror-node.attrs"
- }, {
- "type" : "null"
- } ]
- },
- "content" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.comments.schema.prose-mirror-node"
- }
- },
- "marks" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.comments.schema.prose-mirror-node"
- }
- },
- "text" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.content-verification.schema..moderation-review.update" : {
- "description" : "What an update (or insert) of a ModerationReview accepts: every column of `:moderation_review` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "moderated_item_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
},
- "moderated_item_type" : {
+ "id" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "string"
} ]
@@ -8485,26 +8337,29 @@
"type" : "null"
} ]
},
- "moderator_id" : {
+ "chart_href" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "most_recent" : {
+ "_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string",
+ "format" : "uuid"
+ } ]
}, {
"type" : "null"
} ]
},
- "status" : {
+ "entityId" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "string"
} ]
@@ -8512,73 +8367,49 @@
"type" : "null"
} ]
},
- "text" : {
+ "child_target_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "host_data" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.documents.prose-mirror..card-embed.host-data"
}, {
"type" : "null"
} ]
}
- },
- "additionalProperties" : false
+ }
},
- "metabase.content-verification.schema.moderation-review" : {
- "description" : "What an update (or insert) of a ModerationReview accepts: every column of `:moderation_review` except `id`, all optional.",
+ "metabase.documents.prose-mirror.ast" : {
+ "description" : "Schema for a prose-mirror document AST as it arrives at the API or is read back from the application database: a\n node in the shape ProseMirror's `Node.toJSON` emits, whose children and marks are nodes too.",
"type" : "object",
"properties" : {
- "moderator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "user" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "moderated_item_id" : {
+ "attrs" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.documents.prose-mirror..node.attrs"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "updated_at" : {
+ "content" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.documents.prose-mirror.ast"
+ }
}, {
"type" : "null"
} ]
},
- "status" : {
+ "marks" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.documents.prose-mirror.ast"
+ }
}, {
"type" : "null"
} ]
@@ -8590,22718 +8421,10529 @@
"type" : "null"
} ]
},
- "moderated_item_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "most_recent" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "type" : {
+ "type" : "string"
}
},
- "required" : [ "id" ],
+ "required" : [ "type" ],
"additionalProperties" : false
},
- "metabase.dashboards.schema..dashboard-card.parameter-mapping" : {
- "description" : "One entry of the `:parameter_mappings` column of a DashboardCard, decoded.",
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
+ "metabase.documents.schema..document.id" : {
+ "description" : "Valid Document ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.driver.connection.connection-type" : {
+ "type" : "string",
+ "enum" : [ "default", "write-data", "admin", "transform" ]
},
- "metabase.dashboards.schema..dashboard-card.update" : {
- "description" : "What an update (or insert) of a DashboardCard accepts: every column of `:report_dashboardcard` except `id`, all optional.",
+ "metabase.driver.index-field" : {
+ "description" : "One form field describing how to request an index: the same shape as a [[connection-properties]] descriptor, plus a\n `:columns` type for the indexed columns.",
"type" : "object",
"properties" : {
- "inline_parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "visualization_settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard-card.visualization-settings"
- }, {
- "type" : "null"
- } ]
+ "description" : { },
+ "directions" : {
+ "type" : "boolean"
},
- "dashboard_tab_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
+ "display-name" : { },
+ "name" : {
+ "type" : "string"
},
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "options" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "name" : { },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "value" ]
+ }
},
- "parameter_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard-card.parameter-mapping"
- }
- }, {
- "type" : "null"
- } ]
+ "required" : {
+ "type" : "boolean"
},
- "card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
+ "type" : {
+ "type" : "string",
+ "enum" : [ "string", "boolean", "select", "integer", "columns" ]
+ }
+ },
+ "required" : [ "name", "display-name", "type" ]
+ },
+ "metabase.driver.index-method" : {
+ "description" : "Metadata for one index kind a driver supports.",
+ "type" : "object",
+ "properties" : {
+ "description" : { },
+ "display-name" : { },
+ "fields" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.driver.index-field"
+ }
},
- "size_x" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "lifecycle" : {
+ "type" : "string",
+ "enum" : [ "standalone", "inline" ]
+ }
+ },
+ "required" : [ "display-name", "lifecycle", "fields" ]
+ },
+ "metabase.driver.supported-index-methods" : {
+ "description" : "Return shape of [[supported-index-methods]]: index-kind -> metadata.",
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.driver.index-method"
+ }
+ },
+ "metabase.eid-translation.schema.entity-ids-by-model" : {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ },
+ "metabase.embedding-rest.api.theme.EmbeddingTheme" : {
+ "type" : "object",
+ "properties" : {
+ "created_at" : { },
+ "entity_id" : {
+ "type" : "string",
+ "minLength" : 1
},
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "size_y" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "is_default" : {
+ "type" : "boolean"
},
- "col" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
},
- "row" : {
+ "settings" : {
+ "description" : "Value must be a map.",
"oneOf" : [ {
- "type" : "integer"
+ "type" : "object",
+ "additionalProperties" : { }
}, {
- "type" : "null"
+ "description" : "Value must be a map."
} ]
},
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "updated_at" : { }
+ },
+ "required" : [ "id", "entity_id", "name", "settings", "is_default", "created_at", "updated_at" ]
+ },
+ "metabase.frontend-errors.api.frontend-error-type" : {
+ "type" : "string",
+ "enum" : [ "component-crash", "chart-render-error" ]
+ },
+ "metabase.health-inspector.api.result" : {
+ "type" : "object",
+ "properties" : {
+ "check_name" : {
+ "type" : "string"
},
- "action_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.action"
- }, {
- "type" : "null"
- } ]
+ "health" : {
+ "type" : "number"
},
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
+ "message" : {
+ "type" : "string"
+ },
+ "run_at" : {
+ "type" : "string",
+ "format" : "date-time"
}
},
- "additionalProperties" : false
+ "required" : [ "check_name", "health", "message", "run_at" ]
},
- "metabase.dashboards.schema..dashboard-card.visualization-settings" : {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
+ "metabase.indexed-entities.schema..model-index.pk-ref" : {
+ "description" : "The `:pk_ref` column of a ModelIndex, decoded.",
+ "type" : "array"
},
- "metabase.dashboards.schema..dashboard-tab.update" : {
- "description" : "What an update (or insert) of a DashboardTab accepts: every column of `:dashboard_tab` except `id`, all optional.",
+ "metabase.indexed-entities.schema..model-index.value-ref" : {
+ "description" : "The `:value_ref` column of a ModelIndex, decoded.",
+ "type" : "array"
+ },
+ "metabase.indexes.schema.classical-index" : {
+ "description" : "Postgres / MySQL / SQL Server secondary index.",
"type" : "object",
"properties" : {
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1
},
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
+ "include" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column-name"
+ }
},
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "kind" : {
+ "type" : "string",
+ "enum" : [ "btree", "hash", "gin", "gist", "brin", "spgist", "fulltext", "spatial", "clustered", "nonclustered", "columnstore" ]
},
"name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
},
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "unique" : {
+ "type" : "boolean"
}
},
+ "required" : [ "kind", "name", "columns" ],
"additionalProperties" : false
},
- "metabase.dashboards.schema..dashboard.parameter" : {
- "description" : "One entry of the `:parameters` column of a Dashboard, decoded.",
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- },
- "metabase.dashboards.schema..dashboard.update" : {
- "description" : "What an update (or insert) of a Dashboard accepts: every column of `:report_dashboard` except `id`, all optional.",
+ "metabase.indexes.schema.clustering" : {
+ "description" : "Snowflake (standalone) / BigQuery (inline) clustering. `:name` is required for the standalone form.",
"type" : "object",
"properties" : {
- "points_of_interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1
},
- "enable_embedding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "kind" : {
+ "const" : "clustering"
},
- "auto_apply_filters" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
+ }
+ },
+ "required" : [ "kind", "columns" ],
+ "additionalProperties" : false
+ },
+ "metabase.indexes.schema.column" : {
+ "type" : "object",
+ "properties" : {
+ "direction" : {
+ "type" : "string",
+ "enum" : [ "asc", "desc" ]
},
- "width" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column-name"
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ },
+ "metabase.indexes.schema.column-name" : {
+ "type" : "string",
+ "minLength" : 1,
+ "maxLength" : 255
+ },
+ "metabase.indexes.schema.distkey" : {
+ "description" : "Redshift distribution, inline. Only `:key` uses a column (the one DISTKEY column); `:all`/`:even` take none.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1,
+ "maxItems" : 1
},
- "last_viewed_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "kind" : {
+ "const" : "distkey"
},
- "initially_published_at" : {
+ "style" : {
+ "type" : "string",
+ "enum" : [ "key", "all", "even" ]
+ }
+ },
+ "required" : [ "kind", "style" ],
+ "additionalProperties" : false
+ },
+ "metabase.indexes.schema.index-name" : {
+ "description" : "Free-form user input, inlined (quoted and escaped) into DDL. 63 is the Postgres identifier limit, the tightest\n engine we support.",
+ "type" : "string",
+ "minLength" : 1,
+ "maxLength" : 63
+ },
+ "metabase.indexes.schema.index-structured" : {
+ "description" : "A single structured index definition, dispatched on `:kind`. The shape stored in\n `metabase_table_indexes.structured` and handed to the driver index multimethods.",
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.sortkey"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.distkey"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.clustering"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.order-by"
+ }, {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.skip-index"
+ } ]
+ },
+ "metabase.indexes.schema.order-by" : {
+ "description" : "ClickHouse ORDER BY, inline.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1
+ },
+ "kind" : {
+ "const" : "order-by"
+ }
+ },
+ "required" : [ "kind", "columns" ],
+ "additionalProperties" : false
+ },
+ "metabase.indexes.schema.skip-index" : {
+ "description" : "ClickHouse data-skipping index, standalone. Only arg-free types; the parameterized ones need type-args the form\n can't supply yet.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1
+ },
+ "granularity" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "kind" : {
+ "const" : "skip-index"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "minmax", "bloom_filter" ]
+ }
+ },
+ "required" : [ "kind", "name", "columns", "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.indexes.schema.sortkey" : {
+ "description" : "Redshift sort key, inline.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.indexes.schema.column"
+ },
+ "minItems" : 1
+ },
+ "kind" : {
+ "const" : "sortkey"
+ },
+ "style" : {
+ "type" : "string",
+ "enum" : [ "compound", "interleaved" ]
+ }
+ },
+ "required" : [ "kind", "style", "columns" ],
+ "additionalProperties" : false
+ },
+ "metabase.legacy-mbql.schema..legacy-column-metadata.binning-info" : {
+ "type" : "object",
+ "properties" : {
+ "bin_width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "binning_strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
+ },
+ "max_value" : {
+ "type" : "number"
+ },
+ "min_value" : {
+ "type" : "number"
+ },
+ "num_bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ },
+ "metabase.legacy-mbql.schema..legacy-column-metadata.qualified-keys" : {
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.pivot/idx" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "metabase.lib.underlying/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/original-join-name" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "view_count" : {
+ "metabase.lib.metadata.result-metadata/field-ref" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
+ "type" : "boolean"
+ },
+ "lib/external-remap" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
}, {
"type" : "null"
} ]
},
- "embedding_type" : {
+ "metabase.driver.mongo.query-processor/source-alias" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "show_in_getting_started" : {
+ "lib/source-column-alias" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "position" : {
+ "lib/temporal-unit" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
}, {
"type" : "null"
} ]
},
- "made_public_by_id" : {
+ "lib/type" : {
+ "default" : "metadata/column",
+ "const" : "metadata/column"
+ },
+ "lib/source-uuid" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
}, {
"type" : "null"
} ]
},
- "name" : {
+ "metabase.driver.mongo.query-processor/join-field" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "archived" : {
+ "qp/implicit-field?" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "collection_position" : {
+ "lib/ref-name" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "embedding_params" : {
+ "dimension/id" : {
"oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
+ "description" : "Valid Dimension ID",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "metabase.lib.underlying/binning" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
}, {
"type" : "null"
} ]
},
- "collection_id" : {
+ "metabase.lib.join/target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/deduplicated-name" : {
+ "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "lib/transformation-added-base-type" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "values/values" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
}, {
"type" : "null"
} ]
},
- "public_uuid" : {
+ "lib/original-expression-name" : {
"oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "string",
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "archived_directly" : {
+ "lib/from-model?" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "public_uuid_prefix" : {
+ "lib/original-fk-join-alias" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.dashboards.schema.dashboard" : {
- "description" : "What an update (or insert) of a Dashboard accepts: every column of `:report_dashboard` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
+ "lib/original-fk-field-name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "enable_embedding" : {
+ "lib/card-id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "Valid Card ID",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "auto_apply_filters" : {
+ "metabase.lib.underlying/temporal-unit" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
}, {
"type" : "null"
} ]
},
- "width" : {
+ "lib/expression-name" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "collection_authority_level" : {
+ "lib/breakout?" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "last-edit-info" : {
+ "values/human-readable-values" : {
"oneOf" : [ {
- "type" : "object",
- "properties" : {
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "timestamp" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "timestamp", "id", "first_name", "last_name", "email" ],
- "additionalProperties" : false
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
}, {
"type" : "null"
} ]
},
- "last_viewed_at" : {
+ "lib/original-effective-type" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "can_delete" : {
- "type" : "boolean"
- },
- "initially_published_at" : {
+ "lib/join-alias" : {
"oneOf" : [ {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "lib/source-display-name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "collection" : {
+ "dimension/human-readable-field-id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection-or-root"
+ "description" : "Valid Field ID",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "can_set_cache_policy" : {
- "type" : "boolean"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- },
- "embedding_type" : {
+ "lib/original-fk-field-id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "description" : "Valid Field ID",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "moderation_reviews" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.content-verification.schema.moderation-review"
- }
+ "qp/native-sandbox-column.propagate-coercion?" : {
+ "type" : "boolean"
},
- "show_in_getting_started" : {
+ "metabase.lib.join/HACK-from-incomplete-join?" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "resolved-params" : {
+ "lib/internal-remap" : {
"oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.resolved-parameter"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
}, {
"type" : "null"
} ]
},
- "position" : {
+ "lib/options" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
}, {
"type" : "null"
} ]
},
- "creator" : {
+ "lib/original-binning" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
+ "description" : "Schema for `:binning` options passed to a `:field` clause.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "default"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
+ } ]
}, {
"type" : "null"
} ]
},
- "is_remote_synced" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
+ "lib/original-join-alias" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "string",
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "name" : {
+ "lib/original-display-name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "metabase.lib.field.resolution/fallback-metadata?" : {
+ "type" : "boolean"
},
- "collection_position" : {
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "lib/binning" : {
"oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "embedding_params" : {
- "oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
+ "description" : "Schema for `:binning` options passed to a `:field` clause.",
"oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "default"
}
- }, {
- "description" : "Value must be a map."
- } ]
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
}, {
- "type" : "null"
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
} ]
}, {
"type" : "null"
} ]
},
- "tabs" : {
+ "metabase.lib.metadata.result-metadata/source" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema.dashboard-tab"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "lib/source" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
}, {
"type" : "null"
} ]
},
- "moderation_status" : {
+ "lib/ref-display-name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "can_write" : {
- "type" : "boolean"
+ "dimension/type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "internal", "external" ]
+ }, {
+ "type" : "null"
+ } ]
},
- "collection_id" : {
+ "lib/original-name" : {
+ "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "lib/original-ref-style-for-result-metadata-purposes" : {
+ "type" : "string",
+ "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
+ },
+ "metabase.driver.mongo.query-processor/inherited?" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "param_fields" : {
+ "dimension/name" : {
"oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema.param-field"
- }
- }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "lib/simple-display-name" : {
"oneOf" : [ {
"type" : "string",
- "format" : "date-time"
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "public_uuid" : {
+ "lib/desired-column-alias" : {
"oneOf" : [ {
+ "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
"type" : "string"
}, {
"type" : "null"
} ]
+ }
+ }
+ },
+ "metabase.legacy-mbql.schema.AggregationRefOptions" : {
+ "description" : "Options for a legacy `:aggregation` ref in MBQL 4 are the same as in MBQL 5, except that `:lib/uuid` is optional and\n the map cannot be empty.",
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
},
- "can_restore" : {
+ "metabase.mcp.v2.query/keyset" : {
"type" : "boolean"
},
- "last_used_param_values" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema..user-parameter-value.value"
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
},
- "caveats" : {
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "parameters" : {
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "effective-type" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard.parameter"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "creator_id" : {
+ "base-type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "archived_directly" : {
+ "lib/transformation-added-base-type" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "public_uuid_prefix" : {
- "oneOf" : [ {
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
"type" : "string"
- }, {
- "type" : "null"
- } ]
+ }
},
- "dashcards" : {
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "type" : "string",
+ "minLength" : 36,
+ "maxLength" : 36
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema.dashboard-card"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "description" : {
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.dashboards.schema.dashboard-card" : {
- "description" : "What an update (or insert) of a DashboardCard accepts: every column of `:report_dashboardcard` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "collection_authority_level" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
},
- "inline_parameters" : {
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "visualization_settings" : {
+ "lib/source-name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard-card.visualization-settings"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
}, {
"type" : "null"
} ]
},
- "dashboard_tab_id" : {
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.legacy-mbql.schema.ExpressionName" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.legacy-mbql.schema.ExpressionRefOptions" : {
+ "description" : "Options for a legacy `:expression` ref in MBQL 4 are the same as in MBQL 5, except that `:lib/uuid` is optional and\n it cannot be empty.",
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "parameter_mappings" : {
+ "effective-type" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema..dashboard-card.parameter-mapping"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashcard"
- },
- "card_id" : {
+ "base-type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "size_x" : {
+ "lib/transformation-added-base-type" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "type" : "string",
+ "minLength" : 36,
+ "maxLength" : 36
+ },
+ "name" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "size_y" : {
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "type" : "string"
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "col" : {
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "action" : {
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
"oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "visualization_settings" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "response_handle" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.json-query"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_enabled_actions" : {
- "type" : "boolean"
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mappings"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.id"
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "archived" : {
- "type" : "boolean"
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : { },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.type"
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.template"
- }, {
- "type" : "null"
- } ]
- },
- "error_handle" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.json-query"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : { },
- "public_uuid" : {
- "oneOf" : [ {
- "description" : "value must be a valid UUID.",
- "type" : "string",
- "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
- }, {
- "type" : "null"
- } ]
- },
- "model_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "disabled" : {
- "type" : "boolean"
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.actions.schema..action.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "visualization_settings" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_enabled_actions" : {
- "type" : "boolean"
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mappings"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.id"
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "archived" : {
- "type" : "boolean"
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : { },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "kind" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..implicit-action.kind"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.type"
- },
- "created_at" : { },
- "public_uuid" : {
- "oneOf" : [ {
- "description" : "value must be a valid UUID.",
- "type" : "string",
- "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
- }, {
- "type" : "null"
- } ]
- },
- "model_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.actions.schema..action.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "visualization_settings" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
- }, {
- "type" : "null"
- } ]
- },
- "database_enabled_actions" : {
- "type" : "boolean"
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mappings"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.id"
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "archived" : {
- "type" : "boolean"
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : { },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.type"
- },
- "created_at" : { },
- "public_uuid" : {
- "oneOf" : [ {
- "description" : "value must be a valid UUID.",
- "type" : "string",
- "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
- }, {
- "type" : "null"
- } ]
- },
- "model_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.actions.schema..action.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "visualization_settings" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "response_handle" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.json-query"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
- }, {
- "type" : "null"
- } ]
- },
- "database_enabled_actions" : {
- "type" : "boolean"
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mappings"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.id"
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "archived" : {
- "type" : "boolean"
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : { },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "kind" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..implicit-action.kind"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.actions.schema.type"
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.template"
- }, {
- "type" : "null"
- } ]
- },
- "error_handle" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.actions.schema..http-action.json-query"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : { },
- "public_uuid" : {
- "oneOf" : [ {
- "description" : "value must be a valid UUID.",
- "type" : "string",
- "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
- }, {
- "type" : "null"
- } ]
- },
- "model_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "disabled" : {
- "type" : "boolean"
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.actions.schema..action.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "row" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "series" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema.card"
- }
- }, {
- "type" : "null"
- } ]
- },
- "card" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema.card"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "action_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.action"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.dashboards.schema.dashboard-tab" : {
- "description" : "What an update (or insert) of a DashboardTab accepts: every column of `:dashboard_tab` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.data-studio.api.table.bulk-table-info" : {
- "description" : "Schema for table info in bulk operations. Matches frontend BulkTableInfo type.",
- "type" : "object",
- "properties" : {
- "db_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "display_name" : {
- "type" : "string"
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_published" : {
- "type" : "boolean"
- },
- "name" : {
- "type" : "string"
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "db_id", "name", "display_name", "schema", "is_published" ]
- },
- "metabase.data-studio.api.table.bulk-table-selection-info" : {
- "description" : "Schema for /selection endpoint response. Matches frontend BulkTableSelectionInfo type.",
- "type" : "object",
- "properties" : {
- "published_downstream_tables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
- }
- },
- "selected_table" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
- }, {
- "type" : "null"
- } ]
- },
- "unpublished_upstream_tables" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"
- }
- }
- },
- "required" : [ "selected_table", "published_downstream_tables", "unpublished_upstream_tables" ]
- },
- "metabase.data-studio.api.table.data-authorities" : {
- "type" : "string",
- "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]
- },
- "metabase.data-studio.api.table.data-layers" : {
- "type" : "string",
- "enum" : [ "final", "internal", "hidden" ]
- },
- "metabase.data-studio.api.table.data-sources" : {
- "type" : "string",
- "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]
- },
- "metabase.data-studio.api.table.table-selectors" : {
- "type" : "object",
- "properties" : {
- "database_ids" : {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- },
- "schema_ids" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "table_ids" : {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- }
- },
- "additionalProperties" : false
- },
- "metabase.documents.prose-mirror..card-embed.explore-filter" : {
- "description" : "One explore-further filter `metabase.explorations` snapshots onto a static card embed: the filter as the client\n sent it, plus the name of the dimension it is on. Its `:field_ref` is the legacy `field_ref` of the chart column\n that was clicked.",
- "type" : "object",
- "properties" : {
- "dimension_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_value" : {
- "type" : "string"
- },
- "field_ref" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..dimension.target"
- },
- "operator" : {
- "type" : "string"
- },
- "value" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "values" : {
- "type" : "array",
- "prefixItems" : [ {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- } ]
- }, {
- "type" : "null"
- } ]
- }, {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- } ]
- }, {
- "type" : "null"
- } ]
- } ]
- }
- },
- "required" : [ "operator", "field_ref", "display_value" ],
- "additionalProperties" : false
- },
- "metabase.documents.prose-mirror..card-embed.host-data" : {
- "description" : "What `metabase.explorations` writes under `:host_data` of a static card embed so the frontend can render the\n embed's filter pills and hover highlights without a live lookup.",
- "type" : "object",
- "properties" : {
- "explore_filters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror..card-embed.explore-filter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query_ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.documents.prose-mirror..node.attrs" : {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ],
- "type" : "object",
- "properties" : {
- "model" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "stored_result_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "label" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "chart_href" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "_id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string",
- "format" : "uuid"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "entityId" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "child_target_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "host_data" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror..card-embed.host-data"
- }, {
- "type" : "null"
- } ]
- }
- }
- },
- "metabase.documents.prose-mirror.ast" : {
- "description" : "Schema for a prose-mirror document AST as it arrives at the API or is read back from the application database: a\n node in the shape ProseMirror's `Node.toJSON` emits, whose children and marks are nodes too.",
- "type" : "object",
- "properties" : {
- "attrs" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror..node.attrs"
- }, {
- "type" : "null"
- } ]
- },
- "content" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror.ast"
- }
- }, {
- "type" : "null"
- } ]
- },
- "marks" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror.ast"
- }
- }, {
- "type" : "null"
- } ]
- },
- "text" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.documents.schema..document.document" : {
- "description" : "The `:document` column of a Document, decoded.",
- "$ref" : "#/components/schemas/metabase.documents.prose-mirror.ast"
- },
- "metabase.documents.schema..document.id" : {
- "description" : "Valid Document ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.documents.schema..document.update" : {
- "description" : "What an update (or insert) of a Document accepts: every column of `:document` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "last_viewed_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "is_placeholder" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "document" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.document"
- }, {
- "type" : "null"
- } ]
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "exploration_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "content_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.documents.schema.document" : {
- "description" : "What an update (or insert) of a Document accepts: every column of `:document` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "last_viewed_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "can_delete" : {
- "type" : "boolean"
- },
- "is_placeholder" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "collection" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection-or-root"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "document" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.document"
- }, {
- "type" : "null"
- } ]
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "is_remote_synced" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "can_write" : {
- "type" : "boolean"
- },
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "exploration_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "can_restore" : {
- "type" : "boolean"
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "content_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.driver..native-query-deps.table-dep" : {
- "type" : "object",
- "properties" : {
- "schema" : {
- "type" : "string"
- },
- "table" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "string"
- } ]
- }
- },
- "required" : [ "table" ],
- "additionalProperties" : false
- },
- "metabase.driver..native-query-deps.transform-dep" : {
- "type" : "object",
- "properties" : {
- "transform" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }
- },
- "required" : [ "transform" ],
- "additionalProperties" : false
- },
- "metabase.driver.connection.connection-type" : {
- "type" : "string",
- "enum" : [ "default", "write-data", "admin", "transform" ]
- },
- "metabase.driver.index-field" : {
- "description" : "One form field describing how to request an index: the same shape as a [[connection-properties]] descriptor, plus a\n `:columns` type for the indexed columns.",
- "type" : "object",
- "properties" : {
- "description" : { },
- "directions" : {
- "type" : "boolean"
- },
- "display-name" : { },
- "name" : {
- "type" : "string"
- },
- "options" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "name" : { },
- "value" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "value" ]
- }
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "type" : "string",
- "enum" : [ "string", "boolean", "select", "integer", "columns" ]
- }
- },
- "required" : [ "name", "display-name", "type" ]
- },
- "metabase.driver.index-method" : {
- "description" : "Metadata for one index kind a driver supports.",
- "type" : "object",
- "properties" : {
- "description" : { },
- "display-name" : { },
- "fields" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.driver.index-field"
- }
- },
- "lifecycle" : {
- "type" : "string",
- "enum" : [ "standalone", "inline" ]
- }
- },
- "required" : [ "display-name", "lifecycle", "fields" ]
- },
- "metabase.driver.supported-index-methods" : {
- "description" : "Return shape of [[supported-index-methods]]: index-kind -> metadata.",
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.driver.index-method"
- }
- },
- "metabase.eid-translation.schema.entity-ids-by-model" : {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }
- }, {
- "description" : "Value must be a map."
- } ]
- },
- "metabase.embedding-rest.api.theme.EmbeddingTheme" : {
- "type" : "object",
- "properties" : {
- "created_at" : { },
- "entity_id" : {
- "type" : "string",
- "minLength" : 1
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_default" : {
- "type" : "boolean"
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- },
- "settings" : {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- },
- "updated_at" : { }
- },
- "required" : [ "id", "entity_id", "name", "settings", "is_default", "created_at", "updated_at" ]
- },
- "metabase.frontend-errors.api.frontend-error-type" : {
- "type" : "string",
- "enum" : [ "component-crash", "chart-render-error" ]
- },
- "metabase.health-inspector.api.result" : {
- "type" : "object",
- "properties" : {
- "check_name" : {
- "type" : "string"
- },
- "health" : {
- "type" : "number"
- },
- "message" : {
- "type" : "string"
- },
- "run_at" : {
- "type" : "string",
- "format" : "date-time"
- }
- },
- "required" : [ "check_name", "health", "message", "run_at" ]
- },
- "metabase.indexed-entities.schema..model-index.pk-ref" : {
- "description" : "The `:pk_ref` column of a ModelIndex, decoded.",
- "type" : "array"
- },
- "metabase.indexed-entities.schema..model-index.value-ref" : {
- "description" : "The `:value_ref` column of a ModelIndex, decoded.",
- "type" : "array"
- },
- "metabase.indexes.schema.classical-index" : {
- "description" : "Postgres / MySQL / SQL Server secondary index.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1
- },
- "include" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column-name"
- }
- },
- "kind" : {
- "type" : "string",
- "enum" : [ "btree", "hash", "gin", "gist", "brin", "spgist", "fulltext", "spatial", "clustered", "nonclustered", "columnstore" ]
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
- },
- "unique" : {
- "type" : "boolean"
- }
- },
- "required" : [ "kind", "name", "columns" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.clustering" : {
- "description" : "Snowflake (standalone) / BigQuery (inline) clustering. `:name` is required for the standalone form.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1
- },
- "kind" : {
- "const" : "clustering"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
- }
- },
- "required" : [ "kind", "columns" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.column" : {
- "type" : "object",
- "properties" : {
- "direction" : {
- "type" : "string",
- "enum" : [ "asc", "desc" ]
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column-name"
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.column-name" : {
- "type" : "string",
- "minLength" : 1,
- "maxLength" : 255
- },
- "metabase.indexes.schema.distkey" : {
- "description" : "Redshift distribution, inline. Only `:key` uses a column (the one DISTKEY column); `:all`/`:even` take none.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1,
- "maxItems" : 1
- },
- "kind" : {
- "const" : "distkey"
- },
- "style" : {
- "type" : "string",
- "enum" : [ "key", "all", "even" ]
- }
- },
- "required" : [ "kind", "style" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.index-name" : {
- "description" : "Free-form user input, inlined (quoted and escaped) into DDL. 63 is the Postgres identifier limit, the tightest\n engine we support.",
- "type" : "string",
- "minLength" : 1,
- "maxLength" : 63
- },
- "metabase.indexes.schema.index-structured" : {
- "description" : "A single structured index definition, dispatched on `:kind`. The shape stored in\n `metabase_table_indexes.structured` and handed to the driver index multimethods.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.classical-index"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.sortkey"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.distkey"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.clustering"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.order-by"
- }, {
- "$ref" : "#/components/schemas/metabase.indexes.schema.skip-index"
- } ]
- },
- "metabase.indexes.schema.order-by" : {
- "description" : "ClickHouse ORDER BY, inline.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1
- },
- "kind" : {
- "const" : "order-by"
- }
- },
- "required" : [ "kind", "columns" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.skip-index" : {
- "description" : "ClickHouse data-skipping index, standalone. Only arg-free types; the parameterized ones need type-args the form\n can't supply yet.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1
- },
- "granularity" : {
- "type" : "integer",
- "minimum" : 1
- },
- "kind" : {
- "const" : "skip-index"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.index-name"
- },
- "type" : {
- "type" : "string",
- "enum" : [ "minmax", "bloom_filter" ]
- }
- },
- "required" : [ "kind", "name", "columns", "type" ],
- "additionalProperties" : false
- },
- "metabase.indexes.schema.sortkey" : {
- "description" : "Redshift sort key, inline.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.indexes.schema.column"
- },
- "minItems" : 1
- },
- "kind" : {
- "const" : "sortkey"
- },
- "style" : {
- "type" : "string",
- "enum" : [ "compound", "interleaved" ]
- }
- },
- "required" : [ "kind", "style", "columns" ],
- "additionalProperties" : false
- },
- "metabase.legacy-mbql.schema..legacy-column-metadata.binning-info" : {
- "type" : "object",
- "properties" : {
- "bin_width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "binning_strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
- },
- "max_value" : {
- "type" : "number"
- },
- "min_value" : {
- "type" : "number"
- },
- "num_bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- },
- "metabase.legacy-mbql.schema..legacy-column-metadata.qualified-keys" : {
- "type" : "object",
- "properties" : {
- "metabase.query-processor.pivot/idx" : {
- "type" : "integer",
- "minimum" : 0
- },
- "metabase.lib.underlying/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/original-join-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
- "type" : "boolean"
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "metadata/column",
- "const" : "metadata/column"
- },
- "lib/source-uuid" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/join-field" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/implicit-field?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/id" : {
- "oneOf" : [ {
- "description" : "Valid Dimension ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/deduplicated-name" : {
- "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-expression-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "description" : "Valid Card ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/human-readable-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/human-readable-field-id" : {
- "oneOf" : [ {
- "description" : "Valid Field ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "description" : "Valid Field ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "type" : "boolean"
- },
- "metabase.lib.join/HACK-from-incomplete-join?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/internal-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
- }, {
- "type" : "null"
- } ]
- },
- "lib/options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-binning" : {
- "oneOf" : [ {
- "description" : "Schema for `:binning` options passed to a `:field` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.field.resolution/fallback-metadata?" : {
- "type" : "boolean"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "lib/binning" : {
- "oneOf" : [ {
- "description" : "Schema for `:binning` options passed to a `:field` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "internal", "external" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-ref-style-for-result-metadata-purposes" : {
- "type" : "string",
- "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
- },
- "metabase.driver.mongo.query-processor/inherited?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- }
- },
- "metabase.legacy-mbql.schema.AggregationRefOptions" : {
- "description" : "Options for a legacy `:aggregation` ref in MBQL 4 are the same as in MBQL 5, except that `:lib/uuid` is optional and\n the map cannot be empty.",
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "type" : "string",
- "minLength" : 1
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "type" : "string",
- "minLength" : 36,
- "maxLength" : 36
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "type" : "string",
- "minLength" : 1
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.legacy-mbql.schema.ExpressionName" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.legacy-mbql.schema.ExpressionRefOptions" : {
- "description" : "Options for a legacy `:expression` ref in MBQL 4 are the same as in MBQL 5, except that `:lib/uuid` is optional and\n it cannot be empty.",
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "type" : "string",
- "minLength" : 36,
- "maxLength" : 36
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "type" : "string"
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.legacy-mbql.schema.FieldRefOptions" : {
- "description" : "Options for an MBQL 4 `:field` ref are the same as MBQL 5, except that `:lib/uuid` is not required and it cannot be\n empty.",
- "oneOf" : [ {
- "allOf" : [ {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "inherited-temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "source-field-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "type" : "string",
- "minLength" : 36,
- "maxLength" : 36
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "type" : "string"
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "type" : "integer",
- "minimum" : 1
- },
- "join-alias" : {
- "type" : "string",
- "minLength" : 1
- },
- "lib/original-binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "source-field-join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "original-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.legacy-mbql.schema.Reference" : {
- "description" : "Schema for any type of valid Field clause, or for an indexed reference to an aggregation clause.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.aggregation"
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.expression"
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
- } ]
- },
- "metabase.legacy-mbql.schema.SourceTable" : {
- "description" : "Schema for a valid value for the `:source-table` clause of an MBQL query.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "description" : "`card__<id>` string Table ID",
- "type" : "string",
- "pattern" : "^card__[1-9]\\d*$"
- } ]
- },
- "metabase.legacy-mbql.schema.aggregation" : {
- "description" : "schema for a valid MBQL 4 :aggregation clause",
- "allOf" : [ ]
- },
- "metabase.legacy-mbql.schema.expression" : {
- "description" : "schema for a valid MBQL 4 :expression clause",
- "allOf" : [ ]
- },
- "metabase.legacy-mbql.schema.field" : {
- "description" : "Schema for a valid MBQL 4 :field clause.",
- "allOf" : [ {
- "description" : "schema for a valid MBQL 4 :field clause",
- "allOf" : [ ]
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.require-base-type-for-field-name"
- } ]
- },
- "metabase.legacy-mbql.schema.legacy-column-metadata" : {
- "description" : "Schema for a single legacy metadata column. This is the pre-Lib equivalent of\n `:metabase.lib.schema.metadata/column`.",
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.pivot/idx" : {
- "type" : "integer",
- "minimum" : 0
- },
- "preview_display" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "database_partitioned" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/original-join-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "aggregation_index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "field_ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
- "type" : "boolean"
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "remapped_from" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "metadata/column",
- "const" : "metadata/column"
- },
- "database_required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "remapped_from_index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
- }, {
- "type" : "null"
- } ]
- },
- "visibility_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
- }, {
- "type" : "null"
- } ]
- },
- "base_type" : {
- "default" : "type/*",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "source_alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-uuid" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }, {
- "type" : "null"
- } ]
- },
- "custom_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/join-field" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "special_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "qp/implicit-field?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/id" : {
- "oneOf" : [ {
- "description" : "Valid Dimension ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "expression_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/deduplicated-name" : {
- "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "coercion_strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-expression-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint_version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "lib/original-fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "description" : "Valid Card ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "data_sensitivity" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "values/human-readable-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "semantic_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "fk_field_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "database_is_auto_increment" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.SourceTable"
- }, {
- "type" : "null"
- } ]
- },
- "has_field_values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_name" : {
- "type" : "string"
- },
- "remapping" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "dimension/human-readable-field-id" : {
- "oneOf" : [ {
- "description" : "Valid Field ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "description" : "Valid Field ID",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "type" : "boolean"
- },
- "metabase.lib.join/HACK-from-incomplete-join?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/internal-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
- }, {
- "type" : "null"
- } ]
- },
- "converted_timezone" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.temporal.timezone-id"
- }, {
- "type" : "null"
- } ]
- },
- "selected?" : {
- "type" : "boolean"
- },
- "fk_join_alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "fk_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
- }, {
- "type" : "null"
- } ]
- },
- "remapped_to" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "binning_info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema..legacy-column-metadata.binning-info"
- }, {
- "type" : "null"
- } ]
- },
- "nfc_path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-binning" : {
- "oneOf" : [ {
- "description" : "Schema for `:binning` options passed to a `:field` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "effective_type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "parent_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.field.resolution/fallback-metadata?" : {
- "type" : "boolean"
- },
- "unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "lib/binning" : {
- "oneOf" : [ {
- "description" : "Schema for `:binning` options passed to a `:field` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "inherited_temporal_unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "type" : "boolean"
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "internal", "external" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-ref-style-for-result-metadata-purposes" : {
- "type" : "string",
- "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
- },
- "metabase.driver.mongo.query-processor/inherited?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "fk_target_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "display_name", "name" ],
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.legacy-mbql.schema.require-base-type-for-field-name" : {
- "description" : "Fields using names rather than integer IDs are required to specify `:base-type`."
- },
- "metabase.lib-be.schema..internal-query.scope" : {
- "description" : "Mirrors `metabase.actions.types/scope.normalized`. Duplicated (rather than referenced) so this namespace does not\n have to depend on the `actions` module.",
- "anyOf" : [ {
- "type" : "object",
- "properties" : {
- "dashboard-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "dashboard-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "dashcard-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "dashcard-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "card-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "card-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "model-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "model-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "table-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "table-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string"
- },
- "webhook-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- },
- "required" : [ "type", "webhook-id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string"
- },
- "unknown" : {
- "type" : "string",
- "enum" : [ "model-action" ]
- }
- },
- "required" : [ "type", "unknown" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.lib-be.schema.empty-query" : {
- "const" : { }
- },
- "metabase.lib-be.schema.internal-query" : {
- "description" : "An internal (audit) query: either the QP's own `:fn`/`:args` invocation shape, or the action-descriptor shape\n stashed on a [[metabase.actions.audit/Base]] row's `:template` for a `:model.row/*` or similar action.",
- "type" : "object",
- "properties" : {
- "action-id" : {
- "oneOf" : [ {
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "offset" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "args" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
- }, {
- "type" : "null"
- } ]
- },
- "fn" : {
- "type" : "string"
- },
- "limit" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "middleware" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
- },
- "database" : {
- "oneOf" : [ {
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "scope" : {
- "$ref" : "#/components/schemas/metabase.lib-be.schema..internal-query.scope"
- },
- "action" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "type" : {
- "const" : "internal"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.lib-be.schema.maybe-legacy-or-empty-query" : {
- "description" : "value must be a valid MBQL query, or an empty query.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.empty-query"
- }, {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- } ]
- },
- "metabase.lib-be.schema.maybe-legacy-or-internal-query" : {
- "description" : "value must be a valid MBQL query, or an internal audit query.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.internal-query"
- }, {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- } ]
- },
- "metabase.lib-be.schema.maybe-legacy-query" : {
- "description" : "value must be a valid MBQL query.",
- "$ref" : "#/components/schemas/metabase.lib.schema.query"
- },
- "metabase.lib-metric.schema..dimension-mapping.target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-mapping.target"
- },
- "metabase.lib-metric.schema..dimension-mapping.type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-mapping.type"
- },
- "metabase.lib-metric.schema..dimension-reference.options" : {
- "description" : "Options map for dimension references.",
- "type" : "object",
- "properties" : {
- "binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.binning"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema..dimension-source.type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-source.type"
- },
- "metabase.lib-metric.schema..filter-clause.options" : {
- "description" : "The options of a metric filter clause: MBQL options plus the offset [[metabase.lib-metric.filter]] puts on a\n relative date filter (`previous N units, starting M units ago`).",
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "offset-value" : {
- "type" : "integer"
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "offset-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema.binning" : {
- "description" : "Schema for `:binning` options passed to a `:dimension` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.positive-number"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "num-bins" : {
- "type" : "integer",
- "minimum" : 1
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.lib-metric.schema.dimension" : {
- "description" : "Schema for a dimension definition, plus what the metrics module annotates a dimension with before handing it to a\n client: the column it came from, its group, its field values status and how interesting it looks.",
- "type" : "object",
- "properties" : {
- "sources" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-source"
- }
- }, {
- "type" : "null"
- } ]
- },
- "group" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-group"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "has-field-values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
- }, {
- "type" : "null"
- } ]
- },
- "status-message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "default-temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dimension-interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "default" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema.dimension-group" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-group"
- },
- "metabase.lib-metric.schema.dimension-id" : {
- "description" : "UUID string identifying a dimension.",
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-id"
- },
- "metabase.lib-metric.schema.dimension-mapping" : {
- "description" : "Schema for a dimension mapping.",
- "type" : "object",
- "properties" : {
- "dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
- },
- "table-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.target"
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.type"
- }
- },
- "required" : [ "type", "dimension-id", "target" ],
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema.dimension-reference" : {
- "description" : "Dimension reference clause [:dimension opts uuid].\n Handles normalization from JSON where the tag arrives as a string.",
- "type" : "array",
- "prefixItems" : [ {
- "const" : "dimension"
- }, {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-reference.options"
- }, {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
- } ]
- },
- "metabase.lib-metric.schema.dimension-source" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-source"
- },
- "metabase.lib-metric.schema.dimension-status" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-status"
- },
- "metabase.lib-metric.schema.expression-leaf" : {
- "description" : "A leaf node in a metric math expression: either a metric or measure reference.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.metric-expression-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.measure-expression-ref"
- } ]
- },
- "metabase.lib-metric.schema.filter-clause" : {
- "description" : "MBQL filter clause with normalization for API input.\n Handles string operators and dimension references. After normalization every clause is a tag, an options map and\n arguments that are dimension references, literals or clauses themselves."
- },
- "metabase.lib-metric.schema.instance-filter" : {
- "description" : "A filter associated with a specific expression instance via lib/uuid.",
- "type" : "object",
- "properties" : {
- "filter" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.filter-clause"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "lib/uuid", "filter" ],
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema.instance-filters" : {
- "description" : "A sequence of per-instance filters.",
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.instance-filter"
- }
- },
- "metabase.lib-metric.schema.measure-expression-ref" : {
- "description" : "A measure reference in an expression: [:measure {:lib/uuid uuid} measure-id].",
- "type" : "array",
- "prefixItems" : [ {
- "const" : "measure"
- }, {
- "type" : "object",
- "properties" : {
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- }, {
- "type" : "integer",
- "minimum" : 1
- } ]
- },
- "metabase.lib-metric.schema.metric-expression-ref" : {
- "description" : "A metric reference in an expression: [:metric {:lib/uuid uuid} card-id].",
- "type" : "array",
- "prefixItems" : [ {
- "const" : "metric"
- }, {
- "type" : "object",
- "properties" : {
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- }, {
- "type" : "integer",
- "minimum" : 1
- } ]
- },
- "metabase.lib-metric.schema.metric-math-expression" : {
- "description" : "A recursive metric math expression tree.\n Can be a leaf (metric/measure ref) or an arithmetic expression [op opts expr expr ...]\n with at least 2 operands.\n Note: uses :fn validator for arithmetic to avoid Malli's recursive seqex limitation.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.expression-leaf"
- }, {
- "type" : "number"
- }, {
- "type" : "array"
- } ]
- },
- "metabase.lib-metric.schema.typed-projection" : {
- "description" : "A projection associated with a specific expression leaf instance via :lib/uuid.\n The :type and :id identify the source metric/measure for metadata resolution.\n The :lib/uuid disambiguates multiple references to the same metric/measure in an expression.",
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "minimum" : 1
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "projection" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-reference"
- }
- },
- "type" : {
- "type" : "string",
- "enum" : [ "metric", "measure" ]
- }
- },
- "required" : [ "type", "id", "lib/uuid", "projection" ],
- "additionalProperties" : false
- },
- "metabase.lib-metric.schema.typed-projections" : {
- "description" : "A sequence of typed projections.",
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.typed-projection"
- }
- },
- "metabase.lib.metadata.protocols.metadata-provider" : {
- "description" : "Schema for something that satisfies the [[metabase.lib.metadata.protocols/MetadataProvider]] protocol."
- },
- "metabase.lib.schema..cache-strategy.duration" : {
- "description" : "Cache for a fixed duration (EE).",
- "type" : "object",
- "properties" : {
- "duration" : {
- "type" : "number"
- },
- "refresh_automatically" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "const" : "duration"
- },
- "unit" : {
- "type" : "string",
- "enum" : [ "hours", "minutes", "seconds", "days" ]
- }
- },
- "required" : [ "type", "duration", "unit" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema..cache-strategy.nocache" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "const" : "nocache"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema..cache-strategy.on-query" : {
- "description" : "What is added to a strategy once it is attached to a query.",
- "type" : "object",
- "properties" : {
- "avg-execution-ms" : {
- "type" : "integer",
- "minimum" : 0
- },
- "invalidated-at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema..cache-strategy.schedule" : {
- "description" : "Cache until the next run of a cron schedule (EE).",
- "type" : "object",
- "properties" : {
- "refresh_automatically" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "schedule" : {
- "type" : "string"
- },
- "type" : {
- "const" : "schedule"
- }
- },
- "required" : [ "type", "schedule" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema..cache-strategy.ttl" : {
- "description" : "Cache for a multiple of the query's average execution time. Typed as plain numbers here: a strategy reaches a query\n from several places (the Card, a Dashboard, the Database), and `metabase.cache.api` is the one that asks for integers.",
- "type" : "object",
- "properties" : {
- "min_duration_ms" : {
- "type" : "number"
- },
- "multiplier" : {
- "type" : "number"
- },
- "type" : {
- "const" : "ttl"
- }
- },
- "required" : [ "type", "multiplier", "min_duration_ms" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema..query.map" : {
- "description" : "Valid MBQL 5 query.",
- "type" : "object",
- "properties" : {
- "lib/metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
- },
- "show-column-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "user-parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "pivot-rows" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "update-row" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
- },
- "qp.pivot/remapped-breakout-combination" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "mbql/query",
- "const" : "mbql/query"
- },
- "pivot_rows" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.settings.settings"
- },
- "constraints" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.constraints.constraints"
- },
- "cache-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.cache-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "lib.convert/converted?" : {
- "type" : "boolean"
- },
- "info" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
- },
- "impersonation/admin?" : {
- "type" : "boolean"
- },
- "async?" : {
- "type" : "boolean"
- },
- "qp/skip-result-metadata-persistence" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/external-remaps" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
- },
- "show-row-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "qp/compiled-inline" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
- },
- "qp.pivot/remapped-indexes" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "integer",
- "minimum" : 0
- }
- },
- "middleware" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
- },
- "database" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.saved-questions-virtual-database"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- } ]
- },
- "destination-database/id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- },
- "qp.pivot/unremapped-breakout-combination" : {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- },
- "pivot-measures" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "impersonation/allow-write?" : {
- "type" : "boolean"
- },
- "pivot_cols" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "impersonation/role" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp.pivot/num-remapped-breakouts" : {
- "type" : "integer",
- "minimum" : 0
- },
- "qp/compiled" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
- },
- "stages" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stages"
- },
- "qp.pivot/num-unremapped-breakouts" : {
- "type" : "integer",
- "minimum" : 0
- },
- "metabase.query-processor.util.add-alias-info/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema..query.snapshot"
- },
- "viz-settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "pivot-cols" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "show_column_totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "qp.pivot/num-remapped-cols" : {
- "type" : "integer",
- "minimum" : 0
- },
- "qp/source-card-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "query-permissions/referenced-card-ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "uniqueItems" : true
- }, {
- "type" : "null"
- } ]
- },
- "show_row_totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "create-row" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
- },
- "pivot_measures" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/original-metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema..sandboxing.original-metadata"
- },
- "was-pivot" : {
- "description" : "Whether this query was originally run as a pivot query. Stamped into the saved `json_query` by\n `metabase.query-processor.middleware.process-userland-query` and sent back by clients re-downloading pivot query\n results.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "stages" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema..query.snapshot" : {
- "description" : "A whole copy of a query stashed on the query itself under one of the internal keys below: the same shape as\n [[::query]] minus the `:and`-level constraints, so validating the stashed copy does not re-run uniqueness checks\n against the query it was copied from.",
- "$ref" : "#/components/schemas/metabase.lib.schema..query.map"
- },
- "metabase.lib.schema..sandboxing.original-metadata" : {
- "description" : "The columns a query was expected to return *before* sandboxes replaced its source tables, stashed on the query by\n the enterprise sandboxing middleware (see `expected-cols` in\n `metabase-enterprise.sandbox.query-processor.middleware.sandboxing`) and compared against the sandboxed results\n afterwards.\n\n In production these are legacy, `snake_cased` column metadata maps (i.e.\n `:metabase.legacy-mbql.schema/legacy-column-metadata`), but some callers stash kebab-case, lib-flavored columns\n here instead (see `metabase.lib.convert-test/round-trip-preserve-metadata-test`); this key is a verbatim snapshot\n that must survive normalization untouched, so the elements mirror both key spellings without pointing at either\n source schema, which would rewrite keys and drop deprecated ones on decode.",
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "visibility-type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "preview_display" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "database_partitioned" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "aggregation_index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "field_ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "remapped_from" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "remapped_from_index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
- }, {
- "type" : "null"
- } ]
- },
- "visibility_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "table-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "base_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source_alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "custom_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "special_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "expression_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/deduplicated-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "coercion_strategy" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint_version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "data_sensitivity" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database_position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "semantic_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "fk_field_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "has_field_values" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "display_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "remapping" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "converted_timezone" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "selected?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "fk_join_alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "fk_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "remapped_to" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "binning_info" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin_width" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "binning_strategy" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "max_value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "min_value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "num_bins" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "strategy" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "nfc_path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "effective_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "parent_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "unit" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "inherited_temporal_unit" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "fk_target_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }
- },
- "metabase.lib.schema..stage.additional" : {
- "oneOf" : [ { }, { } ]
- },
- "metabase.lib.schema..stage.common" : {
- "type" : "object",
- "properties" : {
- "qp/stage-had-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "source-query/native-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "persisted-info/native" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/remaps" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
- },
- "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "lib/stage-metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
- },
- "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- },
- "uniqueItems" : true
- },
- "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }
- },
- "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "uniqueItems" : true
- },
- "qp/skip-persisted-cache" : {
- "type" : "boolean"
- },
- "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
- "type" : "boolean"
- },
- "source-query/model?" : {
- "type" : "boolean"
- },
- "parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "qp/added-implicit-fields?" : {
- "type" : "boolean"
- },
- "qp/stage-is-from-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "query-permissions/sandboxed-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema..stage.initial" : {
- "oneOf" : [ { }, { } ]
- },
- "metabase.lib.schema..stage.mbql" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "qp/stage-had-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "source-query/native-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "persisted-info/native" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "metabase.query-processor.middleware.add-remaps/remaps" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
- },
- "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "lib/type" : {
- "const" : "mbql.stage/mbql"
- },
- "lib/stage-metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
- },
- "pivot" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.pivot"
- },
- "breakout" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.breakouts"
- },
- "filters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.filters"
- },
- "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- },
- "uniqueItems" : true
- },
- "limit" : {
- "type" : "integer",
- "minimum" : 0
- },
- "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }
- },
- "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "uniqueItems" : true
- },
- "qp/skip-persisted-cache" : {
- "type" : "boolean"
- },
- "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
- "type" : "boolean"
- },
- "joins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.joins"
- },
- "aggregation" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.aggregation.aggregations"
- },
- "source-query/model?" : {
- "type" : "boolean"
- },
- "fields" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.fields"
- },
- "source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- },
- "order-by" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.order-by.order-bys"
- },
- "page" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.page"
- },
- "parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "qp/added-implicit-fields?" : {
- "type" : "boolean"
- },
- "qp/stage-is-from-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "query-permissions/sandboxed-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- },
- "expressions" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expressions"
- }
- },
- "required" : [ "lib/type" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema..stage.valid-refs"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema..stage.page-and-limit-are-mutually-exclusive"
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema..stage.native" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "qp/stage-had-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "source-query/native-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "persisted-info/native" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/remaps" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
- },
- "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "lib/type" : {
- "const" : "mbql.stage/native"
- },
- "lib/stage-metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
- },
- "params" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.param-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "projections" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "mbql?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "native" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "description" : "a driver's native query when it is not a string, e.g. a MongoDB pipeline or a query with its parameters; its shape is the driver's"
- } ]
- },
- "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- },
- "uniqueItems" : true
- },
- "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }
- },
- "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "uniqueItems" : true
- },
- "qp/skip-persisted-cache" : {
- "type" : "boolean"
- },
- "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
- "type" : "boolean"
- },
- "qp/table-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source-query/model?" : {
- "type" : "boolean"
- },
- "parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "query-permissions/referenced-card-ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "uniqueItems" : true
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tags"
- },
- "qp/added-implicit-fields?" : {
- "type" : "boolean"
- },
- "qp/stage-is-from-source-card" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "query-permissions/sandboxed-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }
- },
- "required" : [ "lib/type" ],
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema..stage.page-and-limit-are-mutually-exclusive" : {
- "description" : "If an MBQL query stage specifies `:page`, it should not also specify `:limit`"
- },
- "metabase.lib.schema..stage.valid-refs" : { },
- "metabase.lib.schema..stages.valid-refs" : { },
- "metabase.lib.schema.actions.row" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- },
- "metabase.lib.schema.aggregation..distinct.arg" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "metabase.lib.schema.aggregation..percentile.percentile" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.number"
- },
- "metabase.lib.schema.aggregation.aggregation" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- },
- "metabase.lib.schema.aggregation.aggregations" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.aggregation.aggregation"
- },
- "minItems" : 1
- },
- "metabase.lib.schema.binning.bin-width" : {
- "description" : "Bin width (size of each bin).",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.positive-number"
- },
- "metabase.lib.schema.binning.binning" : {
- "description" : "Schema for `:binning` options passed to a `:field` clause.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "default"
- }
- },
- "required" : [ "strategy" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "bin-width"
- }
- },
- "required" : [ "strategy", "bin-width" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "bin-width" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
- },
- "max-value" : {
- "type" : "number"
- },
- "min-value" : {
- "type" : "number"
- },
- "num-bins" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
- },
- "strategy" : {
- "const" : "num-bins"
- }
- },
- "required" : [ "strategy", "num-bins" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.lib.schema.binning.num-bins" : {
- "description" : "Number of bins to use.",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.binning.strategy" : {
- "type" : "string",
- "enum" : [ "bin-width", "default", "num-bins" ]
- },
- "metabase.lib.schema.breakout" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.ref.ref"
- },
- "metabase.lib.schema.breakouts" : {
- "allOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.breakout"
- },
- "minItems" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
- } ]
- },
- "metabase.lib.schema.cache-strategy" : {
- "description" : "The caching strategy the results-cache middleware should apply to this query, attached\n by [[metabase.query-processor.card]]. Any of the strategy types: which ones an instance may configure is\n `metabase.cache.api`'s business, not the query's.",
- "oneOf" : [ {
- "description" : "What is added to a strategy once it is attached to a query.",
- "type" : "object",
- "properties" : {
- "avg-execution-ms" : {
- "type" : "integer",
- "minimum" : 0
- },
- "invalidated-at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "const" : "nocache"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "description" : "What is added to a strategy once it is attached to a query.",
- "type" : "object",
- "properties" : {
- "avg-execution-ms" : {
- "type" : "integer",
- "minimum" : 0
- },
- "invalidated-at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "min_duration_ms" : {
- "type" : "number"
- },
- "multiplier" : {
- "type" : "number"
- },
- "type" : {
- "const" : "ttl"
- }
- },
- "required" : [ "type", "multiplier", "min_duration_ms" ],
- "additionalProperties" : false
- }, {
- "description" : "What is added to a strategy once it is attached to a query.",
- "type" : "object",
- "properties" : {
- "avg-execution-ms" : {
- "type" : "integer",
- "minimum" : 0
- },
- "duration" : {
- "type" : "number"
- },
- "invalidated-at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "refresh_automatically" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "const" : "duration"
- },
- "unit" : {
- "type" : "string",
- "enum" : [ "hours", "minutes", "seconds", "days" ]
- }
- },
- "required" : [ "type", "duration", "unit" ],
- "additionalProperties" : false
- }, {
- "description" : "What is added to a strategy once it is attached to a query.",
- "type" : "object",
- "properties" : {
- "avg-execution-ms" : {
- "type" : "integer",
- "minimum" : 0
- },
- "invalidated-at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "refresh_automatically" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "schedule" : {
- "type" : "string"
- },
- "type" : {
- "const" : "schedule"
- }
- },
- "required" : [ "type", "schedule" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.lib.schema.common..add-alias-info.source-table" : {
- "description" : "Value of the `:metabase.query-processor.util.add-alias-info/source-table` option\n that [[metabase.query-processor.util.add-alias-info]] adds to a `:field` ref: the ID of the Table the field comes\n from, the (escaped) alias of the join or source query it comes from, or one of the two sentinel keywords that\n namespace uses for 'the source query' and 'nowhere in particular'.",
- "anyOf" : [ {
- "type" : "string"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "string",
- "enum" : [ "metabase.query-processor.util.add-alias-info/source", "metabase.query-processor.util.add-alias-info/none" ]
- } ]
- },
- "metabase.lib.schema.common.base-type" : {
- "type" : "string"
- },
- "metabase.lib.schema.common.coercion-strategy" : {
- "type" : "string"
- },
- "metabase.lib.schema.common.field-value" : {
- "description" : "One value of a Field; the `.cljc` equivalent of [[metabase.util.malli.schema/FieldValue]].",
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "type" : "string",
- "format" : "uuid"
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.schema.common.kebab-cased-map" : { },
- "metabase.lib.schema.common.non-blank-string" : {
- "type" : "string",
- "minLength" : 1
- },
- "metabase.lib.schema.common.options" : {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.common.positive-number" : { },
- "metabase.lib.schema.common.semantic-or-relation-type" : {
- "description" : "valid semantic or relation type",
- "type" : "string"
- },
- "metabase.lib.schema.common.uuid" : {
- "type" : "string",
- "minLength" : 36,
- "maxLength" : 36
- },
- "metabase.lib.schema.common.visualization-settings" : {
- "description" : "visualization settings",
- "type" : "object",
- "properties" : { }
- },
- "metabase.lib.schema.compiled-native-query" : {
- "description" : "drivers add their own keys to a compiled query, and an already-native query compiles to its whole native stage",
- "type" : "object",
- "properties" : {
- "params" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.param-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.driver-native-query"
- }
- },
- "required" : [ "query" ]
- },
- "metabase.lib.schema.constraints.constraints" : {
- "description" : "Additional constraints added to a query limiting the maximum number of rows that can be returned. Mostly useful\n because native queries don't support the MBQL `:limit` clause. For MBQL queries, if `:limit` is set, it will\n override these values.",
- "type" : "object",
- "properties" : {
- "max-results" : {
- "description" : "Maximum number of results to allow for a query with aggregations. If `max-results-bare-rows` is unset, this\n applies to all queries",
- "type" : "integer",
- "minimum" : 0
- },
- "max-results-bare-rows" : {
- "description" : "Maximum number of results to allow for a query with no aggregations. If set, this should be LOWER than\n `:max-results`.",
- "type" : "integer",
- "minimum" : 0
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.deduplicate-refs-ignoring-source-field-name-when-possible" : { },
- "metabase.lib.schema.driver-native-query" : {
- "description" : "A driver's native query: a native query document, or a form in the driver's own shape such as a keyword-keyed map decoded from a JSON request.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.native-query-document-value"
- }, {
- "description" : "a driver's native query in the driver's own shape, e.g. a keyword-keyed map from a JSON request"
- } ]
- },
- "metabase.lib.schema.expression..expression.definition" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "metabase.lib.schema.expression.arithmetic..args.numbers" : { },
- "metabase.lib.schema.expression.arithmetic.plus-minus-numeric-schema" : { },
- "metabase.lib.schema.expression.arithmetic.plus-minus-temporal-interval-schema" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.expression.arithmetic.temporal-difference-schema" : { },
- "metabase.lib.schema.expression.boolean" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.equality-comparable" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.schema.expression.expression" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.schema.expression.expressions" : {
- "description" : "The `:expressions` definition map as found as a top-level key in an MBQL stage.",
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression..expression.definition"
- },
- "minItems" : 1
- },
- "metabase.lib.schema.expression.integer" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.number" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.orderable" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.positive-integer-or-numeric-expression" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.integer"
- },
- "metabase.lib.schema.expression.string" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.temporal" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- } ]
- },
- "metabase.lib.schema.expression.temporal..absolute-datetime.base-type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "metabase.lib.schema.expression.temporal..absolute-datetime.options" : {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.expression.temporal..relative-datetime.amount" : {
- "oneOf" : [ {
- "const" : "current"
- }, {
- "type" : "integer"
- } ]
- },
- "metabase.lib.schema.expression.temporal..relative-datetime.unit" : {
- "anyOf" : [ {
- "const" : "default"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing..unit.date-time.interval"
- } ]
- },
- "metabase.lib.schema.expression.temporal..temporal-extract.unit" : {
- "type" : "string",
- "enum" : [ "year-of-era", "quarter-of-year", "month-of-year", "week-of-year-iso", "week-of-year-us", "week-of-year-instance", "day-of-month", "day-of-week", "day-of-week-iso", "hour-of-day", "minute-of-hour", "second-of-minute" ]
- },
- "metabase.lib.schema.expression.temporal.datetime-diff-unit" : {
- "type" : "string",
- "enum" : [ "day", "week", "month", "quarter", "year", "second", "minute", "hour" ]
- },
- "metabase.lib.schema.expression.temporal.timezone-id" : {
- "allOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.zone-offset"
- } ]
- } ]
- },
- "metabase.lib.schema.expression.temporal.week-mode" : {
- "type" : "string",
- "enum" : [ "iso", "us", "instance" ]
- },
- "metabase.lib.schema.expression.window..offset.n" : {
- "type" : "integer"
- },
- "metabase.lib.schema.external-remapping" : {
- "description" : "One external (Dimension) column remapping, as recorded on a query or stage\n by [[metabase.query-processor.middleware.add-remaps]]. Mirrors `:metabase.query-processor.middleware.add-remaps/external-remapping`;\n it is duplicated here because Lib may not depend on the query processor.",
- "type" : "object",
- "properties" : {
- "field-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "field-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "human-readable-field-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "human-readable-field-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "id", "name", "field-id", "field-name", "human-readable-field-id", "human-readable-field-name" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.external-remappings" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remapping"
- }
- },
- "metabase.lib.schema.fields" : {
- "allOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.ref.ref"
- },
- "minItems" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.deduplicate-refs-ignoring-source-field-name-when-possible"
- } ]
- },
- "metabase.lib.schema.filter.string-filter-options" : {
- "description" : "String filter operator options. Only set for `:contains`, `:does-not-contain`, `:starts-with`, `:ends-with`\n operators.",
- "type" : "object",
- "properties" : {
- "case-sensitive" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.filter.time-interval-options" : {
- "description" : "Options for `:time-interval` operator. Note that `:relative-time-interval` does not support these options.",
- "type" : "object",
- "properties" : {
- "include-current" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.filters" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.boolean"
- },
- "minItems" : 1
- },
- "metabase.lib.schema.id.action" : {
- "description" : "Valid Action ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.card" : {
- "description" : "Valid Card ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.collection" : {
- "description" : "Valid Collection ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.dashboard" : {
- "description" : "Valid Dashboard ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.dashcard" : {
- "description" : "Valid DashboardCard ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.database" : {
- "description" : "Valid Database ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.dimension" : {
- "description" : "Valid Dimension ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.field" : {
- "description" : "Valid Field ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.measure" : {
- "description" : "Valid Measure ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.metric" : {
- "description" : "Valid Metric ID (metrics are Cards with type :metric)",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.pulse" : {
- "description" : "Valid Pulse ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.sandbox" : {
- "description" : "Valid Sandbox ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.saved-questions-virtual-database" : {
- "description" : "The ID used to signify that a database is 'virtual' rather than physical.\n\n A fake integer ID is used so as to minimize the number of changes that need to be made on the frontend -- by using\n something that would otherwise be a legal ID, *nothing* need change there, and the frontend can query against this\n 'database' none the wiser. (This integer ID is negative which means it will never conflict with a *real* database\n ID.)\n\n This ID acts as a sort of flag. The relevant places in the middleware can check whether the DB we're querying is\n this 'virtual' database and take the appropriate actions.",
- "const" : -1337
- },
- "metabase.lib.schema.id.segment" : {
- "description" : "Valid legacy Segment ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.snippet" : {
- "description" : "Valid Snippet ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.table" : {
- "description" : "Valid Table ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.transform" : {
- "description" : "Valid Transform ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.id.user" : {
- "description" : "Valid User ID",
- "type" : "integer",
- "minimum" : 1
- },
- "metabase.lib.schema.info.context" : {
- "description" : "Schema for `info.context`; used for informational purposes to record how a query was executed.",
- "type" : "string",
- "enum" : [ "action", "action-execute", "ad-hoc", "agent", "cache-refresh", "collection", "map-tiles", "metric", "pulse", "dashboard-subscription", "dashboard", "question", "csv-download", "xlsx-download", "json-download", "public-action-execute", "public-dashboard", "public-question", "public-csv-download", "public-xlsx-download", "public-json-download", "embedded-dashboard", "embedded-question", "embedded-csv-download", "embedded-xlsx-download", "embedded-json-download", "table-grid", "table-rows-sample", "transform-inspector", "slackbot", "exploration" ]
- },
- "metabase.lib.schema.info.hash" : {
- "type" : "string",
- "format" : "byte"
- },
- "metabase.lib.schema.info.info" : {
- "description" : "Schema for query `:info` dictionary, which is used for informational purposes to record information about how a query\n was executed in QueryExecution and other places. It is considered bad form for middleware to change its behavior\n based on this information, don't do it!\n\n TODO - this schema is somewhat misleading because if you use a function\n like [[metabase.query-processor/userland-query]] some of these keys (e.g. `:context`) are in fact required",
- "type" : "object",
- "properties" : {
- "query-hash" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.info.hash"
- }, {
- "type" : "null"
- } ]
- },
- "action-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.action"
- }, {
- "type" : "null"
- } ]
- },
- "visualization-settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "lens-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "pivot/original-query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.query"
- }, {
- "type" : "null"
- } ]
- },
- "executed-by" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "card-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "pivot/result-metadata" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "const" : "none"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- }
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "transform-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }, {
- "type" : "null"
- } ]
- },
- "context" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.info.context"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
- },
- "lens-params" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "join_step" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "metadata/model-metadata" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
- }
- }, {
- "type" : "null"
- } ]
- },
- "metadata/own-model-query?" : {
- "type" : "boolean"
- },
- "pulse-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.pulse"
- }, {
- "type" : "null"
- } ]
- },
- "card-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.join.alias" : {
- "description" : "The name used to alias the joined table or query. This is usually generated automatically and generally looks like\n `table__via__field`. You can specify this yourself if you need to reference a joined field with a `:join-alias` in\n the options.",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.lib.schema.join.condition" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.boolean"
- },
- "metabase.lib.schema.join.conditions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.condition"
- },
- "minItems" : 1
- },
- "metabase.lib.schema.join.fields" : {
- "description" : "The Fields to include in the results *if* a top-level `:fields` clause *is not* specified. This can be either\n `:none`, `:all`, or a sequence of Field clauses.\n\n * `:none`: no Fields from the joined table or nested query are included (unless indirectly included by breakouts or\n other clauses). This is the default, and what is used for automatically-generated joins.\n\n * `:all`: will include all of the Fields from the joined table or query\n\n * a sequence of Field clauses: include only the Fields specified. Only `:field` clauses are allowed here! References\n to expressions or aggregations in the thing we're joining should use column literal (string column name) `:field`\n references. This should be non-empty and all elements should be distinct (ignoring `:lib/uuid`).",
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "all", "none" ]
- }, {
- "allOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/mbql.clause.field"
- },
- "minItems" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
- } ]
- } ]
- },
- "metabase.lib.schema.join.join" : {
- "allOf" : [ {
- "default" : { },
- "type" : "object",
- "properties" : {
- "fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "mbql/join",
- "const" : "mbql/join"
- },
- "strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.strategy"
- },
- "fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/replace-alias" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.query-processor.middleware.add-implicit-joins/original-position" : {
- "type" : "integer",
- "minimum" : 0
- },
- "stages" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stages"
- },
- "fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "fields" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.fields"
- },
- "alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/is-implicit-join" : {
- "type" : "boolean"
- },
- "qp/keep-default-join-alias" : {
- "type" : "boolean"
- },
- "conditions" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.conditions"
- },
- "metabase.query-processor.util.add-alias-info/original-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }
- },
- "required" : [ "stages", "conditions", "alias" ],
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.validate-field-aliases-match-join-alias"
- } ]
- },
- "metabase.lib.schema.join.joins" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.join"
- },
- "minItems" : 1
- },
- "metabase.lib.schema.join.strategy" : {
- "description" : "Valid values for the optional `:strategy` key in a join. Note that these are only valid if the current Database\n supports that specific join type; these match 1:1 with the Database `:features`, e.g. a Database that supports left\n joins will support the `:left-join` feature.\n\n When `:strategy` is not specified, [[default-strategy]] is used.",
- "default" : "left-join",
- "type" : "string",
- "enum" : [ "left-join", "right-join", "inner-join", "full-join" ]
- },
- "metabase.lib.schema.join.validate-field-aliases-match-join-alias" : { },
- "metabase.lib.schema.literal..string.date" : {
- "type" : "string",
- "pattern" : "^\\d{4}-\\d{2}-\\d{2}$"
- },
- "metabase.lib.schema.literal..string.datetime" : {
- "anyOf" : [ {
- "type" : "string",
- "pattern" : "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
- }, {
- "type" : "string",
- "pattern" : "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
- } ]
- },
- "metabase.lib.schema.literal..string.time" : {
- "anyOf" : [ {
- "type" : "string",
- "pattern" : "^\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
- }, {
- "type" : "string",
- "pattern" : "^\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
- } ]
- },
- "metabase.lib.schema.literal..string.year" : {
- "type" : "string",
- "pattern" : "^\\d{4}$"
- },
- "metabase.lib.schema.literal..string.year-month" : {
- "type" : "string",
- "pattern" : "^\\d{4}-\\d{2}$"
- },
- "metabase.lib.schema.literal..string.zone-offset" : {
- "type" : "string",
- "pattern" : "^(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
- },
- "metabase.lib.schema.literal..value.options" : {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "coercion-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "type" : "string"
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid", "effective-type" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.literal..value.value" : {
- "description" : "The value slot of a `:value` clause: a single literal that is not a Clojure collection."
- },
- "metabase.lib.schema.literal.date" : {
- "anyOf" : [ { }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.date"
- } ]
- },
- "metabase.lib.schema.literal.datetime" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.datetime"
- }, { }, { }, { } ]
- },
- "metabase.lib.schema.literal.integer" : {
- "anyOf" : [ {
- "type" : "integer"
- }, { } ]
- },
- "metabase.lib.schema.literal.jvm.big-decimal" : { },
- "metabase.lib.schema.literal.jvm.float" : { },
- "metabase.lib.schema.literal.literal" : {
- "anyOf" : [ {
- "type" : "null"
- }, {
- "type" : "boolean"
- }, {
- "type" : "string"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.integer"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.non-integer-real"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.temporal"
- } ]
- },
- "metabase.lib.schema.literal.non-integer-real" : {
- "anyOf" : [ {
- "type" : "number"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.jvm.float"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.jvm.big-decimal"
- } ]
- },
- "metabase.lib.schema.literal.param-value" : {
- "description" : "A value bound to a native query parameter: a literal or, once the query processor has substituted parameters, a\n UUID or a `java.time` object.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }, {
- "type" : "string",
- "format" : "uuid"
- }, { } ]
- },
- "metabase.lib.schema.literal.temporal" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.date"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.time"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.datetime"
- } ]
- },
- "metabase.lib.schema.literal.time" : {
- "description" : "time literal",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.time"
- }, { }, { } ]
- },
- "metabase.lib.schema.mbql-clause.clause" : {
- "oneOf" : [ { }, {
- "$ref" : "#/components/schemas/mbql.clause._BANG__EQ_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._STAR_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._PLUS_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.-"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._SLASH_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._LT_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._LT__EQ_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._EQ_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._GT_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause._GT__EQ_"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.abs"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.absolute-datetime"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.aggregation"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.and"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.asc"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.avg"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.between"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.case"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.ceil"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.coalesce"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.collate"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.concat"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.contains"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.convert-timezone"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.count"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.count-where"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.cum-count"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.cum-sum"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.date"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.datetime"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.datetime-add"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.datetime-diff"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.datetime-subtract"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.day-name"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.desc"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.distinct"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.distinct-where"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.does-not-contain"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.domain"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.during"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.ends-with"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.exp"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.expression"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.field"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.float"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.floor"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-day"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-day-of-week"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-hour"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-minute"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-month"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-quarter"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-second"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-week"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.get-year"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.host"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.if"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.in"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.inside"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.integer"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.interval"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.is-empty"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.is-null"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.length"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.log"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.lower"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.ltrim"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.max"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.measure"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.median"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.metric"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.min"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.month-name"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.not"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.not-empty"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.not-in"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.not-null"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.now"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.offset"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.or"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.path"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.percentile"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.power"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.quarter-name"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.regex-match-first"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.relative-datetime"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.relative-time-interval"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.replace"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.round"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.rtrim"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.segment"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.share"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.split-part"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.sqrt"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.starts-with"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.stddev"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.subdomain"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.substring"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.sum"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.sum-where"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.temporal-extract"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.text"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.time"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.time-interval"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.today"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.trim"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.upper"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.value"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.var"
- } ]
- },
- "metabase.lib.schema.metadata..card.result-metadata" : {
- "description" : "Schema for the `:result-metadata` for a Card (Saved Question, Model, or v2 Metric).",
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
- }
- },
- "metabase.lib.schema.metadata..card.type" : {
- "description" : "All acceptable card types.\n\n Previously (< 49), we only had 2 card types: question and model, which were differentiated using the boolean\n `dataset` column. Soon we'll have more card types (e.g: metric) and we will longer be able to use a boolean column\n to differentiate between all types. So we've added a new `type` column for this purpose.\n\n Migrating all the code to use `report_card.type` will be quite an effort, we decided that we'll migrate it\n gradually.",
- "type" : "string",
- "enum" : [ "question", "metric", "model" ]
- },
- "metabase.lib.schema.metadata..column.binning-info" : {
- "description" : "The legacy description of how a column was binned, as [[metabase.lib.metadata.result-metadata]] spells it out for\n the frontend.",
- "type" : "object",
- "properties" : {
- "max-value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
- }, {
- "type" : "null"
- } ]
- },
- "max_value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "bin_width" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "num_bins" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "bin-width" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "num-bins" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "min_value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "binning_strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
- }, {
- "type" : "null"
- } ]
- },
- "binning-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
- }, {
- "type" : "null"
- } ]
- },
- "min-value" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.data-sensitivity" : {
- "type" : "string",
- "enum" : [ "SEC_KEY", "SYS_TELEMETRY", "PHI", "BIO_GEN", "PCI_FIN", "SENS_PERS", "PII", "CORP_IP", "BIZ_CONF", "PUBLIC" ]
- },
- "metabase.lib.schema.metadata..column.has-field-values" : {
- "type" : "string",
- "enum" : [ "auto-list", "list", "none", "search" ]
- },
- "metabase.lib.schema.metadata..column.legacy-source" : {
- "description" : "Possible values for `column.source` -- this is added by [[metabase.lib.metadata.result-metadata]] for historical\n reasons (it is used in a few places in the FE). DO NOT use this in the backend for any purpose, use `:lib/source`\n instead.",
- "type" : "string",
- "enum" : [ "aggregation", "fields", "breakout", "native" ]
- },
- "metabase.lib.schema.metadata..column.lib-options" : {
- "description" : "What [[metabase.lib.options/with-options]] puts under `:lib/options` when it is handed a column rather than a\n clause: the expression name [[metabase.lib.fe-util/expression-parts]] pins on an expression column, and a `:lib/uuid`\n if something asked for one.",
- "type" : "object",
- "properties" : {
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.map" : {
- "description" : "The map portion of [[::column]], without its constraints.",
- "type" : "object",
- "properties" : {
- "visibility-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.pivot/idx" : {
- "type" : "integer",
- "minimum" : 0
- },
- "field-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from-index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-to" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/original-join-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-default" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "database-partitioned" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
- "type" : "boolean"
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "inherited-temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "metadata/column",
- "const" : "metadata/column"
- },
- "database-required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "binning-info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
- }, {
- "type" : "null"
- } ]
- },
- "coercion-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
- }, {
- "type" : "null"
- } ]
- },
- "table-id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "string",
- "pattern" : "^card__\\d+$"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "converted-timezone" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-uuid" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/join-field" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "order-by-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "data-sensitivity" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
- }, {
- "type" : "null"
- } ]
- },
- "qp/implicit-field?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/deduplicated-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
- },
- "base-type" : {
- "default" : "type/*",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "breakout-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint-version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "values/values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "updated-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "lib/original-fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/human-readable-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "last-analyzed" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-pk" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "json-unfolding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "created-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "nfc-path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapping" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "preview-display" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/human-readable-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "type" : "boolean"
- },
- "has-field-values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/HACK-from-incomplete-join?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/internal-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
- }, {
- "type" : "null"
- } ]
- },
- "selected?" : {
- "type" : "boolean"
- },
- "database-is-generated" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.field.resolution/fallback-metadata?" : {
- "type" : "boolean"
- },
- "unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "lib/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "database-indexed" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-auto-increment" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "type" : "boolean"
- },
- "points-of-interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "filter-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension-interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "internal", "external" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
- },
- "name-field" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-ref-style-for-result-metadata-purposes" : {
- "type" : "string",
- "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/inherited?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-target-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "custom-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "parent-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-nullable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.options" : {
- "description" : "What the query processor stashes under a column's `:options` while it runs: never sent by a client, and never\n handed back to one.",
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.remapping.external" : {
- "description" : "External remapping (Dimension) for a column. From the [[metabase.warehouse-schema.models.dimension]] with `type =\n external` associated with a `Field` in the application database.\n See [[metabase.query-processor.middleware.add-remaps]] for what this means.",
- "type" : "object",
- "properties" : {
- "field-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "lib/type" : {
- "const" : "metadata.column.remapping/external"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "lib/type", "id", "name", "field-id" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.remapping.internal" : {
- "description" : "Internal remapping (FieldValues) for a column. From [[metabase.warehouse-schema.models.dimension]] with `type =\n internal` and the [[metabase.warehouse-schema.models.field-values]] associated with a `Field` in the application\n database. See [[metabase.query-processor.middleware.add-remaps]] for what this means.",
- "type" : "object",
- "properties" : {
- "human-readable-values" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "lib/type" : {
- "const" : "metadata.column.remapping/internal"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "values" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }
- },
- "required" : [ "lib/type", "id", "name", "values", "human-readable-values" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata..column.snapshot" : {
- "description" : "A whole column metadata map stashed on *another* column under one of the internal keys below: the same shape as\n [[::column]] minus the `:and`-level constraints, so validating the stashed copy does not re-run those constraints\n against the column it was copied from.",
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.map"
- },
- "metabase.lib.schema.metadata..column.source" : {
- "description" : "`:lib/source` -- where a column came from with respect to the current stage.\n\n Traditionally, `:lib/source` meant something slightly different -- it denoted what part of the current stage a\n column came from, and thus included two additional options -- `:source/fields`, for columns used by `:fields`, and\n `:source/breakouts`, for columns used in `:breakout`. This was not really useful information and made `:lib/source`\n itself useless for determining if a column was 'inherited' or not (i.e., whether it came from a previous stage,\n source card, or a join, and should get field name refs instead of field ID refs --\n see [[metabase.lib.field.util/inherited-column?]]).",
- "type" : "string",
- "enum" : [ "source/card", "source/native", "source/previous-stage", "source/table-defaults", "source/aggregations", "source/joins", "source/expressions", "source/implicitly-joinable", "source/pivot-grouping" ]
- },
- "metabase.lib.schema.metadata..column.timestamp" : {
- "description" : "A timestamp column of a `metabase_field` row: a `java.time` value on the JVM, the string it was encoded as elsewhere.",
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source" : {
- "description" : "Do additional validation for column metadata based on `:lib/source`.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-card"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-native"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-previous-stage"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-table-defaults"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-aggregations"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-joins"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-expressions"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-implicitly-joinable"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-pivot-grouping"
- }, { } ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-aggregations" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-card" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-expressions" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-implicitly-joinable" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-joins" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-native" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-pivot-grouping" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-previous-stage" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.validate-for-source-table-defaults" : {
- "allOf" : [ ]
- },
- "metabase.lib.schema.metadata..column.visibility-type" : {
- "type" : "string",
- "enum" : [ "retired", "sensitive", "normal", "hidden", "details-only" ]
- },
- "metabase.lib.schema.metadata..dimension-mapping.target" : {
- "description" : "Target field reference for a dimension mapping, e.g. [:field {:source-field 1} 2].",
- "$ref" : "#/components/schemas/mbql.clause.field"
- },
- "metabase.lib.schema.metadata..dimension-mapping.type" : {
- "description" : "Type of dimension mapping.",
- "type" : "string",
- "enum" : [ "table" ]
- },
- "metabase.lib.schema.metadata..dimension-source.type" : {
- "type" : "string",
- "enum" : [ "field" ]
- },
- "metabase.lib.schema.metadata.column" : {
- "description" : "Malli schema for a valid map of column metadata, which can mean one of two things:\n\n 1. Metadata about a particular Field in the application database. This will always have an `:id`\n\n 2. Results metadata from a column in `data.cols` and/or `data.results_metadata.columns` in a Query Processor\n response, or saved in something like `Card.result_metadata`. These *may* have an `:id`, or may not -- columns\n coming back from native queries or things like `SELECT count(*)` aren't associated with any particular `Field`\n and thus will not have an `:id`.\n\n Now maybe these should be two different schemas, but `:id` being there or not is the only real difference; besides\n that they are largely compatible. So they're the same for now. We can revisit this in the future if we actually want\n to differentiate between the two versions.",
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "visibility-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.pivot/idx" : {
- "type" : "integer",
- "minimum" : 0
- },
- "field-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from-index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-to" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/original-join-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-default" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "database-partitioned" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
- "type" : "boolean"
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "inherited-temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "metadata/column",
- "const" : "metadata/column"
- },
- "database-required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "binning-info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
- }, {
- "type" : "null"
- } ]
- },
- "coercion-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
- }, {
- "type" : "null"
- } ]
- },
- "table-id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "string",
- "pattern" : "^card__\\d+$"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "converted-timezone" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-uuid" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/join-field" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "order-by-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "data-sensitivity" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
- }, {
- "type" : "null"
- } ]
- },
- "qp/implicit-field?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/deduplicated-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
- },
- "base-type" : {
- "default" : "type/*",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "breakout-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint-version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "values/values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "updated-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "lib/original-fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/human-readable-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "last-analyzed" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-pk" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "json-unfolding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "created-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "nfc-path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapping" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "preview-display" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/human-readable-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "type" : "boolean"
- },
- "has-field-values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/HACK-from-incomplete-join?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/internal-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
- }, {
- "type" : "null"
- } ]
- },
- "selected?" : {
- "type" : "boolean"
- },
- "database-is-generated" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.field.resolution/fallback-metadata?" : {
- "type" : "boolean"
- },
- "unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "lib/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "database-indexed" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-auto-increment" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "type" : "boolean"
- },
- "points-of-interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "filter-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension-interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "internal", "external" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
- },
- "name-field" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-ref-style-for-result-metadata-purposes" : {
- "type" : "string",
- "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/inherited?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-target-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "custom-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "parent-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-nullable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source"
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema.metadata.deduplicated-name" : {
- "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.schema.metadata.desired-column-alias" : {
- "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
- "type" : "string"
- },
- "metabase.lib.schema.metadata.dimension-group" : {
- "description" : "Group descriptor for a dimension, indicating which table it belongs to.",
- "type" : "object",
- "properties" : {
- "display-name" : {
- "type" : "string"
- },
- "id" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string",
- "enum" : [ "main", "connection" ]
- }
- },
- "required" : [ "id", "type", "display-name" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.dimension-id" : {
- "description" : "UUID string identifying a dimension.",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "metabase.lib.schema.metadata.dimension-source" : {
- "type" : "object",
- "properties" : {
- "binning" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-source.type"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.dimension-status" : {
- "description" : "Status of a dimension indicating whether it's active or has issues.\n - :status/active - Column exists, dimension is usable\n - :status/orphaned - Column was removed from schema, dimension preserved for reference",
- "type" : "string",
- "enum" : [ "status/active", "status/orphaned" ]
- },
- "metabase.lib.schema.metadata.fingerprint..fingerprint.global" : {
- "description" : "Fingerprint values that Fields of all types should have.",
- "type" : "object",
- "properties" : {
- "distinct-count" : {
- "type" : "integer"
- },
- "nil%" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint..fingerprint.number" : {
- "description" : "Schema for fingerprint information for Fields deriving from `:type/Number`.",
- "type" : "object",
- "properties" : {
- "mode-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "min" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "q1" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "max" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "avg" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "sd" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "skewness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "q3" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "top-3-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "excess-kurtosis" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "zero-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint..fingerprint.temporal" : {
- "description" : "Schema for fingerprint information for Fields deriving from `:type/Temporal`.",
- "type" : "object",
- "properties" : {
- "earliest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "hour-distribution" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }
- }, {
- "type" : "null"
- } ]
- },
- "latest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "mode-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "skewness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "top-3-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "weekday-distribution" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint..fingerprint.text" : {
- "description" : "Schema for fingerprint information for Fields deriving from `:type/Text`.",
- "type" : "object",
- "properties" : {
- "mode-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "percent-json" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "percent-blank" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "percent-url" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "percent-state" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "percent-email" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- },
- "max-length" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "average-length" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "min-length" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "top-3-fraction" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint..fingerprint.type-specific" : {
- "description" : "Schema for type-specific fingerprint information.",
- "type" : "object",
- "properties" : {
- "type/Date" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
- },
- "type/DateTime" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
- },
- "type/Number" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.number"
- },
- "type/Text" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.text"
- },
- "type/Time" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint.fingerprint" : {
- "description" : "Schema for a Field 'fingerprint' generated as part of the analysis stage. Used to power the 'classification'\n sub-stage of analysis. Stored as the `fingerprint` column of Field.",
- "type" : "object",
- "properties" : {
- "experimental" : {
- "type" : "object",
- "properties" : { },
- "additionalProperties" : false
- },
- "global" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.global"
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.type-specific"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.metadata.fingerprint.percent" : {
- "description" : "Schema for something represting a percentage. A floating-point value between (inclusive) 0 and 1.",
- "type" : "number"
- },
- "metabase.lib.schema.metadata.lib-or-legacy-column" : {
- "description" : "Schema for the maps in card `:result-metadata` and similar. These can be either\n `:metabase.lib.schema.metadata/result-metadata` (i.e., kebab-cased) maps, or map snake_cased as returned by QP\n metadata, but they should NOT be a mixture of both -- if we mixed them somehow there is a bug in our code.",
- "oneOf" : [ {
- "description" : "Malli schema for a valid map of column metadata, which can mean one of two things:\n\n 1. Metadata about a particular Field in the application database. This will always have an `:id`\n\n 2. Results metadata from a column in `data.cols` and/or `data.results_metadata.columns` in a Query Processor\n response, or saved in something like `Card.result_metadata`. These *may* have an `:id`, or may not -- columns\n coming back from native queries or things like `SELECT count(*)` aren't associated with any particular `Field`\n and thus will not have an `:id`.\n\n Now maybe these should be two different schemas, but `:id` being there or not is the only real difference; besides\n that they are largely compatible. So they're the same for now. We can revisit this in the future if we actually want\n to differentiate between the two versions.",
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "visibility-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.pivot/idx" : {
- "type" : "integer",
- "minimum" : 0
- },
- "field-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from-index" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-to" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "lib/original-join-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-default" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/field-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
- }, {
- "type" : "null"
- } ]
- },
- "database-partitioned" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
- "type" : "boolean"
- },
- "lib/external-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
- }, {
- "type" : "null"
- } ]
- },
- "inherited-temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
- }, {
- "type" : "null"
- } ]
- },
- "database-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "metadata/column",
- "const" : "metadata/column"
- },
- "database-required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "binning-info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
- }, {
- "type" : "null"
- } ]
- },
- "coercion-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
- }, {
- "type" : "null"
- } ]
- },
- "table-id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "string",
- "pattern" : "^card__\\d+$"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "converted-timezone" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-uuid" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/join-field" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "order-by-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "data-sensitivity" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
- }, {
- "type" : "null"
- } ]
- },
- "qp/implicit-field?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/deduplicated-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
- },
- "base-type" : {
- "default" : "type/*",
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "breakout-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "fingerprint-version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "values/values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/from-model?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "updated-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "lib/original-fk-field-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/card-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.underlying/temporal-unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/breakout?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values/human-readable-values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "last-analyzed" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-pk" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "json-unfolding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "created-at" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "nfc-path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- }, {
- "type" : "null"
- } ]
- },
- "remapping" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
- }
- }, {
- "type" : "null"
- } ]
- },
- "preview-display" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/human-readable-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.propagate-coercion?" : {
- "type" : "boolean"
- },
- "has-field-values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.join/HACK-from-incomplete-join?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/internal-remap" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
- }, {
- "type" : "null"
- } ]
- },
- "selected?" : {
- "type" : "boolean"
- },
- "database-is-generated" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
- }, {
- "type" : "null"
- } ]
- },
- "fk-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-join-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.field.resolution/fallback-metadata?" : {
- "type" : "boolean"
- },
- "unit" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }, {
- "type" : "null"
- } ]
- },
- "remapped-from" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "lib/binning" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.metadata.result-metadata/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
- }, {
- "type" : "null"
- } ]
- },
- "database-indexed" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-auto-increment" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "type" : "boolean"
- },
- "points-of-interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "filter-positions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
- }, {
- "type" : "null"
- } ]
- },
- "lib/ref-display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dimension-interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "internal", "external" ]
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
- },
- "name-field" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "lib/original-ref-style-for-result-metadata-purposes" : {
- "type" : "string",
- "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.mongo.query-processor/inherited?" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk-target-field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "custom-position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "dimension/name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "parent-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "lib/simple-display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "database-is-nullable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "lib/desired-column-alias" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source"
- }, {
- "allOf" : [ ]
- } ]
- }, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
- } ]
- },
- "metabase.lib.schema.metadata.metadata-provider" : {
- "description" : "Schema for something that satisfies the [[metabase.lib.metadata.protocols/MetadataProvider]] protocol.",
- "$ref" : "#/components/schemas/metabase.lib.metadata.protocols.metadata-provider"
- },
- "metabase.lib.schema.metadata.original-name" : {
- "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.lib.schema.metadata.source-column-alias" : {
- "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
- "type" : "string"
- },
- "metabase.lib.schema.metadata.stage" : {
- "description" : "Metadata about the columns returned by a particular stage of a MBQL 5 query. For example a single-stage native query\n like\n\n {:database 1\n :lib/type :mbql/query\n :stages [{:lib/type :mbql.stage/mbql\n :native \"SELECT id, name FROM VENUES;\"}]}\n\n might have stage metadata like\n\n {:columns [{:name \"id\", :base-type :type/Integer}\n {:name \"name\", :base-type :type/Text}]}\n\n associated with the query's lone stage.\n\n At some point in the near future we will hopefully attach this metadata directly to each stage in a query, so a\n multi-stage query will have `:lib/stage-metadata` for each stage. The main goal is to facilitate things like\n returning lists of visible or filterable columns for a given stage of a query. This is TBD, see #28717 for a WIP\n implementation of this idea.\n\n This is the same format as the results metadata returned with QP results in `data.results_metadata`. The `:columns`\n portion of this (`data.results_metadata.columns`) is also saved as `Card.result_metadata` for Saved Questions.\n\n Note that queries currently actually come back with both `data.results_metadata` AND `data.cols`; it looks like the\n Frontend actually *merges* these together -- see `applyMetadataDiff` in\n `frontend/src/metabase/query_builder/selectors.js` -- but this is ridiculous. Let's try to merge anything missing in\n `results_metadata` into `cols` going forward so things don't need to be manually merged in the future.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- }
- },
- "lib/type" : {
- "default" : "metadata/results",
- "const" : "metadata/results"
- }
- },
- "required" : [ "columns" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.middleware-options.middleware-options" : {
- "description" : "Additional options that can be used to toggle middleware on or off.",
- "type" : "object",
- "properties" : {
- "process-viz-settings?" : {
- "description" : "Whether to process a question's visualization settings and include them in the result metadata so that they can\n incorporated into an export. Used by `metabase.query-processor.middleware.visualization-settings`; default\n `false`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "skip-results-metadata?" : {
- "description" : "Should we skip adding `results_metadata` to query results after running the query? Used by\n `metabase.query-processor.middleware.results-metadata`; default `false`. (Note: we may change the name of this\n column in the near future, to `result_metadata`, to fix inconsistencies in how we name things.)",
- "type" : "boolean"
- },
- "add-default-userland-constraints?" : {
- "description" : "Whether to add some default `max-results` and `max-results-bare-rows` constraints. By default, none are added,\n although the functions that ultimately power most API endpoints tend to set this to `true`. See\n `add-constraints` middleware for more details.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "disable-max-results?" : {
- "description" : "Disable applying a default limit on the query results. Handled in the `add-default-limit` middleware. If true,\n this will override the `:max-results` and `:max-results-bare-rows` values in `Constraints`.",
- "type" : "boolean"
- },
- "ignore-cached-results?" : {
- "description" : "Whether to ignore any cached results and re-run the query. Used by the query results cache middleware; default\n `false`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "csv-include-bom?" : {
- "description" : "Whether a CSV download should start with a UTF-8 byte-order mark, which Excel needs to read the file as UTF-8.\n Set by `metabase.query-processor.api` from the download's options and read by\n `metabase.query-processor.middleware.format-rows` and the CSV writer; default `true`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "format-rows?" : {
- "description" : "Should we skip converting datetime types to ISO-8601 strings with appropriate timezone when post-processing\n results? Used by `metabase.query-processor.middleware.format-rows`default `false`.",
- "type" : "boolean"
- },
- "pivot-options" : {
- "description" : "Which of the query's breakouts and aggregations are the pivot table's rows, columns and measures, and whether it\n shows totals. Attached by `metabase.query-processor.pivot` from the question's visualization settings (or from the\n matching top-level query keys) so the export middleware and streaming writers can lay the results out; not something\n a client sets itself.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "column-sort-order" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- }, { } ]
- }, {
- "type" : "null"
- } ]
- },
- "pivot-cols" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "pivot-measures" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "pivot-rows" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "show-column-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "show-row-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "disable-remaps?" : {
- "description" : "Whether to skip the remapped (human-readable) columns that `metabase.query-processor.middleware.add-remaps`\n normally splices in. Set by callers that want the query's own columns and nothing else -- calculating a Card's\n result metadata, or fetching field values for a filter widget; default `false`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "js-int-to-string?" : {
- "description" : "Whether to convert bigint values in results to strings so that they can be parsed losslessly by JavaScript\n clients. Used by `metabase.query-processor.middleware.large-int`; default `false`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "skip-result-metadata-persistence?" : {
- "description" : "Should we skip persisting `result_metadata` to a saved Card while still returning it in query results? Used by\n `metabase.query-processor.middleware.results-metadata`; default `false`. Has no effect when\n `skip-results-metadata?` is true.",
- "type" : "boolean"
- },
- "pivot?" : {
- "description" : "Whether the results should be laid out as a pivot table. Set by `metabase.query-processor.api` from the\n `format_rows`/pivot download options and read by `metabase.query-processor.middleware.pivot-export` and the\n streaming writers; default `false`.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "disable-mbql->native?" : {
- "description" : "Disable the MBQL->native middleware. If you do this, the query will not work at all, so there are no cases where\n you should set this yourself. This is only used by the `metabase.query-processor.preprocess/preprocess` function to\n get the fully pre-processed query without attempting to convert it to native.",
- "type" : "boolean"
- },
- "userland-query?" : {
- "description" : "Userland queries are ones ran as a result of an API call, Pulse, or the like. Special handling is done in\n certain userland-only middleware for such queries -- results are returned in a slightly different format, and\n QueryExecution entries are normally saved, unless you pass `:no-save` as the option.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.native-query-document-value" : {
- "description" : "A value inside a driver's compiled native query document: a scalar, or a nested document/array of them. Covers\n every native query shape drivers in this codebase actually produce -- SQL text (a bare `:string`) as well as\n document-pipeline languages like Mongo's (a `:map-of`/`:sequential` tree).",
- "$ref" : "#/components/schemas/metabase.lib.schema.value"
- },
- "metabase.lib.schema.order-by.order-by" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/mbql.clause.asc"
- }, {
- "$ref" : "#/components/schemas/mbql.clause.desc"
- } ]
- },
- "metabase.lib.schema.order-by.order-bys" : {
- "allOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.order-by.order-by"
- },
- "minItems" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
- } ]
- },
- "metabase.lib.schema.page" : {
- "description" : "`page` = page num, starting with 1. `items` = number of items per page.\n e.g.\n\n {:page 1, :items 10} = items 1-10\n {:page 2, :items 10} = items 11-20",
- "type" : "object",
- "properties" : {
- "items" : {
- "type" : "integer",
- "minimum" : 1
- },
- "page" : {
- "type" : "integer",
- "minimum" : 1
- }
- },
- "required" : [ "page", "items" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.parameter..dimension.options" : {
- "type" : "object",
- "properties" : {
- "stage-number" : {
- "type" : "integer"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.parameter..dimension.target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.template-tag"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- } ]
- },
- "metabase.lib.schema.parameter..parameter.options" : {
- "description" : "Options the frontend attaches to a parameter value.",
- "type" : "object",
- "properties" : {
- "case-sensitive" : {
- "type" : "boolean"
- },
- "include-current" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.parameter..parameter.value" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
- }
- } ]
- },
- "metabase.lib.schema.parameter..parameter.value.scalar" : {
- "description" : "A single scalar parameter value."
- },
- "metabase.lib.schema.parameter..target.legacy-expression-ref" : {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.expression"
- },
- "metabase.lib.schema.parameter..target.legacy-field-ref" : {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
- },
- "metabase.lib.schema.parameter..template-tag.tag-name" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- } ]
- },
- "metabase.lib.schema.parameter..values-source-config.value" : {
- "description" : "One value of a static-list source: a bare value, a one-tuple of it, or a `[value label]` pair.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
- } ]
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
- }, {
- "type" : "string"
- } ]
- } ]
- },
- "metabase.lib.schema.parameter..variable.target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.template-tag"
- } ]
- },
- "metabase.lib.schema.parameter.dimension" : { },
- "metabase.lib.schema.parameter.id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.lib.schema.parameter.parameter" : {
- "description" : "parameter must be a map with a :type key",
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "values-query-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-query-type"
- }, {
- "type" : "null"
- } ]
- },
- "filteringparameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
- }
- }, {
- "type" : "null"
- } ]
- },
- "values-source-config" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-source-config"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
- },
- "ismultiselect" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "slug" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "values-source-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-source-type"
- }, {
- "type" : "null"
- } ]
- },
- "sectionid" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "hasvariabletemplatetagtarget" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
- },
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
- },
- "temporal-units" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
- }, {
- "type" : "null"
- } ]
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
- } ]
- },
- "metabase.lib.schema.parameter.parameters" : {
- "description" : "Schema for a list of `:parameters` as passed in to a query.",
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameter"
- }
- },
- "metabase.lib.schema.parameter.target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.dimension"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.variable"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.text-tag"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- } ]
- },
- "metabase.lib.schema.parameter.template-tag" : {
- "description" : "This is the reference like [:template-tag <whatever>], not the schema for native query template tags -- that lives\n in [[metabase.lib.schema.template-tag]].",
- "type" : "array",
- "prefixItems" : [ {
- "const" : "template-tag"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..template-tag.tag-name"
- } ]
- },
- "metabase.lib.schema.parameter.text-tag" : {
- "description" : "A :text-tag parameter :target applies to parameterized text cards in viz settings",
- "type" : "array",
- "prefixItems" : [ {
- "const" : "text-tag"
- }, {
- "type" : "string"
- } ]
- },
- "metabase.lib.schema.parameter.type" : {
- "description" : "Valid parameter :type",
- "default" : "text",
- "type" : "string",
- "enum" : [ "number", "text", "date", "boolean", "date/single", "id", "category", "location/city", "location/state", "location/zip_code", "location/country", "date/range", "date/month-year", "date/quarter-year", "date/relative", "date/all-options", "temporal-unit", "number/!=", "number/<=", "number/=", "number/>=", "number/between", "string/!=", "string/=", "string/contains", "string/does-not-contain", "string/ends-with", "string/starts-with", "boolean/=" ]
- },
- "metabase.lib.schema.parameter.values-query-type" : {
- "description" : "How a filter widget asks for its values.",
- "type" : "string",
- "enum" : [ "none", "list", "search" ]
- },
- "metabase.lib.schema.parameter.values-source-config" : {
- "description" : "The configuration of a filter widget's value source. Its keys are the frontend's snake_case names.",
- "type" : "object",
- "properties" : {
- "card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "label_field" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "value_field" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..values-source-config.value"
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.parameter.values-source-type" : {
- "description" : "Where a filter widget's values come from, when not from the field it is connected to.",
- "type" : "string",
- "enum" : [ "static-list", "card" ]
- },
- "metabase.lib.schema.parameter.variable" : {
- "type" : "array",
- "prefixItems" : [ {
- "const" : "variable"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..variable.target"
- } ]
- },
- "metabase.lib.schema.parameter.widget-type" : {
- "description" : "The type of widget to display in the FE UI for the user to use to pick values for this parameter.",
- "type" : "string",
- "enum" : [ "none", "number", "text", "date", "boolean", "date/single", "id", "category", "location/city", "location/state", "location/zip_code", "location/country", "date/range", "date/month-year", "date/quarter-year", "date/relative", "date/all-options", "temporal-unit", "number/!=", "number/<=", "number/=", "number/>=", "number/between", "string/!=", "string/=", "string/contains", "string/does-not-contain", "string/ends-with", "string/starts-with", "boolean/=" ]
- },
- "metabase.lib.schema.pivot" : {
- "description" : "Pivot intent. `:rows` and `:columns` are sequences of UUIDs that reference `:lib/uuid` values on breakouts of the\n stage that carries this clause. `:show-row-totals` and `:show-column-totals` default to `true` when absent.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }
- },
- "rows" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- }
- },
- "show-column-totals" : {
- "type" : "boolean"
- },
- "show-row-totals" : {
- "type" : "boolean"
- }
- },
- "required" : [ "rows", "columns" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.pivot-only-on-last-stage" : { },
- "metabase.lib.schema.query" : {
- "allOf" : [ {
- "description" : "Valid MBQL 5 query.",
- "type" : "object",
- "properties" : {
- "lib/metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
- },
- "show-column-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "user-parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "pivot-rows" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "update-row" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
- },
- "qp.pivot/remapped-breakout-combination" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "lib/type" : {
- "default" : "mbql/query",
- "const" : "mbql/query"
- },
- "pivot_rows" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.settings.settings"
- },
- "constraints" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.constraints.constraints"
- },
- "cache-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.cache-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "lib.convert/converted?" : {
- "type" : "boolean"
- },
- "info" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
- },
- "impersonation/admin?" : {
- "type" : "boolean"
- },
- "async?" : {
- "type" : "boolean"
- },
- "qp/skip-result-metadata-persistence" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/external-remaps" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
- },
- "show-row-totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "qp/compiled-inline" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
- },
- "qp.pivot/remapped-indexes" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "integer",
- "minimum" : 0
- }
- },
- "middleware" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
- },
- "database" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.saved-questions-virtual-database"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- } ]
- },
- "destination-database/id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- },
- "qp.pivot/unremapped-breakout-combination" : {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- },
- "pivot-measures" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "impersonation/allow-write?" : {
- "type" : "boolean"
- },
- "pivot_cols" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "impersonation/role" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp.pivot/num-remapped-breakouts" : {
- "type" : "integer",
- "minimum" : 0
- },
- "qp/compiled" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
- },
- "stages" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stages"
- },
- "qp.pivot/num-unremapped-breakouts" : {
- "type" : "integer",
- "minimum" : 0
- },
- "metabase.query-processor.util.add-alias-info/original" : {
- "$ref" : "#/components/schemas/metabase.lib.schema..query.snapshot"
- },
- "viz-settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "pivot-cols" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "show_column_totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "qp.pivot/num-remapped-cols" : {
- "type" : "integer",
- "minimum" : 0
- },
- "qp/source-card-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "parameters" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
- },
- "query-permissions/referenced-card-ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "uniqueItems" : true
- }, {
- "type" : "null"
- } ]
- },
- "show_row_totals" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "create-row" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
- },
- "pivot_measures" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer",
- "minimum" : 0
- }
- }, {
- "type" : "null"
- } ]
- },
- "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/original-metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema..sandboxing.original-metadata"
- },
- "was-pivot" : {
- "description" : "Whether this query was originally run as a pivot query. Stamped into the saved `json_query` by\n `metabase.query-processor.middleware.process-userland-query` and sent back by clients re-downloading pivot query\n results.",
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "stages" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.util.unique-uuids"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.pivot-only-on-last-stage"
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema.ref..expression.options" : {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "type" : "string"
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.ref..field.id" : {
- "type" : "array",
- "prefixItems" : [ {
- "const" : "field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.ref..field.options"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- } ]
- },
- "metabase.lib.schema.ref..field.literal" : {
- "type" : "array",
- "prefixItems" : [ {
- "const" : "field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.ref..field.literal.options"
- }, {
- "type" : "string"
- } ]
- },
- "metabase.lib.schema.ref..field.literal.options" : {
- "allOf" : [ {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "inherited-temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "source-field-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "type" : "string"
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "type" : "string"
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "type" : "integer",
- "minimum" : 1
- },
- "join-alias" : {
- "type" : "string",
- "minLength" : 1
- },
- "lib/original-binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "source-field-join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "original-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid", "base-type" ],
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema.ref..field.options" : {
- "allOf" : [ {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "inherited-temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "source-field-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "type" : "string"
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "type" : "integer",
- "minimum" : 1
- },
- "join-alias" : {
- "type" : "string",
- "minLength" : 1
- },
- "lib/original-binning" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "source-field-join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "original-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema.ref.aggregation-options" : {
- "default" : { },
- "type" : "object",
- "properties" : {
- "metabase.query-processor.util.add-alias-info/source-table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
- },
- "metabase.mcp.v2.query/keyset" : {
- "type" : "boolean"
- },
- "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
- "type" : "boolean"
- },
- "inherited-temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "database-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/forced-alias" : {
- "type" : "boolean"
- },
- "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
- "type" : "boolean"
- },
- "display-name" : {
- "type" : "string",
- "minLength" : 1
- },
- "effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "base-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "lib/transformation-added-base-type" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/nfc-path" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "metabase.driver.sql.query-processor/add-cast" : {
- "type" : "string"
- },
- "lib/uuid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- },
- "lib/expression-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "metabase.driver.sqlserver/optimized-bucketing?" : {
- "type" : "boolean"
- },
- "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
- },
- "case-sensitive" : {
- "type" : "boolean"
- },
- "lib/original-effective-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.add-alias-info/source-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.driver.sql.query-processor/wrap-in-case" : {
- "type" : "boolean"
- },
- "metabase.query-processor.util.add-alias-info/desired-alias" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source-name" : {
- "type" : "string",
- "minLength" : 1
- },
- "qp/ignore-coercion" : {
- "type" : "boolean"
- },
- "source-field" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "join-alias" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "metabase.driver.mongo.query-processor/join-local" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
- },
- "qp/native-sandbox-column.force-coercion-strategy" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
- },
- "metabase.query-processor.util.add-alias-info/resolved" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
- },
- "include-current" : {
- "type" : "boolean"
- },
- "temporal-unit" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
- },
- "semantic-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
- }, {
- "type" : "null"
- } ]
- },
- "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
- "type" : "boolean"
- }
- },
- "required" : [ "lib/uuid" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.ref.ref" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
- },
- "metabase.lib.schema.settings.settings" : {
- "description" : "Options that tweak the behavior of the query processor.",
- "type" : "object",
- "properties" : {
- "include-sensitive-fields" : {
- "description" : "Whether to include fields with visibility_type :sensitive when fetching query metadata.",
- "type" : "boolean"
- },
- "report-timezone" : {
- "description" : "The timezone the query should be ran in, overriding the default report timezone for the instance.",
- "$ref" : "#/components/schemas/metabase.lib.schema.expression.temporal.timezone-id"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.stage" : {
- "default" : {
- "lib/type" : "mbql.stage/mbql"
- },
- "allOf" : [ {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema..stage.native"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema..stage.mbql"
- } ]
- }, {
- "allOf" : [ ]
- } ]
- },
- "metabase.lib.schema.stages" : {
- "allOf" : [ {
- "default" : [ ],
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- },
- "minItems" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema..stages.valid-refs"
- } ]
- },
- "metabase.lib.schema.template-tag..field-filter.options" : {
- "description" : "Options appended to the filter clause a Field Filter template tag generates. These get merged into the parameter\n value the QP builds for the tag, so they are the same options as `:metabase.lib.schema.parameter/parameter.options`.",
- "type" : "object",
- "properties" : {
- "case-sensitive" : {
- "type" : "boolean"
- },
- "include-current" : {
- "type" : "boolean"
- }
- },
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag..raw-value.type" : {
- "type" : "string",
- "enum" : [ "date", "number", "boolean", "text" ]
- },
- "metabase.lib.schema.template-tag..template-tag-map.validate-names" : { },
- "metabase.lib.schema.template-tag..value.common" : {
- "type" : "object",
- "properties" : {
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "required" : {
- "type" : "boolean"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "name", "display-name" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag.common" : {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }
- },
- "required" : [ "name", "display-name" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag.disallow-dimension" : { },
- "metabase.lib.schema.template-tag.distinct-template-tags" : { },
- "metabase.lib.schema.template-tag.field-filter" : {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "const" : "dimension"
- },
- "alias" : {
- "type" : "string"
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..field-filter.options"
- }, {
- "type" : "null"
- } ]
- },
- "dimension" : {
- "$ref" : "#/components/schemas/mbql.clause.field"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "widget-type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.widget-type"
- }
- },
- "required" : [ "name", "display-name", "type", "widget-type" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag.id" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "uuid"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- } ]
- },
- "metabase.lib.schema.template-tag.name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "metabase.lib.schema.template-tag.raw-value" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..raw-value.type"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "widget-type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.widget-type"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name", "display-name", "type" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
- } ]
- },
- "metabase.lib.schema.template-tag.snippet" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "snippet-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "database" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "type" : {
- "const" : "snippet"
- },
- "snippet-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.snippet"
- }
- },
- "required" : [ "name", "display-name", "type", "snippet-name" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
- } ]
- },
- "metabase.lib.schema.template-tag.source-filter" : {
- "description" : "Schema for a single source-filter applied to a table template tag.",
- "type" : "object",
- "properties" : {
- "field-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "op" : {
- "type" : "string",
- "enum" : [ "<=", ">", ">=", "!=", "=", "<" ]
- },
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "field-id", "op", "value" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag.source-query" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "card-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "const" : "card"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "name", "display-name", "type", "card-id" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
- } ]
- },
- "metabase.lib.schema.template-tag.source-table" : {
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "table-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- },
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "source-filters" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-filter"
- }
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "const" : "table"
- },
- "emit-alias" : {
- "type" : "boolean"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "name", "display-name", "type", "table-id" ],
- "additionalProperties" : false
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
- } ]
- },
- "metabase.lib.schema.template-tag.template-tag" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.temporal-unit"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.field-filter"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.snippet"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-query"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-table"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.raw-value"
- } ]
- },
- "metabase.lib.schema.template-tag.template-tag-map" : {
- "description" : "Legacy way to store template tags... storing them as a map is problematic because having more than 8 template tags\n causes the map to switch to a hash map (in Clojure < 1.13) and order gets lost (see #5136). For the sake of keeping\n things simple for the FE (which does not have this issue with JS Objects).\n\n This is still used by a handful of functions to support easy lookup by tag name, so we'll leave the schema around\n FOR NOW, but it would probably be better to remove this entirely and just introduce helper functions for looking\n things up.",
- "allOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag"
- }
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..template-tag-map.validate-names"
- } ]
- },
- "metabase.lib.schema.template-tag.template-tags" : {
- "description" : "Prior to 63, this was a map, but was changed to a list to preserve order with more than 8 template tags.\n\n Each tag must have a distinct `:name`.",
- "allOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag"
- }
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.distinct-template-tags"
- } ]
- },
- "metabase.lib.schema.template-tag.temporal-unit" : {
- "type" : "object",
- "properties" : {
- "display-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
- },
- "lib.walk/template-tag-name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "name" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
- },
- "sectionid" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "required" : {
- "type" : "boolean"
- },
- "type" : {
- "const" : "temporal-unit"
- },
- "alias" : {
- "type" : "string"
- },
- "dimension" : {
- "$ref" : "#/components/schemas/mbql.clause.field"
- },
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "name", "display-name", "type" ],
- "additionalProperties" : false
- },
- "metabase.lib.schema.template-tag.widget-type" : {
- "description" : "Schema for valid values of `:widget-type` for a `:metabase.lib.schema.template-tag/field-filter` template tag.",
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.widget-type"
- },
- "metabase.lib.schema.temporal-bucketing..unit.date" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "month", "month-of-year", "quarter", "quarter-of-year", "week", "week-of-year", "year", "year-of-era" ]
- },
- "metabase.lib.schema.temporal-bucketing..unit.date-time" : {
- "type" : "string",
- "enum" : [ "millisecond", "second", "minute", "hour", "day", "week", "month", "quarter", "year", "second-of-minute", "minute-of-hour", "hour-of-day", "day-of-week", "day-of-month", "day-of-year", "week-of-year", "month-of-year", "quarter-of-year", "year-of-era" ]
- },
- "metabase.lib.schema.temporal-bucketing..unit.date-time.interval" : {
- "type" : "string",
- "enum" : [ "day", "hour", "millisecond", "minute", "month", "quarter", "second", "week", "year" ]
- },
- "metabase.lib.schema.temporal-bucketing..unit.time.interval" : {
- "type" : "string",
- "enum" : [ "hour", "millisecond", "minute", "second" ]
- },
- "metabase.lib.schema.temporal-bucketing.unit" : {
- "type" : "string",
- "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
- },
- "metabase.lib.schema.util.distinct-mbql-clauses" : { },
- "metabase.lib.schema.util.unique-uuids" : { },
- "metabase.lib.schema.validate.source-entity-type" : {
- "description" : "The type of the source entity causing an error.",
- "type" : "string",
- "enum" : [ "table", "card", "transform" ]
- },
- "metabase.lib.schema.validate.validate-error-type" : {
- "type" : "string",
- "enum" : [ "missing-column", "missing-table-alias", "missing-table", "missing-card", "duplicate-column", "syntax-error", "validation-exception-error" ]
- },
- "metabase.lib.schema.value" : {
- "anyOf" : [ {
- "type" : "null"
- }, {
- "type" : "boolean"
- }, {
- "type" : "string"
- }, {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.value"
- }
- }, {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.value"
- }
- } ]
- },
- "metabase.lib.util.query-like" : {
- "description" : "query-like map",
- "type" : "object",
- "properties" : { }
- },
- "metabase.logger.api.log-level" : {
- "type" : "string",
- "enum" : [ "off", "fatal", "error", "warn", "info", "debug", "trace" ]
- },
- "metabase.logger.api.time-unit" : {
- "type" : "string",
- "enum" : [ "days", "hours", "minutes", "seconds", "milliseconds", "microseconds", "nanoseconds" ]
- },
- "metabase.mcp.callback-api.bootstrap-user" : {
- "description" : "The projection of the current user the MCP iframe may read. Closed on purpose: a field belongs here only when\n something the iframe renders reads it, so widening the projection is a decision someone has to make in this file\n rather than a side effect of the shared `GET /api/user/current` response growing.\n\n Deliberately absent: `email`, `login_attributes`, `jwt_attributes`, `attributes`, `sso_source`, `group_ids` and\n the advanced-permissions flags. Nothing in the visualization reads them, and they are what made the general\n endpoint a scope-escalation target. The name fields are absent for the same reason: the iframe displays no\n user, and `common_name` falls back to the email address when a user has neither first nor last name.",
- "type" : "object",
- "properties" : {
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_data_analyst" : {
- "type" : "boolean"
- },
- "is_qbnewb" : {
- "type" : "boolean"
- },
- "is_superuser" : {
- "type" : "boolean"
- },
- "locale" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "permissions" : {
- "type" : "object",
- "properties" : {
- "can_create_native_queries" : {
- "type" : "boolean"
- },
- "can_create_queries" : {
- "type" : "boolean"
- }
- },
- "required" : [ "can_create_queries", "can_create_native_queries" ],
- "additionalProperties" : false
- },
- "personal_collection_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "tenant_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "locale", "is_superuser", "is_data_analyst", "is_qbnewb", "tenant_id", "personal_collection_id", "permissions" ],
- "additionalProperties" : false
- },
- "metabase.measures.api.RemappedValueResponse" : {
- "description" : "Response schema for dimension remapping endpoint.\n Returns [value] if no remapping, or [value, display-name] if remapped.",
- "anyOf" : [ {
- "type" : "array",
- "prefixItems" : [ { } ]
- }, {
- "type" : "array",
- "prefixItems" : [ { }, {
- "type" : "string"
- } ]
- } ]
- },
- "metabase.measures.api.measure" : {
- "description" : "Schema for a Measure entity as returned from the API.",
- "type" : "object",
- "properties" : {
- "dimension_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : { }
- }
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "result_column_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "creator" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- },
- "archived" : {
- "type" : "boolean"
- },
- "dimensions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : { }
- }
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : { },
- "table_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "definition" : {
- "$ref" : "#/components/schemas/metabase.measures.schema.definition"
- },
- "created_at" : { },
- "creator_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "name", "table_id", "definition", "archived", "creator_id", "created_at", "updated_at" ]
- },
- "metabase.measures.schema.definition" : {
- "description" : "value must be a valid MBQL query with a source table.",
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- },
- "metabase.metabot.context.context" : {
- "description" : "The context a Metabot request carries. Besides what the client sends, [[create-context]] adds the user's recent\n views, the current time and the caller's capabilities before the agent reads it.",
- "type" : "object",
- "properties" : {
- "capabilities" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- },
- "uniqueItems" : true
- }, {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "first_day_of_week" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "references" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "slack_channel_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "user_recently_viewed" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.context.recently-viewed-item"
- }
- }, {
- "type" : "null"
- } ]
- },
- "research_plan" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.context.research-plan"
- }, {
- "type" : "null"
- } ]
- },
- "code_editor" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "buffers" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "cursor" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "id" : {
- "type" : "string"
- },
- "selection" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "end" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "start" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "text" : {
- "type" : "string"
- }
- },
- "required" : [ "text", "start", "end" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "type" : "object",
- "properties" : {
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "language" : {
- "const" : "sql"
- }
- },
- "required" : [ "language", "database_id" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "id", "source", "cursor" ],
- "additionalProperties" : false
- }
- },
- "type" : {
- "const" : "code_editor"
- }
- },
- "required" : [ "type", "buffers" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "user_is_viewing" : {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "object",
- "properties" : {
- "table" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.table"
- }, {
- "type" : "null"
- } ]
- },
- "owner" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "can_read" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_run" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "user_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_hi_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "transform_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "run_method" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_lo_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "transform_entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_filter_field_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "end_time" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metered_as" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dag_run_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "transform_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "start_time" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "job_run_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "scheduled" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- },
- "collection" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection"
- }, {
- "type" : "null"
- } ]
- },
- "source_database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "owner_email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target_db_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "creator" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "is_qbnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "last_login" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "type" : "integer"
- },
- "email" : {
- "type" : "string"
- },
- "is_data_analyst" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_superuser" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tenant_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "date_joined" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "email" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "owner_user_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dependency" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source_readable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tag_ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "table_dependencies" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.driver..native-query-deps.table-dep"
- }, {
- "$ref" : "#/components/schemas/metabase.driver..native-query-deps.transform-dep"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "can_write" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "can_execute" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "query" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "source-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "query"
- }, {
- "const" : "query"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "body" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source-database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "source-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "source-tables" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "alias" : {
- "type" : "string"
- },
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "alias" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "python"
- }, {
- "const" : "python"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "type" : "string",
- "enum" : [ "model", "question", "metric", "adhoc" ]
- },
- "deleted" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "requestable_indexes" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "last_checkpoint_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "table"
- }, {
- "const" : "table"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.target-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "table-incremental"
- }, {
- "const" : "table-incremental"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database_schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "sql_engine" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "used_tables" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "database_schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "run_trigger" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "target_table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "buffers" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "cursor" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "id" : {
- "type" : "string"
- },
- "selection" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "end" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "start" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "text" : {
- "type" : "string"
- }
- },
- "required" : [ "text", "start", "end" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "type" : "object",
- "properties" : {
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "language" : {
- "const" : "sql"
- }
- },
- "required" : [ "language", "database_id" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "id", "source", "cursor" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "chart_configs" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }
- },
- "rows" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- } ]
- }
- }
- }
- },
- "required" : [ "columns", "rows" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- },
- "series" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "object",
- "properties" : {
- "chart_type" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "display_name" : {
- "type" : "string"
- },
- "stacked" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "x" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- },
- "x_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "y" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "y_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "x", "display_name", "chart_type" ],
- "additionalProperties" : false
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "timeline_events" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "timestamp" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "timestamp" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "title" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "table" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.table"
- }, {
- "type" : "null"
- } ]
- },
- "owner" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "can_read" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_run" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "user_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_hi_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "transform_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "run_method" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_lo_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "transform_entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_filter_field_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "end_time" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "metered_as" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dag_run_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "transform_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "start_time" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "job_run_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "scheduled" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- },
- "collection" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection"
- }, {
- "type" : "null"
- } ]
- },
- "source_database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "owner_email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target_db_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "creator" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "is_qbnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "last_login" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "type" : "integer"
- },
- "email" : {
- "type" : "string"
- },
- "is_data_analyst" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_superuser" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tenant_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "date_joined" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "email" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "owner_user_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dependency" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source_readable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tag_ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
- }, {
- "type" : "null"
- } ]
- },
- "table_dependencies" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.driver..native-query-deps.table-dep"
- }, {
- "$ref" : "#/components/schemas/metabase.driver..native-query-deps.transform-dep"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "can_write" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "can_execute" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "query" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "source-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "query"
- }, {
- "const" : "query"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "body" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source-database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "source-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "source-tables" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "alias" : {
- "type" : "string"
- },
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "alias" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "python"
- }, {
- "const" : "python"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "type" : "string",
- "enum" : [ "dashboard", "model", "transform", "code_editor", "document", "question", "metric", "adhoc" ]
- },
- "deleted" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "requestable_indexes" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "last_checkpoint_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "table"
- }, {
- "const" : "table"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.target-incremental-strategy"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "table-incremental"
- }, {
- "const" : "table-incremental"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "database_schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "sql_engine" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "used_tables" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "database_schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "run_trigger" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "target_table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "buffers" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "cursor" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "id" : {
- "type" : "string"
- },
- "selection" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "end" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "start" : {
- "type" : "object",
- "properties" : {
- "column" : {
- "type" : "integer"
- },
- "line" : {
- "type" : "integer"
- }
- },
- "required" : [ "line", "column" ],
- "additionalProperties" : false
- },
- "text" : {
- "type" : "string"
- }
- },
- "required" : [ "text", "start", "end" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "type" : "object",
- "properties" : {
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "language" : {
- "const" : "sql"
- }
- },
- "required" : [ "language", "database_id" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "id", "source", "cursor" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "chart_configs" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }
- },
- "rows" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- } ]
- }
- }
- }
- },
- "required" : [ "columns", "rows" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- }, {
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "native" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "template-tags" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "source-table" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "stages" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stage"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- } ]
- },
- "series" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "object",
- "properties" : {
- "chart_type" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "display_name" : {
- "type" : "string"
- },
- "stacked" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "x" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- },
- "x_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "y" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "y_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "x", "display_name", "chart_type" ],
- "additionalProperties" : false
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "timeline_events" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "timestamp" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "timestamp" ],
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- },
- "title" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- }
- },
- "current_user_time" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "default_database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "current_time_with_timezone" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.metabot.context.recently-viewed-item" : {
- "description" : "One of the user's recent views, trimmed to what the model gets told about it.",
- "type" : "object",
- "properties" : {
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.metabot.context.research-plan" : {
- "description" : "The in-progress Research plan the frontend serializes into `:research_plan` each turn (`ResearchPlanContext`).",
- "type" : "object",
- "properties" : {
- "groups" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-group"
- }
- },
- "name" : {
- "type" : "string"
- },
- "timelines" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
- }
- }
- },
- "required" : [ "name", "groups", "timelines" ],
- "additionalProperties" : false
- },
- "metabase.metabot.context.research-plan-group" : {
- "type" : "object",
- "properties" : {
- "block_id" : {
- "type" : "string"
- },
- "dimensions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
- }
- },
- "metric" : {
- "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
- }
- },
- "required" : [ "block_id", "metric", "dimensions" ],
- "additionalProperties" : false
- },
- "metabase.metabot.context.research-plan-ref" : {
- "description" : "A named reference to a research-plan metric/dimension/timeline: what the frontend echoes back in\n `ResearchPlanContext`.",
- "type" : "object",
- "properties" : {
- "id" : {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "string"
- } ]
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "id", "name" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema..transform.source" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema.query"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "query"
- }, {
- "const" : "query"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "body" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source-database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "source-tables" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema..transform.source-table"
- }
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "python"
- }, {
- "const" : "python"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.metabot.schema..transform.source-table" : {
- "description" : "One entry of a Python transform's `source-tables`. Mirrors\n `metabase.metabot.context/TransformSourceTableSchema`.",
- "type" : "object",
- "properties" : {
- "alias" : {
- "type" : "string"
- },
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "alias" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema..transform.target" : {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "anyOf" : [ {
- "const" : "table"
- }, {
- "const" : "table"
- } ]
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.chart" : {
- "type" : "object",
- "properties" : {
- "chart_config" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart-config"
- }, {
- "type" : "null"
- } ]
- },
- "chart_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "queries" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema.query"
- }, {
- "type" : "null"
- } ]
- }
- }, {
- "type" : "null"
- } ]
- },
- "query_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "timeline_events" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart-timeline-event"
- }
- }, {
- "type" : "null"
- } ]
- },
- "visualization_settings" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "chart_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.metabot.schema.chart-config" : {
- "description" : "A `chart_configs` entry: a chart's title, pre-materialized series data, and the query that produced it.\n Mirrors `metabase.metabot.context/ChartConfigSchema`.",
- "type" : "object",
- "properties" : {
- "data" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart-data"
- }
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema.query"
- }, {
- "type" : "null"
- } ]
- },
- "series" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.series-config"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "timeline_events" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart-timeline-event"
- }
- }, {
- "type" : "null"
- } ]
- },
- "title" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.metabot.schema.chart-data" : {
- "description" : "One pre-materialized table of raw chart data (columns + rows). Mirrors\n `metabase.metabot.context/ChartDataSchema`.",
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
- }
- },
- "rows" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- } ]
- }
- }
- }
- },
- "required" : [ "columns", "rows" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.chart-timeline-event" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "timestamp" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "timestamp" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.client-message" : {
- "description" : "One persisted message as the client models it.",
- "type" : "object",
- "properties" : {
- "contextTokens" : {
- "type" : "integer"
- },
- "externalId" : {
- "type" : "string"
- },
- "id" : {
- "type" : "string"
- },
- "parts" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.client-message-part"
- }
- },
- "role" : {
- "type" : "string",
- "enum" : [ "user", "agent" ]
- },
- "status" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.client-message-status"
- }
- },
- "required" : [ "id", "role", "parts", "status" ]
- },
- "metabase.metabot.schema.client-message-part" : {
- "description" : "One part of a persisted message: its a text, tool call, or data blob.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string"
- },
- "message" : {
- "type" : "string"
- },
- "role" : {
- "type" : "string",
- "enum" : [ "user", "agent" ]
- },
- "type" : {
- "const" : "text"
- }
- },
- "required" : [ "id", "role", "type", "message" ]
- }, {
- "type" : "object",
- "properties" : {
- "args" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "type" : "string"
- },
- "is_error" : {
- "type" : "boolean"
- },
- "name" : {
- "type" : "string"
- },
- "result" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "role" : {
- "const" : "agent"
- },
- "status" : {
- "type" : "string",
- "enum" : [ "started", "ended" ]
- },
- "type" : {
- "const" : "tool_call"
- }
- },
- "required" : [ "id", "role", "type", "name", "args", "status" ]
- }, {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string"
- },
- "part" : {
- "type" : "object",
- "properties" : {
- "data" : { },
- "type" : {
- "type" : "string"
- }
- },
- "required" : [ "type", "data" ]
- },
- "role" : {
- "const" : "agent"
- },
- "type" : {
- "const" : "data_part"
- }
- },
- "required" : [ "id", "role", "type", "part" ]
- } ]
- },
- "metabase.metabot.schema.client-message-status" : {
- "description" : "Where a message's turn got to.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "type" : {
- "const" : "done"
- }
- },
- "required" : [ "type" ]
- }, {
- "type" : "object",
- "properties" : {
- "type" : {
- "const" : "aborted"
- }
- },
- "required" : [ "type" ]
- }, {
- "type" : "object",
- "properties" : {
- "type" : {
- "const" : "in_progress"
- }
- },
- "required" : [ "type" ]
- }, {
- "type" : "object",
- "properties" : {
- "error" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "object",
- "properties" : {
- "data" : { },
- "message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "type" : "string"
- }
- }
- } ]
- },
- "type" : {
- "const" : "errored"
- }
- },
- "required" : [ "type", "error" ]
- } ]
- },
- "metabase.metabot.schema.column-info" : {
- "description" : "A chart column's name and inferred type, as sent for chart analysis. Mirrors\n `metabase.metabot.context/ColumnInfoSchema`.",
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "name" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.query" : {
- "description" : "An MBQL 5 or legacy query in any state of normalization, as it round-trips through tool-call JSON or persisted turn state.",
- "$ref" : "#/components/schemas/metabase.lib.util.query-like"
- },
- "metabase.metabot.schema.row-value" : {
- "description" : "One cell value in a chart series. The `object` arm is never read by this code -- it's forwarded to the\n interestingness stats/repr code as-is -- so it's opaque rather than typed. Mirrors\n `metabase.metabot.context/RowValueSchema`.",
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "description" : "Value must be a map."
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.metabot.schema.series-config" : {
- "description" : "One series of a chart, pre-materialized by the frontend for `analyze_chart`. Mirrors\n `metabase.metabot.context/SeriesConfigSchema`.",
- "type" : "object",
- "properties" : {
- "chart_type" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "display_name" : {
- "type" : "string"
- },
- "stacked" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "x" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
- },
- "x_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.row-value"
- }
- }, {
- "type" : "null"
- } ]
- },
- "y" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
- }, {
- "type" : "null"
- } ]
- },
- "y_values" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.row-value"
- }
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "x", "display_name", "chart_type" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.state" : {
- "type" : "object",
- "properties" : {
- "chart-configs" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart-config"
- }
- },
- "charts" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.chart"
- }
- },
- "link-registry" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "queries" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.query"
- }
- },
- "todos" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.todo"
- }
- },
- "transforms" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.metabot.schema.transform"
- }
- }
- },
- "additionalProperties" : false
- },
- "metabase.metabot.schema.state-map-key" : {
- "description" : "A dynamic state-map key, normalized to its canonical string representation.",
- "type" : "string"
- },
- "metabase.metabot.schema.todo" : {
- "description" : "One todo item of persisted turn state; only `:id` is guaranteed, since state can hold a partial item\n between the turn that creates it and the turn that fills in its details.",
- "type" : "object",
- "properties" : {
- "content" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "type" : "string"
- },
- "priority" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "high", "medium", "low" ]
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "pending", "in_progress", "completed", "cancelled" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.metabot.schema.transform" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema..transform.source"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metabot.schema..transform.target"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.metrics.api.BreakoutValuesResponse" : {
- "type" : "object",
- "properties" : {
- "col" : {
- "type" : "object",
- "properties" : { }
- },
- "values" : {
- "type" : "array",
- "items" : { }
- }
- },
- "required" : [ "values", "col" ]
- },
- "metabase.metrics.api.DatasetRequest" : {
- "description" : "Schema for POST /dataset request body.",
- "type" : "object",
- "properties" : {
- "definition" : {
- "$ref" : "#/components/schemas/metabase.metrics.api.Definition"
- }
- },
- "required" : [ "definition" ],
- "additionalProperties" : false
- },
- "metabase.metrics.api.DatasetResponse" : {
- "description" : "Schema for POST /dataset response.",
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "object",
- "properties" : {
- "cols" : {
- "type" : "array",
- "items" : { }
- },
- "rows" : {
- "type" : "array",
- "items" : { }
- }
- },
- "required" : [ "cols", "rows" ]
- },
- "row_count" : {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
- },
- "status" : {
- "enum" : [ "completed", "completed" ]
- }
- },
- "required" : [ "status", "data", "row_count" ]
- },
- "metabase.metrics.api.Definition" : {
- "description" : "Schema for the definition object within a dataset request.\n Uses expression-based contract for metric math support.",
- "type" : "object",
- "properties" : {
- "expression" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.metric-math-expression"
- },
- "filters" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.instance-filters"
- }, {
- "type" : "null"
- } ]
- },
- "projections" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.typed-projections"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "expression" ],
- "additionalProperties" : false
- },
- "metabase.metrics.api.Metric" : {
- "description" : "Schema for a Metric in list responses (without hydrated dimensions).",
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "id", "name" ]
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "id", "name", "description", "collection_id" ]
- },
- "metabase.metrics.api.MetricWithDimensions" : {
- "description" : "Schema for a Metric in list responses (without hydrated dimensions).",
- "type" : "object",
- "properties" : {
- "dimension_mappings" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metrics.dimension.dimension-mapping"
- }
- },
- "collection" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "id", "name" ]
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
- }, {
- "type" : "null"
- } ]
- },
- "result_column_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "type" : "string"
- },
- "dimensions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metrics.dimension.dimension"
- }
- },
- "database_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "name", "description", "collection_id", "dimensions", "dimension_mappings" ]
- },
- "metabase.metrics.api.RemappedValueResponse" : {
- "description" : "Response schema for dimension remapping endpoint.\n Returns [value] if no remapping, or [value, display-name] if remapped.",
- "anyOf" : [ {
- "type" : "array",
- "prefixItems" : [ { } ]
- }, {
- "type" : "array",
- "prefixItems" : [ { }, {
- "type" : "string"
- } ]
- } ]
- },
- "metabase.metrics.dimension.dimension" : {
- "description" : "Schema for a persisted dimension definition with status tracking.",
- "type" : "object",
- "properties" : {
- "sources" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.metrics.dimension.source"
- }
- }, {
- "type" : "null"
- } ]
- },
- "group" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.metrics.dimension.group"
- }, {
- "type" : "null"
- } ]
- },
- "display-name" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
- },
- "effective-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-status"
- }, {
- "type" : "null"
- } ]
- },
- "has-field-values" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status-message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "default-temporal-unit" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "lib/source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dimension-interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "default" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "semantic-type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ]
- },
- "metabase.metrics.dimension.dimension-mapping" : {
- "description" : "Schema for a dimension mapping.",
- "type" : "object",
- "properties" : {
- "dimension-id" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
- },
- "table-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.target"
- },
- "type" : {
- "description" : "Type of dimension mapping.",
- "type" : "string",
- "enum" : [ "table" ]
- }
- },
- "required" : [ "dimension-id", "target" ],
- "additionalProperties" : false
- },
- "metabase.metrics.dimension.group" : {
- "description" : "Group descriptor for a dimension, indicating which table it belongs to.",
- "type" : "object",
- "properties" : {
- "display-name" : {
- "type" : "string"
- },
- "id" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string",
- "enum" : [ "main", "connection" ]
- }
- },
- "required" : [ "id", "type", "display-name" ]
- },
- "metabase.metrics.dimension.source" : {
- "description" : "A dimension source annotated with its wire-encoding rules. Quirks preserved from the previous\n hand-rolled shape: entries keep their kebab-case `:field-id` key on the wire (no key renaming),\n `:field-id` is always present (nil when missing), and other keys (e.g. `:binning`) are dropped.",
- "type" : "object",
- "properties" : {
- "field-id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-source.type"
- }
- },
- "required" : [ "type" ]
- },
- "metabase.notification.api.admin.bulk-response" : {
- "type" : "object",
- "properties" : {
- "updated" : {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
- }
- },
- "required" : [ "updated" ]
- },
- "metabase.notification.api.admin.channel-entry" : {
- "description" : "One channel delivery attempt within a tick.",
- "type" : "object",
- "properties" : {
- "channel_type" : {
- "type" : "string"
- },
- "error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
- }
- },
- "required" : [ "channel_type", "status", "error" ],
- "additionalProperties" : false
- },
- "metabase.notification.api.admin.detail-response" : {
- "type" : "object",
- "properties" : {
- "last_check" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
- }, {
- "type" : "null"
- } ]
- },
- "payload_type" : {
- "type" : "string"
- },
- "payload_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "send_history" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.tick-send-entry"
- }
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "check_history" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
- }
- },
- "last_send" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "created_at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "active" : {
- "type" : "boolean"
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "active", "creator_id", "created_at", "updated_at", "payload_type", "payload_id", "last_check", "last_send", "check_history", "send_history" ]
- },
- "metabase.notification.api.admin.list-response" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.list-row"
- }
- },
- "limit" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "offset" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
- }, {
- "type" : "null"
- } ]
- },
- "total" : {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
- }
- },
- "required" : [ "data", "total", "limit", "offset" ]
- },
- "metabase.notification.api.admin.list-row" : {
- "type" : "object",
- "properties" : {
- "last_check" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
- }, {
- "type" : "null"
- } ]
- },
- "payload_type" : {
- "type" : "string"
- },
- "payload_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "last_send" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "created_at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "active" : {
- "type" : "boolean"
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "active", "creator_id", "created_at", "updated_at", "payload_type", "payload_id", "last_check", "last_send" ]
- },
- "metabase.notification.api.admin.run-status" : {
- "type" : "string",
- "enum" : [ "failing", "successful" ]
- },
- "metabase.notification.api.admin.run-summary" : {
- "type" : "object",
- "properties" : {
- "at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
- }
- },
- "required" : [ "at", "error", "status" ],
- "additionalProperties" : false
- },
- "metabase.notification.api.admin.sort-column" : {
- "type" : "string",
- "enum" : [ "id", "last_send", "last_check", "card_name", "creator_name", "updated_at" ]
- },
- "metabase.notification.api.admin.sort-direction" : {
- "type" : "string",
- "enum" : [ "asc", "desc" ]
- },
- "metabase.notification.api.admin.tick-send-entry" : {
- "description" : "One tick's worth of sends, rolled up across all channels that fired in that tick.",
- "type" : "object",
- "properties" : {
- "at" : {
- "type" : "string",
- "format" : "date-time"
- },
- "channels" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.channel-entry"
- }
- },
- "error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "status" : {
- "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
- }
- },
- "required" : [ "at", "status", "error", "channels" ],
- "additionalProperties" : false
- },
- "metabase.notification.api.notification.CreateNotificationParams" : {
- "description" : "Notification schema for a create request, or for sending one that was never saved. Like\n FullyHydratedNotification but restricts templates to user-provided types only (no handlebars-resource),\n and carries no ids since the body has no row of its own.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "description" : "Schema for :model/NotificationHandler on a create request.",
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationRecipientParams"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationCardParams"
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationSubscriptionParams"
- }
- }
- },
- "required" : [ "payload_type", "payload" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "description" : "Schema for :model/NotificationHandler on a create request.",
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationRecipientParams"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..SystemEventPayload.request"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationSubscriptionParams"
- }
- }
- },
- "required" : [ "payload_type" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.notification.api.notification.NotificationApiUpdateInput" : {
- "description" : "Notification schema for an update request, restricted to what `notification-update-spec` writes. On PUT\n the URL, not the body, identifies the target (RFC 9110 §9.3.4), so a client-sent id is stripped.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationCardUpdate"
- },
- "payload_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
- }
- }
- },
- "required" : [ "payload_type", "payload" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..SystemEventPayload.request"
- }, {
- "type" : "null"
- } ]
- },
- "payload_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
- }
- }
- },
- "required" : [ "payload_type" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.notification.models..SystemEventPayload.request" : {
- "description" : "The `:payload` of a system event notification as a client may send it: the event topic, plus the `:disable_links`\n `POST /api/notification` stamps on. The event map itself is the server's to supply, so a request carries none.",
- "type" : "object",
- "properties" : {
- "disable_links" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "event_topic" : {
- "$ref" : "#/components/schemas/metabase.notification.models.event-topic"
- }
- },
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.comment-created" : {
- "description" : "The `:event_info` of an `:event/comment-created` system event.",
- "type" : "object",
- "properties" : {
- "parent_author" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "comment_href" : {
- "type" : "string"
- },
- "entity_title" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "author" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "email" : {
- "description" : "value must be a valid email address.",
- "type" : "string"
- },
- "style" : {
- "type" : "object",
- "properties" : {
- "color_text_dark" : {
- "type" : "string"
- },
- "color_text_light" : {
- "type" : "string"
- },
- "color_text_medium" : {
- "type" : "string"
- }
- },
- "required" : [ "color_text_dark", "color_text_light", "color_text_medium" ],
- "additionalProperties" : false
- },
- "parent_comment" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "entity_href" : {
- "type" : "string"
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "comment" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "entity_type" : {
- "type" : "string"
- }
- },
- "required" : [ "entity_type", "entity_title", "comment_href", "entity_href", "created_at", "author", "comment", "parent_author", "parent_comment", "style", "email" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.notification-create" : {
- "description" : "The `:event_info` of an `:event/notification-create` system event.",
- "type" : "object",
- "properties" : {
- "object" : {
- "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"
- },
- "user-id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "object", "user-id" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.security-advisory-match" : {
- "description" : "The `:event_info` of an `:event/security-advisory-match` system event.",
- "type" : "object",
- "properties" : {
- "object" : {
- "type" : "object",
- "properties" : {
- "advisory_id" : {
- "type" : "string",
- "minLength" : 1
- },
- "advisory_url" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "affected_versions" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "fixed" : {
- "type" : "string",
- "pattern" : "^\\d+(?:\\.\\d+)*$"
- },
- "min" : {
- "type" : "string",
- "pattern" : "^\\d+(?:\\.\\d+)*$"
- }
- },
- "required" : [ "min", "fixed" ],
- "additionalProperties" : false
- }
- },
- "description" : {
- "type" : "string"
- },
- "match_status" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "remediation" : {
- "type" : "string"
- },
- "severity" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "title" : {
- "type" : "string"
- }
- },
- "required" : [ "advisory_id", "severity", "title", "description", "match_status", "advisory_url", "remediation", "affected_versions" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "object" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.support-access-grant-created" : {
- "description" : "The `:event_info` of an `:event/support-access-grant-created` system event.",
- "type" : "object",
- "properties" : {
- "duration_minutes" : {
- "type" : "integer"
- },
- "grant_end_time" : {
- "type" : "string",
- "format" : "date-time"
- },
- "notes" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "password_reset_url" : {
- "type" : "string"
- },
- "support_email" : {
- "oneOf" : [ {
- "description" : "value must be a valid email address.",
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "ticket_number" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "support_email", "ticket_number", "duration_minutes", "grant_end_time", "password_reset_url", "notes" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.transform-failed" : {
- "description" : "The `:event_info` of an `:event/transform-failed` system event.",
- "type" : "object",
- "properties" : {
- "email" : {
- "description" : "value must be a valid email address.",
- "type" : "string"
- },
- "failure_count" : {
- "type" : "integer"
- },
- "failures" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "message" : {
- "type" : "object",
- "properties" : {
- "details" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "first_line" : {
- "type" : "string"
- }
- },
- "required" : [ "first_line", "details" ],
- "additionalProperties" : false
- },
- "transform_href" : {
- "type" : "string"
- },
- "transform_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "transform_name", "transform_href", "message" ],
- "additionalProperties" : false
- }
- },
- "job_href" : {
- "type" : "string"
- },
- "job_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "skipped_count" : {
- "type" : "integer"
- }
- },
- "required" : [ "email", "job_name", "job_href", "failure_count", "skipped_count", "failures" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.transform-failure-digest" : {
- "description" : "The `:event_info` of an `:event/transform-failure-digest` system event.",
- "type" : "object",
- "properties" : {
- "failure_count" : {
- "type" : "integer"
- },
- "job_count" : {
- "type" : "integer"
- },
- "jobs" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "failure_count" : {
- "type" : "integer"
- },
- "first_failed" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "job_href" : {
- "type" : "string"
- },
- "job_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "latest_error" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "job_name", "job_href", "failure_count", "first_failed", "latest_error" ],
- "additionalProperties" : false
- }
- }
- },
- "required" : [ "job_count", "failure_count", "jobs" ],
- "additionalProperties" : false
- },
- "metabase.notification.models..event-info.user-invited" : {
- "description" : "The `:event_info` of an `:event/user-invited` system event: the invited User instance, plus the extra keys\n `create-and-invite-user!` stamps on it. `:object` is typed by instance, not by shape, since the extra keys are\n `assoc`ed onto the real Toucan row rather than replacing it.",
- "type" : "object",
- "properties" : {
- "details" : {
- "type" : "object",
- "properties" : {
- "invitor" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "description" : "value must be a valid email address.",
- "type" : "string"
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "email" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "invitor" ],
- "additionalProperties" : false
- },
- "object" : {
- "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "login_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "sso_source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "jwt_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "is_qbnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "user_group_memberships" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "entity_id" ],
- "additionalProperties" : false
- }
- },
- "reset_token" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "is_from_setup" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "invite_method" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_login" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- },
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "password_salt" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_with_tenant" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_data_analyst" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "locale" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "is_datasetnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "reset_triggered" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "is_superuser" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tenant_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "attributes" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "date_joined" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "password" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "invite_target" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- },
- "type" : {
- "type" : "string",
- "enum" : [ "dashboard", "question" ]
- }
- },
- "required" : [ "type", "id", "name" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }
- },
- "required" : [ "object" ],
- "additionalProperties" : false
- },
- "metabase.notification.models.CreateNotificationCardParams" : {
- "description" : "Schema for :model/NotificationCard on a create request.",
- "type" : "object",
- "properties" : {
- "card" : {
- "oneOf" : [ {
- "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
- "type" : "object",
- "properties" : {
- "enable_embedding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "visualization_settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "dimension_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
- }
- }, {
- "type" : "null"
- } ]
- },
- "cache_invalidated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "collection_preview" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "initially_published_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
- }, {
- "type" : "null"
- } ]
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
- }
- }, {
- "type" : "null"
- } ]
- },
- "metabot_chart_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "embedding_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "verified-result-metadata?" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_position" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "type" : "string",
- "enum" : [ "+", "-" ]
- }, {
- "const" : "collection_position"
- }, {
- "const" : 1
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dimensions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query_description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "embedding_params" : {
- "oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query_metrics_v2_migration_backup" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "document_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
- }, {
- "type" : "null"
- } ]
- },
- "result_metadata" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
- }
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "source_card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "query_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "cache_ttl" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "display" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid" : {
- "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.legacy-mbql.schema.FieldRefOptions" : {
+ "description" : "Options for an MBQL 4 `:field` ref are the same as MBQL 5, except that `:lib/uuid` is not required and it cannot be\n empty.",
+ "oneOf" : [ {
+ "allOf" : [ {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ },
+ "inherited-temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source-field-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "type" : "string",
+ "minLength" : 36,
+ "maxLength" : 36
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "type" : "string"
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "join-alias" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "lib/original-binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "source-field-join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "original-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "allOf" : [ ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.legacy-mbql.schema.Reference" : {
+ "description" : "Schema for any type of valid Field clause, or for an indexed reference to an aggregation clause.",
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.aggregation"
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.expression"
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
+ } ]
+ },
+ "metabase.legacy-mbql.schema.SourceTable" : {
+ "description" : "Schema for a valid value for the `:source-table` clause of an MBQL query.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "description" : "`card__<id>` string Table ID",
+ "type" : "string",
+ "pattern" : "^card__[1-9]\\d*$"
+ } ]
+ },
+ "metabase.legacy-mbql.schema.aggregation" : {
+ "description" : "schema for a valid MBQL 4 :aggregation clause",
+ "allOf" : [ ]
+ },
+ "metabase.legacy-mbql.schema.expression" : {
+ "description" : "schema for a valid MBQL 4 :expression clause",
+ "allOf" : [ ]
+ },
+ "metabase.legacy-mbql.schema.field" : {
+ "description" : "Schema for a valid MBQL 4 :field clause.",
+ "allOf" : [ {
+ "description" : "schema for a valid MBQL 4 :field clause",
+ "allOf" : [ ]
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.require-base-type-for-field-name"
+ } ]
+ },
+ "metabase.legacy-mbql.schema.legacy-column-metadata" : {
+ "description" : "Schema for a single legacy metadata column. This is the pre-Lib equivalent of\n `:metabase.lib.schema.metadata/column`.",
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "points_of_interest" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.pivot/idx" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "preview_display" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_partitioned" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/original-join-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "aggregation_index" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/field-ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "field_ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
+ "type" : "boolean"
+ },
+ "lib/external-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-column-alias" : {
+ "oneOf" : [ {
+ "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped_from" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/temporal-unit" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "metadata/column",
+ "const" : "metadata/column"
+ },
+ "database_required" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped_from_index" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "visibility_type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base_type" : {
+ "default" : "type/*",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "source_alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-uuid" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "custom_position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/join-field" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "special_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/implicit-field?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/id" : {
+ "oneOf" : [ {
+ "description" : "Valid Dimension ID",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "expression_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/deduplicated-name" : {
+ "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "coercion_strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-expression-name" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/from-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-join-alias" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint_version" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "lib/original-fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/card-id" : {
+ "oneOf" : [ {
+ "description" : "Valid Card ID",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/breakout?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "data_sensitivity" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/human-readable-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "semantic_type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk_field_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/join-alias" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_is_auto_increment" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.SourceTable"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "has_field_values" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display_name" : {
+ "type" : "string"
+ },
+ "remapping" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/human-readable-field-id" : {
+ "oneOf" : [ {
+ "description" : "Valid Field ID",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-field-id" : {
+ "oneOf" : [ {
+ "description" : "Valid Field ID",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.propagate-coercion?" : {
+ "type" : "boolean"
+ },
+ "metabase.lib.join/HACK-from-incomplete-join?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/internal-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "converted_timezone" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.temporal.timezone-id"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "selected?" : {
+ "type" : "boolean"
+ },
+ "fk_join_alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk_field_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped_to" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema..legacy-column-metadata.binning-info"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "nfc_path" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "target" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-binning" : {
+ "oneOf" : [ {
+ "description" : "Schema for `:binning` options passed to a `:field` clause.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "default"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective_type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "lib/original-join-alias" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parent_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.field.resolution/fallback-metadata?" : {
+ "type" : "boolean"
+ },
+ "unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "lib/binning" : {
+ "oneOf" : [ {
+ "description" : "Schema for `:binning` options passed to a `:field` clause.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "default"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "inherited_temporal_unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "caveats" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "internal", "external" ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-name" : {
+ "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-ref-style-for-result-metadata-purposes" : {
+ "type" : "string",
+ "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
+ },
+ "metabase.driver.mongo.query-processor/inherited?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/simple-display-name" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk_target_field_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/desired-column-alias" : {
+ "oneOf" : [ {
+ "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "display_name", "name" ],
+ "additionalProperties" : false
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.legacy-mbql.schema.require-base-type-for-field-name" : {
+ "description" : "Fields using names rather than integer IDs are required to specify `:base-type`."
+ },
+ "metabase.lib-be.schema..internal-query.scope" : {
+ "description" : "Mirrors `metabase.actions.types/scope.normalized`. Duplicated (rather than referenced) so this namespace does not\n have to depend on the `actions` module.",
+ "anyOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "dashboard-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "dashboard-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "dashcard-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "dashcard-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "card-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "card-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "model-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "model-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "table-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "table-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "webhook-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "type", "webhook-id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "unknown" : {
+ "type" : "string",
+ "enum" : [ "model-action" ]
+ }
+ },
+ "required" : [ "type", "unknown" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.lib-be.schema.empty-query" : {
+ "const" : { }
+ },
+ "metabase.lib-be.schema.internal-query" : {
+ "description" : "An internal (audit) query: either the QP's own `:fn`/`:args` invocation shape, or the action-descriptor shape\n stashed on a [[metabase.actions.audit/Base]] row's `:template` for a `:model.row/*` or similar action.",
+ "type" : "object",
+ "properties" : {
+ "action-id" : {
+ "oneOf" : [ {
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "offset" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "args" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
"type" : "string"
}, {
- "type" : "null"
- } ]
- },
- "last_used_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "metabase_version" : {
- "oneOf" : [ {
- "type" : "string"
+ "type" : "number"
}, {
- "type" : "null"
- } ]
- },
- "archived_directly" : {
- "oneOf" : [ {
"type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
} ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fn" : {
+ "type" : "string"
+ },
+ "limit" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "middleware" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
+ },
+ "database" : {
+ "oneOf" : [ {
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "scope" : {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema..internal-query.scope"
+ },
+ "action" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "type" : {
+ "const" : "internal"
+ },
+ "viz-settings" : {
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "type" : "object",
+ "properties" : { }
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-be.schema.maybe-legacy-or-empty-query" : {
+ "description" : "value must be a valid MBQL query, or an empty query.",
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.empty-query"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ } ]
+ },
+ "metabase.lib-be.schema.maybe-legacy-or-internal-query" : {
+ "description" : "value must be a valid MBQL query, or an internal audit query.",
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.internal-query"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ } ]
+ },
+ "metabase.lib-be.schema.maybe-legacy-query" : {
+ "description" : "value must be a valid MBQL query.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.query"
+ },
+ "metabase.lib-metric.schema..dimension-mapping.target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-mapping.target"
+ },
+ "metabase.lib-metric.schema..dimension-mapping.type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-mapping.type"
+ },
+ "metabase.lib-metric.schema..dimension-reference.options" : {
+ "description" : "Options map for dimension references.",
+ "type" : "object",
+ "properties" : {
+ "binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema..dimension-source.type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-source.type"
+ },
+ "metabase.lib-metric.schema..filter-clause.options" : {
+ "description" : "The options of a metric filter clause: MBQL options plus the offset [[metabase.lib-metric.filter]] puts on a\n relative date filter (`previous N units, starting M units ago`).",
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "offset-value" : {
+ "type" : "integer"
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "offset-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema.binning" : {
+ "description" : "Schema for `:binning` options passed to a `:dimension` clause.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "strategy" : {
+ "const" : "default"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.positive-number"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "num-bins" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.lib-metric.schema.dimension" : {
+ "description" : "Schema for a dimension definition, plus what the metrics module annotates a dimension with before handing it to a\n client: the column it came from, its group, its field values status and how interesting it looks.",
+ "type" : "object",
+ "properties" : {
+ "sources" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-source"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "group" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-group"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "status" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "has-field-values" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "status-message" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "default-temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension-interestingness" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "default" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema.dimension-group" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-group"
+ },
+ "metabase.lib-metric.schema.dimension-id" : {
+ "description" : "UUID string identifying a dimension.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-id"
+ },
+ "metabase.lib-metric.schema.dimension-mapping" : {
+ "description" : "Schema for a dimension mapping.",
+ "type" : "object",
+ "properties" : {
+ "dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
+ },
+ "table-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "target" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.target"
+ },
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.type"
+ }
+ },
+ "required" : [ "type", "dimension-id", "target" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema.dimension-reference" : {
+ "description" : "Dimension reference clause [:dimension opts uuid].\n Handles normalization from JSON where the tag arrives as a string.",
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "dimension"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-reference.options"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
+ } ]
+ },
+ "metabase.lib-metric.schema.dimension-source" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-source"
+ },
+ "metabase.lib-metric.schema.dimension-status" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.dimension-status"
+ },
+ "metabase.lib-metric.schema.expression-leaf" : {
+ "description" : "A leaf node in a metric math expression: either a metric or measure reference.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.metric-expression-ref"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.measure-expression-ref"
+ } ]
+ },
+ "metabase.lib-metric.schema.filter-clause" : {
+ "description" : "MBQL filter clause with normalization for API input.\n Handles string operators and dimension references. After normalization every clause is a tag, an options map and\n arguments that are dimension references, literals or clauses themselves."
+ },
+ "metabase.lib-metric.schema.instance-filter" : {
+ "description" : "A filter associated with a specific expression instance via lib/uuid.",
+ "type" : "object",
+ "properties" : {
+ "filter" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.filter-clause"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "lib/uuid", "filter" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema.instance-filters" : {
+ "description" : "A sequence of per-instance filters.",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.instance-filter"
+ }
+ },
+ "metabase.lib-metric.schema.measure-expression-ref" : {
+ "description" : "A measure reference in an expression: [:measure {:lib/uuid uuid} measure-id].",
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "measure"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "integer",
+ "minimum" : 1
+ } ]
+ },
+ "metabase.lib-metric.schema.metric-expression-ref" : {
+ "description" : "A metric reference in an expression: [:metric {:lib/uuid uuid} card-id].",
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "metric"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "integer",
+ "minimum" : 1
+ } ]
+ },
+ "metabase.lib-metric.schema.metric-math-expression" : {
+ "description" : "A recursive metric math expression tree.\n Can be a leaf (metric/measure ref) or an arithmetic expression [op opts expr expr ...]\n with at least 2 operands.\n Note: uses :fn validator for arithmetic to avoid Malli's recursive seqex limitation.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.expression-leaf"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "array"
+ } ]
+ },
+ "metabase.lib-metric.schema.typed-projection" : {
+ "description" : "A projection associated with a specific expression leaf instance via :lib/uuid.\n The :type and :id identify the source metric/measure for metadata resolution.\n The :lib/uuid disambiguates multiple references to the same metric/measure in an expression.",
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "projection" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-reference"
+ }
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "metric", "measure" ]
+ }
+ },
+ "required" : [ "type", "id", "lib/uuid", "projection" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib-metric.schema.typed-projections" : {
+ "description" : "A sequence of typed projections.",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.typed-projection"
+ }
+ },
+ "metabase.lib.metadata.protocols.metadata-provider" : {
+ "description" : "Schema for something that satisfies the [[metabase.lib.metadata.protocols/MetadataProvider]] protocol."
+ },
+ "metabase.lib.schema..cache-strategy.duration" : {
+ "description" : "Cache for a fixed duration (EE).",
+ "type" : "object",
+ "properties" : {
+ "duration" : {
+ "type" : "number"
+ },
+ "refresh_automatically" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "const" : "duration"
+ },
+ "unit" : {
+ "type" : "string",
+ "enum" : [ "hours", "minutes", "seconds", "days" ]
+ }
+ },
+ "required" : [ "type", "duration", "unit" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..cache-strategy.nocache" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "const" : "nocache"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..cache-strategy.on-query" : {
+ "description" : "What is added to a strategy once it is attached to a query.",
+ "type" : "object",
+ "properties" : {
+ "avg-execution-ms" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "invalidated-at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..cache-strategy.schedule" : {
+ "description" : "Cache until the next run of a cron schedule (EE).",
+ "type" : "object",
+ "properties" : {
+ "refresh_automatically" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "schedule" : {
+ "type" : "string"
+ },
+ "type" : {
+ "const" : "schedule"
+ }
+ },
+ "required" : [ "type", "schedule" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..cache-strategy.ttl" : {
+ "description" : "Cache for a multiple of the query's average execution time. Typed as plain numbers here: a strategy reaches a query\n from several places (the Card, a Dashboard, the Database), and `metabase.cache.api` is the one that asks for integers.",
+ "type" : "object",
+ "properties" : {
+ "min_duration_ms" : {
+ "type" : "number"
+ },
+ "multiplier" : {
+ "type" : "number"
+ },
+ "type" : {
+ "const" : "ttl"
+ }
+ },
+ "required" : [ "type", "multiplier", "min_duration_ms" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..query.map" : {
+ "description" : "Valid MBQL 5 query.",
+ "type" : "object",
+ "properties" : {
+ "lib/metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
+ },
+ "show-column-totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user-parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "pivot-rows" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "update-row" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
+ },
+ "qp.pivot/remapped-breakout-combination" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "mbql/query",
+ "const" : "mbql/query"
+ },
+ "pivot_rows" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.settings.settings"
+ },
+ "constraints" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.constraints.constraints"
+ },
+ "cache-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.cache-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib.convert/converted?" : {
+ "type" : "boolean"
+ },
+ "info" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
+ },
+ "impersonation/admin?" : {
+ "type" : "boolean"
+ },
+ "async?" : {
+ "type" : "boolean"
+ },
+ "qp/skip-result-metadata-persistence" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/external-remaps" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
+ },
+ "show-row-totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/compiled-inline" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
+ },
+ "qp.pivot/remapped-indexes" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "middleware" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
+ },
+ "database" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.saved-questions-virtual-database"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ } ]
+ },
+ "destination-database/id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ },
+ "qp.pivot/unremapped-breakout-combination" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "pivot-measures" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "impersonation/allow-write?" : {
+ "type" : "boolean"
+ },
+ "pivot_cols" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "impersonation/role" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp.pivot/num-remapped-breakouts" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "qp/compiled" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
+ },
+ "stages" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stages"
+ },
+ "qp.pivot/num-unremapped-breakouts" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "metabase.query-processor.util.add-alias-info/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema..query.snapshot"
+ },
+ "viz-settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "pivot-cols" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "show_column_totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp.pivot/num-remapped-cols" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "qp/source-card-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "query-permissions/referenced-card-ids" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "uniqueItems" : true
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "show_row_totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "create-row" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
+ },
+ "pivot_measures" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/original-metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema..sandboxing.original-metadata"
+ },
+ "was-pivot" : {
+ "description" : "Whether this query was originally run as a pivot query. Stamped into the saved `json_query` by\n `metabase.query-processor.middleware.process-userland-query` and sent back by clients re-downloading pivot query\n results.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "stages" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..query.snapshot" : {
+ "description" : "A whole copy of a query stashed on the query itself under one of the internal keys below: the same shape as\n [[::query]] minus the `:and`-level constraints, so validating the stashed copy does not re-run uniqueness checks\n against the query it was copied from.",
+ "$ref" : "#/components/schemas/metabase.lib.schema..query.map"
+ },
+ "metabase.lib.schema..sandboxing.original-metadata" : {
+ "description" : "The legacy columns a query was expected to return before sandboxes replaced its source tables, stashed on the query by the enterprise sandboxing middleware and merged into the sandboxed results.",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
+ }
+ },
+ "metabase.lib.schema..stage.additional" : {
+ "oneOf" : [ { }, { } ]
+ },
+ "metabase.lib.schema..stage.common" : {
+ "type" : "object",
+ "properties" : {
+ "qp/stage-had-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "source-query/native-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "persisted-info/native" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/remaps" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
+ },
+ "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "lib/stage-metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
+ },
+ "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "uniqueItems" : true
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
+ }
+ },
+ "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "uniqueItems" : true
+ },
+ "qp/skip-persisted-cache" : {
+ "type" : "boolean"
+ },
+ "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
+ "type" : "boolean"
+ },
+ "source-query/model?" : {
+ "type" : "boolean"
+ },
+ "parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "qp/added-implicit-fields?" : {
+ "type" : "boolean"
+ },
+ "qp/stage-is-from-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "query-permissions/sandboxed-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema..stage.initial" : {
+ "oneOf" : [ { }, { } ]
+ },
+ "metabase.lib.schema..stage.mbql" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "qp/stage-had-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "source-query/native-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "persisted-info/native" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "metabase.query-processor.middleware.add-remaps/remaps" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
+ },
+ "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "lib/type" : {
+ "const" : "mbql.stage/mbql"
+ },
+ "lib/stage-metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
+ },
+ "pivot" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.pivot"
+ },
+ "breakout" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.breakouts"
+ },
+ "filters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.filters"
+ },
+ "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "uniqueItems" : true
+ },
+ "limit" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
+ }
+ },
+ "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "uniqueItems" : true
+ },
+ "qp/skip-persisted-cache" : {
+ "type" : "boolean"
+ },
+ "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
+ "type" : "boolean"
+ },
+ "joins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.joins"
+ },
+ "aggregation" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.aggregation.aggregations"
+ },
+ "source-query/model?" : {
+ "type" : "boolean"
+ },
+ "fields" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.fields"
+ },
+ "source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ },
+ "order-by" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.order-by.order-bys"
+ },
+ "page" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.page"
+ },
+ "parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "qp/added-implicit-fields?" : {
+ "type" : "boolean"
+ },
+ "qp/stage-is-from-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "query-permissions/sandboxed-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ },
+ "expressions" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expressions"
+ }
+ },
+ "required" : [ "lib/type" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema..stage.valid-refs"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema..stage.page-and-limit-are-mutually-exclusive"
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.lib.schema..stage.native" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "qp/stage-had-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "source-query/native-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "persisted-info/native" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/remaps" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
+ },
+ "metabase.query-processor.util.add-alias-info/join-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "lib/type" : {
+ "const" : "mbql.stage/native"
+ },
+ "lib/stage-metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.stage"
+ },
+ "params" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.param-value"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "projections" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "mbql?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "native" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "description" : "a driver's native query when it is not a string, e.g. a MongoDB pipeline or a query with its parameters; its shape is the driver's"
+ } ]
+ },
+ "metabase.query-processor.middleware.cumulative-aggregations/replaced-indexes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "uniqueItems" : true
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias->escaped" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
+ }
+ },
+ "metabase.query-processor.middleware.add-implicit-joins/reused-join-aliases" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "uniqueItems" : true
+ },
+ "qp/skip-persisted-cache" : {
+ "type" : "boolean"
+ },
+ "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/sandbox?" : {
+ "type" : "boolean"
+ },
+ "qp/table-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source-query/model?" : {
+ "type" : "boolean"
+ },
+ "parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "query-permissions/referenced-card-ids" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
},
- "card_schema" : {
+ "uniqueItems" : true
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "template-tags" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tags"
+ },
+ "qp/added-implicit-fields?" : {
+ "type" : "boolean"
+ },
+ "qp/stage-is-from-source-card" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "query-permissions/sandboxed-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }
+ },
+ "required" : [ "lib/type" ],
+ "additionalProperties" : false
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.lib.schema..stage.page-and-limit-are-mutually-exclusive" : {
+ "description" : "If an MBQL query stage specifies `:page`, it should not also specify `:limit`"
+ },
+ "metabase.lib.schema..stage.valid-refs" : { },
+ "metabase.lib.schema..stages.valid-refs" : { },
+ "metabase.lib.schema.actions.row" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ },
+ "metabase.lib.schema.aggregation..distinct.arg" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "metabase.lib.schema.aggregation..percentile.percentile" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.number"
+ },
+ "metabase.lib.schema.aggregation.aggregation" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ },
+ "metabase.lib.schema.aggregation.aggregations" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.aggregation.aggregation"
+ },
+ "minItems" : 1
+ },
+ "metabase.lib.schema.binning.bin-width" : {
+ "description" : "Bin width (size of each bin).",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.positive-number"
+ },
+ "metabase.lib.schema.binning.binning" : {
+ "description" : "Schema for `:binning` options passed to a `:field` clause.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "default"
+ }
+ },
+ "required" : [ "strategy" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "bin-width"
+ }
+ },
+ "required" : [ "strategy", "bin-width" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "bin-width" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.bin-width"
+ },
+ "max-value" : {
+ "type" : "number"
+ },
+ "min-value" : {
+ "type" : "number"
+ },
+ "num-bins" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.num-bins"
+ },
+ "strategy" : {
+ "const" : "num-bins"
+ }
+ },
+ "required" : [ "strategy", "num-bins" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.lib.schema.binning.num-bins" : {
+ "description" : "Number of bins to use.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.binning.strategy" : {
+ "type" : "string",
+ "enum" : [ "bin-width", "default", "num-bins" ]
+ },
+ "metabase.lib.schema.breakout" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.ref.ref"
+ },
+ "metabase.lib.schema.breakouts" : {
+ "allOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.breakout"
+ },
+ "minItems" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
+ } ]
+ },
+ "metabase.lib.schema.cache-strategy" : {
+ "description" : "The caching strategy the results-cache middleware should apply to this query, attached\n by [[metabase.query-processor.card]]. Any of the strategy types: which ones an instance may configure is\n `metabase.cache.api`'s business, not the query's.",
+ "oneOf" : [ {
+ "description" : "What is added to a strategy once it is attached to a query.",
+ "type" : "object",
+ "properties" : {
+ "avg-execution-ms" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "invalidated-at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "const" : "nocache"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ }, {
+ "description" : "What is added to a strategy once it is attached to a query.",
+ "type" : "object",
+ "properties" : {
+ "avg-execution-ms" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "invalidated-at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "min_duration_ms" : {
+ "type" : "number"
+ },
+ "multiplier" : {
+ "type" : "number"
+ },
+ "type" : {
+ "const" : "ttl"
+ }
+ },
+ "required" : [ "type", "multiplier", "min_duration_ms" ],
+ "additionalProperties" : false
+ }, {
+ "description" : "What is added to a strategy once it is attached to a query.",
+ "type" : "object",
+ "properties" : {
+ "avg-execution-ms" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "duration" : {
+ "type" : "number"
+ },
+ "invalidated-at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "refresh_automatically" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "const" : "duration"
+ },
+ "unit" : {
+ "type" : "string",
+ "enum" : [ "hours", "minutes", "seconds", "days" ]
+ }
+ },
+ "required" : [ "type", "duration", "unit" ],
+ "additionalProperties" : false
+ }, {
+ "description" : "What is added to a strategy once it is attached to a query.",
+ "type" : "object",
+ "properties" : {
+ "avg-execution-ms" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "invalidated-at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "refresh_automatically" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "schedule" : {
+ "type" : "string"
+ },
+ "type" : {
+ "const" : "schedule"
+ }
+ },
+ "required" : [ "type", "schedule" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.lib.schema.common..add-alias-info.source-table" : {
+ "description" : "Value of the `:metabase.query-processor.util.add-alias-info/source-table` option\n that [[metabase.query-processor.util.add-alias-info]] adds to a `:field` ref: the ID of the Table the field comes\n from, the (escaped) alias of the join or source query it comes from, or one of the two sentinel keywords that\n namespace uses for 'the source query' and 'nowhere in particular'.",
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "string",
+ "enum" : [ "metabase.query-processor.util.add-alias-info/source", "metabase.query-processor.util.add-alias-info/none" ]
+ } ]
+ },
+ "metabase.lib.schema.common.base-type" : {
+ "type" : "string"
+ },
+ "metabase.lib.schema.common.coercion-strategy" : {
+ "type" : "string"
+ },
+ "metabase.lib.schema.common.field-value" : {
+ "description" : "One value of a Field; the `.cljc` equivalent of [[metabase.util.malli.schema/FieldValue]].",
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "type" : "string",
+ "format" : "uuid"
+ }, { } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.schema.common.kebab-cased-map" : { },
+ "metabase.lib.schema.common.non-blank-string" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "metabase.lib.schema.common.options" : {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.common.positive-number" : { },
+ "metabase.lib.schema.common.semantic-or-relation-type" : {
+ "description" : "valid semantic or relation type",
+ "type" : "string"
+ },
+ "metabase.lib.schema.common.uuid" : {
+ "type" : "string",
+ "minLength" : 36,
+ "maxLength" : 36
+ },
+ "metabase.lib.schema.common.visualization-settings" : {
+ "description" : "visualization settings",
+ "type" : "object",
+ "properties" : { }
+ },
+ "metabase.lib.schema.compiled-native-query" : {
+ "description" : "drivers add their own keys to a compiled query, and an already-native query compiles to its whole native stage",
+ "type" : "object",
+ "properties" : {
+ "params" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.param-value"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.driver-native-query"
+ }
+ },
+ "required" : [ "query" ]
+ },
+ "metabase.lib.schema.constraints.constraints" : {
+ "description" : "Additional constraints added to a query limiting the maximum number of rows that can be returned. Mostly useful\n because native queries don't support the MBQL `:limit` clause. For MBQL queries, if `:limit` is set, it will\n override these values.",
+ "type" : "object",
+ "properties" : {
+ "max-results" : {
+ "description" : "Maximum number of results to allow for a query with aggregations. If `max-results-bare-rows` is unset, this\n applies to all queries",
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "max-results-bare-rows" : {
+ "description" : "Maximum number of results to allow for a query with no aggregations. If set, this should be LOWER than\n `:max-results`.",
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.deduplicate-refs-ignoring-source-field-name-when-possible" : { },
+ "metabase.lib.schema.driver-native-query" : {
+ "description" : "A driver's native query: a native query document, or a form in the driver's own shape such as a keyword-keyed map decoded from a JSON request.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.native-query-document-value"
+ }, {
+ "description" : "a driver's native query in the driver's own shape, e.g. a keyword-keyed map from a JSON request"
+ } ]
+ },
+ "metabase.lib.schema.expression..expression.definition" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "metabase.lib.schema.expression.arithmetic..args.numbers" : { },
+ "metabase.lib.schema.expression.arithmetic.plus-minus-numeric-schema" : { },
+ "metabase.lib.schema.expression.arithmetic.plus-minus-temporal-interval-schema" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.expression.arithmetic.temporal-difference-schema" : { },
+ "metabase.lib.schema.expression.boolean" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.equality-comparable" : {
+ "oneOf" : [ {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.schema.expression.expression" : {
+ "oneOf" : [ {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.schema.expression.expressions" : {
+ "description" : "The `:expressions` definition map as found as a top-level key in an MBQL stage.",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression..expression.definition"
+ },
+ "minItems" : 1
+ },
+ "metabase.lib.schema.expression.integer" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.number" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.orderable" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.positive-integer-or-numeric-expression" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.integer"
+ },
+ "metabase.lib.schema.expression.string" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.temporal" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ } ]
+ },
+ "metabase.lib.schema.expression.temporal..absolute-datetime.base-type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "metabase.lib.schema.expression.temporal..absolute-datetime.options" : {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.expression.temporal..relative-datetime.amount" : {
+ "oneOf" : [ {
+ "const" : "current"
+ }, {
+ "type" : "integer"
+ } ]
+ },
+ "metabase.lib.schema.expression.temporal..relative-datetime.unit" : {
+ "anyOf" : [ {
+ "const" : "default"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing..unit.date-time.interval"
+ } ]
+ },
+ "metabase.lib.schema.expression.temporal..temporal-extract.unit" : {
+ "type" : "string",
+ "enum" : [ "year-of-era", "quarter-of-year", "month-of-year", "week-of-year-iso", "week-of-year-us", "week-of-year-instance", "day-of-month", "day-of-week", "day-of-week-iso", "hour-of-day", "minute-of-hour", "second-of-minute" ]
+ },
+ "metabase.lib.schema.expression.temporal.datetime-diff-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "week", "month", "quarter", "year", "second", "minute", "hour" ]
+ },
+ "metabase.lib.schema.expression.temporal.timezone-id" : {
+ "allOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.zone-offset"
+ } ]
+ } ]
+ },
+ "metabase.lib.schema.expression.temporal.week-mode" : {
+ "type" : "string",
+ "enum" : [ "iso", "us", "instance" ]
+ },
+ "metabase.lib.schema.expression.window..offset.n" : {
+ "type" : "integer"
+ },
+ "metabase.lib.schema.external-remapping" : {
+ "description" : "One external (Dimension) column remapping, as recorded on a query or stage\n by [[metabase.query-processor.middleware.add-remaps]]. Mirrors `:metabase.query-processor.middleware.add-remaps/external-remapping`;\n it is duplicated here because Lib may not depend on the query processor.",
+ "type" : "object",
+ "properties" : {
+ "field-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "field-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "human-readable-field-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "human-readable-field-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "id", "name", "field-id", "field-name", "human-readable-field-id", "human-readable-field-name" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.external-remappings" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remapping"
+ }
+ },
+ "metabase.lib.schema.fields" : {
+ "allOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.ref.ref"
+ },
+ "minItems" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.deduplicate-refs-ignoring-source-field-name-when-possible"
+ } ]
+ },
+ "metabase.lib.schema.filter.string-filter-options" : {
+ "description" : "String filter operator options. Only set for `:contains`, `:does-not-contain`, `:starts-with`, `:ends-with`\n operators.",
+ "type" : "object",
+ "properties" : {
+ "case-sensitive" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.filter.time-interval-options" : {
+ "description" : "Options for `:time-interval` operator. Note that `:relative-time-interval` does not support these options.",
+ "type" : "object",
+ "properties" : {
+ "include-current" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.filters" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.boolean"
+ },
+ "minItems" : 1
+ },
+ "metabase.lib.schema.id.action" : {
+ "description" : "Valid Action ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.card" : {
+ "description" : "Valid Card ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.collection" : {
+ "description" : "Valid Collection ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.dashboard" : {
+ "description" : "Valid Dashboard ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.dashcard" : {
+ "description" : "Valid DashboardCard ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.database" : {
+ "description" : "Valid Database ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.dimension" : {
+ "description" : "Valid Dimension ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.field" : {
+ "description" : "Valid Field ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.measure" : {
+ "description" : "Valid Measure ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.metric" : {
+ "description" : "Valid Metric ID (metrics are Cards with type :metric)",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.pulse" : {
+ "description" : "Valid Pulse ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.sandbox" : {
+ "description" : "Valid Sandbox ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.saved-questions-virtual-database" : {
+ "description" : "The ID used to signify that a database is 'virtual' rather than physical.\n\n A fake integer ID is used so as to minimize the number of changes that need to be made on the frontend -- by using\n something that would otherwise be a legal ID, *nothing* need change there, and the frontend can query against this\n 'database' none the wiser. (This integer ID is negative which means it will never conflict with a *real* database\n ID.)\n\n This ID acts as a sort of flag. The relevant places in the middleware can check whether the DB we're querying is\n this 'virtual' database and take the appropriate actions.",
+ "const" : -1337
+ },
+ "metabase.lib.schema.id.segment" : {
+ "description" : "Valid legacy Segment ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.snippet" : {
+ "description" : "Valid Snippet ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.table" : {
+ "description" : "Valid Table ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.transform" : {
+ "description" : "Valid Transform ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.id.user" : {
+ "description" : "Valid User ID",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.lib.schema.info.context" : {
+ "description" : "Schema for `info.context`; used for informational purposes to record how a query was executed.",
+ "type" : "string",
+ "enum" : [ "action", "action-execute", "ad-hoc", "agent", "cache-refresh", "collection", "map-tiles", "metric", "pulse", "dashboard-subscription", "dashboard", "question", "csv-download", "xlsx-download", "json-download", "public-action-execute", "public-dashboard", "public-question", "public-csv-download", "public-xlsx-download", "public-json-download", "embedded-dashboard", "embedded-question", "embedded-csv-download", "embedded-xlsx-download", "embedded-json-download", "table-grid", "table-rows-sample", "transform-inspector", "slackbot", "exploration" ]
+ },
+ "metabase.lib.schema.info.hash" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "metabase.lib.schema.info.info" : {
+ "description" : "Schema for query `:info` dictionary, which is used for informational purposes to record information about how a query\n was executed in QueryExecution and other places. It is considered bad form for middleware to change its behavior\n based on this information, don't do it!\n\n TODO - this schema is somewhat misleading because if you use a function\n like [[metabase.query-processor/userland-query]] some of these keys (e.g. `:context`) are in fact required",
+ "type" : "object",
+ "properties" : {
+ "query-hash" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.info.hash"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "action-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.action"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "visualization-settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lens-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "pivot/original-query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.query"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "executed-by" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "card-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "pivot/result-metadata" : {
+ "oneOf" : [ {
+ "oneOf" : [ {
+ "const" : "none"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ }
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "transform-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "context" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.info.context"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dashboard-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lens-params" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "join_step" : {
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
- },
- "metabot_conversation_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
}
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "card_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metadata/model-metadata" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metadata/own-model-query?" : {
+ "type" : "boolean"
+ },
+ "pulse-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.pulse"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "card-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.join.alias" : {
+ "description" : "The name used to alias the joined table or query. This is usually generated automatically and generally looks like\n `table__via__field`. You can specify this yourself if you need to reference a joined field with a `:join-alias` in\n the options.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.lib.schema.join.condition" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.boolean"
+ },
+ "metabase.lib.schema.join.conditions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.condition"
+ },
+ "minItems" : 1
+ },
+ "metabase.lib.schema.join.fields" : {
+ "description" : "The Fields to include in the results *if* a top-level `:fields` clause *is not* specified. This can be either\n `:none`, `:all`, or a sequence of Field clauses.\n\n * `:none`: no Fields from the joined table or nested query are included (unless indirectly included by breakouts or\n other clauses). This is the default, and what is used for automatically-generated joins.\n\n * `:all`: will include all of the Fields from the joined table or query\n\n * a sequence of Field clauses: include only the Fields specified. Only `:field` clauses are allowed here! References\n to expressions or aggregations in the thing we're joining should use column literal (string column name) `:field`\n references. This should be non-empty and all elements should be distinct (ignoring `:lib/uuid`).",
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "all", "none" ]
+ }, {
+ "allOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/mbql.clause.field"
+ },
+ "minItems" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
+ } ]
+ } ]
+ },
+ "metabase.lib.schema.join.join" : {
+ "allOf" : [ {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "mbql/join",
+ "const" : "mbql/join"
+ },
+ "strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.strategy"
+ },
+ "fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/replace-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.query-processor.middleware.add-implicit-joins/original-position" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "stages" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stages"
+ },
+ "fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fields" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.fields"
+ },
+ "alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/is-implicit-join" : {
+ "type" : "boolean"
+ },
+ "qp/keep-default-join-alias" : {
+ "type" : "boolean"
+ },
+ "conditions" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.conditions"
+ },
+ "metabase.query-processor.util.add-alias-info/original-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }
+ },
+ "required" : [ "stages", "conditions", "alias" ],
+ "additionalProperties" : false
+ }, {
+ "allOf" : [ ]
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.validate-field-aliases-match-join-alias"
+ } ]
+ },
+ "metabase.lib.schema.join.joins" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.join"
+ },
+ "minItems" : 1
+ },
+ "metabase.lib.schema.join.strategy" : {
+ "description" : "Valid values for the optional `:strategy` key in a join. Note that these are only valid if the current Database\n supports that specific join type; these match 1:1 with the Database `:features`, e.g. a Database that supports left\n joins will support the `:left-join` feature.\n\n When `:strategy` is not specified, [[default-strategy]] is used.",
+ "default" : "left-join",
+ "type" : "string",
+ "enum" : [ "left-join", "right-join", "inner-join", "full-join" ]
+ },
+ "metabase.lib.schema.join.validate-field-aliases-match-join-alias" : { },
+ "metabase.lib.schema.literal..string.date" : {
+ "type" : "string",
+ "pattern" : "^\\d{4}-\\d{2}-\\d{2}$"
+ },
+ "metabase.lib.schema.literal..string.datetime" : {
+ "anyOf" : [ {
+ "type" : "string",
+ "pattern" : "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
+ }, {
+ "type" : "string",
+ "pattern" : "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
+ } ]
+ },
+ "metabase.lib.schema.literal..string.time" : {
+ "anyOf" : [ {
+ "type" : "string",
+ "pattern" : "^\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
+ }, {
+ "type" : "string",
+ "pattern" : "^\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
+ } ]
+ },
+ "metabase.lib.schema.literal..string.year" : {
+ "type" : "string",
+ "pattern" : "^\\d{4}$"
+ },
+ "metabase.lib.schema.literal..string.year-month" : {
+ "type" : "string",
+ "pattern" : "^\\d{4}-\\d{2}$"
+ },
+ "metabase.lib.schema.literal..string.zone-offset" : {
+ "type" : "string",
+ "pattern" : "^(?:Z|(?:[+-]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?))$"
+ },
+ "metabase.lib.schema.literal..value.options" : {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "coercion-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "type" : "string"
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid", "effective-type" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.literal..value.value" : {
+ "description" : "The value slot of a `:value` clause: a single literal that is not a Clojure collection."
+ },
+ "metabase.lib.schema.literal.date" : {
+ "anyOf" : [ { }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.date"
+ } ]
+ },
+ "metabase.lib.schema.literal.datetime" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.datetime"
+ }, { }, { }, { } ]
+ },
+ "metabase.lib.schema.literal.integer" : {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, { } ]
+ },
+ "metabase.lib.schema.literal.jvm.big-decimal" : { },
+ "metabase.lib.schema.literal.jvm.float" : { },
+ "metabase.lib.schema.literal.literal" : {
+ "anyOf" : [ {
+ "type" : "null"
+ }, {
+ "type" : "boolean"
+ }, {
+ "type" : "string"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.integer"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.non-integer-real"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.temporal"
+ } ]
+ },
+ "metabase.lib.schema.literal.non-integer-real" : {
+ "anyOf" : [ {
+ "type" : "number"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.jvm.float"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.jvm.big-decimal"
+ } ]
+ },
+ "metabase.lib.schema.literal.param-value" : {
+ "description" : "A value bound to a native query parameter: a literal or, once the query processor has substituted parameters, a\n UUID or a `java.time` object.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }, {
+ "type" : "string",
+ "format" : "uuid"
+ }, { } ]
+ },
+ "metabase.lib.schema.literal.temporal" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.date"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.time"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.datetime"
+ } ]
+ },
+ "metabase.lib.schema.literal.time" : {
+ "description" : "time literal",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal..string.time"
+ }, { }, { } ]
+ },
+ "metabase.lib.schema.mbql-clause.clause" : {
+ "oneOf" : [ { }, {
+ "$ref" : "#/components/schemas/mbql.clause._BANG__EQ_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._STAR_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._PLUS_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.-"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._SLASH_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._LT_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._LT__EQ_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._EQ_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._GT_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause._GT__EQ_"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.abs"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.absolute-datetime"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.aggregation"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.and"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.asc"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.avg"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.between"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.case"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.ceil"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.coalesce"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.collate"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.concat"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.contains"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.convert-timezone"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.count"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.count-where"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.cum-count"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.cum-sum"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.date"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.datetime"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.datetime-add"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.datetime-diff"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.datetime-subtract"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.day-name"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.desc"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.distinct"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.distinct-where"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.does-not-contain"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.domain"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.during"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.ends-with"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.exp"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.expression"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.field"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.float"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.floor"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-day"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-day-of-week"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-hour"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-minute"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-month"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-quarter"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-second"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-week"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.get-year"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.host"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.if"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.in"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.inside"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.integer"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.interval"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.is-empty"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.is-null"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.length"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.log"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.lower"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.ltrim"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.max"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.measure"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.median"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.metric"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.min"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.month-name"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.not"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.not-empty"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.not-in"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.not-null"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.now"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.offset"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.or"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.path"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.percentile"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.power"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.quarter-name"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.regex-match-first"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.relative-datetime"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.relative-time-interval"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.replace"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.round"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.rtrim"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.segment"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.share"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.split-part"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.sqrt"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.starts-with"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.stddev"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.subdomain"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.substring"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.sum"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.sum-where"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.temporal-extract"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.text"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.time"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.time-interval"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.today"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.trim"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.upper"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.value"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.var"
+ } ]
+ },
+ "metabase.lib.schema.metadata..card.result-metadata" : {
+ "description" : "Schema for the `:result-metadata` for a Card (Saved Question, Model, or v2 Metric).",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
+ }
+ },
+ "metabase.lib.schema.metadata..card.type" : {
+ "description" : "All acceptable card types.\n\n Previously (< 49), we only had 2 card types: question and model, which were differentiated using the boolean\n `dataset` column. Soon we'll have more card types (e.g: metric) and we will longer be able to use a boolean column\n to differentiate between all types. So we've added a new `type` column for this purpose.\n\n Migrating all the code to use `report_card.type` will be quite an effort, we decided that we'll migrate it\n gradually.",
+ "type" : "string",
+ "enum" : [ "question", "metric", "model" ]
+ },
+ "metabase.lib.schema.metadata..column.binning-info" : {
+ "description" : "The legacy description of how a column was binned, as [[metabase.lib.metadata.result-metadata]] spells it out for\n the frontend.",
+ "type" : "object",
+ "properties" : {
+ "max-value" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "max_value" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "bin_width" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "num_bins" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "bin-width" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "num-bins" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "min_value" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning_strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "min-value" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.data-sensitivity" : {
+ "type" : "string",
+ "enum" : [ "SEC_KEY", "SYS_TELEMETRY", "PHI", "BIO_GEN", "PCI_FIN", "SENS_PERS", "PII", "CORP_IP", "BIZ_CONF", "PUBLIC" ]
+ },
+ "metabase.lib.schema.metadata..column.has-field-values" : {
+ "type" : "string",
+ "enum" : [ "auto-list", "list", "none", "search" ]
+ },
+ "metabase.lib.schema.metadata..column.legacy-source" : {
+ "description" : "Possible values for `column.source` -- this is added by [[metabase.lib.metadata.result-metadata]] for historical\n reasons (it is used in a few places in the FE). DO NOT use this in the backend for any purpose, use `:lib/source`\n instead.",
+ "type" : "string",
+ "enum" : [ "aggregation", "fields", "breakout", "native" ]
+ },
+ "metabase.lib.schema.metadata..column.lib-options" : {
+ "description" : "What [[metabase.lib.options/with-options]] puts under `:lib/options` when it is handed a column rather than a\n clause: the expression name [[metabase.lib.fe-util/expression-parts]] pins on an expression column, and a `:lib/uuid`\n if something asked for one.",
+ "type" : "object",
+ "properties" : {
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.map" : {
+ "description" : "The map portion of [[::column]], without its constraints.",
+ "type" : "object",
+ "properties" : {
+ "visibility-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.pivot/idx" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "field-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from-index" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-to" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/original-join-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-default" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/field-ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-partitioned" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
+ "type" : "boolean"
+ },
+ "lib/external-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "inherited-temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-column-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "metadata/column",
+ "const" : "metadata/column"
+ },
+ "database-required" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning-info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "coercion-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table-id" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "string",
+ "pattern" : "^card__\\d+$"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "converted-timezone" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-uuid" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/join-field" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "order-by-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "data-sensitivity" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/implicit-field?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/deduplicated-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
+ },
+ "base-type" : {
+ "default" : "type/*",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "breakout-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint-version" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/from-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "lib/original-fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/card-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/breakout?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/human-readable-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last-analyzed" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-pk" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "json-unfolding" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "nfc-path" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapping" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "preview-display" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/human-readable-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.propagate-coercion?" : {
+ "type" : "boolean"
+ },
+ "has-field-values" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/HACK-from-incomplete-join?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/internal-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "selected?" : {
+ "type" : "boolean"
+ },
+ "database-is-generated" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "target" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.field.resolution/fallback-metadata?" : {
+ "type" : "boolean"
+ },
+ "unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "lib/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-indexed" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "caveats" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-auto-increment" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "points-of-interest" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "filter-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension-interestingness" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "internal", "external" ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
+ },
+ "name-field" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-ref-style-for-result-metadata-purposes" : {
+ "type" : "string",
+ "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/inherited?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-target-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "custom-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parent-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/simple-display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-nullable" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/desired-column-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.options" : {
+ "description" : "What the query processor stashes under a column's `:options` while it runs: never sent by a client, and never\n handed back to one.",
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.propagate-coercion?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.remapping.external" : {
+ "description" : "External remapping (Dimension) for a column. From the [[metabase.warehouse-schema.models.dimension]] with `type =\n external` associated with a `Field` in the application database.\n See [[metabase.query-processor.middleware.add-remaps]] for what this means.",
+ "type" : "object",
+ "properties" : {
+ "field-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "lib/type" : {
+ "const" : "metadata.column.remapping/external"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "lib/type", "id", "name", "field-id" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.remapping.internal" : {
+ "description" : "Internal remapping (FieldValues) for a column. From [[metabase.warehouse-schema.models.dimension]] with `type =\n internal` and the [[metabase.warehouse-schema.models.field-values]] associated with a `Field` in the application\n database. See [[metabase.query-processor.middleware.add-remaps]] for what this means.",
+ "type" : "object",
+ "properties" : {
+ "human-readable-values" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "lib/type" : {
+ "const" : "metadata.column.remapping/internal"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "values" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }
+ },
+ "required" : [ "lib/type", "id", "name", "values", "human-readable-values" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata..column.snapshot" : {
+ "description" : "A whole column metadata map stashed on *another* column under one of the internal keys below: the same shape as\n [[::column]] minus the `:and`-level constraints, so validating the stashed copy does not re-run those constraints\n against the column it was copied from.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.map"
+ },
+ "metabase.lib.schema.metadata..column.source" : {
+ "description" : "`:lib/source` -- where a column came from with respect to the current stage.\n\n Traditionally, `:lib/source` meant something slightly different -- it denoted what part of the current stage a\n column came from, and thus included two additional options -- `:source/fields`, for columns used by `:fields`, and\n `:source/breakouts`, for columns used in `:breakout`. This was not really useful information and made `:lib/source`\n itself useless for determining if a column was 'inherited' or not (i.e., whether it came from a previous stage,\n source card, or a join, and should get field name refs instead of field ID refs --\n see [[metabase.lib.field.util/inherited-column?]]).",
+ "type" : "string",
+ "enum" : [ "source/card", "source/native", "source/previous-stage", "source/table-defaults", "source/aggregations", "source/joins", "source/expressions", "source/implicitly-joinable", "source/pivot-grouping" ]
+ },
+ "metabase.lib.schema.metadata..column.timestamp" : {
+ "description" : "A timestamp column of a `metabase_field` row: a `java.time` value on the JVM, the string it was encoded as elsewhere.",
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source" : {
+ "description" : "Do additional validation for column metadata based on `:lib/source`.",
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-card"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-native"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-previous-stage"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-table-defaults"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-aggregations"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-joins"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-expressions"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-implicitly-joinable"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source-pivot-grouping"
+ }, { } ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-aggregations" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-card" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-expressions" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-implicitly-joinable" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-joins" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-native" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-pivot-grouping" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-previous-stage" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.validate-for-source-table-defaults" : {
+ "allOf" : [ ]
+ },
+ "metabase.lib.schema.metadata..column.visibility-type" : {
+ "type" : "string",
+ "enum" : [ "retired", "sensitive", "normal", "hidden", "details-only" ]
+ },
+ "metabase.lib.schema.metadata..dimension-mapping.target" : {
+ "description" : "Target field reference for a dimension mapping, e.g. [:field {:source-field 1} 2].",
+ "$ref" : "#/components/schemas/mbql.clause.field"
+ },
+ "metabase.lib.schema.metadata..dimension-mapping.type" : {
+ "description" : "Type of dimension mapping.",
+ "type" : "string",
+ "enum" : [ "table" ]
+ },
+ "metabase.lib.schema.metadata..dimension-source.type" : {
+ "type" : "string",
+ "enum" : [ "field" ]
+ },
+ "metabase.lib.schema.metadata.column" : {
+ "description" : "Malli schema for a valid map of column metadata, which can mean one of two things:\n\n 1. Metadata about a particular Field in the application database. This will always have an `:id`\n\n 2. Results metadata from a column in `data.cols` and/or `data.results_metadata.columns` in a Query Processor\n response, or saved in something like `Card.result_metadata`. These *may* have an `:id`, or may not -- columns\n coming back from native queries or things like `SELECT count(*)` aren't associated with any particular `Field`\n and thus will not have an `:id`.\n\n Now maybe these should be two different schemas, but `:id` being there or not is the only real difference; besides\n that they are largely compatible. So they're the same for now. We can revisit this in the future if we actually want\n to differentiate between the two versions.",
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "visibility-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.pivot/idx" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "field-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from-index" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-to" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/original-join-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-default" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/field-ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-partitioned" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
+ "type" : "boolean"
+ },
+ "lib/external-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "inherited-temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-column-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "metadata/column",
+ "const" : "metadata/column"
+ },
+ "database-required" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning-info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "coercion-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table-id" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "string",
+ "pattern" : "^card__\\d+$"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "converted-timezone" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-uuid" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/join-field" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "order-by-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "data-sensitivity" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/implicit-field?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/deduplicated-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
+ },
+ "base-type" : {
+ "default" : "type/*",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "breakout-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
+ }
}, {
- "description" : "value must be a valid date string",
+ "type" : "null"
+ } ]
+ },
+ "fingerprint-version" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-field-name" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "disable_links" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "send_condition" : {
- "type" : "string",
- "enum" : [ "goal_below", "has_result", "goal_above" ]
- },
- "send_once" : {
- "type" : "boolean"
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "lib/from-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "lib/original-fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/card-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/breakout?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/human-readable-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last-analyzed" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-pk" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "json-unfolding" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "nfc-path" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapping" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "preview-display" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "card_id" ],
- "additionalProperties" : false
- },
- "metabase.notification.models.CreateNotificationHandlerParams" : {
- "description" : "Schema for :model/NotificationHandler on a create request.",
- "type" : "object",
- "properties" : {
- "active" : {
- "oneOf" : [ {
+ },
+ "dimension/human-readable-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.propagate-coercion?" : {
"type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "has-field-values" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "metabase.lib.join/HACK-from-incomplete-join?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- },
- "metabase.notification.models.CreateNotificationRecipientParams" : {
- "description" : "Schema for :model/NotificationRecipient on a create request.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ },
+ "lib/internal-remap" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
}, {
"type" : "null"
} ]
},
- "details" : { },
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "selected?" : {
+ "type" : "boolean"
},
- "permissions_group_id" : { },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "database-is-generated" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
},
- "updated_at" : {
+ "lib/options" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
}, {
"type" : "null"
} ]
},
- "user" : {
+ "fk-field-id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
},
- "user_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- },
- "required" : [ "type", "user_id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ "target" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
} ]
}, {
"type" : "null"
} ]
},
- "details" : { },
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "lib/original-binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
},
- "permissions_group" : {
+ "lib/original-join-alias" : {
"oneOf" : [ {
- "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_data_app_group" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_tenant_group" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "magic_group_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "members" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.permissions.schema..permissions-group.member"
- }
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.field.resolution/fallback-metadata?" : {
+ "type" : "boolean"
+ },
+ "unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from" : {
+ "oneOf" : [ {
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "permissions_group_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
},
- "updated_at" : {
+ "lib/binning" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
}, {
"type" : "null"
} ]
},
- "user_id" : { }
- },
- "required" : [ "type", "permissions_group_id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ "metabase.lib.metadata.result-metadata/source" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
}, {
"type" : "null"
} ]
},
- "details" : {
- "type" : "object",
- "properties" : {
- "channel_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "value" : {
- "type" : "string"
- }
- },
- "required" : [ "value" ],
- "additionalProperties" : false
+ "database-indexed" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "caveats" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
},
- "permissions_group_id" : { },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "lib/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "null"
+ } ]
},
- "updated_at" : {
+ "database-is-auto-increment" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "user_id" : { }
- },
- "required" : [ "type", "details" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "points-of-interest" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "details" : {
- "type" : "object",
- "properties" : {
- "is_optional" : {
- "type" : "boolean"
- },
- "pattern" : {
- "type" : "string"
+ "filter-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
}
- },
- "required" : [ "pattern" ],
- "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
+ }, {
+ "type" : "null"
+ } ]
},
- "permissions_group_id" : { },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "lib/ref-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
},
- "updated_at" : {
+ "dimension-interestingness" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "user_id" : { }
- },
- "required" : [ "type", "details" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.notification.models.CreateNotificationSubscriptionParams" : {
- "description" : "Schema for :model/NotificationSubscription on a create request.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ "dimension/type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "internal", "external" ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
+ },
+ "name-field" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
} ]
}, {
"type" : "null"
} ]
},
- "cron_schedule" : {
- "type" : "null"
+ "database-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
},
- "event_name" : {
- "anyOf" : [ {
- "type" : "string"
+ "lib/original-ref-style-for-result-metadata-purposes" : {
+ "type" : "string",
+ "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/inherited?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
} ]
},
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "fk-target-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
},
- "type" : {
- "type" : "string",
- "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ "custom-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
},
- "ui_display_type" : {
+ "dimension/name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parent-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
- }
- },
- "required" : [ "type", "event_name" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ },
+ "lib/simple-display-name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "cron_schedule" : {
- "type" : "string"
- },
- "event_name" : {
- "type" : "null"
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ "database-is-nullable" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
},
- "ui_display_type" : {
+ "lib/desired-column-alias" : {
"oneOf" : [ {
- "type" : "string",
- "enum" : [ "cron/raw", "cron/builder" ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
}, {
"type" : "null"
} ]
}
},
- "required" : [ "type", "cron_schedule" ],
+ "required" : [ "name" ],
"additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source"
+ }, {
+ "allOf" : [ ]
} ]
},
- "metabase.notification.models.EchoedUser" : {
- "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
+ "metabase.lib.schema.metadata.deduplicated-name" : {
+ "description" : "The simply-deduplicated name that was historically used in QP results metadata (originally calculated by\n the [[metabase.query-processor.middleware.annotate]] middleware, now calculated\n by [[metabase.lib.middleware.result-metadata]]). This just adds suffixes to column names e.g. `ID` and `ID` become\n `ID` and `ID_2`, respectively. Kept around because many old field refs use this column name.",
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.schema.metadata.desired-column-alias" : {
+ "description" : "Name we should use as a column alias for a column in this stage of a query. The desired column alias in stage N\n becomes the source column alias in stage N+1. The right-hand side (RHS) in\n\n SELECT lhs AS rhs",
+ "type" : "string"
+ },
+ "metabase.lib.schema.metadata.dimension-group" : {
+ "description" : "Group descriptor for a dimension, indicating which table it belongs to.",
"type" : "object",
"properties" : {
- "login_attributes" : {
+ "display-name" : {
+ "type" : "string"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "main", "connection" ]
+ }
+ },
+ "required" : [ "id", "type", "display-name" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.dimension-id" : {
+ "description" : "UUID string identifying a dimension.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "metabase.lib.schema.metadata.dimension-source" : {
+ "type" : "object",
+ "properties" : {
+ "binning" : {
"oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "sso_source" : {
+ "field-id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
},
- "jwt_attributes" : {
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..dimension-source.type"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.dimension-status" : {
+ "description" : "Status of a dimension indicating whether it's active or has issues.\n - :status/active - Column exists, dimension is usable\n - :status/orphaned - Column was removed from schema, dimension preserved for reference",
+ "type" : "string",
+ "enum" : [ "status/active", "status/orphaned" ]
+ },
+ "metabase.lib.schema.metadata.fingerprint..fingerprint.global" : {
+ "description" : "Fingerprint values that Fields of all types should have.",
+ "type" : "object",
+ "properties" : {
+ "distinct-count" : {
+ "type" : "integer"
+ },
+ "nil%" : {
"oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.fingerprint..fingerprint.number" : {
+ "description" : "Schema for fingerprint information for Fields deriving from `:type/Number`.",
+ "type" : "object",
+ "properties" : {
+ "mode-fraction" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "is_qbnewb" : {
+ "min" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "user_group_memberships" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- }
- },
- "required" : [ "name", "entity_id" ],
- "additionalProperties" : false
- }
+ "q1" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
},
- "reset_token" : {
+ "max" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "settings" : {
+ "avg" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "deactivated_at" : {
+ "sd" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "skewness" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "is_active" : {
+ "q3" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "last_login" : {
+ "top-3-fraction" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "excess-kurtosis" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
},
- "email" : {
+ "zero-fraction" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.fingerprint..fingerprint.temporal" : {
+ "description" : "Schema for fingerprint information for Fields deriving from `:type/Temporal`.",
+ "type" : "object",
+ "properties" : {
+ "earliest" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "password_salt" : {
+ "hour-distribution" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
+ }
}, {
"type" : "null"
} ]
},
- "deactivated_with_tenant" : {
+ "latest" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "is_data_analyst" : {
+ "mode-fraction" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "locale" : {
+ "skewness" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "top-3-fraction" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "is_datasetnewb" : {
+ "weekday-distribution" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
+ }
}, {
"type" : "null"
} ]
- },
- "reset_triggered" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.fingerprint..fingerprint.text" : {
+ "description" : "Schema for fingerprint information for Fields deriving from `:type/Text`.",
+ "type" : "object",
+ "properties" : {
+ "mode-fraction" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "is_superuser" : {
+ "percent-json" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "tenant_id" : {
+ "percent-blank" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "last_name" : {
+ "percent-url" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "attributes" : {
+ "percent-state" : {
"oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "first_name" : {
+ "percent-email" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
},
- "type" : {
+ "max-length" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "date_joined" : {
+ "average-length" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "password" : {
+ "min-length" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "common_name" : {
+ "top-3-fraction" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
}, {
"type" : "null"
} ]
}
},
- "required" : [ "id" ],
"additionalProperties" : false
},
- "metabase.notification.models.FullyHydratedNotification" : {
- "description" : "Fully hydrated notification.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "payload_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "triggering_subscription" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
- }, {
- "type" : "null"
- } ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplate"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "attachment_only" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "include_pdf" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "metabase.lib.schema.metadata.fingerprint..fingerprint.type-specific" : {
+ "description" : "Schema for type-specific fingerprint information.",
+ "type" : "object",
+ "properties" : {
+ "type/Date" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
+ },
+ "type/DateTime" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
+ },
+ "type/Number" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.number"
+ },
+ "type/Text" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.text"
+ },
+ "type/Time" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.temporal"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.fingerprint.fingerprint" : {
+ "description" : "Schema for a Field 'fingerprint' generated as part of the analysis stage. Used to power the 'classification'\n sub-stage of analysis. Stored as the `fingerprint` column of Field.",
+ "type" : "object",
+ "properties" : {
+ "experimental" : {
+ "type" : "object",
+ "properties" : { },
+ "additionalProperties" : false
+ },
+ "global" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.global"
+ },
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint..fingerprint.type-specific"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.metadata.fingerprint.percent" : {
+ "description" : "Schema for something represting a percentage. A floating-point value between (inclusive) 0 and 1.",
+ "type" : "number"
+ },
+ "metabase.lib.schema.metadata.lib-or-legacy-column" : {
+ "description" : "Schema for the maps in card `:result-metadata` and similar. These can be either\n `:metabase.lib.schema.metadata/result-metadata` (i.e., kebab-cased) maps, or map snake_cased as returned by QP\n metadata, but they should NOT be a mixture of both -- if we mixed them somehow there is a bug in our code.",
+ "oneOf" : [ {
+ "description" : "Malli schema for a valid map of column metadata, which can mean one of two things:\n\n 1. Metadata about a particular Field in the application database. This will always have an `:id`\n\n 2. Results metadata from a column in `data.cols` and/or `data.results_metadata.columns` in a Query Processor\n response, or saved in something like `Card.result_metadata`. These *may* have an `:id`, or may not -- columns\n coming back from native queries or things like `SELECT count(*)` aren't associated with any particular `Field`\n and thus will not have an `:id`.\n\n Now maybe these should be two different schemas, but `:id` being there or not is the only real difference; besides\n that they are largely compatible. So they're the same for now. We can revisit this in the future if we actually want\n to differentiate between the two versions.",
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "visibility-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.visibility-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.pivot/idx" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "field-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.field-value"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from-index" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-to" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "lib/original-join-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-default" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/field-ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.Reference"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-partitioned" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/remove-join-alias?" : {
+ "type" : "boolean"
+ },
+ "lib/external-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.external"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "inherited-temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-column-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.source-column-alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "metadata/column",
+ "const" : "metadata/column"
+ },
+ "database-required" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "binning-info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.binning-info"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "coercion-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fingerprint" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table-id" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "string",
+ "pattern" : "^card__\\d+$"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "converted-timezone" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-uuid" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/join-field" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "order-by-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "data-sensitivity" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.data-sensitivity"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/implicit-field?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.snapshot"
+ },
+ "id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/deduplicated-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.deduplicated-name"
+ },
+ "base-type" : {
+ "default" : "type/*",
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "breakout-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
}
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
+ } ]
+ },
+ "fingerprint-version" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/from-model?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "lib/original-fk-field-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/card-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.underlying/temporal-unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/breakout?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values/human-readable-values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last-analyzed" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-pk" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "json-unfolding" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created-at" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.timestamp"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "nfc-path" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapping" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.literal.literal"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "preview-display" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/human-readable-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.propagate-coercion?" : {
+ "type" : "boolean"
+ },
+ "has-field-values" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.join/HACK-from-incomplete-join?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "lib/internal-remap" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.remapping.internal"
}, {
- "description" : "value must be a valid date string",
+ "type" : "null"
+ } ]
+ },
+ "selected?" : {
+ "type" : "boolean"
+ },
+ "database-is-generated" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.lib-options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "target" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-join-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-display-name" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "oneOf" : [ {
+ },
+ "metabase.lib.field.resolution/fallback-metadata?" : {
"type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationCard"
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
- }
- }
- },
- "required" : [ "payload_type", "payload" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "payload_type" : {
- "type" : "string",
- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
- },
- "payload_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "triggering_subscription" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
- }, {
- "type" : "null"
- } ]
- },
- "handlers" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "recipients" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
- }
- },
- "template" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplate"
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "channel" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
- }, {
- "type" : "null"
- } ]
- },
- "attachment_only" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "include_pdf" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ },
+ "unit" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remapped-from" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "lib/binning" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.metadata.result-metadata/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.legacy-source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-indexed" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "caveats" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-auto-increment" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "points-of-interest" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "filter-positions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer"
}
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- }
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
}, {
- "description" : "value must be a valid date string",
+ "type" : "null"
+ } ]
+ },
+ "options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/ref-display-name" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
+ },
+ "dimension-interestingness" : {
+ "oneOf" : [ {
+ "type" : "number"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/type" : {
+ "oneOf" : [ {
"type" : "string",
- "format" : "date-time"
+ "enum" : [ "internal", "external" ]
}, {
- "description" : "value must be a valid date string",
+ "type" : "null"
+ } ]
+ },
+ "lib/original-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.original-name"
+ },
+ "name-field" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/original-ref-style-for-result-metadata-purposes" : {
+ "type" : "string",
+ "enum" : [ "original-ref-style/id", "original-ref-style/name" ]
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.mongo.query-processor/inherited?" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "fk-target-field-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "custom-position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension/name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parent-id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/simple-display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database-is-nullable" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/desired-column-alias" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.desired-column-alias"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "internal_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "payload" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.SystemEventPayload"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "subscriptions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
}
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.validate-for-source"
+ }, {
+ "allOf" : [ ]
+ } ]
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
+ } ]
+ },
+ "metabase.lib.schema.metadata.metadata-provider" : {
+ "description" : "Schema for something that satisfies the [[metabase.lib.metadata.protocols/MetadataProvider]] protocol.",
+ "$ref" : "#/components/schemas/metabase.lib.metadata.protocols.metadata-provider"
+ },
+ "metabase.lib.schema.metadata.original-name" : {
+ "description" : "The original name of the column as it appeared in the very first place it came from (i.e., the physical name of the\n column in the table it appears in). This should be the same as the `:lib/source-column-alias` for the very first\n usage of the column.\n Allowed to be blank because some databases like SQL Server allow blank column names.",
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.lib.schema.metadata.source-column-alias" : {
+ "description" : "Name for a column as returned/projected by the previous stage of the query or source Table/source Card. The\n left-hand side (LHS) of\n\n SELECT lhs AS rhs",
+ "type" : "string"
+ },
+ "metabase.lib.schema.metadata.stage" : {
+ "description" : "Metadata about the columns returned by a particular stage of a MBQL 5 query. For example a single-stage native query\n like\n\n {:database 1\n :lib/type :mbql/query\n :stages [{:lib/type :mbql.stage/mbql\n :native \"SELECT id, name FROM VENUES;\"}]}\n\n might have stage metadata like\n\n {:columns [{:name \"id\", :base-type :type/Integer}\n {:name \"name\", :base-type :type/Text}]}\n\n associated with the query's lone stage.\n\n At some point in the near future we will hopefully attach this metadata directly to each stage in a query, so a\n multi-stage query will have `:lib/stage-metadata` for each stage. The main goal is to facilitate things like\n returning lists of visible or filterable columns for a given stage of a query. This is TBD, see #28717 for a WIP\n implementation of this idea.\n\n This is the same format as the results metadata returned with QP results in `data.results_metadata`. The `:columns`\n portion of this (`data.results_metadata.columns`) is also saved as `Card.result_metadata` for Saved Questions.\n\n Note that queries currently actually come back with both `data.results_metadata` AND `data.cols`; it looks like the\n Frontend actually *merges* these together -- see `applyMetadataDiff` in\n `frontend/src/metabase/query_builder/selectors.js` -- but this is ridiculous. Let's try to merge anything missing in\n `results_metadata` into `cols` going forward so things don't need to be manually merged in the future.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
}
},
- "required" : [ "payload_type" ],
- "additionalProperties" : false
- } ]
+ "lib/type" : {
+ "default" : "metadata/results",
+ "const" : "metadata/results"
+ }
+ },
+ "required" : [ "columns" ],
+ "additionalProperties" : false
},
- "metabase.notification.models.NotificationCard" : {
- "description" : "Schema for :model/NotificationCard.",
+ "metabase.lib.schema.middleware-options.middleware-options" : {
+ "description" : "Additional options that can be used to toggle middleware on or off.",
"type" : "object",
"properties" : {
- "id" : {
+ "process-viz-settings?" : {
+ "description" : "Whether to process a question's visualization settings and include them in the result metadata so that they can\n incorporated into an export. Used by `metabase.query-processor.middleware.visualization-settings`; default\n `false`.",
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "send_condition" : {
- "type" : "string",
- "enum" : [ "goal_below", "has_result", "goal_above" ]
- },
- "card_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "skip-results-metadata?" : {
+ "description" : "Should we skip adding `results_metadata` to query results after running the query? Used by\n `metabase.query-processor.middleware.results-metadata`; default `false`. (Note: we may change the name of this\n column in the near future, to `result_metadata`, to fix inconsistencies in how we name things.)",
+ "type" : "boolean"
},
- "updated_at" : {
+ "add-default-userland-constraints?" : {
+ "description" : "Whether to add some default `max-results` and `max-results-bare-rows` constraints. By default, none are added,\n although the functions that ultimately power most API endpoints tend to set this to `true`. See\n `add-constraints` middleware for more details.",
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "card" : {
+ "disable-max-results?" : {
+ "description" : "Disable applying a default limit on the query results. Handled in the `add-default-limit` middleware. If true,\n this will override the `:max-results` and `:max-results-bare-rows` values in `Constraints`.",
+ "type" : "boolean"
+ },
+ "ignore-cached-results?" : {
+ "description" : "Whether to ignore any cached results and re-run the query. Used by the query results cache middleware; default\n `false`.",
"oneOf" : [ {
- "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
- "type" : "object",
- "properties" : {
- "enable_embedding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "visualization_settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
- }, {
- "type" : "null"
- } ]
- },
- "dimension_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
- }
- }, {
- "type" : "null"
- } ]
- },
- "cache_invalidated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "collection_preview" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "initially_published_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
- }, {
- "type" : "null"
- } ]
- },
- "parameter_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
- }
- }, {
- "type" : "null"
- } ]
- },
- "metabot_chart_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "embedding_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "verified-result-metadata?" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_position" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "type" : "string",
- "enum" : [ "+", "-" ]
- }, {
- "const" : "collection_position"
- }, {
- "const" : 1
- } ]
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dimensions" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
- }
- }, {
- "type" : "null"
- } ]
- },
- "query_description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "embedding_params" : {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "csv-include-bom?" : {
+ "description" : "Whether a CSV download should start with a UTF-8 byte-order mark, which Excel needs to read the file as UTF-8.\n Set by `metabase.query-processor.api` from the download's options and read by\n `metabase.query-processor.middleware.format-rows` and the CSV writer; default `true`.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "format-rows?" : {
+ "description" : "Should we skip converting datetime types to ISO-8601 strings with appropriate timezone when post-processing\n results? Used by `metabase.query-processor.middleware.format-rows`default `false`.",
+ "type" : "boolean"
+ },
+ "pivot-options" : {
+ "description" : "Which of the query's breakouts and aggregations are the pivot table's rows, columns and measures, and whether it\n shows totals. Attached by `metabase.query-processor.pivot` from the question's visualization settings (or from the\n matching top-level query keys) so the export middleware and streaming writers can lay the results out; not something\n a client sets itself.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "column-sort-order" : {
"oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
"oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "dataset_query_metrics_v2_migration_backup" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "legacy_query" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "document_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
- }, {
- "type" : "null"
- } ]
- },
- "result_metadata" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
+ "type" : "object",
+ "additionalProperties" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
}
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "source_card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "query_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "cache_ttl" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "display" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_used_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ }, { } ]
}, {
"type" : "null"
} ]
},
- "parameters" : {
+ "pivot-cols" : {
"oneOf" : [ {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
+ "type" : "integer",
+ "minimum" : 0
}
}, {
"type" : "null"
} ]
},
- "creator_id" : {
+ "pivot-measures" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
}, {
"type" : "null"
} ]
},
- "metabase_version" : {
+ "pivot-rows" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
}, {
"type" : "null"
} ]
},
- "archived_directly" : {
+ "show-column-totals" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "card_schema" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "metabot_conversation_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard_id" : {
+ "show-row-totals" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
}
- },
- "required" : [ "id" ],
- "additionalProperties" : false
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "disable-remaps?" : {
+ "description" : "Whether to skip the remapped (human-readable) columns that `metabase.query-processor.middleware.add-remaps`\n normally splices in. Set by callers that want the query's own columns and nothing else -- calculating a Card's\n result metadata, or fetching field values for a filter widget; default `false`.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "js-int-to-string?" : {
+ "description" : "Whether to convert bigint values in results to strings so that they can be parsed losslessly by JavaScript\n clients. Used by `metabase.query-processor.middleware.large-int`; default `false`.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "skip-result-metadata-persistence?" : {
+ "description" : "Should we skip persisting `result_metadata` to a saved Card while still returning it in query results? Used by\n `metabase.query-processor.middleware.results-metadata`; default `false`. Has no effect when\n `skip-results-metadata?` is true.",
+ "type" : "boolean"
+ },
+ "pivot?" : {
+ "description" : "Whether the results should be laid out as a pivot table. Set by `metabase.query-processor.api` from the\n `format_rows`/pivot download options and read by `metabase.query-processor.middleware.pivot-export` and the\n streaming writers; default `false`.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "disable-mbql->native?" : {
+ "description" : "Disable the MBQL->native middleware. If you do this, the query will not work at all, so there are no cases where\n you should set this yourself. This is only used by the `metabase.query-processor.preprocess/preprocess` function to\n get the fully pre-processed query without attempting to convert it to native.",
+ "type" : "boolean"
+ },
+ "userland-query?" : {
+ "description" : "Userland queries are ones ran as a result of an API call, Pulse, or the like. Special handling is done in\n certain userland-only middleware for such queries -- results are returned in a slightly different format, and\n QueryExecution entries are normally saved, unless you pass `:no-save` as the option.",
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.native-query-document-value" : {
+ "description" : "A value inside a driver's compiled native query document: a scalar, or a nested document/array of them. Covers\n every native query shape drivers in this codebase actually produce -- SQL text (a bare `:string`) as well as\n document-pipeline languages like Mongo's (a `:map-of`/`:sequential` tree).",
+ "$ref" : "#/components/schemas/metabase.lib.schema.value"
+ },
+ "metabase.lib.schema.order-by.order-by" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/mbql.clause.asc"
+ }, {
+ "$ref" : "#/components/schemas/mbql.clause.desc"
+ } ]
+ },
+ "metabase.lib.schema.order-by.order-bys" : {
+ "allOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.order-by.order-by"
+ },
+ "minItems" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.util.distinct-mbql-clauses"
+ } ]
+ },
+ "metabase.lib.schema.page" : {
+ "description" : "`page` = page num, starting with 1. `items` = number of items per page.\n e.g.\n\n {:page 1, :items 10} = items 1-10\n {:page 2, :items 10} = items 11-20",
+ "type" : "object",
+ "properties" : {
+ "items" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "page" : {
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "page", "items" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.parameter..dimension.options" : {
+ "type" : "object",
+ "properties" : {
+ "stage-number" : {
+ "type" : "integer"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.parameter..dimension.target" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.template-tag"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
+ } ]
+ },
+ "metabase.lib.schema.parameter..parameter.options" : {
+ "description" : "Options the frontend attaches to a parameter value.",
+ "type" : "object",
+ "properties" : {
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.parameter..parameter.value" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
+ }
+ } ]
+ },
+ "metabase.lib.schema.parameter..parameter.value.scalar" : {
+ "description" : "A single scalar parameter value."
+ },
+ "metabase.lib.schema.parameter..target.legacy-expression-ref" : {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.expression"
+ },
+ "metabase.lib.schema.parameter..target.legacy-field-ref" : {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
+ },
+ "metabase.lib.schema.parameter..template-tag.tag-name" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ } ]
+ },
+ "metabase.lib.schema.parameter..values-source-config.value" : {
+ "description" : "One value of a static-list source: a bare value, a one-tuple of it, or a `[value label]` pair.",
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
+ }, {
+ "type" : "array",
+ "prefixItems" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
+ } ]
+ }, {
+ "type" : "array",
+ "prefixItems" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value.scalar"
+ }, {
+ "type" : "string"
+ } ]
+ } ]
+ },
+ "metabase.lib.schema.parameter..variable.target" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.template-tag"
+ } ]
+ },
+ "metabase.lib.schema.parameter.dimension" : { },
+ "metabase.lib.schema.parameter.id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.lib.schema.parameter.parameter" : {
+ "description" : "parameter must be a map with a :type key",
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "values-query-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-query-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "filteringparameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "values-source-config" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-source-config"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ },
+ "ismultiselect" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "position" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "slug" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "value" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "values-source-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.values-source-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "sectionid" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "hasvariabletemplatetagtarget" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "required" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
+ },
+ "target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ },
+ "temporal-units" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "options" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.kebab-cased-map"
+ } ]
+ },
+ "metabase.lib.schema.parameter.parameters" : {
+ "description" : "Schema for a list of `:parameters` as passed in to a query.",
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameter"
+ }
+ },
+ "metabase.lib.schema.parameter.target" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.dimension"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.variable"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.text-tag"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
+ } ]
+ },
+ "metabase.lib.schema.parameter.template-tag" : {
+ "description" : "This is the reference like [:template-tag <whatever>], not the schema for native query template tags -- that lives\n in [[metabase.lib.schema.template-tag]].",
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "template-tag"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..template-tag.tag-name"
+ } ]
+ },
+ "metabase.lib.schema.parameter.text-tag" : {
+ "description" : "A :text-tag parameter :target applies to parameterized text cards in viz settings",
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "text-tag"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "metabase.lib.schema.parameter.type" : {
+ "description" : "Valid parameter :type",
+ "default" : "text",
+ "type" : "string",
+ "enum" : [ "number", "text", "date", "boolean", "date/single", "id", "category", "location/city", "location/state", "location/zip_code", "location/country", "date/range", "date/month-year", "date/quarter-year", "date/relative", "date/all-options", "temporal-unit", "number/!=", "number/<=", "number/=", "number/>=", "number/between", "string/!=", "string/=", "string/contains", "string/does-not-contain", "string/ends-with", "string/starts-with", "boolean/=" ]
+ },
+ "metabase.lib.schema.parameter.values-query-type" : {
+ "description" : "How a filter widget asks for its values.",
+ "type" : "string",
+ "enum" : [ "none", "list", "search" ]
+ },
+ "metabase.lib.schema.parameter.values-source-config" : {
+ "description" : "The configuration of a filter widget's value source. Its keys are the frontend's snake_case names.",
+ "type" : "object",
+ "properties" : {
+ "card_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "label_field" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
} ]
}, {
"type" : "null"
} ]
},
- "disable_links" : {
+ "value_field" : {
"oneOf" : [ {
- "type" : "boolean"
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
+ } ]
}, {
"type" : "null"
} ]
},
- "notification_id" : {
+ "values" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..values-source-config.value"
+ }
}, {
"type" : "null"
} ]
- },
- "send_once" : {
- "type" : "boolean"
}
},
- "required" : [ "card_id" ],
"additionalProperties" : false
},
- "metabase.notification.models.NotificationCardUpdate" : {
- "description" : "::NotificationCard restricted to what the update spec writes - `:id` comes from the URL's notification.",
+ "metabase.lib.schema.parameter.values-source-type" : {
+ "description" : "Where a filter widget's values come from, when not from the field it is connected to.",
+ "type" : "string",
+ "enum" : [ "static-list", "card" ]
+ },
+ "metabase.lib.schema.parameter.variable" : {
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "variable"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..variable.target"
+ } ]
+ },
+ "metabase.lib.schema.parameter.widget-type" : {
+ "description" : "The type of widget to display in the FE UI for the user to use to pick values for this parameter.",
+ "type" : "string",
+ "enum" : [ "none", "number", "text", "date", "boolean", "date/single", "id", "category", "location/city", "location/state", "location/zip_code", "location/country", "date/range", "date/month-year", "date/quarter-year", "date/relative", "date/all-options", "temporal-unit", "number/!=", "number/<=", "number/=", "number/>=", "number/between", "string/!=", "string/=", "string/contains", "string/does-not-contain", "string/ends-with", "string/starts-with", "boolean/=" ]
+ },
+ "metabase.lib.schema.pivot" : {
+ "description" : "Pivot intent. `:rows` and `:columns` are sequences of UUIDs that reference `:lib/uuid` values on breakouts of the\n stage that carries this clause. `:show-row-totals` and `:show-column-totals` default to `true` when absent.",
"type" : "object",
"properties" : {
- "card_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }
},
- "send_condition" : {
- "type" : "string",
- "enum" : [ "goal_below", "has_result", "goal_above" ]
+ "rows" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ }
},
- "send_once" : {
+ "show-column-totals" : {
+ "type" : "boolean"
+ },
+ "show-row-totals" : {
"type" : "boolean"
}
},
- "required" : [ "card_id" ],
+ "required" : [ "rows", "columns" ],
"additionalProperties" : false
},
- "metabase.notification.models.NotificationHandler" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "channel_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "channel_type" : { },
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "metabase.lib.schema.pivot-only-on-last-stage" : { },
+ "metabase.lib.schema.query" : {
+ "allOf" : [ {
+ "description" : "Valid MBQL 5 query.",
+ "type" : "object",
+ "properties" : {
+ "lib/metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
+ },
+ "show-column-totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "template_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ },
+ "user-parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "pivot-rows" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "update-row" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
+ },
+ "qp.pivot/remapped-breakout-combination" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/type" : {
+ "default" : "mbql/query",
+ "const" : "mbql/query"
+ },
+ "pivot_rows" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
}, {
- "description" : "value must be a valid date string",
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "channel_type" ],
- "additionalProperties" : false
- },
- "metabase.notification.models.NotificationRecipient" : {
- "description" : "Schema for :model/NotificationRecipient.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "user_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
},
- "user" : {
+ "settings" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.settings.settings"
+ },
+ "constraints" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.constraints.constraints"
+ },
+ "cache-strategy" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ "$ref" : "#/components/schemas/metabase.lib.schema.cache-strategy"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "lib.convert/converted?" : {
+ "type" : "boolean"
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "info" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.info.info"
},
- "permissions_group_id" : { },
- "updated_at" : {
+ "impersonation/admin?" : {
+ "type" : "boolean"
+ },
+ "async?" : {
+ "type" : "boolean"
+ },
+ "qp/skip-result-metadata-persistence" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/external-remaps" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.external-remappings"
+ },
+ "show-row-totals" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "qp/compiled-inline" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
},
- "details" : { },
- "created_at" : {
+ "qp.pivot/remapped-indexes" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "middleware" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.middleware-options.middleware-options"
+ },
+ "database" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.saved-questions-virtual-database"
}, {
- "type" : "null"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
} ]
- }
- },
- "required" : [ "type", "user_id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "user_id" : { },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "destination-database/id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
},
- "permissions_group_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "qp.pivot/unremapped-breakout-combination" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
},
- "updated_at" : {
+ "pivot-measures" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
}, {
"type" : "null"
} ]
},
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "impersonation/allow-write?" : {
+ "type" : "boolean"
},
- "details" : { },
- "created_at" : {
+ "pivot_cols" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
}, {
"type" : "null"
} ]
},
- "permissions_group" : {
+ "impersonation/role" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp.pivot/num-remapped-breakouts" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "qp/compiled" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.compiled-native-query"
+ },
+ "stages" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stages"
+ },
+ "qp.pivot/num-unremapped-breakouts" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "metabase.query-processor.util.add-alias-info/original" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema..query.snapshot"
+ },
+ "viz-settings" : {
"oneOf" : [ {
- "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_data_app_group" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_tenant_group" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "magic_group_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "members" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.permissions.schema..permissions-group.member"
- }
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "pivot-cols" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "show_column_totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
"type" : "null"
} ]
- }
- },
- "required" : [ "type", "permissions_group_id" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ },
+ "qp.pivot/num-remapped-cols" : {
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "qp/source-card-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "parameters" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.parameters"
+ },
+ "query-permissions/referenced-card-ids" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "uniqueItems" : true
}, {
"type" : "null"
} ]
},
- "details" : {
- "type" : "object",
- "properties" : {
- "channel_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "value" : {
- "type" : "string"
- }
- },
- "required" : [ "value" ],
- "additionalProperties" : false
+ "show_row_totals" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "create-row" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.actions.row"
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "pivot_measures" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "minimum" : 0
+ }
+ }, {
+ "type" : "null"
+ } ]
},
- "permissions_group_id" : { },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ "metabase-enterprise.sandbox.query-processor.middleware.sandboxing/original-metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema..sandboxing.original-metadata"
},
- "updated_at" : {
+ "was-pivot" : {
+ "description" : "Whether this query was originally run as a pivot query. Stamped into the saved `json_query` by\n `metabase.query-processor.middleware.process-userland-query` and sent back by clients re-downloading pivot query\n results.",
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "type" : "boolean"
}, {
"type" : "null"
} ]
- },
- "user_id" : { }
+ }
},
- "required" : [ "type", "details" ],
+ "required" : [ "stages" ],
"additionalProperties" : false
}, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.util.unique-uuids"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.pivot-only-on-last-stage"
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.lib.schema.ref..expression.options" : {
+ "default" : { },
+ "type" : "object",
+ "properties" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "type" : "string"
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.ref..field.id" : {
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.ref..field.options"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ } ]
+ },
+ "metabase.lib.schema.ref..field.literal" : {
+ "type" : "array",
+ "prefixItems" : [ {
+ "const" : "field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.ref..field.literal.options"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "metabase.lib.schema.ref..field.literal.options" : {
+ "allOf" : [ {
+ "default" : { },
"type" : "object",
"properties" : {
- "created_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
},
- "details" : {
- "type" : "object",
- "properties" : {
- "is_optional" : {
- "type" : "boolean"
- },
- "pattern" : {
- "type" : "string"
- }
- },
- "required" : [ "pattern" ],
- "additionalProperties" : false
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
},
- "notification_handler_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
},
- "permissions_group_id" : { },
- "type" : {
+ "inherited-temporal-unit" : {
"type" : "string",
- "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
},
- "user_id" : { }
- },
- "required" : [ "type", "details" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.notification.models.NotificationSubscription" : {
- "description" : "Schema for :model/NotificationSubscription.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ "database-type" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "cron_schedule" : {
- "type" : "null"
- },
- "event_name" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- },
- "id" : {
- "type" : "integer"
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
},
- "type" : {
- "type" : "string",
- "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
},
- "ui_display_type" : {
+ "display-name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
- }
- },
- "required" : [ "type", "event_name" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "created_at" : {
+ },
+ "source-field-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "effective-type" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "description" : "value must be a valid date string",
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "cron_schedule" : {
+ "base-type" : {
"type" : "string"
},
- "event_name" : {
- "type" : "null"
- },
- "id" : {
- "type" : "integer"
- },
- "notification_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "type" : {
- "type" : "string",
- "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
- },
- "ui_display_type" : {
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "cron/raw", "cron/builder" ]
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "type", "cron_schedule" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.notification.models.SystemEventPayload" : {
- "description" : "The `:payload` of a system event notification on its way to being sent: the event topic, plus the `:disable_links`\n `POST /api/notification` stamps on, plus the event map published under the topic, keyed the way\n [[metabase.events.core/publish-event!]] was handed it. A `:notification/testing` notification's payload is empty.",
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "lib/transformation-added-base-type" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "event_info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.user-invited"
- }, {
- "type" : "null"
- } ]
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
},
- "event_topic" : {
- "const" : "event/user-invited"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
},
- "event_info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.notification-create"
- }, {
- "type" : "null"
- } ]
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
},
- "event_topic" : {
- "const" : "event/notification-create"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "type" : "string"
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
"oneOf" : [ {
- "type" : "object",
- "properties" : { },
- "additionalProperties" : false
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "event_topic" : {
- "const" : "event/slack-token-invalid"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "join-alias" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "lib/original-binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "source-field-join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.comment-created"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
}, {
"type" : "null"
} ]
},
- "event_topic" : {
- "const" : "event/comment-created"
+ "original-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
}
},
- "required" : [ "event_topic" ],
+ "required" : [ "lib/uuid", "base-type" ],
"additionalProperties" : false
}, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.lib.schema.ref..field.options" : {
+ "allOf" : [ {
+ "default" : { },
"type" : "object",
"properties" : {
- "disable_links" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ },
+ "inherited-temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "database-type" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.support-access-grant-created"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "event_topic" : {
- "const" : "event/support-access-grant-created"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "source-field-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "effective-type" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "base-type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.transform-failed"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
}, {
"type" : "null"
} ]
},
- "event_topic" : {
- "const" : "event/transform-failed"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "lib/transformation-added-base-type" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "event_info" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.transform-failure-digest"
- }, {
- "type" : "null"
- } ]
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
},
- "event_topic" : {
- "const" : "event/transform-failure-digest"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
+ "type" : "string"
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.notification.models..event-info.security-advisory-match"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "event_topic" : {
- "const" : "event/security-advisory-match"
- }
- },
- "required" : [ "event_topic" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "disable_links" : {
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "event_info" : {
+ "lib/source-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "join-alias" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "lib/original-binning" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.binning.binning"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
+ },
+ "source-field-join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
"oneOf" : [ {
- "type" : "object",
- "properties" : { },
- "additionalProperties" : false
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
}, {
"type" : "null"
} ]
},
- "event_topic" : { }
+ "original-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
},
- "required" : [ "event_topic" ],
+ "required" : [ "lib/uuid" ],
"additionalProperties" : false
+ }, {
+ "allOf" : [ ]
} ]
},
- "metabase.notification.models.event-topic" : {
- "description" : "One of the event topics a `:notification/system-event` notification can be triggered for.",
- "type" : "string",
- "enum" : [ "event/user-invited", "event/notification-create", "event/slack-token-invalid", "event/comment-created", "event/support-access-grant-created", "event/transform-failed", "event/transform-failure-digest", "event/security-advisory-match" ]
- },
- "metabase.osi.schema..osi-ai-context.ai-context" : {
- "description" : "The `:ai_context` column of a OsiAiContext, decoded.",
+ "metabase.lib.schema.ref.aggregation-options" : {
+ "default" : { },
"type" : "object",
"properties" : {
- "examples" : {
+ "metabase.query-processor.util.add-alias-info/source-table" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common..add-alias-info.source-table"
+ },
+ "metabase.mcp.v2.query/keyset" : {
+ "type" : "boolean"
+ },
+ "qp/allow-coercion-for-columns-without-integer-qp.add.source-table" : {
+ "type" : "boolean"
+ },
+ "inherited-temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "database-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/forced-alias" : {
+ "type" : "boolean"
+ },
+ "metabase.driver.sql.parameters.substitution/compiling-field-filter?" : {
+ "type" : "boolean"
+ },
+ "display-name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "effective-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "base-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/transformation-added-base-type" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/nfc-path" : {
"type" : "array",
"items" : {
- "type" : "string",
- "maxLength" : 1000
- },
- "maxItems" : 50
+ "type" : "string"
+ }
},
- "instructions" : {
+ "metabase.driver.sql.query-processor/add-cast" : {
+ "type" : "string"
+ },
+ "lib/uuid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.uuid"
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "lib/expression-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.query-processor.middleware.add-remaps/original-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "metabase.driver.sqlserver/optimized-bucketing?" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.middleware.add-remaps/new-field-dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dimension"
+ },
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "lib/original-effective-type" : {
"oneOf" : [ {
- "type" : "string",
- "maxLength" : 5000
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.base-type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.query-processor.util.add-alias-info/source-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.driver.sql.query-processor/wrap-in-case" : {
+ "type" : "boolean"
+ },
+ "metabase.query-processor.util.add-alias-info/desired-alias" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "lib/source-name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "qp/ignore-coercion" : {
+ "type" : "boolean"
+ },
+ "source-field" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ },
+ "join-alias" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "metabase.driver.mongo.query-processor/join-local" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.join.alias"
+ },
+ "qp/native-sandbox-column.force-coercion-strategy" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.coercion-strategy"
+ },
+ "metabase.query-processor.util.add-alias-info/resolved" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.column"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ },
+ "temporal-unit" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.expression"
+ },
+ "semantic-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.semantic-or-relation-type"
}, {
"type" : "null"
} ]
},
- "synonyms" : {
- "type" : "array",
- "items" : {
- "type" : "string",
- "maxLength" : 1000
- },
- "maxItems" : 50
+ "metabase.query-processor.util.transformations.nest-breakouts/externally-remapped-field" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "lib/uuid" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.ref.ref" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.mbql-clause.clause"
+ },
+ "metabase.lib.schema.settings.settings" : {
+ "description" : "Options that tweak the behavior of the query processor.",
+ "type" : "object",
+ "properties" : {
+ "include-sensitive-fields" : {
+ "description" : "Whether to include fields with visibility_type :sensitive when fetching query metadata.",
+ "type" : "boolean"
+ },
+ "report-timezone" : {
+ "description" : "The timezone the query should be ran in, overriding the default report timezone for the instance.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.expression.temporal.timezone-id"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.stage" : {
+ "default" : {
+ "lib/type" : "mbql.stage/mbql"
+ },
+ "allOf" : [ {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema..stage.native"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema..stage.mbql"
+ } ]
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
+ "metabase.lib.schema.stages" : {
+ "allOf" : [ {
+ "default" : [ ],
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stage"
+ },
+ "minItems" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema..stages.valid-refs"
+ } ]
+ },
+ "metabase.lib.schema.template-tag..field-filter.options" : {
+ "description" : "Options appended to the filter clause a Field Filter template tag generates. These get merged into the parameter\n value the QP builds for the tag, so they are the same options as `:metabase.lib.schema.parameter/parameter.options`.",
+ "type" : "object",
+ "properties" : {
+ "case-sensitive" : {
+ "type" : "boolean"
+ },
+ "include-current" : {
+ "type" : "boolean"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.template-tag..raw-value.type" : {
+ "type" : "string",
+ "enum" : [ "date", "number", "boolean", "text" ]
+ },
+ "metabase.lib.schema.template-tag..template-tag-map.validate-names" : { },
+ "metabase.lib.schema.template-tag..value.common" : {
+ "type" : "object",
+ "properties" : {
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "display-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
+ },
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "required" : {
+ "type" : "boolean"
+ },
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}
},
+ "required" : [ "name", "display-name" ],
"additionalProperties" : false
},
- "metabase.parameters.schema..api.parameter-values" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-values"
- },
- "metabase.parameters.schema.legacy-ref" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
- } ]
- },
- "metabase.parameters.schema.parameter" : {
- "description" : "parameter must be a map with :id and :type keys",
+ "metabase.lib.schema.template-tag.common" : {
"type" : "object",
"properties" : {
- "filteringParameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
- }
- }, {
- "type" : "null"
- } ]
- },
- "mappings" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
- }
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
- },
- "uniqueItems" : true
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "sectionId" : {
+ "display-name" : {
"$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
},
- "values_source_config" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-config"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
},
- "hasVariableTemplateTagTarget" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
},
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }
+ },
+ "required" : [ "name", "display-name" ],
+ "additionalProperties" : false
+ },
+ "metabase.lib.schema.template-tag.disallow-dimension" : { },
+ "metabase.lib.schema.template-tag.distinct-template-tags" : { },
+ "metabase.lib.schema.template-tag.field-filter" : {
+ "type" : "object",
+ "properties" : {
"display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
},
"id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
},
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
},
"name" : {
- "type" : "string"
- },
- "slug" : {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
},
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
},
"required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values_query_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-query-type"
- }, {
- "type" : "null"
- } ]
+ "type" : "boolean"
},
"type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
- },
- "temporal_units" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ "const" : "dimension"
},
- "values_source_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-type"
- }, {
- "type" : "null"
- } ]
+ "alias" : {
+ "type" : "string"
},
"options" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..field-filter.options"
}, {
"type" : "null"
} ]
},
+ "dimension" : {
+ "$ref" : "#/components/schemas/mbql.clause.field"
+ },
"default" : {
"$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
},
- "isMultiSelect" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "widget-type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.widget-type"
}
},
- "required" : [ "id", "type" ],
+ "required" : [ "name", "display-name", "type", "widget-type" ],
"additionalProperties" : false
},
- "metabase.parameters.schema.parameter-mapping" : {
- "description" : "parameter_mapping must be a map with :parameter_id and :target keys",
- "type" : "object",
- "properties" : {
- "card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
+ "metabase.lib.schema.template-tag.id" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "uuid"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "metabase.lib.schema.template-tag.raw-value" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "display-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
+ },
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "required" : {
+ "type" : "boolean"
+ },
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..raw-value.type"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "widget-type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.widget-type"
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "parameter_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ "required" : [ "name", "display-name", "type" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.snippet" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "display-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "snippet-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
+ },
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "database" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ },
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "type" : {
+ "const" : "snippet"
+ },
+ "snippet-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.snippet"
+ }
},
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
- }
- },
- "required" : [ "parameter_id", "target" ],
- "additionalProperties" : false
+ "required" : [ "name", "display-name", "type", "snippet-name" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
+ } ]
},
- "metabase.parameters.schema.parameter-mapping-with-dashcard" : {
- "description" : "parameter_mapping must be a map with :parameter_id and :target keys",
+ "metabase.lib.schema.template-tag.source-filter" : {
+ "description" : "Schema for a single source-filter applied to a table template tag.",
"type" : "object",
"properties" : {
- "card_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- }, {
- "type" : "null"
- } ]
- },
- "dashcard" : {
- "$ref" : "#/components/schemas/metabase.dashboards.schema.dashboard-card"
+ "field-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
},
- "parameter_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ "op" : {
+ "type" : "string",
+ "enum" : [ "<=", ">", ">=", "!=", "=", "<" ]
},
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ "value" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
}
},
- "required" : [ "parameter_id", "target" ],
+ "required" : [ "field-id", "op", "value" ],
"additionalProperties" : false
},
- "metabase.parameters.schema.parameter-mappings" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
- }
- },
- "metabase.parameters.schema.parameter-values" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-with-value"
- }
- },
- "metabase.parameters.schema.parameter-with-value" : {
- "description" : "parameter must be a map with an :id key",
- "type" : "object",
- "properties" : {
- "sectionId" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "name" : {
- "oneOf" : [ {
+ "metabase.lib.schema.template-tag.source-query" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "display-name" : {
"$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "slug" : {
- "oneOf" : [ {
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
+ },
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "card-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "sectionid" : {
"$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
- }, {
- "type" : "null"
- } ]
- },
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
- }, {
- "type" : "null"
- } ]
+ },
+ "required" : {
+ "type" : "boolean"
+ },
+ "type" : {
+ "const" : "card"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
},
- "default" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.parameters.schema.parameters" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- }
+ "required" : [ "name", "display-name", "type", "card-id" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
+ } ]
},
- "metabase.parameters.schema.resolved-parameter" : {
- "description" : "parameter must be a map with :id and :type keys",
- "type" : "object",
- "properties" : {
- "filteringParameters" : {
- "oneOf" : [ {
+ "metabase.lib.schema.template-tag.source-table" : {
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "table-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ },
+ "display-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
+ },
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
+ },
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "source-filters" : {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-filter"
}
- }, {
- "type" : "null"
- } ]
- },
- "mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping-with-dashcard"
- },
- "uniqueItems" : true
- }, {
- "type" : "null"
- } ]
- },
- "sectionId" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- },
- "values_source_config" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-config"
- }, {
- "type" : "null"
- } ]
- },
- "hasVariableTemplateTagTarget" : {
- "oneOf" : [ {
+ },
+ "required" : {
"type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ },
+ "type" : {
+ "const" : "table"
+ },
+ "emit-alias" : {
+ "type" : "boolean"
+ },
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
},
+ "required" : [ "name", "display-name", "type", "table-id" ],
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.disallow-dimension"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.template-tag" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.temporal-unit"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.field-filter"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.snippet"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-query"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.source-table"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.raw-value"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.template-tag-map" : {
+ "description" : "Legacy way to store template tags... storing them as a map is problematic because having more than 8 template tags\n causes the map to switch to a hash map (in Clojure < 1.13) and order gets lost (see #5136). For the sake of keeping\n things simple for the FE (which does not have this issue with JS Objects).\n\n This is still used by a handful of functions to support easy lookup by tag name, so we'll leave the schema around\n FOR NOW, but it would probably be better to remove this entirely and just introduce helper functions for looking\n things up.",
+ "allOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag"
+ }
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag..template-tag-map.validate-names"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.template-tags" : {
+ "description" : "Prior to 63, this was a map, but was changed to a list to preserve order with more than 8 template tags.\n\n Each tag must have a distinct `:name`.",
+ "allOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag"
+ }
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.distinct-template-tags"
+ } ]
+ },
+ "metabase.lib.schema.template-tag.temporal-unit" : {
+ "type" : "object",
+ "properties" : {
"display-name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
},
"id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.id"
},
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "lib.walk/template-tag-name" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
},
"name" : {
- "type" : "string"
- },
- "slug" : {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.name"
},
- "value" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ "sectionid" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
},
"required" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "values_query_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-query-type"
- }, {
- "type" : "null"
- } ]
+ "type" : "boolean"
},
"type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
- },
- "temporal_units" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
- }
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ "const" : "temporal-unit"
},
- "values_source_type" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-type"
- }, {
- "type" : "null"
- } ]
+ "alias" : {
+ "type" : "string"
},
- "options" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
- }, {
- "type" : "null"
- } ]
+ "dimension" : {
+ "$ref" : "#/components/schemas/mbql.clause.field"
},
"default" : {
"$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- },
- "isMultiSelect" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
}
},
- "required" : [ "id", "type" ],
+ "required" : [ "name", "display-name", "type" ],
"additionalProperties" : false
},
- "metabase.parameters.schema.values-query-type" : {
- "type" : "string",
- "enum" : [ "none", "list", "search" ]
- },
- "metabase.parameters.schema.values-source-config" : {
- "description" : "Schema for valid source_options within a Parameter",
- "type" : "object",
- "properties" : {
- "card_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
- },
- "label_field" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.legacy-ref"
- },
- "value_field" : {
- "$ref" : "#/components/schemas/metabase.parameters.schema.legacy-ref"
- },
- "values" : { }
- },
- "additionalProperties" : false
+ "metabase.lib.schema.template-tag.widget-type" : {
+ "description" : "Schema for valid values of `:widget-type` for a `:metabase.lib.schema.template-tag/field-filter` template tag.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.widget-type"
},
- "metabase.parameters.schema.values-source-type" : {
+ "metabase.lib.schema.temporal-bucketing..unit.date" : {
"type" : "string",
- "enum" : [ "static-list", "card" ]
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "month", "month-of-year", "quarter", "quarter-of-year", "week", "week-of-year", "year", "year-of-era" ]
},
- "metabase.permissions-rest.schema.attribute-name" : {
- "description" : "a user attribute name",
+ "metabase.lib.schema.temporal-bucketing..unit.date-time" : {
"type" : "string",
- "minLength" : 1
+ "enum" : [ "millisecond", "second", "minute", "hour", "day", "week", "month", "quarter", "year", "second-of-minute", "minute-of-hour", "hour-of-day", "day-of-week", "day-of-month", "day-of-year", "week-of-year", "month-of-year", "quarter-of-year", "year-of-era" ]
},
- "metabase.permissions-rest.schema.attribute-remapping" : {
- "description" : "a field name, a field id, or a parameter target",
- "anyOf" : [ {
- "type" : "string",
- "minLength" : 1
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
- } ]
+ "metabase.lib.schema.temporal-bucketing..unit.date-time.interval" : {
+ "type" : "string",
+ "enum" : [ "day", "hour", "millisecond", "minute", "month", "quarter", "second", "week", "year" ]
},
- "metabase.permissions-rest.schema.attribute-remappings" : {
- "description" : "a map of user attribute name -> the field or parameter target it is remapped onto",
- "type" : "object",
- "additionalProperties" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.attribute-remapping"
- }, { } ]
- }
+ "metabase.lib.schema.temporal-bucketing..unit.time.interval" : {
+ "type" : "string",
+ "enum" : [ "hour", "millisecond", "minute", "second" ]
},
- "metabase.permissions-rest.schema.data-perms" : {
- "type" : "object",
- "properties" : {
- "native" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.native"
- },
- "schemas" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
- }
- },
- "additionalProperties" : false
+ "metabase.lib.schema.temporal-bucketing.unit" : {
+ "type" : "string",
+ "enum" : [ "day", "day-of-month", "day-of-week", "day-of-year", "default", "hour", "hour-of-day", "millisecond", "minute", "minute-of-hour", "month", "month-of-year", "quarter", "quarter-of-year", "second", "second-of-minute", "week", "week-of-year", "year", "year-of-era" ]
},
- "metabase.permissions-rest.schema.db-perms" : {
- "description" : "the permissions one group has on one database",
- "type" : "object",
- "properties" : {
- "create-queries" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
- },
- "data" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
- },
- "data-model" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
- },
- "details" : {
- "type" : "string",
- "enum" : [ "yes", "no" ]
- },
- "download" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
- },
- "transforms" : {
- "type" : "string",
- "enum" : [ "yes", "no" ]
- },
- "view-data" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
- }
- },
- "additionalProperties" : false
+ "metabase.lib.schema.util.distinct-mbql-clauses" : { },
+ "metabase.lib.schema.util.unique-uuids" : { },
+ "metabase.lib.schema.validate.source-entity-type" : {
+ "description" : "The type of the source entity causing an error.",
+ "type" : "string",
+ "enum" : [ "table", "card", "transform" ]
},
- "metabase.permissions-rest.schema.decodable-keyword-int" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "metabase.lib.schema.validate.validate-error-type" : {
+ "type" : "string",
+ "enum" : [ "missing-column", "missing-table-alias", "missing-table", "missing-card", "duplicate-column", "syntax-error", "validation-exception-error" ]
},
- "metabase.permissions-rest.schema.graph-update-request" : {
- "description" : "the permissions graph, plus the sandboxes and connection impersonations to write with it",
- "type" : "object",
- "properties" : {
- "force" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "groups" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.db-perms"
- }, { } ]
- }
- }, {
- "anyOf" : [ {
- "type" : "null"
- }, { } ]
- } ]
- }
- }, { } ]
- },
- "impersonations" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.impersonation-update"
- }
- }, {
- "type" : "null"
- } ]
- },
- "revision" : {
- "oneOf" : [ {
- "description" : "value must be an integer.",
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "sandboxes" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.sandbox-update"
- }
- }, {
- "type" : "null"
- } ]
+ "metabase.lib.schema.value" : {
+ "anyOf" : [ {
+ "type" : "null"
+ }, {
+ "type" : "boolean"
+ }, {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.value"
}
- },
- "required" : [ "groups" ],
- "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.value"
+ }
+ } ]
},
- "metabase.permissions-rest.schema.group-id" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.decodable-keyword-int"
+ "metabase.lib.util.query-like" : {
+ "description" : "query-like map",
+ "type" : "object",
+ "properties" : { }
},
- "metabase.permissions-rest.schema.id" : {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.decodable-keyword-int"
+ "metabase.logger.api.log-level" : {
+ "type" : "string",
+ "enum" : [ "off", "fatal", "error", "warn", "info", "debug", "trace" ]
},
- "metabase.permissions-rest.schema.impersonation-update" : {
- "description" : "a connection impersonation policy to write alongside a permissions graph update",
+ "metabase.logger.api.time-unit" : {
+ "type" : "string",
+ "enum" : [ "days", "hours", "minutes", "seconds", "milliseconds", "microseconds", "nanoseconds" ]
+ },
+ "metabase.mcp.callback-api.bootstrap-user" : {
+ "description" : "The projection of the current user the MCP iframe may read. Closed on purpose: a field belongs here only when\n something the iframe renders reads it, so widening the projection is a decision someone has to make in this file\n rather than a side effect of the shared `GET /api/user/current` response growing.\n\n Deliberately absent: `email`, `login_attributes`, `jwt_attributes`, `attributes`, `sso_source`, `group_ids` and\n the advanced-permissions flags. Nothing in the visualization reads them, and they are what made the general\n endpoint a scope-escalation target. The name fields are absent for the same reason: the iframe displays no\n user, and `common_name` falls back to the email address when a user has neither first nor last name.",
"type" : "object",
"properties" : {
- "attribute" : {
- "type" : "string",
- "minLength" : 1
- },
- "db_id" : {
+ "id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
"minimum" : 1
},
- "group_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- },
- "required" : [ "group_id", "db_id", "attribute" ],
- "additionalProperties" : false
- },
- "metabase.permissions-rest.schema.native" : {
- "description" : "native permissions",
- "oneOf" : [ {
- "type" : "string",
- "enum" : [ "write", "none", "full", "limited" ]
- }, {
- "type" : "null"
- } ]
- },
- "metabase.permissions-rest.schema.perms" : {
- "description" : "Perms that get reused for TablePerms and SchemaPerms",
- "type" : "string",
- "enum" : [ "all", "blocked", "full", "legacy-no-self-service", "limited", "no", "none", "query-builder", "sandboxed", "segmented", "unrestricted" ]
- },
- "metabase.permissions-rest.schema.sandbox-update" : {
- "description" : "a sandbox to write alongside a permissions graph update",
- "type" : "object",
- "properties" : {
- "attribute_remappings" : {
+ "is_data_analyst" : {
+ "type" : "boolean"
+ },
+ "is_qbnewb" : {
+ "type" : "boolean"
+ },
+ "is_superuser" : {
+ "type" : "boolean"
+ },
+ "locale" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.attribute-remappings"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "card_id" : {
+ "permissions" : {
+ "type" : "object",
+ "properties" : {
+ "can_create_native_queries" : {
+ "type" : "boolean"
+ },
+ "can_create_queries" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "can_create_queries", "can_create_native_queries" ],
+ "additionalProperties" : false
+ },
+ "personal_collection_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -31310,17 +18952,7 @@
"type" : "null"
} ]
},
- "group_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "permission_id" : {
+ "tenant_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -31328,973 +18960,2509 @@
}, {
"type" : "null"
} ]
- },
- "table_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
}
},
+ "required" : [ "id", "locale", "is_superuser", "is_data_analyst", "is_qbnewb", "tenant_id", "personal_collection_id", "permissions" ],
"additionalProperties" : false
},
- "metabase.permissions-rest.schema.schema-graph" : {
- "type" : "object",
- "additionalProperties" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schema-perms"
- }, { } ]
- }
- },
- "metabase.permissions-rest.schema.schema-perms" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.table-perms"
- }, { } ]
- }
- }, {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.perms"
- } ]
- },
- "metabase.permissions-rest.schema.schemas" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schema-graph"
- }, {
- "type" : "string",
- "enum" : [ "all", "segmented", "none", "block", "blocked", "full", "limited", "impersonated", "unrestricted", "sandboxed", "legacy-no-self-service", "query-builder-and-native", "query-builder", "no" ]
- } ]
- },
- "metabase.permissions-rest.schema.strict-data-perms" : {
- "description" : "Data perms that care about how view-data and make-queries are related to one another.\n If you have write access for native queries, you must have data access to all schemas.",
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.data-perms"
- },
- "metabase.permissions-rest.schema.table-perms" : {
- "oneOf" : [ {
- "type" : "object",
- "properties" : {
- "query" : {
- "type" : "string",
- "enum" : [ "all", "none", "segmented" ]
- },
- "read" : {
- "type" : "string",
- "enum" : [ "all", "none" ]
- }
- },
- "additionalProperties" : false
+ "metabase.measures.api.RemappedValueResponse" : {
+ "description" : "Response schema for dimension remapping endpoint.\n Returns [value] if no remapping, or [value, display-name] if remapped.",
+ "anyOf" : [ {
+ "type" : "array",
+ "prefixItems" : [ { } ]
}, {
- "$ref" : "#/components/schemas/metabase.permissions-rest.schema.perms"
+ "type" : "array",
+ "prefixItems" : [ { }, {
+ "type" : "string"
+ } ]
} ]
},
- "metabase.permissions.schema..permissions-group.member" : {
- "description" : "A member of a PermissionsGroup as `metabase.permissions.db/group-members` selects it: the User columns the group\n member list shows, the membership it comes from, and `:is_group_manager` when advanced permissions are enabled.",
+ "metabase.measures.api.measure" : {
+ "description" : "Schema for a Measure entity as returned from the API.",
"type" : "object",
"properties" : {
- "user_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "group_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "email" : {
- "type" : "string"
- },
- "is_group_manager" : {
+ "dimension_mappings" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : { }
+ }
}, {
"type" : "null"
} ]
},
- "is_superuser" : {
- "type" : "boolean"
- },
- "last_name" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "first_name" : {
+ "result_column_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "type" : {
- "anyOf" : [ {
- "type" : "string"
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "creator" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : { }
}, {
- "type" : "string"
+ "type" : "null"
} ]
},
- "common_name" : {
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "archived" : {
+ "type" : "boolean"
+ },
+ "dimensions" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : { }
+ }
}, {
"type" : "null"
} ]
},
- "membership_id" : {
+ "updated_at" : { },
+ "table_id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
"minimum" : 1
- }
- },
- "required" : [ "id", "user_id", "first_name", "last_name", "email", "is_superuser", "type", "group_id", "membership_id" ],
- "additionalProperties" : false
- },
- "metabase.permissions.schema..permissions-group.update" : {
- "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "entity_id" : {
+ },
+ "definition" : {
+ "$ref" : "#/components/schemas/metabase.measures.schema.definition"
+ },
+ "created_at" : { },
+ "creator_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "description" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "is_data_app_group" : {
+ }
+ },
+ "required" : [ "id", "name", "table_id", "definition", "archived", "creator_id", "created_at", "updated_at" ]
+ },
+ "metabase.measures.schema.definition" : {
+ "description" : "value must be a valid MBQL query with a source table.",
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ },
+ "metabase.metabot.context.context" : {
+ "description" : "The context a Metabot request carries. Besides what the client sends, [[create-context]] adds the user's recent\n views, the current time and the caller's capabilities before the agent reads it.",
+ "type" : "object",
+ "properties" : {
+ "capabilities" : {
"oneOf" : [ {
- "type" : "boolean"
+ "anyOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ }, {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ } ]
}, {
"type" : "null"
} ]
},
- "is_tenant_group" : {
+ "first_day_of_week" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "magic_group_type" : {
+ "references" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
}, {
- "type" : "string"
+ "description" : "Value must be a map."
} ]
}, {
"type" : "null"
} ]
},
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.permissions.schema.permissions-group" : {
- "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "entity_id" : {
+ "slack_channel_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "is_data_app_group" : {
+ "user_recently_viewed" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.context.recently-viewed-item"
+ }
}, {
"type" : "null"
} ]
},
- "is_tenant_group" : {
+ "research_plan" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.metabot.context.research-plan"
}, {
"type" : "null"
} ]
},
- "magic_group_type" : {
+ "code_editor" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "object",
+ "properties" : {
+ "buffers" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "cursor" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "selection" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "end" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "start" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "text" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "text", "start", "end" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source" : {
+ "type" : "object",
+ "properties" : {
+ "database_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "language" : {
+ "const" : "sql"
+ }
+ },
+ "required" : [ "language", "database_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "required" : [ "id", "source", "cursor" ],
+ "additionalProperties" : false
+ }
+ },
+ "type" : {
+ "const" : "code_editor"
+ }
+ },
+ "required" : [ "type", "buffers" ],
+ "additionalProperties" : false
}, {
"type" : "null"
} ]
},
- "members" : {
+ "user_is_viewing" : {
"type" : "array",
"items" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "database" : {
+ "type" : "null"
+ },
+ "lib/type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "native" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "collection" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "template-tags" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "source-table" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "stages" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stage"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ } ]
+ },
+ "error" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "model", "question", "metric", "adhoc" ]
+ },
+ "database_schema" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "sql_engine" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "used_tables" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "database_schema" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "buffers" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "cursor" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "selection" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "end" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "start" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "text" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "text", "start", "end" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source" : {
+ "type" : "object",
+ "properties" : {
+ "database_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "language" : {
+ "const" : "sql"
+ }
+ },
+ "required" : [ "language", "database_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "required" : [ "id", "source", "cursor" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "chart_configs" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ }
+ },
+ "rows" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ } ]
+ }
+ }
+ }
+ },
+ "required" : [ "columns", "rows" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "database" : {
+ "type" : "null"
+ },
+ "lib/type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "native" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "collection" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "template-tags" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "source-table" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "stages" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stage"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ } ]
+ },
+ "series" : {
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "chart_type" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "display_name" : {
+ "type" : "string"
+ },
+ "stacked" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "x" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ },
+ "x_values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "y" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "y_values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "x", "display_name", "chart_type" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "timeline_events" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "timestamp" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "timestamp" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "title" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "entity_id" : {
- "type" : "string"
- }
- },
- "required" : [ "email", "entity_id" ],
- "additionalProperties" : false
- }
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.queries.schema..card.dataset-query" : {
- "description" : "The `:dataset_query` column of a Card, decoded.",
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
- },
- "metabase.queries.schema..card.dimension" : {
- "description" : "One entry of the `:dimensions` column of a Card, decoded.",
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension"
- },
- "metabase.queries.schema..card.dimension-mapping" : {
- "description" : "One entry of the `:dimension_mappings` column of a Card, decoded.",
- "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-mapping"
- },
- "metabase.queries.schema..card.parameter" : {
- "description" : "One entry of the `:parameters` column of a Card, decoded.",
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
- },
- "metabase.queries.schema..card.parameter-mapping" : {
- "description" : "One entry of the `:parameter_mappings` column of a Card, decoded.",
- "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
- },
- "metabase.queries.schema..card.result-metadata" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
- }
- },
- "metabase.queries.schema..card.result-metadata.model-override" : {
- "description" : "A model's result metadata column as serialization exports it: only the keys a user can override, which the Card's\n hooks merge onto the metadata computed from its query.",
- "type" : "object",
- "properties" : {
- "settings" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "visibility_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "required" : [ "type" ],
+ "additionalProperties" : false
}, {
- "type" : "string"
+ "type" : "object",
+ "properties" : {
+ "query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "database" : {
+ "type" : "null"
+ },
+ "lib/type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "native" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "collection" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "template-tags" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "source-table" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "stages" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stage"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ } ]
+ },
+ "error" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "model", "code_editor", "document", "question", "metric", "adhoc" ]
+ },
+ "database_schema" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "sql_engine" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "used_tables" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "database_schema" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "buffers" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "cursor" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "selection" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "end" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "start" : {
+ "type" : "object",
+ "properties" : {
+ "column" : {
+ "type" : "integer"
+ },
+ "line" : {
+ "type" : "integer"
+ }
+ },
+ "required" : [ "line", "column" ],
+ "additionalProperties" : false
+ },
+ "text" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "text", "start", "end" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source" : {
+ "type" : "object",
+ "properties" : {
+ "database_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "language" : {
+ "const" : "sql"
+ }
+ },
+ "required" : [ "language", "database_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "required" : [ "id", "source", "cursor" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "chart_configs" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ }
+ },
+ "rows" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ } ]
+ }
+ }
+ }
+ },
+ "required" : [ "columns", "rows" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "database" : {
+ "type" : "null"
+ },
+ "lib/type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "native" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "collection" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "template-tags" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.template-tag.template-tag-map"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "source-table" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "stages" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stage"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ } ]
+ },
+ "series" : {
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "chart_type" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "display_name" : {
+ "type" : "string"
+ },
+ "stacked" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "x" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ },
+ "x_values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "y" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "name" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "y_values" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "x", "display_name", "chart_type" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "timeline_events" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "timestamp" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "timestamp" ],
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "title" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ }
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
} ]
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "semantic_type" : {
- "oneOf" : [ {
- "description" : "value must be a valid field semantic or relation type."
- }, {
- "type" : "null"
- } ]
+ }
},
- "display_name" : {
+ "current_user_time" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "lib/source_display_name" : {
+ "default_database_id" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "description" : {
+ "current_time_with_timezone" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "fk_target_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
}
},
- "required" : [ "name" ],
"additionalProperties" : false
},
- "metabase.queries.schema..card.type" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
- },
- "metabase.queries.schema..card.update" : {
- "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
+ "metabase.metabot.context.recently-viewed-item" : {
+ "description" : "One of the user's recent views, trimmed to what the model gets told about it.",
"type" : "object",
"properties" : {
- "enable_embedding" : {
+ "description" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "visualization_settings" : {
+ "id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "dimension_mappings" : {
+ "name" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
- }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_invalidated_at" : {
+ "type" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.metabot.context.research-plan" : {
+ "description" : "The in-progress Research plan the frontend serializes into `:research_plan` each turn (`ResearchPlanContext`).",
+ "type" : "object",
+ "properties" : {
+ "groups" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-group"
+ }
},
- "collection_preview" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
},
- "initially_published_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "timelines" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
+ }
+ }
+ },
+ "required" : [ "name", "groups", "timelines" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.context.research-plan-group" : {
+ "type" : "object",
+ "properties" : {
+ "block_id" : {
+ "type" : "string"
},
- "view_count" : {
- "oneOf" : [ {
+ "dimensions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
+ }
+ },
+ "metric" : {
+ "$ref" : "#/components/schemas/metabase.metabot.context.research-plan-ref"
+ }
+ },
+ "required" : [ "block_id", "metric", "dimensions" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.context.research-plan-ref" : {
+ "description" : "A named reference to a research-plan metric/dimension/timeline: what the frontend echoes back in\n `ResearchPlanContext`.",
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "anyOf" : [ {
"type" : "integer"
}, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
"type" : "string"
- }, {
- "type" : "null"
} ]
},
- "dataset_query" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "id", "name" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema..transform.source" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.query"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "anyOf" : [ {
+ "const" : "query"
+ }, {
+ "const" : "query"
+ } ]
+ }
},
- "parameter_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
- }
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "body" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source-database" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source-tables" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema..transform.source-table"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "anyOf" : [ {
+ "const" : "python"
+ }, {
+ "const" : "python"
+ } ]
+ }
},
- "metabot_chart_id" : {
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.metabot.schema..transform.source-table" : {
+ "description" : "One entry of a Python transform's `source-tables`. Mirrors\n `metabase.metabot.context/TransformSourceTableSchema`.",
+ "type" : "object",
+ "properties" : {
+ "alias" : {
+ "type" : "string"
+ },
+ "database_id" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "embedding_type" : {
+ "schema" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "verified-result-metadata?" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
+ "table_id" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "integer"
}, {
"type" : "null"
} ]
- },
- "name" : {
+ }
+ },
+ "required" : [ "alias" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema..transform.target" : {
+ "type" : "object",
+ "properties" : {
+ "database" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "archived" : {
+ "name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "collection_position" : {
+ "schema" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "type" : "string",
- "enum" : [ "+", "-" ]
- }, {
- "const" : "collection_position"
- }, {
- "const" : 1
- } ]
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "dimensions" : {
+ "type" : {
+ "anyOf" : [ {
+ "const" : "table"
+ }, {
+ "const" : "table"
+ } ]
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.chart" : {
+ "type" : "object",
+ "properties" : {
+ "chart_config" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
- }
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart-config"
}, {
"type" : "null"
} ]
},
- "database_id" : {
+ "chart_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "embedding_params" : {
+ "queries" : {
"oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
- "oneOf" : [ {
- "description" : "Value must be a map.",
+ "type" : "array",
+ "items" : {
"oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
- }
+ "$ref" : "#/components/schemas/metabase.metabot.schema.query"
}, {
- "description" : "Value must be a map."
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
+ }
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "query_id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "const" : "updated_at"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "dataset_query_metrics_v2_migration_backup" : {
+ "timeline_events" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart-timeline-event"
+ }
}, {
"type" : "null"
} ]
},
- "table_id" : {
+ "visualization_settings" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "type" : "object",
+ "properties" : {
+ "chart_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
}, {
"type" : "null"
} ]
- },
- "legacy_query" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.chart-config" : {
+ "description" : "A `chart_configs` entry: a chart's title, pre-materialized series data, and the query that produced it.\n Mirrors `metabase.metabot.context/ChartConfigSchema`.",
+ "type" : "object",
+ "properties" : {
+ "data" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart-data"
+ }
}, {
"type" : "null"
} ]
},
- "document_id" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "result_metadata" : {
+ "display_type" : {
"oneOf" : [ {
"anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
+ "type" : "string"
}, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
- }
+ "type" : "string"
} ]
}, {
"type" : "null"
} ]
},
- "source_card_id" : {
+ "query" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ "$ref" : "#/components/schemas/metabase.metabot.schema.query"
}, {
"type" : "null"
} ]
},
- "query_type" : {
+ "series" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.series-config"
+ }
}, {
- "type" : "string"
+ "description" : "Value must be a map."
} ]
}, {
"type" : "null"
} ]
},
- "collection_id" : {
+ "timeline_events" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart-timeline-event"
+ }
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "title" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.chart-data" : {
+ "description" : "One pre-materialized table of raw chart data (columns + rows). Mirrors\n `metabase.metabot.context/ChartDataSchema`.",
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
+ }
},
- "type" : {
+ "rows" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ } ]
+ }
+ }
+ }
+ },
+ "required" : [ "columns", "rows" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.chart-timeline-event" : {
+ "type" : "object",
+ "properties" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "created_at" : {
- "oneOf" : [ {
+ "name" : {
+ "type" : "string"
+ },
+ "timestamp" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "timestamp" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.client-message" : {
+ "description" : "One persisted message as the client models it.",
+ "type" : "object",
+ "properties" : {
+ "contextTokens" : {
+ "type" : "integer"
+ },
+ "externalId" : {
+ "type" : "string"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "parts" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.client-message-part"
+ }
+ },
+ "role" : {
+ "type" : "string",
+ "enum" : [ "user", "agent" ]
+ },
+ "status" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.client-message-status"
+ }
+ },
+ "required" : [ "id", "role", "parts", "status" ]
+ },
+ "metabase.metabot.schema.client-message-part" : {
+ "description" : "One part of a persisted message: its a text, tool call, or data blob.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "string"
+ },
+ "message" : {
+ "type" : "string"
+ },
+ "role" : {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "user", "agent" ]
+ },
+ "type" : {
+ "const" : "text"
+ }
},
- "display" : {
- "oneOf" : [ {
- "anyOf" : [ {
+ "required" : [ "id", "role", "type", "message" ]
+ }, {
+ "type" : "object",
+ "properties" : {
+ "args" : {
+ "oneOf" : [ {
"type" : "string"
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid" : {
- "oneOf" : [ {
+ },
+ "id" : {
"type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_used_at" : {
- "oneOf" : [ {
+ },
+ "is_error" : {
+ "type" : "boolean"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "result" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "role" : {
+ "const" : "agent"
+ },
+ "status" : {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "started", "ended" ]
+ },
+ "type" : {
+ "const" : "tool_call"
+ }
},
- "metabase_version" : {
- "oneOf" : [ {
+ "required" : [ "id", "role", "type", "name", "args", "status" ]
+ }, {
+ "type" : "object",
+ "properties" : {
+ "id" : {
"type" : "string"
- }, {
- "type" : "null"
- } ]
+ },
+ "part" : {
+ "type" : "object",
+ "properties" : {
+ "data" : { },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type", "data" ]
+ },
+ "role" : {
+ "const" : "agent"
+ },
+ "type" : {
+ "const" : "data_part"
+ }
},
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "id", "role", "type", "part" ]
+ } ]
+ },
+ "metabase.metabot.schema.client-message-status" : {
+ "description" : "Where a message's turn got to.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "const" : "done"
+ }
},
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type" ]
+ }, {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "const" : "aborted"
+ }
},
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type" ]
+ }, {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "const" : "in_progress"
+ }
},
- "card_schema" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type" ]
+ }, {
+ "type" : "object",
+ "properties" : {
+ "error" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "object",
+ "properties" : {
+ "data" : { },
+ "message" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "type" : "string"
+ }
+ }
+ } ]
+ },
+ "type" : {
+ "const" : "errored"
+ }
},
- "metabot_conversation_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type", "error" ]
+ } ]
+ },
+ "metabase.metabot.schema.column-info" : {
+ "description" : "A chart column's name and inferred type, as sent for chart analysis. Mirrors\n `metabase.metabot.context/ColumnInfoSchema`.",
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
},
- "dashboard_id" : {
+ "type" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ "type" : "string",
+ "enum" : [ "boolean", "string", "null", "number", "time", "datetime", "date" ]
}, {
"type" : "null"
} ]
}
},
+ "required" : [ "name" ],
"additionalProperties" : false
},
- "metabase.queries.schema..card.visualization-settings" : {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
+ "metabase.metabot.schema.query" : {
+ "description" : "An MBQL 5 or legacy query in any state of normalization, as it round-trips through tool-call JSON or persisted turn state.",
+ "$ref" : "#/components/schemas/metabase.lib.util.query-like"
},
- "metabase.queries.schema..param-field.name-field" : {
- "description" : "A Field trimmed to the columns a parameter widget needs, as the `:name_field` hydration attaches it.",
- "type" : "object",
- "properties" : {
- "settings" : {
+ "metabase.metabot.schema.row-value" : {
+ "description" : "One cell value in a chart series. The `object` arm is never read by this code -- it's forwarded to the\n interestingness stats/repr code as-is -- so it's opaque rather than typed. Mirrors\n `metabase.metabot.context/RowValueSchema`.",
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "number"
+ }, {
+ "type" : "boolean"
+ }, {
+ "description" : "Value must be a map.",
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema..field.settings"
+ "type" : "object",
+ "additionalProperties" : { }
}, {
- "type" : "null"
+ "description" : "Value must be a map."
} ]
- },
- "base_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.metabot.schema.series-config" : {
+ "description" : "One series of a chart, pre-materialized by the frontend for `analyze_chart`. Mirrors\n `metabase.metabot.context/SeriesConfigSchema`.",
+ "type" : "object",
+ "properties" : {
+ "chart_type" : {
+ "anyOf" : [ {
+ "type" : "string"
}, {
- "type" : "null"
+ "type" : "string"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "name" : {
+ "display_name" : {
"type" : "string"
},
- "semantic_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
+ "stacked" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "has_field_values" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "x" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
},
- "display_name" : {
+ "x_values" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.row-value"
+ }
}, {
"type" : "null"
} ]
},
- "effective_type" : {
+ "y" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.metabot.schema.column-info"
}, {
"type" : "null"
} ]
},
- "fk_target_field_id" : {
+ "y_values" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.row-value"
+ }
}, {
"type" : "null"
} ]
}
},
- "required" : [ "id", "table_id", "display_name", "base_type", "effective_type", "name", "semantic_type", "has_field_values", "fk_target_field_id", "settings" ],
+ "required" : [ "x", "display_name", "chart_type" ],
"additionalProperties" : false
},
- "metabase.queries.schema..param-field.target" : {
- "description" : "A Field trimmed to the columns a parameter widget needs, as the `:name_field` hydration attaches it.",
+ "metabase.metabot.schema.state" : {
"type" : "object",
"properties" : {
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema..field.settings"
- }, {
- "type" : "null"
- } ]
+ "chart-configs" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart-config"
+ }
},
- "base_type" : {
+ "charts" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.chart"
+ }
+ },
+ "link-registry" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "queries" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.query"
+ }
+ },
+ "todos" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.todo"
+ }
+ },
+ "transforms" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.metabot.schema.transform"
+ }
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.state-map-key" : {
+ "description" : "A dynamic state-map key, normalized to its canonical string representation.",
+ "type" : "string"
+ },
+ "metabase.metabot.schema.todo" : {
+ "description" : "One todo item of persisted turn state; only `:id` is guaranteed, since state can hold a partial item\n between the turn that creates it and the turn that fills in its details.",
+ "type" : "object",
+ "properties" : {
+ "content" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
"id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "string"
},
- "name_field" : {
+ "priority" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..param-field.name-field"
+ "type" : "string",
+ "enum" : [ "high", "medium", "low" ]
}, {
"type" : "null"
} ]
},
- "name" : {
- "type" : "string"
- },
- "semantic_type" : {
+ "status" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string",
+ "enum" : [ "pending", "in_progress", "completed", "cancelled" ]
}, {
"type" : "null"
} ]
- },
- "table_id" : {
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.metabot.schema.transform" : {
+ "type" : "object",
+ "properties" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "has_field_values" : {
+ "id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "display_name" : {
+ "name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "effective_type" : {
+ "source" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.metabot.schema..transform.source"
}, {
"type" : "null"
} ]
},
- "fk_target_field_id" : {
+ "target" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "$ref" : "#/components/schemas/metabase.metabot.schema..transform.target"
}, {
"type" : "null"
} ]
}
},
- "required" : [ "id", "table_id", "display_name", "base_type", "effective_type", "name", "semantic_type", "has_field_values", "fk_target_field_id", "settings" ],
"additionalProperties" : false
},
- "metabase.queries.schema.card" : {
- "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
+ "metabase.metrics.api.BreakoutValuesResponse" : {
"type" : "object",
"properties" : {
- "dashboard" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.dashboards.schema.dashboard"
- }, {
- "type" : "null"
- } ]
+ "col" : {
+ "type" : "object",
+ "properties" : { }
},
- "persisted/table_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "values" : {
+ "type" : "array",
+ "items" : { }
+ }
+ },
+ "required" : [ "values", "col" ]
+ },
+ "metabase.metrics.api.DatasetRequest" : {
+ "description" : "Schema for POST /dataset request body.",
+ "type" : "object",
+ "properties" : {
+ "definition" : {
+ "$ref" : "#/components/schemas/metabase.metrics.api.Definition"
+ }
+ },
+ "required" : [ "definition" ],
+ "additionalProperties" : false
+ },
+ "metabase.metrics.api.DatasetResponse" : {
+ "description" : "Schema for POST /dataset response.",
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "object",
+ "properties" : {
+ "cols" : {
+ "type" : "array",
+ "items" : { }
+ },
+ "rows" : {
+ "type" : "array",
+ "items" : { }
+ }
+ },
+ "required" : [ "cols", "rows" ]
},
- "enable_embedding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "row_count" : {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ },
+ "status" : {
+ "enum" : [ "completed", "completed" ]
+ }
+ },
+ "required" : [ "status", "data", "row_count" ]
+ },
+ "metabase.metrics.api.Definition" : {
+ "description" : "Schema for the definition object within a dataset request.\n Uses expression-based contract for metric math support.",
+ "type" : "object",
+ "properties" : {
+ "expression" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.metric-math-expression"
},
- "collection_name" : {
+ "filters" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.instance-filters"
}, {
"type" : "null"
} ]
},
- "collection_authority_level" : {
+ "projections" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.typed-projections"
}, {
"type" : "null"
} ]
- },
- "last-edit-info" : {
+ }
+ },
+ "required" : [ "expression" ],
+ "additionalProperties" : false
+ },
+ "metabase.metrics.api.Metric" : {
+ "description" : "Schema for a Metric in list responses (without hydrated dimensions).",
+ "type" : "object",
+ "properties" : {
+ "collection" : {
"oneOf" : [ {
"type" : "object",
"properties" : {
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
"id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
@@ -32304,36 +21472,16 @@
"type" : "null"
} ]
},
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "timestamp" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
}
},
- "required" : [ "timestamp", "id", "first_name", "last_name", "email" ],
- "additionalProperties" : false
- }, {
- "type" : "null"
- } ]
- },
- "visualization_settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
+ "required" : [ "id", "name" ]
}, {
"type" : "null"
} ]
},
- "dashboard_tab_id" : {
+ "collection_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -32342,1422 +21490,2285 @@
"type" : "null"
} ]
},
- "dimension_mappings" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
- }
- }, {
- "type" : "null"
- } ]
- },
- "cache_invalidated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "collection_preview" : {
+ "description" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "can_manage_db" : {
- "type" : "boolean"
- },
- "dashboard_count" : {
- "type" : "integer"
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "can_delete" : {
- "type" : "boolean"
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "id", "name", "description", "collection_id" ]
+ },
+ "metabase.metrics.api.MetricWithDimensions" : {
+ "description" : "Schema for a Metric in list responses (without hydrated dimensions).",
+ "type" : "object",
+ "properties" : {
+ "dimension_mappings" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metrics.dimension.dimension-mapping"
+ }
},
- "initially_published_at" : {
+ "collection" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "id", "name" ]
}, {
"type" : "null"
} ]
},
- "view_count" : {
+ "dataset_query" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "result_column_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "persisted/state" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "authority_level" : {
+ "name" : {
+ "type" : "string"
+ },
+ "dimensions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.metrics.dimension.dimension"
+ }
+ },
+ "database_id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "collection" : {
+ "collection_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection-or-root"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "dataset_query" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
+ "type" : "string"
}, {
"type" : "null"
} ]
- },
- "parameter_mappings" : {
+ }
+ },
+ "required" : [ "id", "name", "description", "collection_id", "dimensions", "dimension_mappings" ]
+ },
+ "metabase.metrics.api.RemappedValueResponse" : {
+ "description" : "Response schema for dimension remapping endpoint.\n Returns [value] if no remapping, or [value, display-name] if remapped.",
+ "anyOf" : [ {
+ "type" : "array",
+ "prefixItems" : [ { } ]
+ }, {
+ "type" : "array",
+ "prefixItems" : [ { }, {
+ "type" : "string"
+ } ]
+ } ]
+ },
+ "metabase.metrics.dimension.dimension" : {
+ "description" : "Schema for a persisted dimension definition with status tracking.",
+ "type" : "object",
+ "properties" : {
+ "sources" : {
"oneOf" : [ {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
+ "$ref" : "#/components/schemas/metabase.metrics.dimension.source"
}
}, {
"type" : "null"
} ]
},
- "metabot_chart_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
+ "group" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ "$ref" : "#/components/schemas/metabase.metrics.dimension.group"
}, {
"type" : "null"
} ]
},
- "embedding_type" : {
+ "display-name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "moderation_reviews" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.content-verification.schema.moderation-review"
- }
- },
- "verified-result-metadata?" : {
- "type" : "boolean"
- },
- "parameter_usage_count" : {
- "type" : "integer"
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
},
- "persisted/definition" : {
+ "effective-type" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "document" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema.document"
- }, {
- "type" : "null"
- } ]
- },
- "moderated-status" : {
+ "name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "is_remote_synced" : {
- "type" : "boolean"
- },
- "made_public_by_id" : {
+ "status" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-status"
}, {
"type" : "null"
} ]
},
- "name" : {
+ "has-field-values" : {
"oneOf" : [ {
"type" : "string"
}, {
- "type" : "null"
- } ]
- },
- "archived" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "collection_position" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "integer"
- }, {
- "type" : "array",
- "prefixItems" : [ {
- "type" : "string",
- "enum" : [ "+", "-" ]
- }, {
- "const" : "collection_position"
- }, {
- "const" : 1
- } ]
- } ]
+ "type" : "null"
+ } ]
+ },
+ "status-message" : {
+ "oneOf" : [ {
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "download_perms" : {
+ "default-temporal-unit" : {
"oneOf" : [ {
- "type" : "string",
- "enum" : [ "none", "limited", "full" ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "dashboardcard_id" : {
+ "lib/source" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashcard"
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.source"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "dimensions" : {
+ "dimension-interestingness" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
- }
+ "type" : "number"
}, {
"type" : "null"
} ]
},
- "query_description" : {
+ "default" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "location" : {
+ "semantic-type" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "database_id" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "type" : "string"
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "id" ]
+ },
+ "metabase.metrics.dimension.dimension-mapping" : {
+ "description" : "Schema for a dimension mapping.",
+ "type" : "object",
+ "properties" : {
+ "dimension-id" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-id"
},
- "embedding_params" : {
+ "table-id" : {
"oneOf" : [ {
- "description" : "value must be a valid embedding params map.",
- "oneOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "type" : "null"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "target" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-mapping.target"
+ },
+ "type" : {
+ "description" : "Type of dimension mapping.",
+ "type" : "string",
+ "enum" : [ "table" ]
+ }
+ },
+ "required" : [ "dimension-id", "target" ],
+ "additionalProperties" : false
+ },
+ "metabase.metrics.dimension.group" : {
+ "description" : "Group descriptor for a dimension, indicating which table it belongs to.",
+ "type" : "object",
+ "properties" : {
+ "display-name" : {
+ "type" : "string"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "main", "connection" ]
+ }
+ },
+ "required" : [ "id", "type", "display-name" ]
+ },
+ "metabase.metrics.dimension.source" : {
+ "description" : "A dimension source annotated with its wire-encoding rules. Quirks preserved from the previous\n hand-rolled shape: entries keep their kebab-case `:field-id` key on the wire (no key renaming),\n `:field-id` is always present (nil when missing), and other keys (e.g. `:binning`) are dropped.",
+ "type" : "object",
+ "properties" : {
+ "field-id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "const" : "updated_at"
- } ]
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "dataset_query_metrics_v2_migration_backup" : {
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema..dimension-source.type"
+ }
+ },
+ "required" : [ "type" ]
+ },
+ "metabase.notification.api.admin.bulk-response" : {
+ "type" : "object",
+ "properties" : {
+ "updated" : {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "required" : [ "updated" ]
+ },
+ "metabase.notification.api.admin.channel-entry" : {
+ "description" : "One channel delivery attempt within a tick.",
+ "type" : "object",
+ "properties" : {
+ "channel_type" : {
+ "type" : "string"
+ },
+ "error" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "table_id" : {
+ "status" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
+ }
+ },
+ "required" : [ "channel_type", "status", "error" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.api.admin.detail-response" : {
+ "type" : "object",
+ "properties" : {
+ "last_check" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
}, {
"type" : "null"
} ]
},
- "legacy_query" : {
+ "payload_type" : {
+ "type" : "string"
+ },
+ "payload_id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "document_id" : {
+ "send_history" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.tick-send-entry"
+ }
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "check_history" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
+ }
+ },
+ "last_send" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
}, {
"type" : "null"
} ]
},
- "result_metadata" : {
+ "updated_at" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "created_at" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "creator_id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
- }, {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
- }
- } ]
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "id", "active", "creator_id", "created_at", "updated_at", "payload_type", "payload_id", "last_check", "last_send", "check_history", "send_history" ]
+ },
+ "metabase.notification.api.admin.list-response" : {
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.list-row"
+ }
},
- "source_card_id" : {
+ "limit" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "dashboard_name" : {
+ "offset" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
}, {
"type" : "null"
} ]
},
- "query_type" : {
+ "total" : {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "required" : [ "data", "total", "limit", "offset" ]
+ },
+ "metabase.notification.api.admin.list-row" : {
+ "type" : "object",
+ "properties" : {
+ "last_check" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
}, {
"type" : "null"
} ]
},
- "can_write" : {
- "type" : "boolean"
+ "payload_type" : {
+ "type" : "string"
},
- "collection_id" : {
+ "payload_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "last_send" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-summary"
}, {
"type" : "null"
} ]
},
- "based_on_upload" : {
+ "updated_at" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "created_at" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "active" : {
+ "type" : "boolean"
+ },
+ "creator_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "id", "active", "creator_id", "created_at", "updated_at", "payload_type", "payload_id", "last_check", "last_send" ]
+ },
+ "metabase.notification.api.admin.run-status" : {
+ "type" : "string",
+ "enum" : [ "failing", "successful" ]
+ },
+ "metabase.notification.api.admin.run-summary" : {
+ "type" : "object",
+ "properties" : {
+ "at" : {
+ "type" : "string",
+ "format" : "date-time"
},
- "moderated_status" : {
+ "error" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "type" : {
+ "status" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
+ }
+ },
+ "required" : [ "at", "error", "status" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.api.admin.sort-column" : {
+ "type" : "string",
+ "enum" : [ "id", "last_send", "last_check", "card_name", "creator_name", "updated_at" ]
+ },
+ "metabase.notification.api.admin.sort-direction" : {
+ "type" : "string",
+ "enum" : [ "asc", "desc" ]
+ },
+ "metabase.notification.api.admin.tick-send-entry" : {
+ "description" : "One tick's worth of sends, rolled up across all channels that fired in that tick.",
+ "type" : "object",
+ "properties" : {
+ "at" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "channels" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.channel-entry"
+ }
+ },
+ "error" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "in_dashboards" : {
- "oneOf" : [ {
+ "status" : {
+ "$ref" : "#/components/schemas/metabase.notification.api.admin.run-status"
+ }
+ },
+ "required" : [ "at", "status", "error", "channels" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.api.notification.CreateNotificationParams" : {
+ "description" : "Notification schema for a create request, or for sending one that was never saved. Like\n FullyHydratedNotification but restricts templates to user-provided types only (no handlebars-resource),\n and carries no ids since the body has no row of its own.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
+ },
+ "handlers" : {
"type" : "array",
"items" : {
+ "description" : "Schema for :model/NotificationHandler on a create request.",
"type" : "object",
"properties" : {
- "archived" : {
- "type" : "boolean"
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationRecipientParams"
+ }
+ },
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ }
+ },
+ "creator" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "internal_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationCardParams"
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "subscriptions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationSubscriptionParams"
+ }
+ }
+ },
+ "required" : [ "payload_type", "payload" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
+ },
+ "handlers" : {
+ "type" : "array",
+ "items" : {
+ "description" : "Schema for :model/NotificationHandler on a create request.",
+ "type" : "object",
+ "properties" : {
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
},
- "collection_id" : {
+ "channel_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "description" : {
+ "updated_at" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "enable_embedding" : {
- "type" : "boolean"
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationRecipientParams"
+ }
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
+ }, {
+ "type" : "null"
+ } ]
},
- "name" : {
- "type" : "string"
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
}
},
- "required" : [ "id", "name", "collection_id", "description", "archived", "enable_embedding" ],
+ "required" : [ "channel_type" ],
"additionalProperties" : false
}
- }, {
- "type" : "null"
- } ]
- },
- "last_query_start" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "persisted/query_hash" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "query_average_duration" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
- "param_fields" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema.param-field"
- }
- }
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "display" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ },
+ "creator" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "persisted" : {
- "type" : "boolean"
- },
- "public_uuid" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "can_restore" : {
- "type" : "boolean"
- },
- "last_used_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "persisted/active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "parameters" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
- }
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "metabase_version" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "archived_directly" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "public_uuid_prefix" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "in_library" : {
- "type" : "boolean"
- },
- "entity-coll-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "card_schema" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "metabot_conversation_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "dashboard_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
- }, {
- "type" : "null"
- } ]
- },
- "average_query_time" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.queries.schema.param-field" : {
- "description" : "A Field trimmed to the columns a parameter widget needs, as the `:name_field` hydration attaches it.",
- "type" : "object",
- "properties" : {
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema..field.settings"
- }, {
- "type" : "null"
- } ]
- },
- "base_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
+ "type" : "null"
+ } ]
+ },
+ "internal_id" : {
+ "oneOf" : [ {
"type" : "string"
+ }, {
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "name_field" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..param-field.name-field"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..SystemEventPayload.request"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "subscriptions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.CreateNotificationSubscriptionParams"
+ }
+ }
},
- "dimensions" : {
- "type" : "array",
- "items" : {
- "description" : "What an update (or insert) of a Dimension accepts: every column of `:dimension` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "human_readable_field" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..param-field.name-field"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "human_readable_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "required" : [ "payload_type" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.notification.api.notification.NotificationApiUpdateInput" : {
+ "description" : "Notification schema for an update request, restricted to what `notification-update-spec` writes. On PUT\n the URL, not the body, identifies the target (RFC 9110 §9.3.4), so a client-sent id is stripped.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "handlers" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
+ },
+ "channel_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
+ }
+ },
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ }
+ },
+ "internal_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationCardUpdate"
+ },
+ "payload_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
+ },
+ "subscriptions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
+ }
}
},
- "semantic_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "required" : [ "payload_type", "payload" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "has_field_values" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "display_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..param-field.target"
- }, {
- "type" : "null"
- } ]
- },
- "effective_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
+ },
+ "handlers" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
+ }
+ },
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplateUserProvided"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ }
+ },
+ "internal_id" : {
+ "oneOf" : [ {
"type" : "string"
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "fk_target_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "table_id", "display_name", "base_type", "effective_type", "name", "semantic_type", "has_field_values", "fk_target_field_id", "settings" ],
- "additionalProperties" : false
- },
- "metabase.query-processor.schema..query-result.data" : {
- "description" : "Schema for the :data key of query results.",
- "type" : "object",
- "properties" : {
- "insights" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : { }
- }
- },
- "results_metadata" : {
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.query-processor.schema..result-metadata.column"
- }
- }
},
- "required" : [ "columns" ]
- },
- "download_perms" : {
- "type" : "string"
- },
- "format-rows?" : {
- "type" : "boolean"
- },
- "is_sandboxed" : {
- "type" : "boolean"
- },
- "cols" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.query-processor.schema..result-metadata.column"
- }
- },
- "results_timezone" : {
- "type" : "string"
- },
- "rows" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : { }
- }
- },
- "native_form" : {
- "type" : "object",
- "properties" : { }
- }
- },
- "required" : [ "cols", "rows" ]
- },
- "metabase.query-processor.schema..result-metadata.column" : {
- "description" : "A single result metadata column as returned by the Query Processor.",
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
- },
- "metabase.query-processor.schema.export-format" : {
- "description" : "Schema for valid export formats for downloading query results.",
- "type" : "string",
- "enum" : [ "csv", "api", "xlsx", "json" ]
+ "payload" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..SystemEventPayload.request"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
+ },
+ "subscriptions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
+ }
+ }
+ },
+ "required" : [ "payload_type" ],
+ "additionalProperties" : false
+ } ]
},
- "metabase.query-processor.schema.query-result" : {
- "description" : "Schema for query execution results returned by the Query Processor.",
+ "metabase.notification.models..SystemEventPayload.request" : {
+ "description" : "The `:payload` of a system event notification as a client may send it: the event topic, plus the `:disable_links`\n `POST /api/notification` stamps on. The event map itself is the server's to supply, so a request carries none.",
"type" : "object",
"properties" : {
- "row_count" : {
- "type" : "integer"
- },
- "error" : {
- "type" : "string"
- },
- "started_at" : {
- "type" : "string"
- },
- "database_id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- },
- "context" : { },
- "status" : {
- "type" : "string",
- "enum" : [ "completed", "failed" ]
- },
- "error_type" : {
- "type" : "string"
- },
- "running_time" : {
- "type" : "integer"
- },
- "json_query" : {
- "type" : "object",
- "properties" : { }
- },
- "average_execution_time" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "cached" : {
+ "disable_links" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "data" : {
- "$ref" : "#/components/schemas/metabase.query-processor.schema..query-result.data"
- }
- },
- "required" : [ "status", "row_count" ]
- },
- "metabase.security-center.schema.advisory-id" : {
- "type" : "string",
- "minLength" : 1
- },
- "metabase.security-center.schema.affected-versions" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.security-center.schema.version-range"
- }
- },
- "metabase.security-center.schema.download-jar-url" : {
- "description" : "A downloadable JAR for a given fixed version.",
- "type" : "object",
- "properties" : {
- "url" : {
- "type" : "string"
- },
- "version" : {
- "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
- }
- },
- "required" : [ "version", "url" ],
- "additionalProperties" : false
- },
- "metabase.security-center.schema.download-jar-urls" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.security-center.schema.download-jar-url"
- }
- },
- "metabase.security-center.schema.match-status" : {
- "type" : "string",
- "enum" : [ "unknown", "active", "resolved", "not_affected", "error" ]
- },
- "metabase.security-center.schema.semver" : {
- "type" : "string",
- "pattern" : "^\\d+(?:\\.\\d+)*$"
- },
- "metabase.security-center.schema.severity" : {
- "type" : "string",
- "enum" : [ "critical", "high", "medium", "low" ]
- },
- "metabase.security-center.schema.version-range" : {
- "description" : "A single affected version range with inclusive min and exclusive fixed.",
- "type" : "object",
- "properties" : {
- "fixed" : {
- "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
- },
- "min" : {
- "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
+ "event_topic" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.event-topic"
}
},
- "required" : [ "min", "fixed" ],
"additionalProperties" : false
},
- "metabase.segments.schema.definition" : {
- "description" : "value must be a valid MBQL query with a source table and filters.",
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
- },
- "metabase.source-swap.schema.column-error" : {
- "type" : "string",
- "enum" : [ "column-type-mismatch", "missing-primary-key", "missing-foreign-key", "foreign-key-mismatch" ]
- },
- "metabase.sso.schema.group-mappings" : {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- }
- }, {
- "description" : "Value must be a map."
- } ]
- },
- "metabase.sync.schedules.ExpandedSchedulesMap" : {
- "description" : "value must be a valid map of schedule maps for a DB.",
+ "metabase.notification.models..event-info.comment-created" : {
+ "description" : "The `:event_info` of an `:event/comment-created` system event.",
"type" : "object",
"properties" : {
- "cache_field_values" : {
+ "parent_author" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "metadata_sync" : {
- "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
- }
- },
- "additionalProperties" : false
- },
- "metabase.task-history.api.RunEntity" : {
- "type" : "object",
- "properties" : {
- "entity_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "comment_href" : {
+ "type" : "string"
},
- "entity_name" : {
+ "entity_title" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "entity_type" : {
- "type" : "string",
- "enum" : [ "dashboard", "card", "database" ]
- }
- },
- "required" : [ "entity_type", "entity_id" ]
- },
- "metabase.task-history.api.RunFilterParams" : {
- "type" : "object",
- "properties" : {
- "entity-id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "entity-type" : {
- "type" : "string",
- "enum" : [ "dashboard", "card", "database" ]
- },
- "run-type" : {
- "type" : "string",
- "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
- },
- "started-at" : {
- "type" : "string",
- "minLength" : 1
- },
- "status" : {
- "type" : "string",
- "enum" : [ "started", "success", "failed", "abandoned" ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.task-history.api.RunSortParams" : {
- "type" : "object",
- "properties" : {
- "sort-column" : {
- "default" : "started_at",
- "type" : "string",
- "enum" : [ "started_at", "run_type", "entity_name", "ended_at", "status", "task_count" ]
- },
- "sort-direction" : {
- "default" : "desc",
- "type" : "string",
- "enum" : [ "asc", "desc" ]
- }
- },
- "required" : [ ],
- "additionalProperties" : false
- },
- "metabase.task-history.api.TaskHistory" : {
- "type" : "object",
- "properties" : {
- "task_details" : {
+ "author" : {
"oneOf" : [ {
- "type" : "object",
- "properties" : { }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "started_at" : { },
- "ended_at" : {
- "oneOf" : [ { }, {
- "type" : "null"
- } ]
+ "email" : {
+ "description" : "value must be a valid email address.",
+ "type" : "string"
},
- "status" : {
- "type" : "string",
- "enum" : [ "started", "success", "failed", "unknown" ]
+ "style" : {
+ "type" : "object",
+ "properties" : {
+ "color_text_dark" : {
+ "type" : "string"
+ },
+ "color_text_light" : {
+ "type" : "string"
+ },
+ "color_text_medium" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "color_text_dark", "color_text_light", "color_text_medium" ],
+ "additionalProperties" : false
},
- "logs" : {
- "oneOf" : [ { }, {
+ "parent_comment" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
"type" : "null"
} ]
},
- "task" : {
+ "entity_href" : {
"type" : "string"
},
- "duration" : {
+ "created_at" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "run_id" : {
+ "comment" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "string"
}, {
"type" : "null"
} ]
+ },
+ "entity_type" : {
+ "type" : "string"
}
},
- "required" : [ "id", "task", "started_at", "ended_at", "duration", "status" ]
+ "required" : [ "entity_type", "entity_title", "comment_href", "entity_href", "created_at", "author", "comment", "parent_author", "parent_comment", "style", "email" ],
+ "additionalProperties" : false
},
- "metabase.task-history.api.TaskRun" : {
+ "metabase.notification.models..event-info.notification-create" : {
+ "description" : "The `:event_info` of an `:event/notification-create` system event.",
"type" : "object",
"properties" : {
- "run_type" : {
- "type" : "string",
- "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
- },
- "entity_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "started_at" : { },
- "failed_count" : {
- "type" : "integer"
- },
- "ended_at" : {
- "oneOf" : [ { }, {
- "type" : "null"
- } ]
+ "object" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"
},
- "entity_name" : {
+ "user-id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
- },
- "status" : {
- "type" : "string",
- "enum" : [ "started", "success", "failed", "abandoned" ]
- },
- "task_count" : {
- "type" : "integer"
- },
- "success_count" : {
- "type" : "integer"
- },
- "entity_type" : {
- "type" : "string",
- "enum" : [ "dashboard", "card", "database" ]
}
},
- "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status" ]
+ "required" : [ "object", "user-id" ],
+ "additionalProperties" : false
},
- "metabase.task-history.api.TaskRunWithTasks" : {
+ "metabase.notification.models..event-info.security-advisory-match" : {
+ "description" : "The `:event_info` of an `:event/security-advisory-match` system event.",
"type" : "object",
"properties" : {
- "run_type" : {
- "type" : "string",
- "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
- },
- "tasks" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.task-history.api.TaskHistory"
- }
+ "object" : {
+ "type" : "object",
+ "properties" : {
+ "advisory_id" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "advisory_url" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "affected_versions" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "fixed" : {
+ "type" : "string",
+ "pattern" : "^\\d+(?:\\.\\d+)*$"
+ },
+ "min" : {
+ "type" : "string",
+ "pattern" : "^\\d+(?:\\.\\d+)*$"
+ }
+ },
+ "required" : [ "min", "fixed" ],
+ "additionalProperties" : false
+ }
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "match_status" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "remediation" : {
+ "type" : "string"
+ },
+ "severity" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "title" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "advisory_id", "severity", "title", "description", "match_status", "advisory_url", "remediation", "affected_versions" ],
+ "additionalProperties" : false
+ }
+ },
+ "required" : [ "object" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.models..event-info.support-access-grant-created" : {
+ "description" : "The `:event_info` of an `:event/support-access-grant-created` system event.",
+ "type" : "object",
+ "properties" : {
+ "duration_minutes" : {
+ "type" : "integer"
},
- "entity_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "grant_end_time" : {
+ "type" : "string",
+ "format" : "date-time"
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "notes" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
},
- "started_at" : { },
- "failed_count" : {
- "type" : "integer"
+ "password_reset_url" : {
+ "type" : "string"
},
- "ended_at" : {
- "oneOf" : [ { }, {
+ "support_email" : {
+ "oneOf" : [ {
+ "description" : "value must be a valid email address.",
+ "type" : "string"
+ }, {
"type" : "null"
} ]
},
- "entity_name" : {
+ "ticket_number" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "status" : {
- "type" : "string",
- "enum" : [ "started", "success", "failed", "abandoned" ]
- },
- "task_count" : {
- "type" : "integer"
- },
- "success_count" : {
- "type" : "integer"
- },
- "entity_type" : {
- "type" : "string",
- "enum" : [ "dashboard", "card", "database" ]
}
},
- "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status", "tasks" ]
+ "required" : [ "support_email", "ticket_number", "duration_minutes", "grant_end_time", "password_reset_url", "notes" ],
+ "additionalProperties" : false
},
- "metabase.task-history.api.TaskRunsResponse" : {
+ "metabase.notification.models..event-info.transform-failed" : {
+ "description" : "The `:event_info` of an `:event/transform-failed` system event.",
"type" : "object",
"properties" : {
- "data" : {
+ "email" : {
+ "description" : "value must be a valid email address.",
+ "type" : "string"
+ },
+ "failure_count" : {
+ "type" : "integer"
+ },
+ "failures" : {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.task-history.api.TaskRun"
+ "type" : "object",
+ "properties" : {
+ "message" : {
+ "type" : "object",
+ "properties" : {
+ "details" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "first_line" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "first_line", "details" ],
+ "additionalProperties" : false
+ },
+ "transform_href" : {
+ "type" : "string"
+ },
+ "transform_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "transform_name", "transform_href", "message" ],
+ "additionalProperties" : false
}
},
- "limit" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
+ "job_href" : {
+ "type" : "string"
},
- "offset" : {
+ "job_name" : {
"oneOf" : [ {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "total" : {
- "description" : "value must be an integer greater or equal to than zero.",
- "type" : "integer",
- "minimum" : 0
+ "skipped_count" : {
+ "type" : "integer"
}
},
- "required" : [ "total", "limit", "offset", "data" ]
- },
- "metabase.tiles.api.legacy-ref" : {
- "description" : "Form-encoded JSON-encoded legacy MBQL :field ref.",
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
- },
- "metabase.tiles.api.query" : {
- "description" : "Form-encoded JSON-encoded MBQL query.",
- "$ref" : "#/components/schemas/metabase.lib.schema.query"
+ "required" : [ "email", "job_name", "job_href", "failure_count", "skipped_count", "failures" ],
+ "additionalProperties" : false
},
- "metabase.timeline.api.timeline.Timeline" : {
+ "metabase.notification.models..event-info.transform-failure-digest" : {
+ "description" : "The `:event_info` of an `:event/transform-failure-digest` system event.",
"type" : "object",
"properties" : {
- "id" : {
- "type" : "integer",
- "minimum" : 1
+ "failure_count" : {
+ "type" : "integer"
+ },
+ "job_count" : {
+ "type" : "integer"
+ },
+ "jobs" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "failure_count" : {
+ "type" : "integer"
+ },
+ "first_failed" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "job_href" : {
+ "type" : "string"
+ },
+ "job_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "latest_error" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "job_name", "job_href", "failure_count", "first_failed", "latest_error" ],
+ "additionalProperties" : false
+ }
}
},
- "required" : [ "id" ]
- },
- "metabase.timeline.api.timeline.include" : {
- "type" : "string",
- "enum" : [ "events" ]
+ "required" : [ "job_count", "failure_count", "jobs" ],
+ "additionalProperties" : false
},
- "metabase.transforms-base.util.source-table-entry" : {
- "description" : "A source table entry in the array format. Combines alias with table reference. Callers may supply just\n `:table_id` (looked up to fill in `:database_id`/`:schema`/`:table`) or just\n `:database_id`/`:schema`/`:table` (looked up to fill in `:table_id`), so only `:alias` is required.",
+ "metabase.notification.models..event-info.user-invited" : {
+ "description" : "The `:event_info` of an `:event/user-invited` system event: the invited User instance, plus the extra keys\n `create-and-invite-user!` stamps on it. `:object` is typed by instance, not by shape, since the extra keys are\n `assoc`ed onto the real Toucan row rather than replacing it.",
"type" : "object",
"properties" : {
- "alias" : {
- "type" : "string"
- },
- "database_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "table" : {
- "type" : "string"
+ "details" : {
+ "type" : "object",
+ "properties" : {
+ "invitor" : {
+ "type" : "object",
+ "properties" : {
+ "email" : {
+ "description" : "value must be a valid email address.",
+ "type" : "string"
+ },
+ "first_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "email" ],
+ "additionalProperties" : false
+ }
+ },
+ "required" : [ "invitor" ],
+ "additionalProperties" : false
},
- "table_id" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "object" : {
+ "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "login_attributes" : {
+ "oneOf" : [ {
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "sso_source" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "jwt_attributes" : {
+ "oneOf" : [ {
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_qbnewb" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_group_memberships" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "entity_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "reset_token" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "deactivated_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_from_setup" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "invite_method" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last_login" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ },
+ "email" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "password_salt" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "deactivated_with_tenant" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_data_analyst" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "locale" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_datasetnewb" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "reset_triggered" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_superuser" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "tenant_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "attributes" : {
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "first_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "date_joined" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "password" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "invite_target" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "question" ]
+ }
+ },
+ "required" : [ "type", "id", "name" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "common_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
}
},
- "required" : [ "alias" ],
+ "required" : [ "object" ],
"additionalProperties" : false
},
- "metabase.transforms-rest.api.transform.run-trigger" : {
- "type" : "string",
- "enum" : [ "none", "global-schedule" ]
- },
- "metabase.transforms.schema..transform-run.update" : {
- "description" : "What an update (or insert) of a TransformRun accepts: every column of `:transform_run` except `id`, all optional.",
+ "metabase.notification.models.CreateNotificationCardParams" : {
+ "description" : "Schema for :model/NotificationCard on a create request.",
"type" : "object",
"properties" : {
- "message" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "user_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_hi_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "transform_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }, {
- "type" : "null"
- } ]
- },
- "run_method" : {
+ "card" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
+ "type" : "object",
+ "properties" : {
+ "enable_embedding" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "visualization_settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension_mappings" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cache_invalidated_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_preview" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "initially_published_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "view_count" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dataset_query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameter_mappings" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabot_chart_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "embedding_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "verified-result-metadata?" : {
+ "type" : "boolean"
+ },
+ "made_public_by_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "archived" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_position" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "array",
+ "prefixItems" : [ {
+ "type" : "string",
+ "enum" : [ "+", "-" ]
+ }, {
+ "const" : "collection_position"
+ }, {
+ "const" : 1
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimensions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query_description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "embedding_params" : {
+ "oneOf" : [ {
+ "description" : "value must be a valid embedding params map.",
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dataset_query_metrics_v2_migration_backup" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "legacy_query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "document_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "result_metadata" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
+ }
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source_card_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cache_ttl" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "public_uuid" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last_used_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase_version" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "archived_directly" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "public_uuid_prefix" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "card_schema" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabot_conversation_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dashboard_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
}, {
"type" : "null"
} ]
},
- "checkpoint_lo_value" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "card_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "status" : {
+ "created_at" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "format" : "date-time"
}, {
+ "description" : "value must be a valid date string",
"type" : "string"
} ]
}, {
"type" : "null"
} ]
},
- "transform_entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "checkpoint_filter_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "end_time" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "last_heartbeat" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "metered_as" : {
+ "disable_links" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "dag_run_id" : {
+ "notification_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -33766,417 +23777,499 @@
"type" : "null"
} ]
},
- "transform_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "send_condition" : {
+ "type" : "string",
+ "enum" : [ "goal_below", "has_result", "goal_above" ]
},
- "start_time" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "send_once" : {
+ "type" : "boolean"
},
- "job_run_id" : {
+ "updated_at" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
}
},
+ "required" : [ "card_id" ],
"additionalProperties" : false
},
- "metabase.transforms.schema..transform.owner" : {
- "description" : "The `:owner` hydrated onto a Transform: its owning User, or just the `:email` of an owner outside Metabase.",
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string"
- }
- },
- "required" : [ "email" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.transforms.schema..transform.source" : {
- "description" : "The `:source` column of a Transform, decoded.",
- "$ref" : "#/components/schemas/metabase.transforms.schema.transform-source"
- },
- "metabase.transforms.schema..transform.table-dependency" : {
- "description" : "One entry of the `:table_dependencies` column of a Transform, decoded.",
- "anyOf" : [ {
- "type" : "object",
- "properties" : {
- "table" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }
- },
- "required" : [ "table" ],
- "additionalProperties" : false
- }, {
- "type" : "object",
- "properties" : {
- "transform" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }
- },
- "required" : [ "transform" ],
- "additionalProperties" : false
- } ]
- },
- "metabase.transforms.schema..transform.target" : {
- "description" : "The `:target` column of a Transform, decoded.",
- "$ref" : "#/components/schemas/metabase.transforms.schema.transform-target"
- },
- "metabase.transforms.schema..transform.update" : {
- "description" : "What an update (or insert) of a Transform accepts: every column of `:transform` except `id`, all optional, plus `:run_trigger` consumed by the model's hooks.",
+ "metabase.notification.models.CreateNotificationHandlerParams" : {
+ "description" : "Schema for :model/NotificationHandler on a create request.",
"type" : "object",
"properties" : {
- "source_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "source_database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "owner_email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "target_db_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "owner_user_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
+ "active" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "channel_id" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "table_dependencies" : {
+ "channel_type" : { },
+ "created_at" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.table-dependency"
- }
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "source" : {
+ "template_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.source"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "last_checkpoint_value" : {
+ "updated_at" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.models.CreateNotificationRecipientParams" : {
+ "description" : "Schema for :model/NotificationRecipient on a create request.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "details" : { },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
},
- "target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.target"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "type", "user_id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "details" : { },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group" : {
+ "oneOf" : [ {
+ "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "is_data_app_group" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_tenant_group" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "magic_group_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "members" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.permissions.schema..permissions-group.member"
+ }
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "permissions_group_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_id" : { }
+ },
+ "required" : [ "type", "permissions_group_id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "details" : {
+ "type" : "object",
+ "properties" : {
+ "channel_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "value" ],
+ "additionalProperties" : false
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_id" : { }
},
- "created_at" : {
- "oneOf" : [ {
+ "required" : [ "type", "details" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "details" : {
+ "type" : "object",
+ "properties" : {
+ "is_optional" : {
+ "type" : "boolean"
+ },
+ "pattern" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "pattern" ],
+ "additionalProperties" : false
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "type" : {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_id" : { }
},
- "creator_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
+ "required" : [ "type", "details" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.notification.models.CreateNotificationSubscriptionParams" : {
+ "description" : "Schema for :model/NotificationSubscription on a create request.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cron_schedule" : {
"type" : "null"
- } ]
- },
- "run_trigger" : {
- "oneOf" : [ {
+ },
+ "event_name" : {
"anyOf" : [ {
"type" : "string"
}, {
"type" : "string"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "target_table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.transforms.schema.append-config" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "const" : "append"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.checkpoint-strategy" : {
- "type" : "object",
- "properties" : {
- "checkpoint-filter-field-id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "lookback" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.lookback"
- }, {
- "type" : "null"
- } ]
- },
- "type" : {
- "const" : "checkpoint"
- }
- },
- "required" : [ "type" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.lookback" : {
- "description" : "A lookback window: each run re-reads source rows up to `value` `unit`s behind the checkpoint,\n so late-arriving rows older than the watermark still get picked up. Only supported for\n temporal checkpoint columns.",
- "type" : "object",
- "properties" : {
- "unit" : {
- "type" : "string",
- "enum" : [ "day", "hour", "millisecond", "minute", "month", "quarter", "second", "week", "year" ]
- },
- "value" : {
- "type" : "integer",
- "minimum" : 1
- }
- },
- "required" : [ "value", "unit" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.merge-config" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "const" : "merge"
- },
- "unique-key" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema.merge-key-column"
- }
- }
- },
- "required" : [ "type", "unique-key" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.merge-key-column" : {
- "description" : "One column of a merge unique key. Carries a resolved `:field-id` when the target column is known,\n degrading to a `:name` ref when the target table doesn't exist yet (mirrors `::source-table-entry`).",
- "type" : "object",
- "properties" : {
- "field-id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string",
- "minLength" : 1
- }
- },
- "additionalProperties" : false
- },
- "metabase.transforms.schema.orphaned-query" : {
- "description" : "The MBQL 5 query of a transform whose source database was deleted, kept as a breadcrumb with its `:database` nulled.",
- "type" : "object",
- "properties" : {
- "database" : {
- "type" : "null"
- },
- "lib/metadata" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
- },
- "lib/type" : {
- "const" : "mbql/query"
- },
- "stages" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.stages"
- }
- },
- "required" : [ "lib/type", "database", "stages" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.source-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.checkpoint-strategy"
- } ]
- },
- "metabase.transforms.schema.table-incremental-target" : {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "schema" : {
- "oneOf" : [ {
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
"type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
- },
- "target-incremental-strategy" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema.target-incremental-strategy"
+ "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ },
+ "ui_display_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "type" : {
- "const" : "table-incremental"
- }
- },
- "required" : [ "type", "name", "target-incremental-strategy" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.table-target" : {
- "type" : "object",
- "properties" : {
- "database" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
+ "required" : [ "type", "event_name" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cron_schedule" : {
+ "type" : "string"
+ },
+ "event_name" : {
"type" : "null"
- } ]
- },
- "name" : {
- "type" : "string"
- },
- "schema" : {
- "oneOf" : [ {
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
"type" : "string",
- "minLength" : 1
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ },
+ "ui_display_type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "cron/raw", "cron/builder" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "type" : {
- "const" : "table"
- }
- },
- "required" : [ "type", "name" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.target-incremental-strategy" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.append-config"
- }, {
- "$ref" : "#/components/schemas/metabase.transforms.schema.merge-config"
+ "required" : [ "type", "cron_schedule" ],
+ "additionalProperties" : false
} ]
},
- "metabase.transforms.schema.transform" : {
- "description" : "What an update (or insert) of a Transform accepts: every column of `:transform` except `id`, all optional, plus `:run_trigger` consumed by the model's hooks.",
+ "metabase.notification.models.EchoedUser" : {
+ "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
"type" : "object",
"properties" : {
- "table" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.table"
- }, {
- "type" : "null"
- } ]
- },
- "owner" : {
+ "login_attributes" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.owner"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "can_read" : {
- "type" : "boolean"
- },
- "source_type" : {
+ "sso_source" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
@@ -34187,73 +24280,63 @@
"type" : "null"
} ]
},
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "last_run" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.transform-run"
- }, {
- "type" : "null"
- } ]
- },
- "collection" : {
+ "jwt_attributes" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.collections.schema.collection-or-root"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "source_database_id" : {
+ "is_qbnewb" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
+ "user_group_memberships" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "entity_id" ],
+ "additionalProperties" : false
+ }
},
- "owner_email" : {
+ "reset_token" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "target_db_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "creator" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema.user"
- }, {
- "type" : "null"
- } ]
- },
- "owner_user_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
- "name" : {
+ "settings" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "deactivated_at" : {
"oneOf" : [ {
"type" : "string",
"format" : "date-time"
@@ -34261,245 +24344,172 @@
"type" : "null"
} ]
},
- "tag_ids" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
- }, {
- "type" : "null"
- } ]
- },
- "table_dependencies" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.table-dependency"
- }
- }, {
- "type" : "null"
- } ]
- },
- "can_write" : {
- "type" : "boolean"
- },
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
- },
- "can_execute" : {
- "type" : "boolean"
- },
- "source" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.source"
- }, {
- "type" : "null"
- } ]
- },
- "last_checkpoint_value" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema..transform.target"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "creator_id" : {
+ "is_active" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "run_trigger" : {
+ "last_login" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "format" : "date-time"
}, {
+ "description" : "value must be a valid date string",
"type" : "string"
} ]
}, {
"type" : "null"
} ]
},
- "target_table_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
},
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.transforms.schema.transform-run" : {
- "description" : "What an update (or insert) of a TransformRun accepts: every column of `:transform_run` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "message" : {
+ "email" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "user_id" : {
+ "password_salt" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "checkpoint_hi_value" : {
+ "deactivated_with_tenant" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_active" : {
+ "is_data_analyst" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "transform_id" : {
+ "locale" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "run_method" : {
+ "updated_at" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "checkpoint_lo_value" : {
+ "is_datasetnewb" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "status" : {
+ "reset_triggered" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "transform_entity_id" : {
+ "is_superuser" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "checkpoint_filter_field_id" : {
+ "tenant_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "end_time" : {
+ "last_name" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "last_heartbeat" : {
+ "attributes" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
}, {
"type" : "null"
} ]
},
- "metered_as" : {
+ "first_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "dag_run_id" : {
+ "type" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "transform_name" : {
+ "date_joined" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "start_time" : {
+ "password" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "job_run_id" : {
+ "common_name" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "string"
}, {
"type" : "null"
} ]
@@ -34508,104 +24518,419 @@
"required" : [ "id" ],
"additionalProperties" : false
},
- "metabase.transforms.schema.transform-source" : {
+ "metabase.notification.models.FullyHydratedNotification" : {
+ "description" : "Fully hydrated notification.",
"oneOf" : [ {
"type" : "object",
"properties" : {
- "query" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.orphaned-query"
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
+ },
+ "payload_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "triggering_subscription" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "handlers" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
+ }
+ },
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplate"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "attachment_only" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "include_pdf" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ }
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "creator" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
}, {
- "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ "type" : "null"
} ]
},
- "source-incremental-strategy" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
},
- "type" : {
- "const" : "query"
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "internal_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationCard"
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "subscriptions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
+ }
}
},
- "required" : [ "type", "query" ],
+ "required" : [ "payload_type", "payload" ],
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
- "body" : {
- "type" : "string"
+ "payload_type" : {
+ "type" : "string",
+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]
},
- "source-database" : {
- "type" : "integer"
+ "payload_id" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
},
- "source-incremental-strategy" : {
- "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
+ "triggering_subscription" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "handlers" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "template_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "recipients" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationRecipient"
+ }
+ },
+ "template" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.ChannelTemplate"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel_type" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "channel" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.channel.models.channel.Channel"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "attachment_only" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "include_pdf" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ }
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "creator" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "internal_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "active" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "payload" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.SystemEventPayload"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
},
- "source-tables" : {
+ "subscriptions" : {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/metabase.transforms-base.util.source-table-entry"
+ "$ref" : "#/components/schemas/metabase.notification.models.NotificationSubscription"
}
- },
- "type" : {
- "const" : "python"
}
},
- "required" : [ "source-tables", "type", "body" ],
+ "required" : [ "payload_type" ],
"additionalProperties" : false
} ]
},
- "metabase.transforms.schema.transform-target" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.table-target"
- }, {
- "$ref" : "#/components/schemas/metabase.transforms.schema.table-incremental-target"
- } ]
- },
- "metabase.users-rest.api.current-user-response" : {
- "description" : "Response for `GET /api/user/current`.",
+ "metabase.notification.models.NotificationCard" : {
+ "description" : "Schema for :model/NotificationCard.",
"type" : "object",
"properties" : {
- "permissions" : {
- "$ref" : "#/components/schemas/metabase.users-rest.api.user-permissions"
- },
- "has_model" : {
- "type" : "boolean"
- },
- "login_attributes" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "sso_source" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "jwt_attributes" : {
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : { }
- }, {
- "type" : "null"
- } ]
- },
- "is_qbnewb" : {
- "type" : "boolean"
- },
- "is_active" : {
- "type" : "boolean"
- },
- "last_login" : {
- "oneOf" : [ { }, {
- "type" : "null"
- } ]
- },
- "tenant_collection_id" : {
+ "id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -34614,353 +24939,501 @@
"type" : "null"
} ]
},
- "id" : {
+ "send_condition" : {
+ "type" : "string",
+ "enum" : [ "goal_below", "has_result", "goal_above" ]
+ },
+ "card_id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
"minimum" : 1
},
- "email" : {
- "type" : "string",
- "minLength" : 1
- },
- "group_ids" : {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "uniqueItems" : true
- },
- "is_data_analyst" : {
- "type" : "boolean"
- },
- "locale" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
"updated_at" : {
- "oneOf" : [ { }, {
- "type" : "null"
- } ]
- },
- "first_login" : { },
- "is_superuser" : {
- "type" : "boolean"
- },
- "tenant_id" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "custom_homepage" : {
+ "card" : {
"oneOf" : [ {
+ "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
"type" : "object",
"properties" : {
+ "enable_embedding" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "visualization_settings" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimension_mappings" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cache_invalidated_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_preview" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "initially_published_at" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "view_count" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dataset_query" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameter_mappings" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabot_chart_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "embedding_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "verified-result-metadata?" : {
+ "type" : "boolean"
+ },
+ "made_public_by_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "archived" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_position" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "array",
+ "prefixItems" : [ {
+ "type" : "string",
+ "enum" : [ "+", "-" ]
+ }, {
+ "const" : "collection_position"
+ }, {
+ "const" : 1
+ } ]
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dimensions" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query_description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "database_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "embedding_params" : {
+ "oneOf" : [ {
+ "description" : "value must be a valid embedding params map.",
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "dataset_query_metrics_v2_migration_backup" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "table_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "legacy_query" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "document_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "result_metadata" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
+ }
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "source_card_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "collection_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cache_ttl" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "display" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "public_uuid" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "last_used_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "parameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
+ }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "creator_id" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase_version" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "archived_directly" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "public_uuid_prefix" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "description" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "card_schema" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabot_conversation_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
"dashboard_id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ }, {
+ "type" : "null"
+ } ]
}
- },
- "required" : [ "dashboard_id" ]
- }, {
- "type" : "null"
- } ]
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_installer" : {
- "type" : "boolean"
- },
- "attributes" : {
- "type" : "object",
- "additionalProperties" : { }
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "date_joined" : { },
- "has_invited_second_user" : {
- "type" : "boolean"
- },
- "personal_collection_id" : {
- "oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }, {
- "type" : "null"
- } ]
- },
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "has_question_and_dashboard" : {
- "type" : "boolean"
- },
- "can_write_any_collection" : {
- "type" : "boolean"
- }
- },
- "required" : [ "id", "email", "first_name", "last_name", "common_name", "date_joined", "last_login", "updated_at", "first_login", "is_superuser", "is_data_analyst", "is_qbnewb", "is_active", "is_installer", "has_invited_second_user", "has_question_and_dashboard", "has_model", "can_write_any_collection", "sso_source", "locale", "tenant_id", "tenant_collection_id", "personal_collection_id", "group_ids", "login_attributes", "jwt_attributes", "attributes", "permissions", "custom_homepage" ]
- },
- "metabase.users-rest.api.user-permissions" : {
- "description" : "Permission flags for the current user, used by the FE to decide which UI elements to show. The `can_access_*`,\n `is_data_analyst`, and `is_group_manager` flags are only included when `advanced-permissions` is enabled.",
- "type" : "object",
- "properties" : {
- "can_access_subscription" : {
- "type" : "boolean"
- },
- "can_create_native_queries" : {
- "type" : "boolean"
- },
- "can_access_setting" : {
- "type" : "boolean"
- },
- "is_data_analyst" : {
- "type" : "boolean"
- },
- "is_group_manager" : {
- "type" : "boolean"
- },
- "can_access_monitoring" : {
- "type" : "boolean"
- },
- "can_access_data_model" : {
- "type" : "boolean"
- },
- "can_access_db_details" : {
- "type" : "boolean"
- },
- "can_create_queries" : {
- "type" : "boolean"
- },
- "can_access_transforms" : {
- "type" : "boolean"
- }
- },
- "required" : [ "can_create_queries", "can_create_native_queries" ]
- },
- "metabase.users.schema..user-parameter-value.value" : {
- "description" : "The `:value` column of a UserParameterValue, decoded.",
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- }, {
- "type" : "array",
- "items" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "number"
- }, {
- "type" : "boolean"
- } ]
- }, {
- "type" : "null"
- } ]
- }
- } ]
- },
- "metabase.users.schema..user.settings" : {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- },
- "metabase.users.schema..user.update" : {
- "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "login_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "sso_source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "jwt_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
- }, {
- "description" : "Value must be a map."
- } ]
- }, {
- "description" : "login attribute keys must not start with `@`"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "is_qbnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "reset_token" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "last_login" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "password_salt" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_with_tenant" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_data_analyst" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "locale" : {
- "oneOf" : [ {
- "type" : "string"
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "created_at" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "is_datasetnewb" : {
+ "disable_links" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "reset_triggered" : {
+ "notification_id" : {
"oneOf" : [ {
- "type" : "integer"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "is_superuser" : {
+ "send_once" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "card_id" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.models.NotificationCardUpdate" : {
+ "description" : "::NotificationCard restricted to what the update spec writes - `:id` comes from the URL's notification.",
+ "type" : "object",
+ "properties" : {
+ "card_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "send_condition" : {
+ "type" : "string",
+ "enum" : [ "goal_below", "has_result", "goal_above" ]
+ },
+ "send_once" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "card_id" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.models.NotificationHandler" : {
+ "type" : "object",
+ "properties" : {
+ "active" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "tenant_id" : {
+ "channel_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -34969,703 +25442,1184 @@
"type" : "null"
} ]
},
- "last_name" : {
+ "channel_type" : { },
+ "created_at" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "first_name" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "template_id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "type" : {
+ "updated_at" : {
"oneOf" : [ {
"anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
"type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "channel_type" ],
+ "additionalProperties" : false
+ },
+ "metabase.notification.models.NotificationRecipient" : {
+ "description" : "Schema for :model/NotificationRecipient.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "user_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "user" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models.EchoedUser"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "details" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "type", "user_id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "user_id" : { },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "details" : { },
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "permissions_group" : {
+ "oneOf" : [ {
+ "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "is_data_app_group" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "is_tenant_group" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "magic_group_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "members" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.permissions.schema..permissions-group.member"
+ }
+ },
+ "name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "date_joined" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ }
},
- "password" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.users.schema.user" : {
- "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "login_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
+ "required" : [ "type", "permissions_group_id" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
}, {
- "description" : "Value must be a map."
+ "description" : "value must be a valid date string",
+ "type" : "string"
} ]
}, {
- "description" : "login attribute keys must not start with `@`"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "sso_source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ },
+ "details" : {
+ "type" : "object",
+ "properties" : {
+ "channel_id" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "value" ],
+ "additionalProperties" : false
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
+ },
+ "user_id" : { }
},
- "jwt_attributes" : {
- "oneOf" : [ {
- "allOf" : [ {
- "description" : "Value must be a map.",
- "oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
+ "required" : [ "type", "details" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
}, {
- "description" : "Value must be a map."
+ "description" : "value must be a valid date string",
+ "type" : "string"
} ]
}, {
- "description" : "login attribute keys must not start with `@`"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "is_qbnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "user_group_memberships" : {
- "type" : "array",
- "items" : {
+ },
+ "details" : {
"type" : "object",
"properties" : {
- "entity_id" : {
- "type" : "string"
+ "is_optional" : {
+ "type" : "boolean"
},
- "name" : {
+ "pattern" : {
"type" : "string"
}
},
- "required" : [ "name", "entity_id" ],
- "additionalProperties" : false
- }
- },
- "reset_token" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "settings" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "entity_id" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "is_active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "last_login" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- },
- "email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "password_salt" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "deactivated_with_tenant" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_data_analyst" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "locale" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "updated_at" : {
- "oneOf" : [ {
+ "required" : [ "pattern" ],
+ "additionalProperties" : false
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "notification_handler_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "permissions_group_id" : { },
+ "type" : {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "notification-recipient/raw-value", "notification-recipient/user", "notification-recipient/template", "notification-recipient/group" ]
+ },
+ "updated_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "user_id" : { }
},
- "is_datasetnewb" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
+ "required" : [ "type", "details" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.notification.models.NotificationSubscription" : {
+ "description" : "Schema for :model/NotificationSubscription.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cron_schedule" : {
"type" : "null"
- } ]
- },
- "reset_triggered" : {
- "oneOf" : [ {
+ },
+ "event_name" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ },
+ "id" : {
"type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "is_superuser" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "tenant_id" : {
- "oneOf" : [ {
+ },
+ "notification_id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
"minimum" : 1
- }, {
- "type" : "null"
- } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ },
+ "ui_display_type" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "last_name" : {
- "oneOf" : [ {
+ "required" : [ "type", "event_name" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "created_at" : {
+ "oneOf" : [ {
+ "anyOf" : [ {
+ "type" : "string",
+ "format" : "date-time"
+ }, {
+ "description" : "value must be a valid date string",
+ "type" : "string"
+ } ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "cron_schedule" : {
"type" : "string"
- }, {
+ },
+ "event_name" : {
"type" : "null"
- } ]
+ },
+ "id" : {
+ "type" : "integer"
+ },
+ "notification_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "notification-subscription/cron", "notification-subscription/system-event" ]
+ },
+ "ui_display_type" : {
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "cron/raw", "cron/builder" ]
+ }, {
+ "type" : "null"
+ } ]
+ }
},
- "attributes" : {
- "oneOf" : [ {
- "description" : "Value must be a map.",
+ "required" : [ "type", "cron_schedule" ],
+ "additionalProperties" : false
+ } ]
+ },
+ "metabase.notification.models.SystemEventPayload" : {
+ "description" : "The `:payload` of a system event notification on its way to being sent: the event topic, plus the `:disable_links`\n `POST /api/notification` stamps on, plus the event map published under the topic, keyed the way\n [[metabase.events.core/publish-event!]] was handed it. A `:notification/testing` notification's payload is empty.",
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.user-invited"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/user-invited"
+ }
+ },
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.notification-create"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/notification-create"
+ }
+ },
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : { },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/slack-token-invalid"
+ }
+ },
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.comment-created"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/comment-created"
+ }
+ },
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
"oneOf" : [ {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
- }
+ "type" : "boolean"
}, {
- "description" : "Value must be a map."
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.support-access-grant-created"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/support-access-grant-created"
+ }
},
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
}, {
- "type" : "string"
+ "type" : "null"
} ]
- }, {
- "type" : "null"
- } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.transform-failed"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/transform-failed"
+ }
},
- "date_joined" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.transform-failure-digest"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/transform-failure-digest"
+ }
},
- "password" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.notification.models..event-info.security-advisory-match"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : {
+ "const" : "event/security-advisory-match"
+ }
},
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.users.schema.user-group-membership" : {
- "description" : "Group Membership info of a User.\n In which :is_group_manager is only included if `advanced-permissions` is enabled.",
- "type" : "object",
- "properties" : {
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "disable_links" : {
+ "oneOf" : [ {
+ "type" : "boolean"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_info" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : { },
+ "additionalProperties" : false
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "event_topic" : { }
},
- "is_group_manager" : {
- "description" : "Only relevant if `advanced-permissions` is enabled. If it is, you should always include this key.",
- "type" : "boolean"
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.util.cron.CronHour" : {
- "type" : "integer",
- "minimum" : 0,
- "maximum" : 23
- },
- "metabase.util.cron.CronMinute" : {
- "type" : "integer",
- "minimum" : 0,
- "maximum" : 59
+ "required" : [ "event_topic" ],
+ "additionalProperties" : false
+ } ]
},
- "metabase.util.cron.CronScheduleString" : {
- "description" : "value must be a valid Quartz cron schedule string.",
+ "metabase.notification.models.event-topic" : {
+ "description" : "One of the event topics a `:notification/system-event` notification can be triggered for.",
"type" : "string",
- "minLength" : 1
+ "enum" : [ "event/user-invited", "event/notification-create", "event/slack-token-invalid", "event/comment-created", "event/support-access-grant-created", "event/transform-failed", "event/transform-failure-digest", "event/security-advisory-match" ]
},
- "metabase.util.cron.ScheduleMap" : {
- "description" : "value must be a valid schedule map. See schema in metabase.util.cron for details.",
+ "metabase.osi.schema..osi-ai-context.ai-context" : {
+ "description" : "The `:ai_context` column of a OsiAiContext, decoded.",
"type" : "object",
"properties" : {
- "schedule_day" : {
- "oneOf" : [ {
+ "examples" : {
+ "type" : "array",
+ "items" : {
"type" : "string",
- "enum" : [ "sun", "mon", "tue", "wed", "thu", "fri", "sat" ]
- }, {
- "type" : "null"
- } ]
+ "maxLength" : 1000
+ },
+ "maxItems" : 50
},
- "schedule_frame" : {
+ "instructions" : {
"oneOf" : [ {
"type" : "string",
- "enum" : [ "first", "mid", "last" ]
- }, {
- "type" : "null"
- } ]
- },
- "schedule_hour" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.util.cron.CronHour"
- }, {
- "type" : "null"
- } ]
- },
- "schedule_minute" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.util.cron.CronMinute"
+ "maxLength" : 5000
}, {
"type" : "null"
} ]
},
- "schedule_type" : {
- "type" : "string",
- "enum" : [ "hourly", "daily", "weekly", "monthly" ]
+ "synonyms" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string",
+ "maxLength" : 1000
+ },
+ "maxItems" : 50
}
},
- "required" : [ "schedule_type" ],
"additionalProperties" : false
},
- "metabase.warehouse-schema-rest.api.table.data-authority-write" : {
- "description" : "Schema for writing a valid table data authority.",
- "type" : "string",
- "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]
- },
- "metabase.warehouse-schema-rest.api.table.data-layers" : {
- "type" : "string",
- "enum" : [ "final", "internal", "hidden" ]
+ "metabase.parameters.schema..api.parameter-values" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-values"
},
- "metabase.warehouse-schema-rest.api.table.data-sources" : {
- "type" : "string",
- "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]
+ "metabase.parameters.schema.legacy-ref" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-expression-ref"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..target.legacy-field-ref"
+ } ]
},
- "metabase.warehouse-schema.schema..dimension.update" : {
- "description" : "What an update (or insert) of a Dimension accepts: every column of `:dimension` except `id`, all optional.",
+ "metabase.parameters.schema.parameter" : {
+ "description" : "parameter must be a map with :id and :type keys",
"type" : "object",
"properties" : {
- "created_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "filteringParameters" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ }
}, {
"type" : "null"
} ]
},
- "entity_id" : {
+ "mappings" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
+ }
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
+ },
+ "uniqueItems" : true
+ } ]
}, {
"type" : "null"
} ]
},
- "field_id" : {
+ "sectionId" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "values_source_config" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-config"
}, {
"type" : "null"
} ]
},
- "human_readable_field_id" : {
+ "hasVariableTemplateTagTarget" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "name" : {
+ "display-name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
},
- "updated_at" : {
+ "position" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "integer"
}, {
"type" : "null"
} ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.warehouse-schema.schema..field.settings" : {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- },
- "metabase.warehouse-schema.schema..field.update" : {
- "description" : "What an update (or insert) of a Field accepts: every column of `:metabase_field` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "slug" : {
+ "type" : "string"
+ },
+ "value" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "required" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "preview_display" : {
+ "values_query_type" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.parameters.schema.values-query-type"
}, {
"type" : "null"
} ]
},
- "database_partitioned" : {
+ "type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
+ },
+ "temporal_units" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.temporal-bucketing.unit"
+ }
}, {
"type" : "null"
} ]
},
- "database_default" : {
+ "target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ },
+ "values_source_type" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.parameters.schema.values-source-type"
}, {
"type" : "null"
} ]
},
- "database_required" : {
+ "options" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
}, {
"type" : "null"
} ]
},
- "is_defective_duplicate" : {
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "isMultiSelect" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
- },
- "settings" : {
+ }
+ },
+ "required" : [ "id", "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.parameters.schema.parameter-mapping" : {
+ "description" : "parameter_mapping must be a map with :parameter_id and :target keys",
+ "type" : "object",
+ "properties" : {
+ "card_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema..field.settings"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
}, {
"type" : "null"
} ]
},
- "fingerprint" : {
+ "parameter_id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.id"
+ },
+ "target" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ }
+ },
+ "required" : [ "parameter_id", "target" ],
+ "additionalProperties" : false
+ },
+ "metabase.parameters.schema.parameter-mappings" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
+ }
+ },
+ "metabase.parameters.schema.parameter-values" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-with-value"
+ }
+ },
+ "metabase.parameters.schema.parameter-with-value" : {
+ "description" : "parameter must be a map with an :id key",
+ "type" : "object",
+ "properties" : {
+ "sectionId" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "visibility_type" : {
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ },
+ "name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "base_type" : {
+ "slug" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
}, {
"type" : "null"
} ]
},
- "last_analyzed" : {
+ "value" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ },
+ "type" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.type"
}, {
"type" : "null"
} ]
},
- "custom_position" : {
+ "target" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
}, {
"type" : "null"
} ]
},
- "coercion_strategy" : {
+ "options" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.options"
}, {
"type" : "null"
} ]
},
- "json_unfolding" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "default" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.parameters.schema.parameters" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ }
+ },
+ "metabase.parameters.schema.values-query-type" : {
+ "type" : "string",
+ "enum" : [ "none", "list", "search" ]
+ },
+ "metabase.parameters.schema.values-source-config" : {
+ "description" : "Schema for valid source_options within a Parameter",
+ "type" : "object",
+ "properties" : {
+ "card_id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
+ },
+ "label_field" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.legacy-ref"
+ },
+ "value_field" : {
+ "$ref" : "#/components/schemas/metabase.parameters.schema.legacy-ref"
+ },
+ "values" : { }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.parameters.schema.values-source-type" : {
+ "type" : "string",
+ "enum" : [ "static-list", "card" ]
+ },
+ "metabase.permissions-rest.schema.attribute-name" : {
+ "description" : "a user attribute name",
+ "type" : "string",
+ "minLength" : 1
+ },
+ "metabase.permissions-rest.schema.attribute-remapping" : {
+ "description" : "a field name, a field id, or a parameter target",
+ "anyOf" : [ {
+ "type" : "string",
+ "minLength" : 1
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter.target"
+ } ]
+ },
+ "metabase.permissions-rest.schema.attribute-remappings" : {
+ "description" : "a map of user attribute name -> the field or parameter target it is remapped onto",
+ "type" : "object",
+ "additionalProperties" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.attribute-remapping"
+ }, { } ]
+ }
+ },
+ "metabase.permissions-rest.schema.data-perms" : {
+ "type" : "object",
+ "properties" : {
+ "native" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.native"
+ },
+ "schemas" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.permissions-rest.schema.db-perms" : {
+ "description" : "the permissions one group has on one database",
+ "type" : "object",
+ "properties" : {
+ "create-queries" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
+ },
+ "data" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
},
- "position" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "data-model" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
},
- "fingerprint_version" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "details" : {
+ "type" : "string",
+ "enum" : [ "yes", "no" ]
},
- "name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "download" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.strict-data-perms"
},
- "data_sensitivity" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "transforms" : {
+ "type" : "string",
+ "enum" : [ "yes", "no" ]
},
- "database_position" : {
+ "view-data" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schemas"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.permissions-rest.schema.decodable-keyword-int" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "metabase.permissions-rest.schema.graph-update-request" : {
+ "description" : "the permissions graph, plus the sandboxes and connection impersonations to write with it",
+ "type" : "object",
+ "properties" : {
+ "force" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "semantic_type" : {
+ "groups" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "type" : "object",
+ "additionalProperties" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.db-perms"
+ }, { } ]
+ }
+ }, {
+ "anyOf" : [ {
+ "type" : "null"
+ }, { } ]
+ } ]
+ }
+ }, { } ]
},
- "updated_at" : {
+ "impersonations" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.impersonation-update"
+ }
}, {
"type" : "null"
} ]
},
- "database_is_auto_increment" : {
+ "revision" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "value must be an integer.",
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "table_id" : {
+ "sandboxes" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.sandbox-update"
+ }
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "groups" ],
+ "additionalProperties" : false
+ },
+ "metabase.permissions-rest.schema.group-id" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.decodable-keyword-int"
+ },
+ "metabase.permissions-rest.schema.id" : {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.decodable-keyword-int"
+ },
+ "metabase.permissions-rest.schema.impersonation-update" : {
+ "description" : "a connection impersonation policy to write alongside a permissions graph update",
+ "type" : "object",
+ "properties" : {
+ "attribute" : {
+ "type" : "string",
+ "minLength" : 1
},
- "has_field_values" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "db_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "display_name" : {
+ "group_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "group_id", "db_id", "attribute" ],
+ "additionalProperties" : false
+ },
+ "metabase.permissions-rest.schema.native" : {
+ "description" : "native permissions",
+ "oneOf" : [ {
+ "type" : "string",
+ "enum" : [ "write", "none", "full", "limited" ]
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "metabase.permissions-rest.schema.perms" : {
+ "description" : "Perms that get reused for TablePerms and SchemaPerms",
+ "type" : "string",
+ "enum" : [ "all", "blocked", "full", "legacy-no-self-service", "limited", "no", "none", "query-builder", "sandboxed", "segmented", "unrestricted" ]
+ },
+ "metabase.permissions-rest.schema.sandbox-update" : {
+ "description" : "a sandbox to write alongside a permissions graph update",
+ "type" : "object",
+ "properties" : {
+ "attribute_remappings" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.attribute-remappings"
}, {
"type" : "null"
} ]
},
- "database_is_generated" : {
+ "card_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "nfc_path" : {
- "oneOf" : [ {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }
- }, {
- "type" : "null"
- } ]
+ "group_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "effective_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "parent_id" : {
+ "permission_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -35674,161 +26628,159 @@
"type" : "null"
} ]
},
- "created_at" : {
- "oneOf" : [ {
+ "table_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.permissions-rest.schema.schema-graph" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schema-perms"
+ }, { } ]
+ }
+ },
+ "metabase.permissions-rest.schema.schema-perms" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.table-perms"
+ }, { } ]
+ }
+ }, {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.perms"
+ } ]
+ },
+ "metabase.permissions-rest.schema.schemas" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.schema-graph"
+ }, {
+ "type" : "string",
+ "enum" : [ "all", "segmented", "none", "block", "blocked", "full", "limited", "impersonated", "unrestricted", "sandboxed", "legacy-no-self-service", "query-builder-and-native", "query-builder", "no" ]
+ } ]
+ },
+ "metabase.permissions-rest.schema.strict-data-perms" : {
+ "description" : "Data perms that care about how view-data and make-queries are related to one another.\n If you have write access for native queries, you must have data access to all schemas.",
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.data-perms"
+ },
+ "metabase.permissions-rest.schema.table-perms" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "query" : {
+ "type" : "string",
+ "enum" : [ "all", "none", "segmented" ]
+ },
+ "read" : {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "enum" : [ "all", "none" ]
+ }
},
- "database_is_pk" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "additionalProperties" : false
+ }, {
+ "$ref" : "#/components/schemas/metabase.permissions-rest.schema.perms"
+ } ]
+ },
+ "metabase.permissions.schema..permissions-group.member" : {
+ "description" : "A member of a PermissionsGroup as `metabase.permissions.db/group-members` selects it: the User columns the group\n member list shows, the membership it comes from, and `:is_group_manager` when advanced permissions are enabled.",
+ "type" : "object",
+ "properties" : {
+ "user_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "group_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "dimension_interestingness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
+ "email" : {
+ "type" : "string"
},
- "database_is_nullable" : {
+ "is_group_manager" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "database_type" : {
+ "is_superuser" : {
+ "type" : "boolean"
+ },
+ "last_name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "database_indexed" : {
+ "first_name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "description" : {
- "oneOf" : [ {
+ "type" : {
+ "anyOf" : [ {
"type" : "string"
}, {
- "type" : "null"
+ "type" : "string"
} ]
},
- "fk_target_field_id" : {
+ "common_name" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "string"
}, {
"type" : "null"
} ]
+ },
+ "membership_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}
},
+ "required" : [ "id", "user_id", "first_name", "last_name", "email", "is_superuser", "type", "group_id", "membership_id" ],
"additionalProperties" : false
},
- "metabase.warehouse-schema.schema..table.update" : {
- "description" : "What an update (or insert) of a Table accepts: every column of `:metabase_table` except `id`, all optional.",
+ "metabase.permissions.schema..permissions-group.update" : {
+ "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
"type" : "object",
"properties" : {
- "points_of_interest" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "transform_target" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_writable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "is_upload" : {
+ "is_data_app_group" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_defective_duplicate" : {
+ "is_tenant_group" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "deactivated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "visibility_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "data_authority" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
- },
- "data_layer" : {
+ "magic_group_type" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
@@ -35839,86 +26791,47 @@
"type" : "null"
} ]
},
- "transform_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }, {
- "type" : "null"
- } ]
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "database_require_filter" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "show_in_getting_started" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
- },
- "owner_email" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "owner_user_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- }, {
- "type" : "null"
- } ]
- },
"name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "display_name" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.permissions.schema.permissions-group" : {
+ "description" : "What an update (or insert) of a PermissionsGroup accepts: every column of `:permissions_group` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "archived_at" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "is_data_app_group" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "collection_id" : {
+ "is_tenant_group" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "data_source" : {
+ "magic_group_type" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
@@ -35929,130 +26842,179 @@
"type" : "null"
} ]
},
- "is_published" : {
+ "members" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "email" : {
+ "type" : "string"
+ },
+ "entity_id" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "email", "entity_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
- },
- "created_at" : {
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.queries.schema..card.dataset-query" : {
+ "description" : "The `:dataset_query` column of a Card, decoded.",
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-or-empty-query"
+ },
+ "metabase.queries.schema..card.dimension" : {
+ "description" : "One entry of the `:dimensions` column of a Card, decoded.",
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension"
+ },
+ "metabase.queries.schema..card.dimension-mapping" : {
+ "description" : "One entry of the `:dimension_mappings` column of a Card, decoded.",
+ "$ref" : "#/components/schemas/metabase.lib-metric.schema.dimension-mapping"
+ },
+ "metabase.queries.schema..card.parameter" : {
+ "description" : "One entry of the `:parameters` column of a Card, decoded.",
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter"
+ },
+ "metabase.queries.schema..card.parameter-mapping" : {
+ "description" : "One entry of the `:parameter_mappings` column of a Card, decoded.",
+ "$ref" : "#/components/schemas/metabase.parameters.schema.parameter-mapping"
+ },
+ "metabase.queries.schema..card.result-metadata" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.lib-or-legacy-column"
+ }
+ },
+ "metabase.queries.schema..card.result-metadata.model-override" : {
+ "description" : "A model's result metadata column as serialization exports it: only the keys a user can override, which the Card's\n hooks merge onto the metadata computed from its query.",
+ "type" : "object",
+ "properties" : {
+ "settings" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "description" : "Value must be a map.",
+ "type" : "object",
+ "properties" : { }
}, {
"type" : "null"
} ]
},
- "caveats" : {
+ "visibility_type" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "db_id" : {
+ "id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
},
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
},
- "estimated_row_count" : {
+ "semantic_type" : {
"oneOf" : [ {
- "type" : "integer"
+ "description" : "value must be a valid field semantic or relation type."
}, {
"type" : "null"
} ]
},
- "initial_sync_status" : {
+ "display_name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "entity_type" : {
+ "lib/source_display_name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "field_order" : {
+ "description" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "description" : {
+ "fk_target_field_id" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
}
},
+ "required" : [ "name" ],
"additionalProperties" : false
},
- "metabase.warehouse-schema.schema.dimension" : {
- "description" : "What an update (or insert) of a Dimension accepts: every column of `:dimension` except `id`, all optional.",
+ "metabase.queries.schema..card.type" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
+ },
+ "metabase.queries.schema..card.update" : {
+ "description" : "What an update (or insert) of a Card accepts: every column of `:report_card` except `id`, all optional, plus `:verified-result-metadata?` consumed by the model's hooks.",
"type" : "object",
"properties" : {
- "entity_id" : {
+ "enable_embedding" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "human_readable_field" : {
+ "visualization_settings" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.field"
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.visualization-settings"
}, {
"type" : "null"
} ]
},
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "dimension_mappings" : {
+ "oneOf" : [ {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension-mapping"
+ }
+ }, {
+ "type" : "null"
+ } ]
},
- "name" : {
+ "cache_invalidated_at" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "human_readable_field_id" : {
+ "collection_preview" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "initially_published_at" : {
"oneOf" : [ {
"type" : "string",
"format" : "date-time"
@@ -36060,218 +27022,239 @@
"type" : "null"
} ]
},
- "type" : {
+ "view_count" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "field_id" : {
+ "entity_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "dataset_query" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dataset-query"
}, {
"type" : "null"
} ]
- }
- },
- "required" : [ "id" ],
- "additionalProperties" : false
- },
- "metabase.warehouse-schema.schema.field" : {
- "description" : "What an update (or insert) of a Field accepts: every column of `:metabase_field` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
+ },
+ "parameter_mappings" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter-mapping"
+ }
}, {
"type" : "null"
} ]
},
- "preview_display" : {
+ "metabot_chart_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "database_partitioned" : {
+ "embedding_type" : {
"oneOf" : [ {
- "type" : "boolean"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "database_default" : {
+ "verified-result-metadata?" : {
+ "type" : "boolean"
+ },
+ "made_public_by_id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "unique_field_helper" : {
+ "name" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "database_required" : {
+ "archived" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_defective_duplicate" : {
+ "collection_position" : {
"oneOf" : [ {
- "type" : "boolean"
+ "anyOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "array",
+ "prefixItems" : [ {
+ "type" : "string",
+ "enum" : [ "+", "-" ]
+ }, {
+ "const" : "collection_position"
+ }, {
+ "const" : 1
+ } ]
+ } ]
}, {
"type" : "null"
} ]
},
- "settings" : {
+ "dimensions" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema..field.settings"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.dimension"
+ }
}, {
"type" : "null"
} ]
},
- "fingerprint" : {
+ "database_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.fingerprint"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
}, {
"type" : "null"
} ]
},
- "visibility_type" : {
+ "embedding_params" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
+ "description" : "value must be a valid embedding params map.",
+ "oneOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "enum" : [ "disabled", "enabled", "locked", "disabled", "enabled", "locked" ]
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
}, {
- "type" : "string"
+ "type" : "null"
} ]
}, {
"type" : "null"
} ]
},
- "base_type" : {
+ "updated_at" : {
"oneOf" : [ {
"anyOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "format" : "date-time"
}, {
- "type" : "string"
+ "const" : "updated_at"
} ]
}, {
"type" : "null"
} ]
},
- "last_analyzed" : {
+ "dataset_query_metrics_v2_migration_backup" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "custom_position" : {
+ "table_id" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- },
- "coercion_strategy" : {
+ "legacy_query" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "json_unfolding" : {
+ "document_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.documents.schema..document.id"
}, {
"type" : "null"
} ]
},
- "name_field" : {
+ "result_metadata" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.queries.schema..param-field.name-field"
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata"
+ }, {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.result-metadata.model-override"
+ }
+ } ]
}, {
"type" : "null"
} ]
},
- "position" : {
+ "source_card_id" : {
"oneOf" : [ {
- "type" : "integer"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.card"
}, {
"type" : "null"
} ]
},
- "fingerprint_version" : {
+ "query_type" : {
"oneOf" : [ {
- "type" : "integer"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "name" : {
+ "collection_id" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
}, {
"type" : "null"
} ]
},
- "dimensions" : {
+ "cache_ttl" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.dimension"
- }
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "data_sensitivity" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..card.type"
}, {
"type" : "null"
} ]
},
- "database_position" : {
+ "created_at" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "semantic_type" : {
+ "display" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
@@ -36282,761 +27265,1153 @@
"type" : "null"
} ]
},
- "updated_at" : {
+ "public_uuid" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "database_is_auto_increment" : {
+ "last_used_at" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "table_id" : {
+ "parameters" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.queries.schema..card.parameter"
+ }
}, {
"type" : "null"
} ]
},
- "has_field_values" : {
+ "creator_id" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
}, {
"type" : "null"
} ]
},
- "display_name" : {
+ "metabase_version" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "database_is_generated" : {
+ "archived_directly" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "nfc_path" : {
+ "public_uuid_prefix" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "target" : {
+ "description" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.field"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "effective_type" : {
+ "card_schema" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "parent_id" : {
+ "metabot_conversation_id" : {
"oneOf" : [ {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "dashboard_id" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.dashboard"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.queries.schema..card.visualization-settings" : {
+ "description" : "Value must be a map.",
+ "type" : "object",
+ "properties" : { }
+ },
+ "metabase.query-processor.schema..query-result.data" : {
+ "description" : "Schema for the :data key of query results.",
+ "type" : "object",
+ "properties" : {
+ "insights" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ },
+ "results_metadata" : {
+ "type" : "object",
+ "properties" : {
+ "columns" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.query-processor.schema..result-metadata.column"
+ }
+ }
+ },
+ "required" : [ "columns" ]
+ },
+ "download_perms" : {
+ "type" : "string"
+ },
+ "format-rows?" : {
+ "type" : "boolean"
+ },
+ "is_sandboxed" : {
+ "type" : "boolean"
+ },
+ "cols" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.query-processor.schema..result-metadata.column"
+ }
+ },
+ "results_timezone" : {
+ "type" : "string"
+ },
+ "rows" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : { }
+ }
+ },
+ "native_form" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ },
+ "required" : [ "cols", "rows" ]
+ },
+ "metabase.query-processor.schema..result-metadata.column" : {
+ "description" : "A single result metadata column as returned by the Query Processor.",
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"
+ },
+ "metabase.query-processor.schema.export-format" : {
+ "description" : "Schema for valid export formats for downloading query results.",
+ "type" : "string",
+ "enum" : [ "csv", "api", "xlsx", "json" ]
+ },
+ "metabase.query-processor.schema.query-result" : {
+ "description" : "Schema for query execution results returned by the Query Processor.",
+ "type" : "object",
+ "properties" : {
+ "row_count" : {
+ "type" : "integer"
+ },
+ "error" : {
+ "type" : "string"
+ },
+ "started_at" : {
+ "type" : "string"
+ },
+ "database_id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ },
+ "context" : { },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "completed", "failed" ]
+ },
+ "error_type" : {
+ "type" : "string"
+ },
+ "running_time" : {
+ "type" : "integer"
+ },
+ "json_query" : {
+ "type" : "object",
+ "properties" : { }
+ },
+ "average_execution_time" : {
+ "oneOf" : [ {
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "database_is_pk" : {
+ "cached" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "caveats" : {
+ "data" : {
+ "$ref" : "#/components/schemas/metabase.query-processor.schema..query-result.data"
+ }
+ },
+ "required" : [ "status", "row_count" ]
+ },
+ "metabase.security-center.schema.advisory-id" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "metabase.security-center.schema.affected-versions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.security-center.schema.version-range"
+ }
+ },
+ "metabase.security-center.schema.download-jar-url" : {
+ "description" : "MetaStore downloadable JAR",
+ "type" : "object",
+ "properties" : {
+ "url" : {
+ "type" : "string"
+ },
+ "version" : {
+ "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
+ }
+ },
+ "required" : [ "version", "url" ]
+ },
+ "metabase.security-center.schema.download-jar-urls" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.security-center.schema.download-jar-url"
+ }
+ },
+ "metabase.security-center.schema.match-status" : {
+ "type" : "string",
+ "enum" : [ "unknown", "active", "resolved", "not_affected", "error" ]
+ },
+ "metabase.security-center.schema.semver" : {
+ "type" : "string",
+ "pattern" : "^\\d+(?:\\.\\d+)*$"
+ },
+ "metabase.security-center.schema.severity" : {
+ "type" : "string",
+ "enum" : [ "critical", "high", "medium", "low" ]
+ },
+ "metabase.security-center.schema.version-range" : {
+ "description" : "MetaStore affected version range",
+ "type" : "object",
+ "properties" : {
+ "fixed" : {
+ "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
+ },
+ "min" : {
+ "$ref" : "#/components/schemas/metabase.security-center.schema.semver"
+ }
+ },
+ "required" : [ "min", "fixed" ]
+ },
+ "metabase.segments.schema.definition" : {
+ "description" : "value must be a valid MBQL query with a source table and filters.",
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ },
+ "metabase.source-swap.schema.column-error" : {
+ "type" : "string",
+ "enum" : [ "column-type-mismatch", "missing-primary-key", "missing-foreign-key", "foreign-key-mismatch" ]
+ },
+ "metabase.sso.schema.group-mappings" : {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ },
+ "metabase.sync.schedules.ExpandedSchedulesMap" : {
+ "description" : "value must be a valid map of schedule maps for a DB.",
+ "type" : "object",
+ "properties" : {
+ "cache_field_values" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
}, {
"type" : "null"
} ]
},
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "metadata_sync" : {
+ "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.task-history.api.RunEntity" : {
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "dimension_interestingness" : {
+ "entity_name" : {
"oneOf" : [ {
- "type" : "number"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "database_is_nullable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "entity_type", "entity_id" ]
+ },
+ "metabase.task-history.api.RunFilterParams" : {
+ "type" : "object",
+ "properties" : {
+ "entity-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "database_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "entity-type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
},
- "database_indexed" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "run-type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
},
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "started-at" : {
+ "type" : "string",
+ "minLength" : 1
},
- "fk_target_field_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
- }, {
- "type" : "null"
- } ]
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
}
},
- "required" : [ "id" ],
"additionalProperties" : false
},
- "metabase.warehouse-schema.schema.table" : {
- "description" : "What an update (or insert) of a Table accepts: every column of `:metabase_table` except `id`, all optional.",
+ "metabase.task-history.api.RunSortParams" : {
"type" : "object",
"properties" : {
- "points_of_interest" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "sort-column" : {
+ "default" : "started_at",
+ "type" : "string",
+ "enum" : [ "started_at", "run_type", "entity_name", "ended_at", "status", "task_count" ]
},
- "owner" : {
+ "sort-direction" : {
+ "default" : "desc",
+ "type" : "string",
+ "enum" : [ "asc", "desc" ]
+ }
+ },
+ "required" : [ ],
+ "additionalProperties" : false
+ },
+ "metabase.task-history.api.TaskHistory" : {
+ "type" : "object",
+ "properties" : {
+ "task_details" : {
"oneOf" : [ {
"type" : "object",
- "properties" : {
- "common_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "email" : {
- "type" : "string"
- },
- "first_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
- },
- "last_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "additionalProperties" : false
+ "properties" : { }
}, {
"type" : "null"
} ]
},
- "transform_target" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "is_writable" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
+ "started_at" : { },
+ "ended_at" : {
+ "oneOf" : [ { }, {
"type" : "null"
} ]
},
- "is_upload" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "unknown" ]
+ },
+ "logs" : {
+ "oneOf" : [ { }, {
"type" : "null"
} ]
},
- "is_defective_duplicate" : {
+ "task" : {
+ "type" : "string"
+ },
+ "duration" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "deactivated_at" : {
+ "run_id" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "id", "task", "started_at", "ended_at", "duration", "status" ]
+ },
+ "metabase.task-history.api.TaskRun" : {
+ "type" : "object",
+ "properties" : {
+ "run_type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
},
- "visibility_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "started_at" : { },
+ "failed_count" : {
+ "type" : "integer"
+ },
+ "ended_at" : {
+ "oneOf" : [ { }, {
"type" : "null"
} ]
},
- "data_authority" : {
+ "entity_name" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "view_count" : {
- "oneOf" : [ {
- "type" : "integer"
- }, {
- "type" : "null"
- } ]
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
+ },
+ "task_count" : {
+ "type" : "integer"
+ },
+ "success_count" : {
+ "type" : "integer"
+ },
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status" ]
+ },
+ "metabase.task-history.api.TaskRunWithTasks" : {
+ "type" : "object",
+ "properties" : {
+ "run_type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
+ },
+ "tasks" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskHistory"
+ }
+ },
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "data_layer" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "started_at" : { },
+ "failed_count" : {
+ "type" : "integer"
},
- "transform_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.transform"
- }, {
+ "ended_at" : {
+ "oneOf" : [ { }, {
"type" : "null"
} ]
},
- "schema" : {
+ "entity_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.table"
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
},
- "transform" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.transforms.schema.transform"
- }, {
- "type" : "null"
- } ]
+ "task_count" : {
+ "type" : "integer"
},
- "unique_table_helper" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "success_count" : {
+ "type" : "integer"
},
- "database_require_filter" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status", "tasks" ]
+ },
+ "metabase.task-history.api.TaskRunsResponse" : {
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskRun"
+ }
},
- "show_in_getting_started" : {
+ "limit" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "owner_email" : {
+ "offset" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
}, {
"type" : "null"
} ]
},
- "owner_user_id" : {
+ "total" : {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "required" : [ "total", "limit", "offset", "data" ]
+ },
+ "metabase.tiles.api.legacy-ref" : {
+ "description" : "Form-encoded JSON-encoded legacy MBQL :field ref.",
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
+ },
+ "metabase.tiles.api.query" : {
+ "description" : "Form-encoded JSON-encoded MBQL query.",
+ "$ref" : "#/components/schemas/metabase.lib.schema.query"
+ },
+ "metabase.timeline.api.timeline.Timeline" : {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "id" ]
+ },
+ "metabase.timeline.api.timeline.include" : {
+ "type" : "string",
+ "enum" : [ "events" ]
+ },
+ "metabase.transforms-base.util.source-table-entry" : {
+ "description" : "A source table entry in the array format. Combines alias with table reference. Callers may supply just\n `:table_id` (looked up to fill in `:database_id`/`:schema`/`:table`) or just\n `:database_id`/`:schema`/`:table` (looked up to fill in `:table_id`), so only `:alias` is required.",
+ "type" : "object",
+ "properties" : {
+ "alias" : {
+ "type" : "string"
+ },
+ "database_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "name" : {
+ "schema" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
- "oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
+ "table" : {
+ "type" : "string"
},
- "display_name" : {
+ "table_id" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "integer"
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "alias" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms-rest.api.transform.run-trigger" : {
+ "type" : "string",
+ "enum" : [ "none", "global-schedule" ]
+ },
+ "metabase.transforms.schema.append-config" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "const" : "append"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.checkpoint-strategy" : {
+ "type" : "object",
+ "properties" : {
+ "checkpoint-filter-field-id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
},
- "archived_at" : {
+ "lookback" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "$ref" : "#/components/schemas/metabase.transforms.schema.lookback"
}, {
"type" : "null"
} ]
},
- "collection_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.collection"
- }, {
- "type" : "null"
- } ]
+ "type" : {
+ "const" : "checkpoint"
+ }
+ },
+ "required" : [ "type" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.lookback" : {
+ "description" : "A lookback window: each run re-reads source rows up to `value` `unit`s behind the checkpoint,\n so late-arriving rows older than the watermark still get picked up. Only supported for\n temporal checkpoint columns.",
+ "type" : "object",
+ "properties" : {
+ "unit" : {
+ "type" : "string",
+ "enum" : [ "day", "hour", "millisecond", "minute", "month", "quarter", "second", "week", "year" ]
},
- "data_source" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "value" : {
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "value", "unit" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.merge-config" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "const" : "merge"
},
- "fields" : {
+ "unique-key" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.merge-key-column"
+ }
+ }
+ },
+ "required" : [ "type", "unique-key" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.merge-key-column" : {
+ "description" : "One column of a merge unique key. Carries a resolved `:field-id` when the target column is known,\n degrading to a `:name` ref when the target table doesn't exist yet (mirrors `::source-table-entry`).",
+ "type" : "object",
+ "properties" : {
+ "field-id" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.field"
- }
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.field"
}, {
"type" : "null"
} ]
},
- "is_published" : {
+ "name" : {
+ "type" : "string",
+ "minLength" : 1
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.orphaned-query" : {
+ "description" : "The MBQL 5 query of a transform whose source database was deleted, kept as a breadcrumb with its `:database` nulled.",
+ "type" : "object",
+ "properties" : {
+ "database" : {
+ "type" : "null"
+ },
+ "lib/metadata" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata.metadata-provider"
+ },
+ "lib/type" : {
+ "const" : "mbql/query"
+ },
+ "stages" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.stages"
+ }
+ },
+ "required" : [ "lib/type", "database", "stages" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.source-incremental-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.checkpoint-strategy"
+ } ]
+ },
+ "metabase.transforms.schema.table-incremental-target" : {
+ "type" : "object",
+ "properties" : {
+ "database" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "db" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema.database"
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
},
- "created_at" : {
+ "schema" : {
"oneOf" : [ {
"type" : "string",
- "format" : "date-time"
- }, {
- "type" : "null"
- } ]
- },
- "caveats" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "db_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "active" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "target-incremental-strategy" : {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.target-incremental-strategy"
},
- "estimated_row_count" : {
+ "type" : {
+ "const" : "table-incremental"
+ }
+ },
+ "required" : [ "type", "name", "target-incremental-strategy" ],
+ "additionalProperties" : false
+ },
+ "metabase.transforms.schema.table-target" : {
+ "type" : "object",
+ "properties" : {
+ "database" : {
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
- "initial_sync_status" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "entity_type" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
+ "name" : {
+ "type" : "string"
},
- "field_order" : {
+ "schema" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string",
+ "minLength" : 1
}, {
"type" : "null"
} ]
},
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
+ "type" : {
+ "const" : "table"
}
},
- "required" : [ "id" ],
+ "required" : [ "type", "name" ],
"additionalProperties" : false
},
- "metabase.warehouses-rest.api.available-settings" : {
- "type" : "object",
- "additionalProperties" : {
+ "metabase.transforms.schema.target-incremental-strategy" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.append-config"
+ }, {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.merge-config"
+ } ]
+ },
+ "metabase.transforms.schema.transform-source" : {
+ "oneOf" : [ {
"type" : "object",
"properties" : {
- "enabled" : {
- "type" : "boolean"
+ "query" : {
+ "anyOf" : [ {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.orphaned-query"
+ }, {
+ "$ref" : "#/components/schemas/metabase.lib-be.schema.maybe-legacy-query"
+ } ]
},
- "reasons" : {
+ "source-incremental-strategy" : {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
+ },
+ "type" : {
+ "const" : "query"
+ }
+ },
+ "required" : [ "type", "query" ],
+ "additionalProperties" : false
+ }, {
+ "type" : "object",
+ "properties" : {
+ "body" : {
+ "type" : "string"
+ },
+ "source-database" : {
+ "type" : "integer"
+ },
+ "source-incremental-strategy" : {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"
+ },
+ "source-tables" : {
"type" : "array",
"items" : {
- "type" : "object",
- "properties" : {
- "key" : {
- "type" : "string"
- },
- "message" : {
- "anyOf" : [ {
- "type" : "string"
- }, { } ]
- },
- "type" : {
- "type" : "string",
- "enum" : [ "error", "warning" ]
- }
- },
- "required" : [ "key", "type", "message" ]
+ "$ref" : "#/components/schemas/metabase.transforms-base.util.source-table-entry"
}
+ },
+ "type" : {
+ "const" : "python"
}
},
- "required" : [ "enabled" ]
- }
+ "required" : [ "source-tables", "type", "body" ],
+ "additionalProperties" : false
+ } ]
},
- "metabase.warehouses.schema..database.admin-details" : {
- "description" : "The `:admin_details` column of a Database, decoded.",
- "anyOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
+ "metabase.transforms.schema.transform-target" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.transforms.schema.table-target"
}, {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.undecryptable-column"
+ "$ref" : "#/components/schemas/metabase.transforms.schema.table-incremental-target"
} ]
},
- "metabase.warehouses.schema..database.dbms-version" : {
- "description" : "The `:dbms_version` column of a Database, decoded.",
+ "metabase.users-rest.api.current-user-response" : {
+ "description" : "Response for `GET /api/user/current`.",
"type" : "object",
"properties" : {
- "cloud" : {
+ "permissions" : {
+ "$ref" : "#/components/schemas/metabase.users-rest.api.user-permissions"
+ },
+ "has_model" : {
"type" : "boolean"
},
- "flavor" : {
- "type" : "string"
+ "login_attributes" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : { }
+ }, {
+ "type" : "null"
+ } ]
},
- "semantic-version" : {
- "anyOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "integer"
- }
+ "sso_source" : {
+ "oneOf" : [ {
+ "type" : "string"
}, {
+ "type" : "null"
+ } ]
+ },
+ "jwt_attributes" : {
+ "oneOf" : [ {
"type" : "object",
- "properties" : {
- "major" : {
- "type" : "integer"
- },
- "minor" : {
- "type" : "integer"
- }
- },
- "required" : [ "major", "minor" ],
- "additionalProperties" : false
+ "additionalProperties" : { }
+ }, {
+ "type" : "null"
} ]
},
- "version" : {
- "type" : "string"
- }
- },
- "additionalProperties" : false
- },
- "metabase.warehouses.schema..database.details" : {
- "description" : "The `:details` column of a Database, decoded.",
- "anyOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.undecryptable-column"
- } ]
- },
- "metabase.warehouses.schema..database.settings" : {
- "description" : "The `:settings` column of a Database, decoded.",
- "anyOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.undecryptable-column"
- } ]
- },
- "metabase.warehouses.schema..database.undecryptable-column" : {
- "description" : "An encrypted JSON column of a Database read without the key that encrypted it, which the model's transform logs and\n returns as the raw ciphertext string.",
- "type" : "string"
- },
- "metabase.warehouses.schema..database.update" : {
- "description" : "What an update (or insert) of a Database accepts: every column of `:metabase_database` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
+ "is_qbnewb" : {
+ "type" : "boolean"
+ },
+ "is_active" : {
+ "type" : "boolean"
+ },
+ "last_login" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "tenant_collection_id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "provider_name" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "email" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "group_ids" : {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "uniqueItems" : true
+ },
+ "is_data_analyst" : {
+ "type" : "boolean"
+ },
+ "locale" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_field_values_schedule" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
+ "updated_at" : {
+ "oneOf" : [ { }, {
"type" : "null"
} ]
},
- "uploads_enabled" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "first_login" : { },
+ "is_superuser" : {
+ "type" : "boolean"
},
- "write_data_details" : {
+ "tenant_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.write-data-details"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "settings" : {
+ "custom_homepage" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.settings"
+ "type" : "object",
+ "properties" : {
+ "dashboard_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ },
+ "required" : [ "dashboard_id" ]
}, {
"type" : "null"
} ]
},
- "timezone" : {
+ "last_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "metadata_sync_schedule" : {
+ "is_installer" : {
+ "type" : "boolean"
+ },
+ "attributes" : {
+ "type" : "object",
+ "additionalProperties" : { }
+ },
+ "first_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "is_sample" : {
- "oneOf" : [ {
- "type" : "boolean"
- }, {
- "type" : "null"
- } ]
+ "date_joined" : { },
+ "has_invited_second_user" : {
+ "type" : "boolean"
},
- "dbms_version" : {
+ "personal_collection_id" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.dbms-version"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "name" : {
+ "common_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "is_on_demand" : {
+ "has_question_and_dashboard" : {
+ "type" : "boolean"
+ },
+ "can_write_any_collection" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "id", "email", "first_name", "last_name", "common_name", "date_joined", "last_login", "updated_at", "first_login", "is_superuser", "is_data_analyst", "is_qbnewb", "is_active", "is_installer", "has_invited_second_user", "has_question_and_dashboard", "has_model", "can_write_any_collection", "sso_source", "locale", "tenant_id", "tenant_collection_id", "personal_collection_id", "group_ids", "login_attributes", "jwt_attributes", "attributes", "permissions", "custom_homepage" ]
+ },
+ "metabase.users-rest.api.user-permissions" : {
+ "description" : "Permission flags for the current user, used by the FE to decide which UI elements to show. The `can_access_*`,\n `is_data_analyst`, and `is_group_manager` flags are only included when `advanced-permissions` is enabled.",
+ "type" : "object",
+ "properties" : {
+ "can_access_subscription" : {
+ "type" : "boolean"
+ },
+ "can_create_native_queries" : {
+ "type" : "boolean"
+ },
+ "can_access_setting" : {
+ "type" : "boolean"
+ },
+ "is_data_analyst" : {
+ "type" : "boolean"
+ },
+ "is_group_manager" : {
+ "type" : "boolean"
+ },
+ "can_access_monitoring" : {
+ "type" : "boolean"
+ },
+ "can_access_data_model" : {
+ "type" : "boolean"
+ },
+ "can_access_db_details" : {
+ "type" : "boolean"
+ },
+ "can_create_queries" : {
+ "type" : "boolean"
+ },
+ "can_access_transforms" : {
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "can_create_queries", "can_create_native_queries" ]
+ },
+ "metabase.users.schema..user.settings" : {
+ "description" : "Value must be a map.",
+ "type" : "object",
+ "properties" : { }
+ },
+ "metabase.users.schema..user.update" : {
+ "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "login_attributes" : {
"oneOf" : [ {
- "type" : "boolean"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "sso_source" : {
"oneOf" : [ {
- "type" : "string",
- "format" : "date-time"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "uploads_schema_name" : {
+ "jwt_attributes" : {
"oneOf" : [ {
- "type" : "string"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "is_qbnewb" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_attached_dwh" : {
+ "reset_token" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "engine" : {
+ "settings" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
}, {
"type" : "null"
} ]
},
- "router_database_id" : {
+ "deactivated_at" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "uploads_table_prefix" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "details" : {
+ "is_active" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.details"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "created_at" : {
+ "last_login" : {
"oneOf" : [ {
"type" : "string",
"format" : "date-time"
@@ -37044,203 +28419,235 @@
"type" : "null"
} ]
},
- "is_full_sync" : {
+ "email" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "auto_run_queries" : {
+ "password_salt" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "caveats" : {
+ "deactivated_with_tenant" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_stub" : {
+ "is_data_analyst" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "admin_details" : {
+ "locale" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.admin-details"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "initial_sync_status" : {
+ "updated_at" : {
"oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "creator_id" : {
+ "is_datasetnewb" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "refingerprint" : {
+ "reset_triggered" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "description" : {
+ "is_superuser" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "is_audit" : {
+ "tenant_id" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
- }
- },
- "additionalProperties" : false
- },
- "metabase.warehouses.schema..database.write-data-details" : {
- "description" : "The `:write_data_details` column of a Database, decoded.",
- "anyOf" : [ {
- "description" : "Value must be a map.",
- "type" : "object",
- "properties" : { }
- }, {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.undecryptable-column"
- } ]
- },
- "metabase.warehouses.schema.database" : {
- "description" : "What an update (or insert) of a Database accepts: every column of `:metabase_database` except `id`, all optional.",
- "type" : "object",
- "properties" : {
- "points_of_interest" : {
+ },
+ "last_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "provider_name" : {
+ "first_name" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_field_values_schedule" : {
+ "type" : {
"oneOf" : [ {
- "type" : "string"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "native_permissions" : {
+ "date_joined" : {
"oneOf" : [ {
"type" : "string",
- "enum" : [ "write", "none" ]
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "uploads_enabled" : {
+ "password" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
- },
- "write_data_details" : {
+ }
+ },
+ "additionalProperties" : false
+ },
+ "metabase.users.schema.user" : {
+ "description" : "What an update (or insert) of a User accepts: every column of `:core_user` except `id`, all optional.",
+ "type" : "object",
+ "properties" : {
+ "login_attributes" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.write-data-details"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "settings" : {
+ "sso_source" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.settings"
+ "anyOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "string"
+ } ]
}, {
"type" : "null"
} ]
},
- "timezone" : {
+ "jwt_attributes" : {
"oneOf" : [ {
- "type" : "string"
+ "allOf" : [ {
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
+ }, {
+ "description" : "login attribute keys must not start with `@`"
+ } ]
}, {
"type" : "null"
} ]
},
- "metadata_sync_schedule" : {
+ "is_qbnewb" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "boolean"
}, {
"type" : "null"
} ]
},
- "tables" : {
+ "user_group_memberships" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "name", "entity_id" ],
+ "additionalProperties" : false
+ }
+ },
+ "reset_token" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/metabase.warehouse-schema.schema.table"
- }
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "is_sample" : {
+ "settings" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.users.schema..user.settings"
}, {
"type" : "null"
} ]
},
- "id" : {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- },
- "dbms_version" : {
+ "deactivated_at" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.dbms-version"
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "name" : {
+ "entity_id" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "is_on_demand" : {
+ "is_active" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "updated_at" : {
+ "last_login" : {
"oneOf" : [ {
"type" : "string",
"format" : "date-time"
@@ -37248,67 +28655,45 @@
"type" : "null"
} ]
},
- "uploads_schema_name" : {
+ "id" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ },
+ "email" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "cache_ttl" : {
+ "password_salt" : {
"oneOf" : [ {
- "type" : "integer"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "is_attached_dwh" : {
+ "deactivated_with_tenant" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "can-manage" : {
+ "is_data_analyst" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "engine" : {
- "oneOf" : [ {
- "anyOf" : [ {
- "type" : "string"
- }, {
- "type" : "string"
- } ]
- }, {
- "type" : "null"
- } ]
- },
- "router_database_id" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.database"
- }, {
- "type" : "null"
- } ]
- },
- "uploads_table_prefix" : {
+ "locale" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
- "details" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.details"
- }, {
- "type" : "null"
- } ]
- },
- "created_at" : {
+ "updated_at" : {
"oneOf" : [ {
"type" : "string",
"format" : "date-time"
@@ -37316,57 +28701,66 @@
"type" : "null"
} ]
},
- "is_full_sync" : {
+ "is_datasetnewb" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "can_upload" : {
+ "reset_triggered" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "integer"
}, {
"type" : "null"
} ]
},
- "auto_run_queries" : {
+ "is_superuser" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"type" : "null"
} ]
},
- "caveats" : {
+ "tenant_id" : {
"oneOf" : [ {
- "type" : "string"
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
}, {
"type" : "null"
} ]
},
- "transforms_permissions" : {
+ "last_name" : {
"oneOf" : [ {
- "type" : "string",
- "enum" : [ "write", "none" ]
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "is_stub" : {
+ "attributes" : {
"oneOf" : [ {
- "type" : "boolean"
+ "description" : "Value must be a map.",
+ "oneOf" : [ {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/metabase.lib.schema.parameter..parameter.value"
+ }
+ }, {
+ "description" : "Value must be a map."
+ } ]
}, {
"type" : "null"
} ]
},
- "admin_details" : {
+ "first_name" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.warehouses.schema..database.admin-details"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "initial_sync_status" : {
+ "type" : {
"oneOf" : [ {
"anyOf" : [ {
"type" : "string"
@@ -37377,77 +28771,152 @@
"type" : "null"
} ]
},
- "features" : {
+ "date_joined" : {
"oneOf" : [ {
- "type" : "array",
- "items" : {
- "type" : "string"
- },
- "uniqueItems" : true
+ "type" : "string",
+ "format" : "date-time"
}, {
"type" : "null"
} ]
},
- "creator_id" : {
+ "password" : {
"oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.id.user"
+ "type" : "string"
}, {
"type" : "null"
} ]
},
- "refingerprint" : {
+ "common_name" : {
"oneOf" : [ {
- "type" : "boolean"
+ "type" : "string"
}, {
"type" : "null"
} ]
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.users.schema.user-group-membership" : {
+ "description" : "Group Membership info of a User.\n In which :is_group_manager is only included if `advanced-permissions` is enabled.",
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
},
- "schedules" : {
+ "is_group_manager" : {
+ "description" : "Only relevant if `advanced-permissions` is enabled. If it is, you should always include this key.",
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "id" ],
+ "additionalProperties" : false
+ },
+ "metabase.util.cron.CronHour" : {
+ "type" : "integer",
+ "minimum" : 0,
+ "maximum" : 23
+ },
+ "metabase.util.cron.CronMinute" : {
+ "type" : "integer",
+ "minimum" : 0,
+ "maximum" : 59
+ },
+ "metabase.util.cron.CronScheduleString" : {
+ "description" : "value must be a valid Quartz cron schedule string.",
+ "type" : "string",
+ "minLength" : 1
+ },
+ "metabase.util.cron.ScheduleMap" : {
+ "description" : "value must be a valid schedule map. See schema in metabase.util.cron for details.",
+ "type" : "object",
+ "properties" : {
+ "schedule_day" : {
"oneOf" : [ {
- "type" : "object",
- "properties" : {
- "cache_field_values" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
- }, {
- "type" : "null"
- } ]
- },
- "metadata_sync" : {
- "$ref" : "#/components/schemas/metabase.util.cron.ScheduleMap"
- }
- },
- "required" : [ "metadata_sync", "cache_field_values" ],
- "additionalProperties" : false
+ "type" : "string",
+ "enum" : [ "sun", "mon", "tue", "wed", "thu", "fri", "sat" ]
}, {
"type" : "null"
} ]
},
- "router_user_attribute" : {
+ "schedule_frame" : {
"oneOf" : [ {
- "type" : "string"
+ "type" : "string",
+ "enum" : [ "first", "mid", "last" ]
}, {
"type" : "null"
} ]
},
- "description" : {
+ "schedule_hour" : {
"oneOf" : [ {
- "type" : "string"
+ "$ref" : "#/components/schemas/metabase.util.cron.CronHour"
}, {
"type" : "null"
} ]
},
- "is_audit" : {
+ "schedule_minute" : {
"oneOf" : [ {
- "type" : "boolean"
+ "$ref" : "#/components/schemas/metabase.util.cron.CronMinute"
}, {
"type" : "null"
} ]
+ },
+ "schedule_type" : {
+ "type" : "string",
+ "enum" : [ "hourly", "daily", "weekly", "monthly" ]
}
},
- "required" : [ "id" ],
+ "required" : [ "schedule_type" ],
"additionalProperties" : false
},
+ "metabase.warehouse-schema-rest.api.table.data-authority-write" : {
+ "description" : "Schema for writing a valid table data authority.",
+ "type" : "string",
+ "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]
+ },
+ "metabase.warehouse-schema-rest.api.table.data-layers" : {
+ "type" : "string",
+ "enum" : [ "final", "internal", "hidden" ]
+ },
+ "metabase.warehouse-schema-rest.api.table.data-sources" : {
+ "type" : "string",
+ "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]
+ },
+ "metabase.warehouses-rest.api.available-settings" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "enabled" : {
+ "type" : "boolean"
+ },
+ "reasons" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "key" : {
+ "type" : "string"
+ },
+ "message" : {
+ "anyOf" : [ {
+ "type" : "string"
+ }, { } ]
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "error", "warning" ]
+ }
+ },
+ "required" : [ "key", "type", "message" ]
+ }
+ }
+ },
+ "required" : [ "enabled" ]
+ }
+ },
"metabase.xrays.api.automagic-dashboards.base-64-encoded-json" : {
"description" : "form-encoded base-64-encoded JSON"
},
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index 1d653061fd3..d440c8a7991 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -186,7 +186,7 @@ config:
landing-page-illustration: default
landing-page-illustration-custom: null
ldap-attribute-email: mail
- ldap-attribute-firstname: givenName
+ ldap-attribute-firstname: givenname
ldap-attribute-lastname: sn
ldap-bind-dn: null
ldap-enabled: false
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index a4ad5e50717..8c50f4b8b41 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -1165,7 +1165,7 @@ Attribute to use for the user's email. (usually 'mail', 'email' or 'userPrincipa
### `MB_LDAP_ATTRIBUTE_FIRSTNAME`
- Type: string
-- Default: `givenName`
+- Default: `givenname`
- [Configuration file name](./config-file.md): `ldap-attribute-firstname`
Attribute to use for the user's first name. (usually 'givenName').
diff --git a/docs/embedding/sdk/api/DataAppLink.html b/docs/embedding/sdk/api/DataAppLink.html
new file mode 100644
index 00000000000..50256858127
--- /dev/null
+++ b/docs/embedding/sdk/api/DataAppLink.html
@@ -0,0 +1,11 @@
+---
+title: DataAppLink
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/DataAppLink
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DataAppLink | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">DataAppLink</a></li></ul><h1>Variable DataAppLink<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">DataAppLink</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">{ to, children, onClick, target, rel, ...rest }</span><span class="tsd-signature-symbol">:</span> <a href="DataAppLinkProps.html" class="tsd-signature-type tsd-kind-interface">DataAppLinkProps</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></div><div class="tsd-comment tsd-typography"><p>Internal-only navigation link inside a data app.</p>
+<p>Renders a plain anchor rather than a router <code>&lt;Link&gt;</code>: a data app is mounted
+outside the app's route tree, so it has no router context to read.</p>
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">{ to, children, onClick, target, rel, ...rest }</span><span class="tsd-signature-symbol">:</span> <a href="DataAppLinkProps.html" class="tsd-signature-type tsd-kind-interface">DataAppLinkProps</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">{ to, children, onClick, target, rel, ...rest }</span>: <a href="DataAppLinkProps.html" class="tsd-signature-type tsd-kind-interface">DataAppLinkProps</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></h4></li></ul></li></ul></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/DataAppLinkProps.html b/docs/embedding/sdk/api/DataAppLinkProps.html
new file mode 100644
index 00000000000..55fd8457641
--- /dev/null
+++ b/docs/embedding/sdk/api/DataAppLinkProps.html
@@ -0,0 +1,10 @@
+---
+title: DataAppLinkProps
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/DataAppLinkProps
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DataAppLinkProps | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">DataAppLinkProps</a></li></ul><h1>Interface DataAppLinkProps</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">DataAppLinkProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#children">children</a><span class="tsd-signature-symbol">?:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478" class="tsd-signature-type external" target="_blank">ReactNode</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#to">to</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" class="tsd-signature-type external" target="_blank">Omit</a><span class="tsd-signature-symbol">&lt;</span><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L3100" class="tsd-signature-type external" target="_blank">AnchorHTMLAttributes</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement" class="tsd-signature-type external" target="_blank">HTMLAnchorElement</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">&quot;href&quot;</span><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">DataAppLinkProps</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#children" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>children?</span></a>
+<a href="#to" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>to</span></a>
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="children"><code class="tsd-tag">Optional</code><span>children</span><a href="#children" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">children</span><span class="tsd-signature-symbol">?:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478" class="tsd-signature-type external" target="_blank">ReactNode</a></div><aside class="tsd-sources"><p>Overrides Omit.children</p></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="to"><span>to</span><a href="#to" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#children"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>children</span></a><a href="#to"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>to</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/DataAppRouter.html b/docs/embedding/sdk/api/DataAppRouter.html
new file mode 100644
index 00000000000..a090774db6a
--- /dev/null
+++ b/docs/embedding/sdk/api/DataAppRouter.html
@@ -0,0 +1,13 @@
+---
+title: DataAppRouter
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/DataAppRouter
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DataAppRouter | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">DataAppRouter</a></li></ul><h1>Variable DataAppRouter<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">DataAppRouter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">{ children }</span><span class="tsd-signature-symbol">:</span> <a href="DataAppRouterProps.html" class="tsd-signature-type tsd-kind-interface">DataAppRouterProps</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></div><div class="tsd-comment tsd-typography"><p>Wrap your data-app tree once. Inside, use <code>&lt;DataAppLink to=&quot;…&quot;&gt;</code> for
+navigation and <code>useDataAppLocation()</code> to read the current path.</p>
+<p>No <code>basename</code> prop: it is auto-detected from the iframe URL
+(<code>/embed/apps/&lt;name&gt;</code>). In the dev preview, where there is no prefix, the
+basename resolves to <code>&quot;&quot;</code> and the sub-path is just the raw pathname.</p>
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">{ children }</span><span class="tsd-signature-symbol">:</span> <a href="DataAppRouterProps.html" class="tsd-signature-type tsd-kind-interface">DataAppRouterProps</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">{ children }</span>: <a href="DataAppRouterProps.html" class="tsd-signature-type tsd-kind-interface">DataAppRouterProps</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6" class="tsd-signature-type external" target="_blank">JSX_3.Element</a></h4></li></ul></li></ul></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/DataAppRouterProps.html b/docs/embedding/sdk/api/DataAppRouterProps.html
new file mode 100644
index 00000000000..c1fe2f0b02c
--- /dev/null
+++ b/docs/embedding/sdk/api/DataAppRouterProps.html
@@ -0,0 +1,9 @@
+---
+title: DataAppRouterProps
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/DataAppRouterProps
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DataAppRouterProps | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">DataAppRouterProps</a></li></ul><h1>Interface DataAppRouterProps</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">DataAppRouterProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#children">children</a><span class="tsd-signature-symbol">?:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478" class="tsd-signature-type external" target="_blank">ReactNode</a><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#children" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>children?</span></a>
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="children"><code class="tsd-tag">Optional</code><span>children</span><a href="#children" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">children</span><span class="tsd-signature-symbol">?:</span> <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478" class="tsd-signature-type external" target="_blank">ReactNode</a></div></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#children"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>children</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/UseDataAppLocationResult.html b/docs/embedding/sdk/api/UseDataAppLocationResult.html
new file mode 100644
index 00000000000..78e516eae2c
--- /dev/null
+++ b/docs/embedding/sdk/api/UseDataAppLocationResult.html
@@ -0,0 +1,10 @@
+---
+title: UseDataAppLocationResult
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/UseDataAppLocationResult
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UseDataAppLocationResult | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">UseDataAppLocationResult</a></li></ul><h1>Type Alias UseDataAppLocationResult</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">type</span> <span class="tsd-kind-type-alias">UseDataAppLocationResult</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#navigate">navigate</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#pathname">pathname</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#navigate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>navigate</span></a>
+<a href="#pathname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>pathname</span></a>
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="navigate"><span>navigate</span><a href="#navigate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">navigate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pathname"><span>pathname</span><a href="#pathname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pathname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#navigate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>navigate</span></a><a href="#pathname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="assets/icons.svg#icon-1024"></use></svg><span>pathname</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/assets/navigation.js b/docs/embedding/sdk/api/assets/navigation.js
index dff5939e057..18677355199 100644
--- a/docs/embedding/sdk/api/assets/navigation.js
+++ b/docs/embedding/sdk/api/assets/navigation.js
@@ -1 +1 @@
-window.navigationData = "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"
\ No newline at end of file
+window.navigationData = "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"
\ No newline at end of file
diff --git a/docs/embedding/sdk/api/assets/search.js b/docs/embedding/sdk/api/assets/search.js
index 6a3d31afd01..dcfce36e0d0 100644
--- a/docs/embedding/sdk/api/assets/search.js
+++ b/docs/embedding/sdk/api/assets/search.js
@@ -1 +1 @@
-window.searchData = "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";
\ No newline at end of file
+window.searchData = "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";
\ No newline at end of file
diff --git a/docs/embedding/sdk/api/index.html b/docs/embedding/sdk/api/index.html
index e7bf59caac7..a7943fedcce 100644
--- a/docs/embedding/sdk/api/index.html
+++ b/docs/embedding/sdk/api/index.html
@@ -3,4 +3,4 @@ title: Embedded analytics SDK API
layout: docs-api
---
-<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>Embedded analytics SDK API</h1></div><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CollectionBrowser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CollectionBrowser</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="collectionbrowser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="CollectionBrowser.html">CollectionBrowser</a><a href="#collectionbrowser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="collectionbrowserprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CollectionBrowserProps.html">CollectionBrowserProps</a><a href="#collectionbrowserprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CreateDashboardModal"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CreateDashboardModal</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="createdashboardmodal"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="CreateDashboardModal.html">CreateDashboardModal</a><a href="#createdashboardmodal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createdashboardmodalprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateDashboardModalProps.html">CreateDashboardModalProps</a><a href="#createdashboardmodalprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CreateQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CreateQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="createquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a class="deprecated" href="CreateQuestion.html">CreateQuestion</a><a href="#createquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateQuestionProps.html">CreateQuestionProps</a><a href="#createquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Dashboard"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Dashboard</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="editabledashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="EditableDashboard.html">EditableDashboard</a><a href="#editabledashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivedashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="InteractiveDashboard.html">InteractiveDashboard</a><a href="#interactivedashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticdashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="StaticDashboard.html">StaticDashboard</a><a href="#staticdashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="editabledashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="EditableDashboardProps.html">EditableDashboardProps</a><a href="#editabledashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivedashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveDashboardProps.html">InteractiveDashboardProps</a><a href="#interactivedashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticdashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticDashboardProps.html">StaticDashboardProps</a><a href="#staticdashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parameterchangepayload"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterChangePayload.html">ParameterChangePayload</a><a href="#parameterchangepayload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parameterchangesource"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterChangeSource.html">ParameterChangeSource</a><a href="#parameterchangesource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-InteractiveQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>InteractiveQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="interactivequestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="InteractiveQuestion.html">InteractiveQuestion</a><a href="#interactivequestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="drillthroughquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="DrillThroughQuestionProps.html">DrillThroughQuestionProps</a><a href="#drillthroughquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncharttypedropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionChartTypeDropdownProps.html">InteractiveQuestionChartTypeDropdownProps</a><a href="#interactivequestioncharttypedropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioneditorbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionEditorButtonProps.html">InteractiveQuestionEditorButtonProps</a><a href="#interactivequestioneditorbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioneditorprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionEditorProps.html">InteractiveQuestionEditorProps</a><a href="#interactivequestioneditorprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionProps.html">InteractiveQuestionProps</a><a href="#interactivequestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionsettingsdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionQuestionSettingsDropdownProps.html">InteractiveQuestionQuestionSettingsDropdownProps</a><a href="#interactivequestionquestionsettingsdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionvisualizationprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionQuestionVisualizationProps.html">InteractiveQuestionQuestionVisualizationProps</a><a href="#interactivequestionquestionvisualizationprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionresetbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionResetButtonProps.html">InteractiveQuestionResetButtonProps</a><a href="#interactivequestionresetbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsavequestionformprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionSaveQuestionFormProps.html">InteractiveQuestionSaveQuestionFormProps</a><a href="#interactivequestionsavequestionformprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiontitleprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionTitleProps.html">InteractiveQuestionTitleProps</a><a href="#interactivequestiontitleprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="SdkQuestionProps.html">SdkQuestionProps</a><a href="#sdkquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionbackbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionBackButtonProps.html">InteractiveQuestionBackButtonProps</a><a href="#interactivequestionbackbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionbreakoutdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionBreakoutDropdownProps.html">InteractiveQuestionBreakoutDropdownProps</a><a href="#interactivequestionbreakoutdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncharttypeselectorprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionChartTypeSelectorProps.html">InteractiveQuestionChartTypeSelectorProps</a><a href="#interactivequestioncharttypeselectorprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiondownloadwidgetdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionDownloadWidgetDropdownProps.html">InteractiveQuestionDownloadWidgetDropdownProps</a><a href="#interactivequestiondownloadwidgetdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiondownloadwidgetprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionDownloadWidgetProps.html">InteractiveQuestionDownloadWidgetProps</a><a href="#interactivequestiondownloadwidgetprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionfilterdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionFilterDropdownProps.html">InteractiveQuestionFilterDropdownProps</a><a href="#interactivequestionfilterdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionfilterprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionFilterProps.html">InteractiveQuestionFilterProps</a><a href="#interactivequestionfilterprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionsettingsprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionQuestionSettingsProps.html">InteractiveQuestionQuestionSettingsProps</a><a href="#interactivequestionquestionsettingsprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsavebuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionSaveButtonProps.html">InteractiveQuestionSaveButtonProps</a><a href="#interactivequestionsavebuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsummarizedropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionSummarizeDropdownProps.html">InteractiveQuestionSummarizeDropdownProps</a><a href="#interactivequestionsummarizedropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparameterchangepayload"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterChangePayload.html">SqlParameterChangePayload</a><a href="#sqlparameterchangepayload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparameterchangesource"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterChangeSource.html">SqlParameterChangeSource</a><a href="#sqlparameterchangesource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-MetabaseProvider"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>MetabaseProvider</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="definemetabaseauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="defineMetabaseAuthConfig.html">defineMetabaseAuthConfig</a><a href="#definemetabaseauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseprovider"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="MetabaseProvider.html">MetabaseProvider</a><a href="#metabaseprovider" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseproviderprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseProviderProps.html">MetabaseProviderProps</a><a href="#metabaseproviderprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfig.html">MetabaseAuthConfig</a><a href="#metabaseauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithapikey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithApiKey.html">MetabaseAuthConfigWithApiKey</a><a href="#metabaseauthconfigwithapikey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithjwt"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithJwt.html">MetabaseAuthConfigWithJwt</a><a href="#metabaseauthconfigwithjwt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithsaml"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithSaml.html">MetabaseAuthConfigWithSaml</a><a href="#metabaseauthconfigwithsaml" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseisguestauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseIsGuestAuthConfig.html">MetabaseIsGuestAuthConfig</a><a href="#metabaseisguestauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-MetabotQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>MetabotQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="metabotquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="MetabotQuestion.html">MetabotQuestion</a><a href="#metabotquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabotQuestionProps.html">MetabotQuestionProps</a><a href="#metabotquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-StaticQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>StaticQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="staticquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="StaticQuestion.html">StaticQuestion</a><a href="#staticquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticQuestionProps.html">StaticQuestionProps</a><a href="#staticquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Theming"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Theming</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="metabaseembeddingthemev2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseEmbeddingThemeV2.html">MetabaseEmbeddingThemeV2</a><a href="#metabaseembeddingthemev2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="chartcolorv2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ChartColorV2.html">ChartColorV2</a><a href="#chartcolorv2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecolorkey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseColorKey.html">MetabaseColorKey</a><a href="#metabasecolorkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseembeddingtheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseEmbeddingTheme.html">MetabaseEmbeddingTheme</a><a href="#metabaseembeddingtheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-other"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>other</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useaction"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><a href="useAction.html">useAction</a><a href="#useaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncomponents"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionComponents.html">InteractiveQuestionComponents</a><a href="#interactivequestioncomponents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecolors"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseColors.html">MetabaseColors</a><a href="#metabasecolors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasequestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseQuestion.html">MetabaseQuestion</a><a href="#metabasequestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasetheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseTheme.html">MetabaseTheme</a><a href="#metabasetheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticquestioncomponents"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticQuestionComponents.html">StaticQuestionComponents</a><a href="#staticquestioncomponents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="buttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ButtonProps.html">ButtonProps</a><a href="#buttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="chartcolor"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ChartColor.html">ChartColor</a><a href="#chartcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="collectionbrowserlistcolumns"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="CollectionBrowserListColumns.html">CollectionBrowserListColumns</a><a href="#collectionbrowserlistcolumns" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="customdashboardcardmenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="CustomDashboardCardMenuItem.html">CustomDashboardCardMenuItem</a><a href="#customdashboardcardmenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardcustommenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardCustomMenuItem.html">DashboardCardCustomMenuItem</a><a href="#dashboardcardcustommenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardmenu"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardMenu.html">DashboardCardMenu</a><a href="#dashboardcardmenu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardmenucustomelement"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardMenuCustomElement.html">DashboardCardMenuCustomElement</a><a href="#dashboardcardmenucustomelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashcardmenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashCardMenuItem.html">DashCardMenuItem</a><a href="#dashcardmenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="embeddingdatapicker"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EmbeddingDataPicker.html">EmbeddingDataPicker</a><a href="#embeddingdatapicker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="embeddingentitytype"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EmbeddingEntityType.html">EmbeddingEntityType</a><a href="#embeddingentitytype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="entitytypefilterkeys"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EntityTypeFilterKeys.html">EntityTypeFilterKeys</a><a href="#entitytypefilterkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="fieldschema"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="FieldSchema.html">FieldSchema</a><a href="#fieldschema" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="iconname"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="IconName.html">IconName</a><a href="#iconname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="initializationstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InitializationStatus.html">InitializationStatus</a><a href="#initializationstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="loginstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="LoginStatus.html">LoginStatus</a><a href="#loginstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCard.html">MetabaseCard</a><a href="#metabasecard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseclickaction"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseClickAction.html">MetabaseClickAction</a><a href="#metabaseclickaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseclickactionpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseClickActionPluginsConfig.html">MetabaseClickActionPluginsConfig</a><a href="#metabaseclickactionpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecollection"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCollection.html">MetabaseCollection</a><a href="#metabasecollection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecollectionitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCollectionItem.html">MetabaseCollectionItem</a><a href="#metabasecollectionitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecomponenttheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseComponentTheme.html">MetabaseComponentTheme</a><a href="#metabasecomponenttheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDashboard.html">MetabaseDashboard</a><a href="#metabasedashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedashboardpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDashboardPluginsConfig.html">MetabaseDashboardPluginsConfig</a><a href="#metabasedashboardpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedatapointobject"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDataPointObject.html">MetabaseDataPointObject</a><a href="#metabasedatapointobject" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseembeddingcolorkeyv2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseEmbeddingColorKeyV2.html">MetabaseEmbeddingColorKeyV2</a><a href="#metabaseembeddingcolorkeyv2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasefetchrequesttokenfn"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseFetchRequestTokenFn.html">MetabaseFetchRequestTokenFn</a><a href="#metabasefetchrequesttokenfn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasefontfamily"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseFontFamily.html">MetabaseFontFamily</a><a href="#metabasefontfamily" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseglobalpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseGlobalPluginsConfig.html">MetabaseGlobalPluginsConfig</a><a href="#metabaseglobalpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasepluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabasePluginsConfig.html">MetabasePluginsConfig</a><a href="#metabasepluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasequeryobject"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseQueryObject.html">MetabaseQueryObject</a><a href="#metabasequeryobject" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasethemepreset"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseThemePreset.html">MetabaseThemePreset</a><a href="#metabasethemepreset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseuser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseUser.html">MetabaseUser</a><a href="#metabaseuser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagentchartmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentChartMessage.html">MetabotAgentChartMessage</a><a href="#metabotagentchartmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagentmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentMessage.html">MetabotAgentMessage</a><a href="#metabotagentmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagenttextmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentTextMessage.html">MetabotAgentTextMessage</a><a href="#metabotagenttextmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotusertextmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotUserTextMessage.html">MetabotUserTextMessage</a><a href="#metabotusertextmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parametervalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterValues.html">ParameterValues</a><a href="#parametervalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="protectedcolorkey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ProtectedColorKey.html">ProtectedColorKey</a><a href="#protectedcolorkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="querydata"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="QueryData.html">QueryData</a><a href="#querydata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="queryquestionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="QueryQuestionResult.html">QueryQuestionResult</a><a href="#queryquestionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="rowvalue"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="RowValue.html">RowValue</a><a href="#rowvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemacolumn"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaColumn.html">SchemaColumn</a><a href="#schemacolumn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemajavascripttype"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaJavaScriptType.html">SchemaJavaScriptType</a><a href="#schemajavascripttype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemarow"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaRow.html">SchemaRow</a><a href="#schemarow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactiondefinition"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionDefinition.html">SdkActionDefinition</a><a href="#sdkactiondefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionId.html">SdkActionId</a><a href="#sdkactionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactioninput"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionInput.html">SdkActionInput</a><a href="#sdkactioninput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkbrowsercollectionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkBrowserCollectionId.html">SdkBrowserCollectionId</a><a href="#sdkbrowsercollectionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkcollectionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkCollectionId.html">SdkCollectionId</a><a href="#sdkcollectionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardentitypublicprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardEntityPublicProps.html">SdkDashboardEntityPublicProps</a><a href="#sdkdashboardentitypublicprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardId.html">SdkDashboardId</a><a href="#sdkdashboardid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardloadevent"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardLoadEvent.html">SdkDashboardLoadEvent</a><a href="#sdkdashboardloadevent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkentityid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEntityId.html">SdkEntityId</a><a href="#sdkentityid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkentitytoken"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEntityToken.html">SdkEntityToken</a><a href="#sdkentitytoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkerrorcomponent"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkErrorComponent.html">SdkErrorComponent</a><a href="#sdkerrorcomponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkerrorcomponentprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkErrorComponentProps.html">SdkErrorComponentProps</a><a href="#sdkerrorcomponentprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkeventhandlersconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEventHandlersConfig.html">SdkEventHandlersConfig</a><a href="#sdkeventhandlersconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionentitypublicprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionEntityPublicProps.html">SdkQuestionEntityPublicProps</a><a href="#sdkquestionentitypublicprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionId.html">SdkQuestionId</a><a href="#sdkquestionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestiontitleprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionTitleProps.html">SdkQuestionTitleProps</a><a href="#sdkquestiontitleprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkuserid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkUserId.html">SdkUserId</a><a href="#sdkuserid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparametervalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterValues.html">SqlParameterValues</a><a href="#sqlparametervalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="userbackendjwtresponse"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="UserBackendJwtResponse.html">UserBackendJwtResponse</a><a href="#userbackendjwtresponse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useAction"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useAction</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useactionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="UseActionResult.html">UseActionResult</a><a href="#useactionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionexecuteerror"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionExecuteError.html">ActionExecuteError</a><a href="#actionexecuteerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionkind"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionKind.html">ActionKind</a><a href="#actionkind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforbulk"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForBulk.html">ActionResultForBulk</a><a href="#actionresultforbulk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforcreate"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForCreate.html">ActionResultForCreate</a><a href="#actionresultforcreate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultfordelete"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForDelete.html">ActionResultForDelete</a><a href="#actionresultfordelete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforkind"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForKind.html">ActionResultForKind</a><a href="#actionresultforkind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforsql"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForSql.html">ActionResultForSql</a><a href="#actionresultforsql" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforupdate"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForUpdate.html">ActionResultForUpdate</a><a href="#actionresultforupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="anyactionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="AnyActionResult.html">AnyActionResult</a><a href="#anyactionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useApplicationName"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useApplicationName</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useapplicationname"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useApplicationName.html">useApplicationName</a><a href="#useapplicationname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useAvailableFonts"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useAvailableFonts</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useavailablefonts"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useAvailableFonts.html">useAvailableFonts</a><a href="#useavailablefonts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useCreateDashboardApi"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useCreateDashboardApi</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usecreatedashboardapi"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useCreateDashboardApi.html">useCreateDashboardApi</a><a href="#usecreatedashboardapi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createdashboardvalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateDashboardValues.html">CreateDashboardValues</a><a href="#createdashboardvalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useCurrentUser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useCurrentUser</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usecurrentuser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useCurrentUser.html">useCurrentUser</a><a href="#usecurrentuser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useMetabaseAuthStatus"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useMetabaseAuthStatus</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usemetabaseauthstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useMetabaseAuthStatus.html">useMetabaseAuthStatus</a><a href="#usemetabaseauthstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useMetabot"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useMetabot</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usemetabot"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useMetabot.html">useMetabot</a><a href="#usemetabot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotchartprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotChartProps.html">MetabotChartProps</a><a href="#metabotchartprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metaboterrormessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotErrorMessage.html">MetabotErrorMessage</a><a href="#metaboterrormessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotMessage.html">MetabotMessage</a><a href="#metabotmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="usemetabotresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="UseMetabotResult.html">UseMetabotResult</a><a href="#usemetabotresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CollectionBrowser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CollectionBrowser</summary><div><a href="#collectionbrowser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Collection<wbr/>Browser</span></a><a href="#collectionbrowserprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Collection<wbr/>Browser<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CreateDashboardModal"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CreateDashboardModal</summary><div><a href="#createdashboardmodal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Create<wbr/>Dashboard<wbr/>Modal</span></a><a href="#createdashboardmodalprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Dashboard<wbr/>Modal<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CreateQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CreateQuestion</summary><div><a href="#createquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Create<wbr/>Question</span></a><a href="#createquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Dashboard"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Dashboard</summary><div><a href="#editabledashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Editable<wbr/>Dashboard</span></a><a href="#interactivedashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Interactive<wbr/>Dashboard</span></a><a href="#staticdashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Static<wbr/>Dashboard</span></a><a href="#editabledashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Editable<wbr/>Dashboard<wbr/>Props</span></a><a href="#interactivedashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Dashboard<wbr/>Props</span></a><a href="#staticdashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Dashboard<wbr/>Props</span></a><a href="#parameterchangepayload"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Change<wbr/>Payload</span></a><a href="#parameterchangesource"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Change<wbr/>Source</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-InteractiveQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>InteractiveQuestion</summary><div><a href="#interactivequestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Interactive<wbr/>Question</span></a><a href="#drillthroughquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Drill<wbr/>Through<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestioncharttypedropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Chart<wbr/>Type<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestioneditorbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Editor<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestioneditorprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Editor<wbr/>Props</span></a><a href="#interactivequestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestionquestionsettingsdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Settings<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestionquestionvisualizationprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Visualization<wbr/>Props</span></a><a href="#interactivequestionresetbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Reset<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionsavequestionformprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Save<wbr/>Question<wbr/>Form<wbr/>Props</span></a><a href="#interactivequestiontitleprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Title<wbr/>Props</span></a><a href="#sdkquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Sdk<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestionbackbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Back<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionbreakoutdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Breakout<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestioncharttypeselectorprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Chart<wbr/>Type<wbr/>Selector<wbr/>Props</span></a><a href="#interactivequestiondownloadwidgetdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Download<wbr/>Widget<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestiondownloadwidgetprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Download<wbr/>Widget<wbr/>Props</span></a><a href="#interactivequestionfilterdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Filter<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestionfilterprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Filter<wbr/>Props</span></a><a href="#interactivequestionquestionsettingsprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Settings<wbr/>Props</span></a><a href="#interactivequestionsavebuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Save<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionsummarizedropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Summarize<wbr/>Dropdown<wbr/>Props</span></a><a href="#sqlparameterchangepayload"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Change<wbr/>Payload</span></a><a href="#sqlparameterchangesource"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Change<wbr/>Source</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-MetabaseProvider"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>MetabaseProvider</summary><div><a href="#definemetabaseauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>define<wbr/>Metabase<wbr/>Auth<wbr/>Config</span></a><a href="#metabaseprovider"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Metabase<wbr/>Provider</span></a><a href="#metabaseproviderprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Provider<wbr/>Props</span></a><a href="#metabaseauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config</span></a><a href="#metabaseauthconfigwithapikey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Api<wbr/>Key</span></a><a href="#metabaseauthconfigwithjwt"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Jwt</span></a><a href="#metabaseauthconfigwithsaml"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Saml</span></a><a href="#metabaseisguestauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Is<wbr/>Guest<wbr/>Auth<wbr/>Config</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-MetabotQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>MetabotQuestion</summary><div><a href="#metabotquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Metabot<wbr/>Question</span></a><a href="#metabotquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabot<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-StaticQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>StaticQuestion</summary><div><a href="#staticquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Static<wbr/>Question</span></a><a href="#staticquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Theming"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Theming</summary><div><a href="#metabaseembeddingthemev2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Theme<wbr/>V2</span></a><a href="#chartcolorv2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Chart<wbr/>Color<wbr/>V2</span></a><a href="#metabasecolorkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Color<wbr/>Key</span></a><a href="#metabaseembeddingtheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Theme</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-other"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>other</summary><div><a href="#useaction"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><span>use<wbr/>Action</span></a><a href="#interactivequestioncomponents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Components</span></a><a href="#metabasecolors"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Colors</span></a><a href="#metabasequestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Question</span></a><a href="#metabasetheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Theme</span></a><a href="#staticquestioncomponents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Question<wbr/>Components</span></a><a href="#buttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Button<wbr/>Props</span></a><a href="#chartcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Chart<wbr/>Color</span></a><a href="#collectionbrowserlistcolumns"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Collection<wbr/>Browser<wbr/>List<wbr/>Columns</span></a><a href="#customdashboardcardmenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Custom<wbr/>Dashboard<wbr/>Card<wbr/>Menu<wbr/>Item</span></a><a href="#dashboardcardcustommenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Custom<wbr/>Menu<wbr/>Item</span></a><a href="#dashboardcardmenu"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Menu</span></a><a href="#dashboardcardmenucustomelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Menu<wbr/>Custom<wbr/>Element</span></a><a href="#dashcardmenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dash<wbr/>Card<wbr/>Menu<wbr/>Item</span></a><a href="#embeddingdatapicker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Embedding<wbr/>Data<wbr/>Picker</span></a><a href="#embeddingentitytype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Embedding<wbr/>Entity<wbr/>Type</span></a><a href="#entitytypefilterkeys"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Entity<wbr/>Type<wbr/>Filter<wbr/>Keys</span></a><a href="#fieldschema"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Field<wbr/>Schema</span></a><a href="#iconname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Icon<wbr/>Name</span></a><a href="#initializationstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Initialization<wbr/>Status</span></a><a href="#loginstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Login<wbr/>Status</span></a><a href="#metabasecard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Card</span></a><a href="#metabaseclickaction"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Click<wbr/>Action</span></a><a href="#metabaseclickactionpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Click<wbr/>Action<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasecollection"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Collection</span></a><a href="#metabasecollectionitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Collection<wbr/>Item</span></a><a href="#metabasecomponenttheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Component<wbr/>Theme</span></a><a href="#metabasedashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Dashboard</span></a><a href="#metabasedashboardpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Dashboard<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasedatapointobject"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Data<wbr/>Point<wbr/>Object</span></a><a href="#metabaseembeddingcolorkeyv2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Color<wbr/>Key<wbr/>V2</span></a><a href="#metabasefetchrequesttokenfn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Fetch<wbr/>Request<wbr/>Token<wbr/>Fn</span></a><a href="#metabasefontfamily"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Font<wbr/>Family</span></a><a href="#metabaseglobalpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Global<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasepluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasequeryobject"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Query<wbr/>Object</span></a><a href="#metabasethemepreset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Theme<wbr/>Preset</span></a><a href="#metabaseuser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>User</span></a><a href="#metabotagentchartmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Chart<wbr/>Message</span></a><a href="#metabotagentmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Message</span></a><a href="#metabotagenttextmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Text<wbr/>Message</span></a><a href="#metabotusertextmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>User<wbr/>Text<wbr/>Message</span></a><a href="#parametervalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Values</span></a><a href="#protectedcolorkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Protected<wbr/>Color<wbr/>Key</span></a><a href="#querydata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Query<wbr/>Data</span></a><a href="#queryquestionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Query<wbr/>Question<wbr/>Result</span></a><a href="#rowvalue"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Row<wbr/>Value</span></a><a href="#schemacolumn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Column</span></a><a href="#schemajavascripttype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Java<wbr/>Script<wbr/>Type</span></a><a href="#schemarow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Row</span></a><a href="#sdkactiondefinition"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Definition</span></a><a href="#sdkactionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Id</span></a><a href="#sdkactioninput"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Input</span></a><a href="#sdkbrowsercollectionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Browser<wbr/>Collection<wbr/>Id</span></a><a href="#sdkcollectionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Collection<wbr/>Id</span></a><a href="#sdkdashboardentitypublicprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Entity<wbr/>Public<wbr/>Props</span></a><a href="#sdkdashboardid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Id</span></a><a href="#sdkdashboardloadevent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Load<wbr/>Event</span></a><a href="#sdkentityid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Entity<wbr/>Id</span></a><a href="#sdkentitytoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Entity<wbr/>Token</span></a><a href="#sdkerrorcomponent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Error<wbr/>Component</span></a><a href="#sdkerrorcomponentprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Error<wbr/>Component<wbr/>Props</span></a><a href="#sdkeventhandlersconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Event<wbr/>Handlers<wbr/>Config</span></a><a href="#sdkquestionentitypublicprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Entity<wbr/>Public<wbr/>Props</span></a><a href="#sdkquestionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Id</span></a><a href="#sdkquestiontitleprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Title<wbr/>Props</span></a><a href="#sdkuserid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>User<wbr/>Id</span></a><a href="#sqlparametervalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Values</span></a><a href="#userbackendjwtresponse"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>User<wbr/>Backend<wbr/>Jwt<wbr/>Response</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useAction"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useAction</summary><div><a href="#useactionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Use<wbr/>Action<wbr/>Result</span></a><a href="#actionexecuteerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Execute<wbr/>Error</span></a><a href="#actionkind"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Kind</span></a><a href="#actionresultforbulk"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Bulk</span></a><a href="#actionresultforcreate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Create</span></a><a href="#actionresultfordelete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Delete</span></a><a href="#actionresultforkind"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Kind</span></a><a href="#actionresultforsql"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Sql</span></a><a href="#actionresultforupdate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Update</span></a><a href="#anyactionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Any<wbr/>Action<wbr/>Result</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useApplicationName"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useApplicationName</summary><div><a href="#useapplicationname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Application<wbr/>Name</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useAvailableFonts"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useAvailableFonts</summary><div><a href="#useavailablefonts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Available<wbr/>Fonts</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useCreateDashboardApi"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useCreateDashboardApi</summary><div><a href="#usecreatedashboardapi"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Create<wbr/>Dashboard<wbr/>Api</span></a><a href="#createdashboardvalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Dashboard<wbr/>Values</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useCurrentUser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useCurrentUser</summary><div><a href="#usecurrentuser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Current<wbr/>User</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useMetabaseAuthStatus"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useMetabaseAuthStatus</summary><div><a href="#usemetabaseauthstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Metabase<wbr/>Auth<wbr/>Status</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useMetabot"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useMetabot</summary><div><a href="#usemetabot"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Metabot</span></a><a href="#metabotchartprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Chart<wbr/>Props</span></a><a href="#metaboterrormessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Error<wbr/>Message</span></a><a href="#metabotmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Message</span></a><a href="#usemetabotresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Use<wbr/>Metabot<wbr/>Result</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html" class="current">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>Embedded analytics SDK API</h1></div><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CollectionBrowser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CollectionBrowser</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="collectionbrowser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="CollectionBrowser.html">CollectionBrowser</a><a href="#collectionbrowser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="collectionbrowserprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CollectionBrowserProps.html">CollectionBrowserProps</a><a href="#collectionbrowserprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CreateDashboardModal"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CreateDashboardModal</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="createdashboardmodal"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="CreateDashboardModal.html">CreateDashboardModal</a><a href="#createdashboardmodal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createdashboardmodalprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateDashboardModalProps.html">CreateDashboardModalProps</a><a href="#createdashboardmodalprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-CreateQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>CreateQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="createquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a class="deprecated" href="CreateQuestion.html">CreateQuestion</a><a href="#createquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateQuestionProps.html">CreateQuestionProps</a><a href="#createquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Dashboard"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Dashboard</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="editabledashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="EditableDashboard.html">EditableDashboard</a><a href="#editabledashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivedashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="InteractiveDashboard.html">InteractiveDashboard</a><a href="#interactivedashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticdashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="StaticDashboard.html">StaticDashboard</a><a href="#staticdashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="editabledashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="EditableDashboardProps.html">EditableDashboardProps</a><a href="#editabledashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivedashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveDashboardProps.html">InteractiveDashboardProps</a><a href="#interactivedashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticdashboardprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticDashboardProps.html">StaticDashboardProps</a><a href="#staticdashboardprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parameterchangepayload"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterChangePayload.html">ParameterChangePayload</a><a href="#parameterchangepayload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parameterchangesource"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterChangeSource.html">ParameterChangeSource</a><a href="#parameterchangesource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-InteractiveQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>InteractiveQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="interactivequestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="InteractiveQuestion.html">InteractiveQuestion</a><a href="#interactivequestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="drillthroughquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="DrillThroughQuestionProps.html">DrillThroughQuestionProps</a><a href="#drillthroughquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncharttypedropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionChartTypeDropdownProps.html">InteractiveQuestionChartTypeDropdownProps</a><a href="#interactivequestioncharttypedropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioneditorbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionEditorButtonProps.html">InteractiveQuestionEditorButtonProps</a><a href="#interactivequestioneditorbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioneditorprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionEditorProps.html">InteractiveQuestionEditorProps</a><a href="#interactivequestioneditorprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionProps.html">InteractiveQuestionProps</a><a href="#interactivequestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionsettingsdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionQuestionSettingsDropdownProps.html">InteractiveQuestionQuestionSettingsDropdownProps</a><a href="#interactivequestionquestionsettingsdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionvisualizationprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionQuestionVisualizationProps.html">InteractiveQuestionQuestionVisualizationProps</a><a href="#interactivequestionquestionvisualizationprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionresetbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionResetButtonProps.html">InteractiveQuestionResetButtonProps</a><a href="#interactivequestionresetbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsavequestionformprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionSaveQuestionFormProps.html">InteractiveQuestionSaveQuestionFormProps</a><a href="#interactivequestionsavequestionformprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiontitleprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionTitleProps.html">InteractiveQuestionTitleProps</a><a href="#interactivequestiontitleprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="SdkQuestionProps.html">SdkQuestionProps</a><a href="#sdkquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionbackbuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionBackButtonProps.html">InteractiveQuestionBackButtonProps</a><a href="#interactivequestionbackbuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionbreakoutdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionBreakoutDropdownProps.html">InteractiveQuestionBreakoutDropdownProps</a><a href="#interactivequestionbreakoutdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncharttypeselectorprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionChartTypeSelectorProps.html">InteractiveQuestionChartTypeSelectorProps</a><a href="#interactivequestioncharttypeselectorprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiondownloadwidgetdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionDownloadWidgetDropdownProps.html">InteractiveQuestionDownloadWidgetDropdownProps</a><a href="#interactivequestiondownloadwidgetdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestiondownloadwidgetprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionDownloadWidgetProps.html">InteractiveQuestionDownloadWidgetProps</a><a href="#interactivequestiondownloadwidgetprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionfilterdropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionFilterDropdownProps.html">InteractiveQuestionFilterDropdownProps</a><a href="#interactivequestionfilterdropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionfilterprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionFilterProps.html">InteractiveQuestionFilterProps</a><a href="#interactivequestionfilterprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionquestionsettingsprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionQuestionSettingsProps.html">InteractiveQuestionQuestionSettingsProps</a><a href="#interactivequestionquestionsettingsprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsavebuttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionSaveButtonProps.html">InteractiveQuestionSaveButtonProps</a><a href="#interactivequestionsavebuttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestionsummarizedropdownprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InteractiveQuestionSummarizeDropdownProps.html">InteractiveQuestionSummarizeDropdownProps</a><a href="#interactivequestionsummarizedropdownprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparameterchangepayload"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterChangePayload.html">SqlParameterChangePayload</a><a href="#sqlparameterchangepayload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparameterchangesource"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterChangeSource.html">SqlParameterChangeSource</a><a href="#sqlparameterchangesource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-MetabaseProvider"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>MetabaseProvider</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="definemetabaseauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="defineMetabaseAuthConfig.html">defineMetabaseAuthConfig</a><a href="#definemetabaseauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseprovider"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="MetabaseProvider.html">MetabaseProvider</a><a href="#metabaseprovider" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseproviderprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseProviderProps.html">MetabaseProviderProps</a><a href="#metabaseproviderprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfig.html">MetabaseAuthConfig</a><a href="#metabaseauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithapikey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithApiKey.html">MetabaseAuthConfigWithApiKey</a><a href="#metabaseauthconfigwithapikey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithjwt"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithJwt.html">MetabaseAuthConfigWithJwt</a><a href="#metabaseauthconfigwithjwt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseauthconfigwithsaml"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseAuthConfigWithSaml.html">MetabaseAuthConfigWithSaml</a><a href="#metabaseauthconfigwithsaml" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseisguestauthconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseIsGuestAuthConfig.html">MetabaseIsGuestAuthConfig</a><a href="#metabaseisguestauthconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-MetabotQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>MetabotQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="metabotquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="MetabotQuestion.html">MetabotQuestion</a><a href="#metabotquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabotQuestionProps.html">MetabotQuestionProps</a><a href="#metabotquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-StaticQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>StaticQuestion</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="staticquestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="StaticQuestion.html">StaticQuestion</a><a href="#staticquestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticquestionprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticQuestionProps.html">StaticQuestionProps</a><a href="#staticquestionprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Theming"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>Theming</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="metabaseembeddingthemev2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseEmbeddingThemeV2.html">MetabaseEmbeddingThemeV2</a><a href="#metabaseembeddingthemev2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="chartcolorv2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ChartColorV2.html">ChartColorV2</a><a href="#chartcolorv2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecolorkey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseColorKey.html">MetabaseColorKey</a><a href="#metabasecolorkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseembeddingtheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseEmbeddingTheme.html">MetabaseEmbeddingTheme</a><a href="#metabaseembeddingtheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-other"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>other</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="dataapplink"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><a href="DataAppLink.html">DataAppLink</a><a href="#dataapplink" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dataapprouter"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><a href="DataAppRouter.html">DataAppRouter</a><a href="#dataapprouter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="useaction"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><a href="useAction.html">useAction</a><a href="#useaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="usedataapplocation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><a href="useDataAppLocation.html">useDataAppLocation</a><a href="#usedataapplocation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dataapplinkprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="DataAppLinkProps.html">DataAppLinkProps</a><a href="#dataapplinkprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dataapprouterprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="DataAppRouterProps.html">DataAppRouterProps</a><a href="#dataapprouterprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="interactivequestioncomponents"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="InteractiveQuestionComponents.html">InteractiveQuestionComponents</a><a href="#interactivequestioncomponents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecolors"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseColors.html">MetabaseColors</a><a href="#metabasecolors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasequestion"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseQuestion.html">MetabaseQuestion</a><a href="#metabasequestion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasetheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="MetabaseTheme.html">MetabaseTheme</a><a href="#metabasetheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="staticquestioncomponents"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="StaticQuestionComponents.html">StaticQuestionComponents</a><a href="#staticquestioncomponents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="buttonprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ButtonProps.html">ButtonProps</a><a href="#buttonprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="chartcolor"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ChartColor.html">ChartColor</a><a href="#chartcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="collectionbrowserlistcolumns"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="CollectionBrowserListColumns.html">CollectionBrowserListColumns</a><a href="#collectionbrowserlistcolumns" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="customdashboardcardmenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="CustomDashboardCardMenuItem.html">CustomDashboardCardMenuItem</a><a href="#customdashboardcardmenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardcustommenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardCustomMenuItem.html">DashboardCardCustomMenuItem</a><a href="#dashboardcardcustommenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardmenu"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardMenu.html">DashboardCardMenu</a><a href="#dashboardcardmenu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashboardcardmenucustomelement"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashboardCardMenuCustomElement.html">DashboardCardMenuCustomElement</a><a href="#dashboardcardmenucustomelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="dashcardmenuitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="DashCardMenuItem.html">DashCardMenuItem</a><a href="#dashcardmenuitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="embeddingdatapicker"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EmbeddingDataPicker.html">EmbeddingDataPicker</a><a href="#embeddingdatapicker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="embeddingentitytype"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EmbeddingEntityType.html">EmbeddingEntityType</a><a href="#embeddingentitytype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="entitytypefilterkeys"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="EntityTypeFilterKeys.html">EntityTypeFilterKeys</a><a href="#entitytypefilterkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="fieldschema"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="FieldSchema.html">FieldSchema</a><a href="#fieldschema" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="iconname"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="IconName.html">IconName</a><a href="#iconname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="initializationstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="InitializationStatus.html">InitializationStatus</a><a href="#initializationstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="loginstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="LoginStatus.html">LoginStatus</a><a href="#loginstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCard.html">MetabaseCard</a><a href="#metabasecard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseclickaction"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseClickAction.html">MetabaseClickAction</a><a href="#metabaseclickaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseclickactionpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseClickActionPluginsConfig.html">MetabaseClickActionPluginsConfig</a><a href="#metabaseclickactionpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecollection"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCollection.html">MetabaseCollection</a><a href="#metabasecollection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecollectionitem"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseCollectionItem.html">MetabaseCollectionItem</a><a href="#metabasecollectionitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasecomponenttheme"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseComponentTheme.html">MetabaseComponentTheme</a><a href="#metabasecomponenttheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedashboard"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDashboard.html">MetabaseDashboard</a><a href="#metabasedashboard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedashboardpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDashboardPluginsConfig.html">MetabaseDashboardPluginsConfig</a><a href="#metabasedashboardpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasedatapointobject"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseDataPointObject.html">MetabaseDataPointObject</a><a href="#metabasedatapointobject" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseembeddingcolorkeyv2"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseEmbeddingColorKeyV2.html">MetabaseEmbeddingColorKeyV2</a><a href="#metabaseembeddingcolorkeyv2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasefetchrequesttokenfn"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseFetchRequestTokenFn.html">MetabaseFetchRequestTokenFn</a><a href="#metabasefetchrequesttokenfn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasefontfamily"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseFontFamily.html">MetabaseFontFamily</a><a href="#metabasefontfamily" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseglobalpluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseGlobalPluginsConfig.html">MetabaseGlobalPluginsConfig</a><a href="#metabaseglobalpluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasepluginsconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabasePluginsConfig.html">MetabasePluginsConfig</a><a href="#metabasepluginsconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasequeryobject"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseQueryObject.html">MetabaseQueryObject</a><a href="#metabasequeryobject" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabasethemepreset"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseThemePreset.html">MetabaseThemePreset</a><a href="#metabasethemepreset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabaseuser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabaseUser.html">MetabaseUser</a><a href="#metabaseuser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagentchartmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentChartMessage.html">MetabotAgentChartMessage</a><a href="#metabotagentchartmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagentmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentMessage.html">MetabotAgentMessage</a><a href="#metabotagentmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotagenttextmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotAgentTextMessage.html">MetabotAgentTextMessage</a><a href="#metabotagenttextmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotusertextmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotUserTextMessage.html">MetabotUserTextMessage</a><a href="#metabotusertextmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="parametervalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ParameterValues.html">ParameterValues</a><a href="#parametervalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="protectedcolorkey"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ProtectedColorKey.html">ProtectedColorKey</a><a href="#protectedcolorkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="querydata"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="QueryData.html">QueryData</a><a href="#querydata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="queryquestionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="QueryQuestionResult.html">QueryQuestionResult</a><a href="#queryquestionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="rowvalue"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="RowValue.html">RowValue</a><a href="#rowvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemacolumn"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaColumn.html">SchemaColumn</a><a href="#schemacolumn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemajavascripttype"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaJavaScriptType.html">SchemaJavaScriptType</a><a href="#schemajavascripttype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="schemarow"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SchemaRow.html">SchemaRow</a><a href="#schemarow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactiondefinition"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionDefinition.html">SdkActionDefinition</a><a href="#sdkactiondefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionId.html">SdkActionId</a><a href="#sdkactionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkactioninput"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkActionInput.html">SdkActionInput</a><a href="#sdkactioninput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkbrowsercollectionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkBrowserCollectionId.html">SdkBrowserCollectionId</a><a href="#sdkbrowsercollectionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkcollectionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkCollectionId.html">SdkCollectionId</a><a href="#sdkcollectionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardentitypublicprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardEntityPublicProps.html">SdkDashboardEntityPublicProps</a><a href="#sdkdashboardentitypublicprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardId.html">SdkDashboardId</a><a href="#sdkdashboardid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkdashboardloadevent"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkDashboardLoadEvent.html">SdkDashboardLoadEvent</a><a href="#sdkdashboardloadevent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkentityid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEntityId.html">SdkEntityId</a><a href="#sdkentityid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkentitytoken"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEntityToken.html">SdkEntityToken</a><a href="#sdkentitytoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkerrorcomponent"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkErrorComponent.html">SdkErrorComponent</a><a href="#sdkerrorcomponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkerrorcomponentprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkErrorComponentProps.html">SdkErrorComponentProps</a><a href="#sdkerrorcomponentprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkeventhandlersconfig"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkEventHandlersConfig.html">SdkEventHandlersConfig</a><a href="#sdkeventhandlersconfig" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionentitypublicprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionEntityPublicProps.html">SdkQuestionEntityPublicProps</a><a href="#sdkquestionentitypublicprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestionid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionId.html">SdkQuestionId</a><a href="#sdkquestionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkquestiontitleprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkQuestionTitleProps.html">SdkQuestionTitleProps</a><a href="#sdkquestiontitleprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sdkuserid"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SdkUserId.html">SdkUserId</a><a href="#sdkuserid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="sqlparametervalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="SqlParameterValues.html">SqlParameterValues</a><a href="#sqlparametervalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="usedataapplocationresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="UseDataAppLocationResult.html">UseDataAppLocationResult</a><a href="#usedataapplocationresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="userbackendjwtresponse"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="UserBackendJwtResponse.html">UserBackendJwtResponse</a><a href="#userbackendjwtresponse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useAction"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useAction</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useactionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="UseActionResult.html">UseActionResult</a><a href="#useactionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionexecuteerror"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionExecuteError.html">ActionExecuteError</a><a href="#actionexecuteerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionkind"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionKind.html">ActionKind</a><a href="#actionkind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforbulk"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForBulk.html">ActionResultForBulk</a><a href="#actionresultforbulk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforcreate"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForCreate.html">ActionResultForCreate</a><a href="#actionresultforcreate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultfordelete"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForDelete.html">ActionResultForDelete</a><a href="#actionresultfordelete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforkind"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForKind.html">ActionResultForKind</a><a href="#actionresultforkind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforsql"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForSql.html">ActionResultForSql</a><a href="#actionresultforsql" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="actionresultforupdate"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="ActionResultForUpdate.html">ActionResultForUpdate</a><a href="#actionresultforupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="anyactionresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="AnyActionResult.html">AnyActionResult</a><a href="#anyactionresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useApplicationName"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useApplicationName</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useapplicationname"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useApplicationName.html">useApplicationName</a><a href="#useapplicationname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useAvailableFonts"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useAvailableFonts</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="useavailablefonts"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useAvailableFonts.html">useAvailableFonts</a><a href="#useavailablefonts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useCreateDashboardApi"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useCreateDashboardApi</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usecreatedashboardapi"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useCreateDashboardApi.html">useCreateDashboardApi</a><a href="#usecreatedashboardapi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="createdashboardvalues"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><a href="CreateDashboardValues.html">CreateDashboardValues</a><a href="#createdashboardvalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useCurrentUser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useCurrentUser</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usecurrentuser"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useCurrentUser.html">useCurrentUser</a><a href="#usecurrentuser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useMetabaseAuthStatus"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useMetabaseAuthStatus</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usemetabaseauthstatus"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useMetabaseAuthStatus.html">useMetabaseAuthStatus</a><a href="#usemetabaseauthstatus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-useMetabot"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h2>useMetabot</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="usemetabot"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="useMetabot.html">useMetabot</a><a href="#usemetabot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotchartprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotChartProps.html">MetabotChartProps</a><a href="#metabotchartprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metaboterrormessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotErrorMessage.html">MetabotErrorMessage</a><a href="#metaboterrormessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="metabotmessage"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="MetabotMessage.html">MetabotMessage</a><a href="#metabotmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="usemetabotresult"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="UseMetabotResult.html">UseMetabotResult</a><a href="#usemetabotresult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CollectionBrowser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CollectionBrowser</summary><div><a href="#collectionbrowser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Collection<wbr/>Browser</span></a><a href="#collectionbrowserprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Collection<wbr/>Browser<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CreateDashboardModal"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CreateDashboardModal</summary><div><a href="#createdashboardmodal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Create<wbr/>Dashboard<wbr/>Modal</span></a><a href="#createdashboardmodalprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Dashboard<wbr/>Modal<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-CreateQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>CreateQuestion</summary><div><a href="#createquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Create<wbr/>Question</span></a><a href="#createquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Dashboard"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Dashboard</summary><div><a href="#editabledashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Editable<wbr/>Dashboard</span></a><a href="#interactivedashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Interactive<wbr/>Dashboard</span></a><a href="#staticdashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Static<wbr/>Dashboard</span></a><a href="#editabledashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Editable<wbr/>Dashboard<wbr/>Props</span></a><a href="#interactivedashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Dashboard<wbr/>Props</span></a><a href="#staticdashboardprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Dashboard<wbr/>Props</span></a><a href="#parameterchangepayload"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Change<wbr/>Payload</span></a><a href="#parameterchangesource"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Change<wbr/>Source</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-InteractiveQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>InteractiveQuestion</summary><div><a href="#interactivequestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Interactive<wbr/>Question</span></a><a href="#drillthroughquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Drill<wbr/>Through<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestioncharttypedropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Chart<wbr/>Type<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestioneditorbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Editor<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestioneditorprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Editor<wbr/>Props</span></a><a href="#interactivequestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestionquestionsettingsdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Settings<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestionquestionvisualizationprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Visualization<wbr/>Props</span></a><a href="#interactivequestionresetbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Reset<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionsavequestionformprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Save<wbr/>Question<wbr/>Form<wbr/>Props</span></a><a href="#interactivequestiontitleprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Title<wbr/>Props</span></a><a href="#sdkquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Sdk<wbr/>Question<wbr/>Props</span></a><a href="#interactivequestionbackbuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Back<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionbreakoutdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Breakout<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestioncharttypeselectorprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Chart<wbr/>Type<wbr/>Selector<wbr/>Props</span></a><a href="#interactivequestiondownloadwidgetdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Download<wbr/>Widget<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestiondownloadwidgetprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Download<wbr/>Widget<wbr/>Props</span></a><a href="#interactivequestionfilterdropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Filter<wbr/>Dropdown<wbr/>Props</span></a><a href="#interactivequestionfilterprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Filter<wbr/>Props</span></a><a href="#interactivequestionquestionsettingsprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Question<wbr/>Settings<wbr/>Props</span></a><a href="#interactivequestionsavebuttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Save<wbr/>Button<wbr/>Props</span></a><a href="#interactivequestionsummarizedropdownprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Interactive<wbr/>Question<wbr/>Summarize<wbr/>Dropdown<wbr/>Props</span></a><a href="#sqlparameterchangepayload"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Change<wbr/>Payload</span></a><a href="#sqlparameterchangesource"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Change<wbr/>Source</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-MetabaseProvider"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>MetabaseProvider</summary><div><a href="#definemetabaseauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>define<wbr/>Metabase<wbr/>Auth<wbr/>Config</span></a><a href="#metabaseprovider"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Metabase<wbr/>Provider</span></a><a href="#metabaseproviderprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Provider<wbr/>Props</span></a><a href="#metabaseauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config</span></a><a href="#metabaseauthconfigwithapikey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Api<wbr/>Key</span></a><a href="#metabaseauthconfigwithjwt"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Jwt</span></a><a href="#metabaseauthconfigwithsaml"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Auth<wbr/>Config<wbr/>With<wbr/>Saml</span></a><a href="#metabaseisguestauthconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Is<wbr/>Guest<wbr/>Auth<wbr/>Config</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-MetabotQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>MetabotQuestion</summary><div><a href="#metabotquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Metabot<wbr/>Question</span></a><a href="#metabotquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabot<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-StaticQuestion"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>StaticQuestion</summary><div><a href="#staticquestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Static<wbr/>Question</span></a><a href="#staticquestionprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Question<wbr/>Props</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Theming"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Theming</summary><div><a href="#metabaseembeddingthemev2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Theme<wbr/>V2</span></a><a href="#chartcolorv2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Chart<wbr/>Color<wbr/>V2</span></a><a href="#metabasecolorkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Color<wbr/>Key</span></a><a href="#metabaseembeddingtheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Theme</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-other"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>other</summary><div><a href="#dataapplink"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><span>Data<wbr/>App<wbr/>Link</span></a><a href="#dataapprouter"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><span>Data<wbr/>App<wbr/>Router</span></a><a href="#useaction"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><span>use<wbr/>Action</span></a><a href="#usedataapplocation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="assets/icons.svg#icon-32"></use></svg><span>use<wbr/>Data<wbr/>App<wbr/>Location</span></a><a href="#dataapplinkprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Data<wbr/>App<wbr/>Link<wbr/>Props</span></a><a href="#dataapprouterprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Data<wbr/>App<wbr/>Router<wbr/>Props</span></a><a href="#interactivequestioncomponents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Interactive<wbr/>Question<wbr/>Components</span></a><a href="#metabasecolors"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Colors</span></a><a href="#metabasequestion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Question</span></a><a href="#metabasetheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Metabase<wbr/>Theme</span></a><a href="#staticquestioncomponents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Static<wbr/>Question<wbr/>Components</span></a><a href="#buttonprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Button<wbr/>Props</span></a><a href="#chartcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Chart<wbr/>Color</span></a><a href="#collectionbrowserlistcolumns"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Collection<wbr/>Browser<wbr/>List<wbr/>Columns</span></a><a href="#customdashboardcardmenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Custom<wbr/>Dashboard<wbr/>Card<wbr/>Menu<wbr/>Item</span></a><a href="#dashboardcardcustommenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Custom<wbr/>Menu<wbr/>Item</span></a><a href="#dashboardcardmenu"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Menu</span></a><a href="#dashboardcardmenucustomelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dashboard<wbr/>Card<wbr/>Menu<wbr/>Custom<wbr/>Element</span></a><a href="#dashcardmenuitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Dash<wbr/>Card<wbr/>Menu<wbr/>Item</span></a><a href="#embeddingdatapicker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Embedding<wbr/>Data<wbr/>Picker</span></a><a href="#embeddingentitytype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Embedding<wbr/>Entity<wbr/>Type</span></a><a href="#entitytypefilterkeys"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Entity<wbr/>Type<wbr/>Filter<wbr/>Keys</span></a><a href="#fieldschema"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Field<wbr/>Schema</span></a><a href="#iconname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Icon<wbr/>Name</span></a><a href="#initializationstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Initialization<wbr/>Status</span></a><a href="#loginstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Login<wbr/>Status</span></a><a href="#metabasecard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Card</span></a><a href="#metabaseclickaction"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Click<wbr/>Action</span></a><a href="#metabaseclickactionpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Click<wbr/>Action<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasecollection"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Collection</span></a><a href="#metabasecollectionitem"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Collection<wbr/>Item</span></a><a href="#metabasecomponenttheme"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Component<wbr/>Theme</span></a><a href="#metabasedashboard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Dashboard</span></a><a href="#metabasedashboardpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Dashboard<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasedatapointobject"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Data<wbr/>Point<wbr/>Object</span></a><a href="#metabaseembeddingcolorkeyv2"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Embedding<wbr/>Color<wbr/>Key<wbr/>V2</span></a><a href="#metabasefetchrequesttokenfn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Fetch<wbr/>Request<wbr/>Token<wbr/>Fn</span></a><a href="#metabasefontfamily"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Font<wbr/>Family</span></a><a href="#metabaseglobalpluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Global<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasepluginsconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Plugins<wbr/>Config</span></a><a href="#metabasequeryobject"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Query<wbr/>Object</span></a><a href="#metabasethemepreset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>Theme<wbr/>Preset</span></a><a href="#metabaseuser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabase<wbr/>User</span></a><a href="#metabotagentchartmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Chart<wbr/>Message</span></a><a href="#metabotagentmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Message</span></a><a href="#metabotagenttextmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Agent<wbr/>Text<wbr/>Message</span></a><a href="#metabotusertextmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>User<wbr/>Text<wbr/>Message</span></a><a href="#parametervalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Parameter<wbr/>Values</span></a><a href="#protectedcolorkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Protected<wbr/>Color<wbr/>Key</span></a><a href="#querydata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Query<wbr/>Data</span></a><a href="#queryquestionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Query<wbr/>Question<wbr/>Result</span></a><a href="#rowvalue"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Row<wbr/>Value</span></a><a href="#schemacolumn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Column</span></a><a href="#schemajavascripttype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Java<wbr/>Script<wbr/>Type</span></a><a href="#schemarow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Schema<wbr/>Row</span></a><a href="#sdkactiondefinition"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Definition</span></a><a href="#sdkactionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Id</span></a><a href="#sdkactioninput"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Action<wbr/>Input</span></a><a href="#sdkbrowsercollectionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Browser<wbr/>Collection<wbr/>Id</span></a><a href="#sdkcollectionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Collection<wbr/>Id</span></a><a href="#sdkdashboardentitypublicprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Entity<wbr/>Public<wbr/>Props</span></a><a href="#sdkdashboardid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Id</span></a><a href="#sdkdashboardloadevent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Dashboard<wbr/>Load<wbr/>Event</span></a><a href="#sdkentityid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Entity<wbr/>Id</span></a><a href="#sdkentitytoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Entity<wbr/>Token</span></a><a href="#sdkerrorcomponent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Error<wbr/>Component</span></a><a href="#sdkerrorcomponentprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Error<wbr/>Component<wbr/>Props</span></a><a href="#sdkeventhandlersconfig"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Event<wbr/>Handlers<wbr/>Config</span></a><a href="#sdkquestionentitypublicprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Entity<wbr/>Public<wbr/>Props</span></a><a href="#sdkquestionid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Id</span></a><a href="#sdkquestiontitleprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>Question<wbr/>Title<wbr/>Props</span></a><a href="#sdkuserid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sdk<wbr/>User<wbr/>Id</span></a><a href="#sqlparametervalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Sql<wbr/>Parameter<wbr/>Values</span></a><a href="#usedataapplocationresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Use<wbr/>Data<wbr/>App<wbr/>Location<wbr/>Result</span></a><a href="#userbackendjwtresponse"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>User<wbr/>Backend<wbr/>Jwt<wbr/>Response</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useAction"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useAction</summary><div><a href="#useactionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Use<wbr/>Action<wbr/>Result</span></a><a href="#actionexecuteerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Execute<wbr/>Error</span></a><a href="#actionkind"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Kind</span></a><a href="#actionresultforbulk"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Bulk</span></a><a href="#actionresultforcreate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Create</span></a><a href="#actionresultfordelete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Delete</span></a><a href="#actionresultforkind"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Kind</span></a><a href="#actionresultforsql"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Sql</span></a><a href="#actionresultforupdate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Action<wbr/>Result<wbr/>For<wbr/>Update</span></a><a href="#anyactionresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Any<wbr/>Action<wbr/>Result</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useApplicationName"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useApplicationName</summary><div><a href="#useapplicationname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Application<wbr/>Name</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useAvailableFonts"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useAvailableFonts</summary><div><a href="#useavailablefonts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Available<wbr/>Fonts</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useCreateDashboardApi"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useCreateDashboardApi</summary><div><a href="#usecreatedashboardapi"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Create<wbr/>Dashboard<wbr/>Api</span></a><a href="#createdashboardvalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg><span>Create<wbr/>Dashboard<wbr/>Values</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useCurrentUser"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useCurrentUser</summary><div><a href="#usecurrentuser"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Current<wbr/>User</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useMetabaseAuthStatus"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useMetabaseAuthStatus</summary><div><a href="#usemetabaseauthstatus"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Metabase<wbr/>Auth<wbr/>Status</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-useMetabot"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>useMetabot</summary><div><a href="#usemetabot"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>use<wbr/>Metabot</span></a><a href="#metabotchartprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Chart<wbr/>Props</span></a><a href="#metaboterrormessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Error<wbr/>Message</span></a><a href="#metabotmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Metabot<wbr/>Message</span></a><a href="#usemetabotresult"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Use<wbr/>Metabot<wbr/>Result</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html" class="current">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>
diff --git a/docs/embedding/sdk/api/snippets/DataAppLink.md b/docs/embedding/sdk/api/snippets/DataAppLink.md
new file mode 100644
index 00000000000..6a506c9e981
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/DataAppLink.md
@@ -0,0 +1,33 @@
+```ts
+const DataAppLink: ({
+ to,
+ children,
+ onClick,
+ target,
+ rel,
+ ...rest
+}: DataAppLinkProps) => JSX_3.Element;
+```
+
+Internal-only navigation link inside a data app.
+
+Renders a plain anchor rather than a router `<Link>`: a data app is mounted
+outside the app's route tree, so it has no router context to read.
+
+## Parameters
+
+<!-- [<snippet parameters>] -->
+
+| Parameter | Type |
+| :------------------------------------------------ | :---------------------------------------------- |
+| `{ to, children, onClick, target, rel, ...rest }` | [`DataAppLinkProps`](./api/DataAppLinkProps.md) |
+
+<!-- [<endsnippet parameters>] -->
+
+## Returns
+
+<!-- [<snippet returns>] -->
+
+[`JSX_3.Element`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6)
+
+<!-- [<endsnippet returns>] -->
diff --git a/docs/embedding/sdk/api/snippets/DataAppLinkProps.md b/docs/embedding/sdk/api/snippets/DataAppLinkProps.md
new file mode 100644
index 00000000000..4834223a852
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/DataAppLinkProps.md
@@ -0,0 +1,18 @@
+## Extends
+
+<!-- [<snippet extends>] -->
+
+- [`Omit`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys)\<[`AnchorHTMLAttributes`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L3100)\<[`HTMLAnchorElement`](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)\>, `"href"`\>
+
+<!-- [<endsnippet extends>] -->
+
+## Properties
+
+<!-- [<snippet properties>] -->
+
+| Property | Type |
+| :-------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ |
+| <a id="children"></a> `children?` | [`ReactNode`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478) |
+| <a id="to"></a> `to` | `string` |
+
+<!-- [<endsnippet properties>] -->
diff --git a/docs/embedding/sdk/api/snippets/DataAppRouter.md b/docs/embedding/sdk/api/snippets/DataAppRouter.md
new file mode 100644
index 00000000000..50cac51e681
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/DataAppRouter.md
@@ -0,0 +1,28 @@
+```ts
+const DataAppRouter: ({ children }: DataAppRouterProps) => JSX_3.Element;
+```
+
+Wrap your data-app tree once. Inside, use `<DataAppLink to="…">` for
+navigation and `useDataAppLocation()` to read the current path.
+
+No `basename` prop: it is auto-detected from the iframe URL
+(`/embed/apps/<name>`). In the dev preview, where there is no prefix, the
+basename resolves to `""` and the sub-path is just the raw pathname.
+
+## Parameters
+
+<!-- [<snippet parameters>] -->
+
+| Parameter | Type |
+| :------------- | :-------------------------------------------------- |
+| `{ children }` | [`DataAppRouterProps`](./api/DataAppRouterProps.md) |
+
+<!-- [<endsnippet parameters>] -->
+
+## Returns
+
+<!-- [<snippet returns>] -->
+
+[`JSX_3.Element`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6)
+
+<!-- [<endsnippet returns>] -->
diff --git a/docs/embedding/sdk/api/snippets/DataAppRouterProps.md b/docs/embedding/sdk/api/snippets/DataAppRouterProps.md
new file mode 100644
index 00000000000..4d2ab7fdbd1
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/DataAppRouterProps.md
@@ -0,0 +1,9 @@
+## Properties
+
+<!-- [<snippet properties>] -->
+
+| Property | Type |
+| :-------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ |
+| <a id="children"></a> `children?` | [`ReactNode`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/index.d.ts#L478) |
+
+<!-- [<endsnippet properties>] -->
diff --git a/docs/embedding/sdk/api/snippets/UseDataAppLocationResult.md b/docs/embedding/sdk/api/snippets/UseDataAppLocationResult.md
new file mode 100644
index 00000000000..d340f6ba88e
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/UseDataAppLocationResult.md
@@ -0,0 +1,17 @@
+```ts
+type UseDataAppLocationResult = {
+ navigate: (to: string) => void;
+ pathname: string;
+};
+```
+
+## Properties
+
+<!-- [<snippet properties>] -->
+
+| Property | Type |
+| :------------------------------- | :------------------------- |
+| <a id="navigate"></a> `navigate` | (`to`: `string`) => `void` |
+| <a id="pathname"></a> `pathname` | `string` |
+
+<!-- [<endsnippet properties>] -->
diff --git a/docs/embedding/sdk/api/snippets/index.md b/docs/embedding/sdk/api/snippets/index.md
index 66b2278e3bf..1eccca0ee66 100644
--- a/docs/embedding/sdk/api/snippets/index.md
+++ b/docs/embedding/sdk/api/snippets/index.md
@@ -101,7 +101,12 @@
| Name | Description |
| :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| [DataAppLink](./api/DataAppLink.md) | Internal-only navigation link inside a data app. |
+| [DataAppRouter](./api/DataAppRouter.md) | Wrap your data-app tree once. Inside, use `<DataAppLink to="…">` for navigation and `useDataAppLocation()` to read the current path. |
| [useAction](./api/useAction.md) | - |
+| [useDataAppLocation](./api/useDataAppLocation.md) | The current data-app sub-path and a `navigate` function. |
+| [DataAppLinkProps](./api/DataAppLinkProps.md) | - |
+| [DataAppRouterProps](./api/DataAppRouterProps.md) | - |
| [InteractiveQuestionComponents](./api/InteractiveQuestionComponents.md) | - |
| [MetabaseColors](./api/MetabaseColors.md) | - |
| [MetabaseQuestion](./api/MetabaseQuestion.md) | - |
@@ -169,6 +174,7 @@
| [SdkQuestionTitleProps](./api/SdkQuestionTitleProps.md) | - |
| [SdkUserId](./api/SdkUserId.md) | - |
| [SqlParameterValues](./api/SqlParameterValues.md) | - |
+| [UseDataAppLocationResult](./api/UseDataAppLocationResult.md) | - |
| [UserBackendJwtResponse](./api/UserBackendJwtResponse.md) | - |
## useAction
diff --git a/docs/embedding/sdk/api/snippets/useDataAppLocation.md b/docs/embedding/sdk/api/snippets/useDataAppLocation.md
new file mode 100644
index 00000000000..b457610629c
--- /dev/null
+++ b/docs/embedding/sdk/api/snippets/useDataAppLocation.md
@@ -0,0 +1,16 @@
+```ts
+const useDataAppLocation: () => UseDataAppLocationResult;
+```
+
+The current data-app sub-path and a `navigate` function.
+
+Paths are relative to the data-app root: `/`, `/customers/42`, etc.
+`navigate(to)` switches sub-path without a full reload.
+
+## Returns
+
+<!-- [<snippet returns>] -->
+
+[`UseDataAppLocationResult`](./api/UseDataAppLocationResult.md)
+
+<!-- [<endsnippet returns>] -->
diff --git a/docs/embedding/sdk/api/useDataAppLocation.html b/docs/embedding/sdk/api/useDataAppLocation.html
new file mode 100644
index 00000000000..f37914dc38d
--- /dev/null
+++ b/docs/embedding/sdk/api/useDataAppLocation.html
@@ -0,0 +1,11 @@
+---
+title: useDataAppLocation
+layout: docs-api
+redirect_from:
+ - /docs/latest/embedding/api/useDataAppLocation
+---
+
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>useDataAppLocation | Embedded analytics SDK API</title><link rel="icon" href="assets/favicon.ico"/>{% include docs/embedded-analytics-sdk-metadata.html %}<meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script defer src="assets/main.js"></script><script defer src="assets/custom.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">Embedded analytics SDK API</a><div id="tsd-toolbar-links"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })">Back to documentation</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">useDataAppLocation</a></li></ul><h1>Variable useDataAppLocation<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">useDataAppLocation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <a href="UseDataAppLocationResult.html" class="tsd-signature-type tsd-kind-type-alias">UseDataAppLocationResult</a></div><div class="tsd-comment tsd-typography"><p>The current data-app sub-path and a <code>navigate</code> function.</p>
+<p>Paths are relative to the data-app root: <code>/</code>, <code>/customers/42</code>, etc.
+<code>navigate(to)</code> switches sub-path without a full reload.</p>
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="UseDataAppLocationResult.html" class="tsd-signature-type tsd-kind-type-alias">UseDataAppLocationResult</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="UseDataAppLocationResult.html" class="tsd-signature-type tsd-kind-type-alias">UseDataAppLocationResult</a></h4></li></ul></li></ul></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="javascript:navigateBack({ fallbackUrl: '/docs/latest/embedding/sdk/introduction' })" class="tsd-nav-link">Back to documentation</a></nav><nav class="tsd-navigation"><a href="index.html">Embedded analytics SDK API</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p><script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script><script type="text/javascript" src="/js/cookie-consent.js"></script><link href="/gdpr-cookie-notice/dist/style.css" rel="stylesheet" /><link href="/css/gdpr.css" rel="stylesheet" /></p></footer><div class="overlay"></div></body></html>