From 1d07bdf2a1d31663cd6ad3638929b3ff76ea0dc6 Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Thu, 2 May 2024 12:51:30 +0200 Subject: [PATCH 1/2] Update manifest v12 with dbt-core@main as of 2024.05.01 --- dbt/manifest/v12.json | 9430 ++++++++++++++--------------------------- 1 file changed, 3129 insertions(+), 6301 deletions(-) diff --git a/dbt/manifest/v12.json b/dbt/manifest/v12.json index 74a5281..addbf5e 100644 --- a/dbt/manifest/v12.json +++ b/dbt/manifest/v12.json @@ -13,7 +13,7 @@ }, "dbt_version": { "type": "string", - "default": "1.8.0a1" + "default": "1.8.0b3" }, "generated_at": { "type": "string" @@ -108,7 +108,7 @@ "anyOf": [ { "type": "object", - "title": "AnalysisNode", + "title": "Seed", "properties": { "database": { "anyOf": [ @@ -127,7 +127,7 @@ "type": "string" }, "resource_type": { - "const": "analysis" + "const": "seed" }, "package_name": { "type": "string" @@ -169,7 +169,7 @@ }, "config": { "type": "object", - "title": "NodeConfig", + "title": "SeedConfig", "properties": { "_extra": { "type": "object", @@ -246,7 +246,7 @@ }, "materialized": { "type": "string", - "default": "view" + "default": "seed" }, "incremental_strategy": { "anyOf": [ @@ -433,16 +433,25 @@ } }, "additionalProperties": false + }, + "delimiter": { + "type": "string", + "default": "," + }, + "quote_columns": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -664,174 +673,76 @@ "type": "string", "default": "" }, - "language": { - "type": "string", - "default": "sql" - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { + "root_path": { + "anyOf": [ + { "type": "string" + }, + { + "type": "null" } - } + ], + "default": null }, "depends_on": { "type": "object", - "title": "DependsOn", + "title": "MacroDependsOn", "properties": { "macros": { "type": "array", "items": { "type": "string" } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } } }, "additionalProperties": false }, - "compiled_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { + "defer_relation": { "anyOf": [ { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "extra_ctes_injected": { - "type": "boolean", - "default": false - }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" + "type": "object", + "title": "DeferRelation", + "properties": { + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "schema": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "relation_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { - "anyOf": [ - { - "type": "string" + "additionalProperties": false, + "required": [ + "database", + "schema", + "alias", + "relation_name" + ] }, { "type": "null" } ], "default": null - }, - "contract": { - "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false } }, "additionalProperties": false, @@ -851,7 +762,7 @@ }, { "type": "object", - "title": "SingularTestNode", + "title": "Analysis", "properties": { "database": { "anyOf": [ @@ -870,7 +781,7 @@ "type": "string" }, "resource_type": { - "const": "test" + "const": "analysis" }, "package_name": { "type": "string" @@ -912,7 +823,7 @@ }, "config": { "type": "object", - "title": "TestConfig", + "title": "NodeConfig", "properties": { "_extra": { "type": "object", @@ -944,7 +855,7 @@ "type": "null" } ], - "default": "dbt_test__audit" + "default": null }, "database": { "anyOf": [ @@ -989,36 +900,9 @@ }, "materialized": { "type": "string", - "default": "test" - }, - "severity": { - "type": "string", - "default": "ERROR", - "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" - }, - "store_failures": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "store_failures_as": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + "default": "view" }, - "where": { + "incremental_strategy": { "anyOf": [ { "type": "string" @@ -1029,10 +913,90 @@ ], "default": null }, - "limit": { - "anyOf": [ - { - "type": "integer" + "persist_docs": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "post-hook": { + "type": "array", + "items": { + "type": "object", + "title": "Hook", + "properties": { + "sql": { + "type": "string" + }, + "transaction": { + "type": "boolean", + "default": true + }, + "index": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "sql" + ] + } + }, + "pre-hook": { + "type": "array", + "items": { + "type": "object", + "title": "Hook", + "properties": { + "sql": { + "type": "string" + }, + "transaction": { + "type": "boolean", + "default": true + }, + "index": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "sql" + ] + } + }, + "quoting": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "column_types": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "full_refresh": { + "anyOf": [ + { + "type": "boolean" }, { "type": "null" @@ -1040,27 +1004,93 @@ ], "default": null }, - "fail_calc": { - "type": "string", - "default": "count(*)" + "unique_key": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ], + "default": null }, - "warn_if": { - "type": "string", - "default": "!= 0" + "on_schema_change": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": "ignore" }, - "error_if": { - "type": "string", - "default": "!= 0" + "on_configuration_change": { + "enum": [ + "apply", + "continue", + "fail" + ] + }, + "grants": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "packages": { + "type": "array", + "items": { + "type": "string" + } + }, + "docs": { + "type": "object", + "title": "Docs", + "properties": { + "show": { + "type": "boolean", + "default": true + }, + "node_color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false + }, + "contract": { + "type": "object", + "title": "ContractConfig", + "properties": { + "enforced": { + "type": "boolean", + "default": false + }, + "alias_types": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -1469,7 +1499,7 @@ }, { "type": "object", - "title": "HookNode", + "title": "SingularTest", "properties": { "database": { "anyOf": [ @@ -1488,7 +1518,7 @@ "type": "string" }, "resource_type": { - "const": "operation" + "const": "test" }, "package_name": { "type": "string" @@ -1530,7 +1560,7 @@ }, "config": { "type": "object", - "title": "NodeConfig", + "title": "TestConfig", "properties": { "_extra": { "type": "object", @@ -1562,7 +1592,7 @@ "type": "null" } ], - "default": null + "default": "dbt_test__audit" }, "database": { "anyOf": [ @@ -1607,12 +1637,17 @@ }, "materialized": { "type": "string", - "default": "view" + "default": "test" }, - "incremental_strategy": { + "severity": { + "type": "string", + "default": "ERROR", + "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" + }, + "store_failures": { "anyOf": [ { - "type": "string" + "type": "boolean" }, { "type": "null" @@ -1620,107 +1655,32 @@ ], "default": null }, - "persist_docs": { - "type": "object", - "propertyNames": { - "type": "string" - } + "store_failures_as": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } + "where": { + "anyOf": [ + { + "type": "string" }, - "additionalProperties": false, - "required": [ - "sql" - ] - } + { + "type": "null" + } + ], + "default": null }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "quoting": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "column_types": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "full_refresh": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "unique_key": { + "limit": { "anyOf": [ { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } + "type": "integer" }, { "type": "null" @@ -1728,82 +1688,21 @@ ], "default": null }, - "on_schema_change": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } + "fail_calc": { + "type": "string", + "default": "count(*)" }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false + "warn_if": { + "type": "string", + "default": "!= 0" }, - "contract": { - "type": "object", - "title": "ContractConfig", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false + "error_if": { + "type": "string", + "default": "!= 0" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -2193,17 +2092,6 @@ } }, "additionalProperties": false - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null } }, "additionalProperties": false, @@ -2223,7 +2111,7 @@ }, { "type": "object", - "title": "ModelNode", + "title": "HookNode", "properties": { "database": { "anyOf": [ @@ -2242,7 +2130,7 @@ "type": "string" }, "resource_type": { - "const": "model" + "const": "operation" }, "package_name": { "type": "string" @@ -2284,7 +2172,7 @@ }, "config": { "type": "object", - "title": "ModelConfig", + "title": "NodeConfig", "properties": { "_extra": { "type": "object", @@ -2548,24 +2436,10 @@ } }, "additionalProperties": false - }, - "access": { - "enum": [ - "private", - "protected", - "public" - ], - "default": "protected" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -2956,152 +2830,10 @@ }, "additionalProperties": false }, - "access": { - "enum": [ - "private", - "protected", - "public" - ], - "default": "protected" - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ModelLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - }, - "columns": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - }, - "latest_version": { + "index": { "anyOf": [ { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - }, - "deprecation_date": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "defer_relation": { - "anyOf": [ - { - "type": "object", - "title": "DeferRelation", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "alias", - "relation_name" - ] + "type": "integer" }, { "type": "null" @@ -3127,7 +2859,7 @@ }, { "type": "object", - "title": "RPCNode", + "title": "Model", "properties": { "database": { "anyOf": [ @@ -3146,7 +2878,7 @@ "type": "string" }, "resource_type": { - "const": "rpc" + "const": "model" }, "package_name": { "type": "string" @@ -3188,7 +2920,7 @@ }, "config": { "type": "object", - "title": "NodeConfig", + "title": "ModelConfig", "properties": { "_extra": { "type": "object", @@ -3452,16 +3184,18 @@ } }, "additionalProperties": false + }, + "access": { + "enum": [ + "private", + "protected", + "public" + ], + "default": "protected" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -3851,6 +3585,159 @@ } }, "additionalProperties": false + }, + "access": { + "enum": [ + "private", + "protected", + "public" + ], + "default": "protected" + }, + "constraints": { + "type": "array", + "items": { + "type": "object", + "title": "ModelLevelConstraint", + "properties": { + "type": { + "enum": [ + "check", + "not_null", + "unique", + "primary_key", + "foreign_key", + "custom" + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "expression": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "warn_unenforced": { + "type": "boolean", + "default": true + }, + "warn_unsupported": { + "type": "boolean", + "default": true + }, + "columns": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null + }, + "latest_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null + }, + "deprecation_date": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "defer_relation": { + "anyOf": [ + { + "type": "object", + "title": "DeferRelation", + "properties": { + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "schema": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "relation_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "database", + "schema", + "alias", + "relation_name" + ] + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, @@ -3870,7 +3757,7 @@ }, { "type": "object", - "title": "SqlNode", + "title": "SqlOperation", "properties": { "database": { "anyOf": [ @@ -4199,12 +4086,6 @@ }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -4613,45 +4494,15 @@ }, { "type": "object", - "title": "GenericTestNode", + "title": "GenericTest", "properties": { - "test_metadata": { - "type": "object", - "title": "TestMetadata", - "properties": { - "name": { + "database": { + "anyOf": [ + { "type": "string" }, - "kwargs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "namespace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" + { + "type": "null" } ] }, @@ -4847,12 +4698,6 @@ }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -5275,11 +5120,38 @@ } ], "default": null + }, + "test_metadata": { + "type": "object", + "title": "TestMetadata", + "properties": { + "name": { + "type": "string", + "default": "test" + }, + "kwargs": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "namespace": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false } }, "additionalProperties": false, "required": [ - "test_metadata", "database", "schema", "name", @@ -5295,7 +5167,7 @@ }, { "type": "object", - "title": "SnapshotNode", + "title": "Snapshot", "properties": { "database": { "anyOf": [ @@ -5679,12 +5551,6 @@ }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -6138,105 +6004,218 @@ "checksum", "config" ] + } + ] + }, + "propertyNames": { + "type": "string" + } + }, + "sources": { + "type": "object", + "description": "The sources defined in the dbt project and its dependencies", + "additionalProperties": { + "type": "object", + "title": "SourceDefinition", + "properties": { + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { + "schema": { + "type": "string" + }, + "name": { + "type": "string" + }, + "resource_type": { + "const": "source" + }, + "package_name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "original_file_path": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "fqn": { + "type": "array", + "items": { + "type": "string" + } + }, + "source_name": { + "type": "string" + }, + "source_description": { + "type": "string" + }, + "loader": { + "type": "string" + }, + "identifier": { + "type": "string" + }, + "quoting": { "type": "object", - "title": "UnitTestNode", + "title": "Quoting", "properties": { "database": { "anyOf": [ { - "type": "string" + "type": "boolean" }, { "type": "null" } - ] + ], + "default": null }, "schema": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource_type": { - "const": "unit_test" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null }, - "alias": { - "type": "string" + "identifier": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null }, - "checksum": { - "type": "object", - "title": "FileHash", - "properties": { - "name": { - "type": "string" + "column": { + "anyOf": [ + { + "type": "boolean" }, - "checksum": { - "type": "string" + { + "type": "null" } - }, - "additionalProperties": false, - "required": [ - "name", - "checksum" - ] + ], + "default": null + } + }, + "additionalProperties": false + }, + "loaded_at_field": { + "anyOf": [ + { + "type": "string" }, - "config": { + { + "type": "null" + } + ], + "default": null + }, + "freshness": { + "anyOf": [ + { "type": "object", - "title": "UnitTestNodeConfig", + "title": "FreshnessThreshold", "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - }, - "alias": { + "warn_after": { "anyOf": [ { - "type": "string" + "type": "object", + "title": "Time", + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "period": { + "anyOf": [ + { + "enum": [ + "minute", + "hour", + "day" + ] + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false }, { "type": "null" } - ], - "default": null + ] }, - "schema": { + "error_after": { "anyOf": [ { - "type": "string" + "type": "object", + "title": "Time", + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "period": { + "anyOf": [ + { + "enum": [ + "minute", + "hour", + "day" + ] + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false }, { "type": "null" } - ], - "default": null + ] }, - "database": { + "filter": { "anyOf": [ { "type": "string" @@ -6246,27 +6225,29 @@ } ], "default": null - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "string" - } - ] - }, - "meta": { + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ], + "default": null + }, + "external": { + "anyOf": [ + { + "type": "object", + "title": "ExternalTable", + "properties": { + "_extra": { "type": "object", "propertyNames": { "type": "string" } }, - "group": { + "location": { "anyOf": [ { "type": "string" @@ -6277,11 +6258,7 @@ ], "default": null }, - "materialized": { - "type": "string", - "default": "view" - }, - "incremental_strategy": { + "file_format": { "anyOf": [ { "type": "string" @@ -6292,90 +6269,10 @@ ], "default": null }, - "persist_docs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "quoting": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "column_types": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "full_refresh": { + "row_format": { "anyOf": [ { - "type": "boolean" + "type": "string" }, { "type": "null" @@ -6383,285 +6280,342 @@ ], "default": null }, - "unique_key": { + "tbl_properties": { "anyOf": [ { "type": "string" }, - { - "type": "array", - "items": { - "type": "string" - } - }, { "type": "null" } ], "default": null }, - "on_schema_change": { + "partitions": { "anyOf": [ { - "type": "string" + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "title": "ExternalPartition", + "properties": { + "_extra": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "name": { + "type": "string", + "default": "" + }, + "description": { + "type": "string", + "default": "" + }, + "data_type": { + "type": "string", + "default": "" + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + } + }, + "additionalProperties": true + } }, { "type": "null" } ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "contract": { - "type": "object", - "title": "ContractConfig", + "default": null + } + }, + "additionalProperties": true + }, + { + "type": "null" + } + ], + "default": null + }, + "description": { + "type": "string", + "default": "" + }, + "columns": { + "type": "object", + "additionalProperties": { + "type": "object", + "title": "ColumnInfo", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string", + "default": "" + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "data_type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "constraints": { + "type": "array", + "items": { + "type": "object", + "title": "ColumnLevelConstraint", "properties": { - "enforced": { + "type": { + "enum": [ + "check", + "not_null", + "unique", + "primary_key", + "foreign_key", + "custom" + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "expression": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "warn_unenforced": { "type": "boolean", - "default": false + "default": true }, - "alias_types": { + "warn_unsupported": { "type": "boolean", "default": true } }, - "additionalProperties": false - }, - "expected_rows": { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string" - } + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "quote": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" } + ], + "default": null + }, + "tags": { + "type": "array", + "items": { + "type": "string" } }, - "additionalProperties": true + "_extra": { + "type": "object", + "propertyNames": { + "type": "string" + } + } }, - "_event_status": { + "additionalProperties": true, + "required": [ + "name" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "source_meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "config": { + "type": "object", + "title": "SourceConfig", + "properties": { + "_extra": { "type": "object", "propertyNames": { "type": "string" } }, - "tags": { + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": true + }, + "patch_path": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "unrendered_config": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "relation_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "created_at": { + "type": "number" + } + }, + "additionalProperties": false, + "required": [ + "database", + "schema", + "name", + "resource_type", + "package_name", + "path", + "original_file_path", + "unique_id", + "fqn", + "source_name", + "source_description", + "loader", + "identifier" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "macros": { + "type": "object", + "description": "The macros defined in the dbt project and its dependencies", + "additionalProperties": { + "type": "object", + "title": "Macro", + "properties": { + "name": { + "type": "string" + }, + "resource_type": { + "const": "macro" + }, + "package_name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "original_file_path": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "macro_sql": { + "type": "string" + }, + "depends_on": { + "type": "object", + "title": "MacroDependsOn", + "properties": { + "macros": { "type": "array", "items": { "type": "string" } + } + }, + "additionalProperties": false + }, + "description": { + "type": "string", + "default": "" + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "docs": { + "type": "object", + "title": "Docs", + "properties": { + "show": { + "type": "boolean", + "default": true }, - "description": { - "type": "string", - "default": "" - }, - "columns": { - "type": "object", - "additionalProperties": { - "type": "object", - "title": "ColumnInfo", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "data_type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ColumnLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "quote": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": true, - "required": [ - "name" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "patch_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "build_path": { + "node_color": { "anyOf": [ { "type": "string" @@ -6671,124 +6625,183 @@ } ], "default": null + } + }, + "additionalProperties": false + }, + "patch_path": { + "anyOf": [ + { + "type": "string" }, - "deferred": { - "type": "boolean", - "default": false - }, - "unrendered_config": { - "type": "object", - "propertyNames": { + { + "type": "null" + } + ], + "default": null + }, + "arguments": { + "type": "array", + "items": { + "type": "object", + "title": "MacroArgument", + "properties": { + "name": { "type": "string" + }, + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "description": { + "type": "string", + "default": "" } }, - "created_at": { - "type": "number" - }, - "config_call_dict": { - "type": "object", - "propertyNames": { - "type": "string" + "additionalProperties": false, + "required": [ + "name" + ] + } + }, + "created_at": { + "type": "number" + }, + "supported_languages": { + "anyOf": [ + { + "type": "array", + "items": { + "enum": [ + "python", + "sql" + ] } }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "raw_code": { - "type": "string", - "default": "" - }, - "language": { - "type": "string", - "default": "sql" - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "name", + "resource_type", + "package_name", + "path", + "original_file_path", + "unique_id", + "macro_sql" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "docs": { + "type": "object", + "description": "The docs defined in the dbt project and its dependencies", + "additionalProperties": { + "type": "object", + "title": "Documentation", + "properties": { + "name": { + "type": "string" + }, + "resource_type": { + "const": "doc" + }, + "package_name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "original_file_path": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "block_contents": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "name", + "resource_type", + "package_name", + "path", + "original_file_path", + "unique_id", + "block_contents" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "exposures": { + "type": "object", + "description": "The exposures defined in the dbt project and its dependencies", + "additionalProperties": { + "type": "object", + "title": "Exposure", + "properties": { + "name": { + "type": "string" + }, + "resource_type": { + "const": "exposure" + }, + "package_name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "original_file_path": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "fqn": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "enum": [ + "dashboard", + "notebook", + "analysis", + "ml", + "application" + ] + }, + "owner": { + "type": "object", + "title": "Owner", + "properties": { + "_extra": { "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false + "propertyNames": { + "type": "string" + } }, - "compiled_path": { + "email": { "anyOf": [ { "type": "string" @@ -6799,11 +6812,7 @@ ], "default": null }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { + "name": { "anyOf": [ { "type": "string" @@ -6813,439 +6822,436 @@ } ], "default": null + } + }, + "additionalProperties": true + }, + "description": { + "type": "string", + "default": "" + }, + "label": { + "anyOf": [ + { + "type": "string" }, - "extra_ctes_injected": { - "type": "boolean", - "default": false + { + "type": "null" + } + ], + "default": null + }, + "maturity": { + "anyOf": [ + { + "enum": [ + "low", + "medium", + "high" + ] }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" - }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "contract": { + { + "type": "null" + } + ], + "default": null + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "config": { + "type": "object", + "title": "ExposureConfig", + "properties": { + "_extra": { "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "tested_node_unique_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "this_input_node_unique_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + "propertyNames": { + "type": "string" + } }, - "overrides": { - "anyOf": [ - { - "type": "object", - "title": "UnitTestOverrides", - "properties": { - "macros": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "vars": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "env_vars": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ], - "default": null + "enabled": { + "type": "boolean", + "default": true } }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "alias", - "checksum" - ] + "additionalProperties": true }, - { + "unrendered_config": { "type": "object", - "title": "SeedNode", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource_type": { - "const": "seed" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { + "propertyNames": { + "type": "string" + } + }, + "url": { + "anyOf": [ + { "type": "string" }, - "fqn": { + { + "type": "null" + } + ], + "default": null + }, + "depends_on": { + "type": "object", + "title": "DependsOn", + "properties": { + "macros": { "type": "array", "items": { "type": "string" } }, - "alias": { - "type": "string" - }, - "checksum": { - "type": "object", - "title": "FileHash", - "properties": { - "name": { - "type": "string" - }, - "checksum": { - "type": "string" - } + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "refs": { + "type": "array", + "items": { + "type": "object", + "title": "RefArgs", + "properties": { + "name": { + "type": "string" }, - "additionalProperties": false, - "required": [ - "name", - "checksum" - ] - }, - "config": { - "type": "object", - "title": "SeedConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { + "package": { + "anyOf": [ + { "type": "string" + }, + { + "type": "null" } - }, - "enabled": { - "type": "boolean", - "default": true - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "string" - } - ] - }, - "meta": { - "type": "object", - "propertyNames": { + ], + "default": null + }, + "version": { + "anyOf": [ + { "type": "string" + }, + { + "type": "number" + }, + { + "type": "null" } - }, - "group": { - "anyOf": [ - { + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + } + }, + "sources": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "metrics": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "created_at": { + "type": "number" + } + }, + "additionalProperties": false, + "required": [ + "name", + "resource_type", + "package_name", + "path", + "original_file_path", + "unique_id", + "fqn", + "type", + "owner" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "metrics": { + "type": "object", + "description": "The metrics defined in the dbt project and its dependencies", + "additionalProperties": { + "type": "object", + "title": "Metric", + "properties": { + "name": { + "type": "string" + }, + "resource_type": { + "const": "metric" + }, + "package_name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "original_file_path": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "fqn": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "type": "string" + }, + "label": { + "type": "string" + }, + "type": { + "enum": [ + "simple", + "ratio", + "cumulative", + "derived", + "conversion" + ] + }, + "type_params": { + "type": "object", + "title": "MetricTypeParams", + "properties": { + "measure": { + "anyOf": [ + { + "type": "object", + "title": "MetricInputMeasure", + "properties": { + "name": { "type": "string" }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "seed" - }, - "incremental_strategy": { - "anyOf": [ - { - "type": "string" + "filter": { + "anyOf": [ + { + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] + }, + { + "type": "null" + } + ], + "default": null }, - { - "type": "null" + "alias": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "join_to_timespine": { + "type": "boolean", + "default": false + }, + "fill_nulls_with": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null } - ], - "default": null + }, + "additionalProperties": false, + "required": [ + "name" + ] }, - "persist_docs": { - "type": "object", - "propertyNames": { + { + "type": "null" + } + ], + "default": null + }, + "input_measures": { + "type": "array", + "items": { + "type": "object", + "title": "MetricInputMeasure", + "properties": { + "name": { "type": "string" - } - }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" + }, + "filter": { + "anyOf": [ + { + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } } - ], - "default": null + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] + }, + { + "type": "null" } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { + ], + "default": null + }, + "alias": { + "anyOf": [ + { "type": "string" }, - "transaction": { - "type": "boolean", - "default": true + { + "type": "null" + } + ], + "default": null + }, + "join_to_timespine": { + "type": "boolean", + "default": false + }, + "fill_nulls_with": { + "anyOf": [ + { + "type": "integer" }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null + { + "type": "null" } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "quoting": { - "type": "object", - "propertyNames": { - "type": "string" + ], + "default": null } }, - "column_types": { + "additionalProperties": false, + "required": [ + "name" + ] + } + }, + "numerator": { + "anyOf": [ + { "type": "object", - "propertyNames": { - "type": "string" - } - }, - "full_refresh": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "unique_key": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "default": null - }, - "on_schema_change": { - "anyOf": [ - { + "title": "MetricInput", + "properties": { + "name": { "type": "string" }, - { - "type": "null" - } - ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true + "filter": { + "anyOf": [ + { + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] + }, + { + "type": "null" + } + ], + "default": null }, - "node_color": { + "alias": { "anyOf": [ { "type": "string" @@ -7255,229 +7261,60 @@ } ], "default": null - } - }, - "additionalProperties": false - }, - "contract": { - "type": "object", - "title": "ContractConfig", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false - }, - "delimiter": { - "type": "string", - "default": "," - }, - "quote_columns": { - "anyOf": [ - { - "type": "boolean" }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": true - }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "type": "string", - "default": "" - }, - "columns": { - "type": "object", - "additionalProperties": { - "type": "object", - "title": "ColumnInfo", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "data_type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ColumnLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" + "offset_window": { + "anyOf": [ + { + "type": "object", + "title": "MetricTimeWindow", + "properties": { + "count": { + "type": "integer" }, - { - "type": "null" + "granularity": { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] } - ], - "default": null + }, + "additionalProperties": false, + "required": [ + "count", + "granularity" + ] }, - "warn_unenforced": { - "type": "boolean", - "default": true + { + "type": "null" + } + ], + "default": null + }, + "offset_to_grain": { + "anyOf": [ + { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] }, - "warn_unsupported": { - "type": "boolean", - "default": true + { + "type": "null" } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "quote": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "type": "array", - "items": { - "type": "string" + ], + "default": null } }, - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": true, - "required": [ - "name" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "patch_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "build_path": { - "anyOf": [ - { - "type": "string" + "additionalProperties": false, + "required": [ + "name" + ] }, { "type": "null" @@ -7485,87 +7322,50 @@ ], "default": null }, - "deferred": { - "type": "boolean", - "default": false - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "created_at": { - "type": "number" - }, - "config_call_dict": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "raw_code": { - "type": "string", - "default": "" - }, - "root_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "depends_on": { - "type": "object", - "title": "MacroDependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "defer_relation": { + "denominator": { "anyOf": [ { "type": "object", - "title": "DeferRelation", + "title": "MetricInput", "properties": { - "database": { + "name": { + "type": "string" + }, + "filter": { "anyOf": [ { - "type": "string" + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] }, { "type": "null" } - ] - }, - "schema": { - "type": "string" + ], + "default": null }, "alias": { - "type": "string" - }, - "relation_name": { "anyOf": [ { "type": "string" @@ -7573,15 +7373,61 @@ { "type": "null" } - ] + ], + "default": null + }, + "offset_window": { + "anyOf": [ + { + "type": "object", + "title": "MetricTimeWindow", + "properties": { + "count": { + "type": "integer" + }, + "granularity": { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + "additionalProperties": false, + "required": [ + "count", + "granularity" + ] + }, + { + "type": "null" + } + ], + "default": null + }, + "offset_to_grain": { + "anyOf": [ + { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, "required": [ - "database", - "schema", - "alias", - "relation_name" + "name" ] }, { @@ -7589,99 +7435,11 @@ } ], "default": null - } - }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "alias", - "checksum" - ] - } - ] - }, - "propertyNames": { - "type": "string" - } - }, - "sources": { - "type": "object", - "description": "The sources defined in the dbt project and its dependencies", - "additionalProperties": { - "type": "object", - "title": "SourceDefinition", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource_type": { - "const": "source" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } - }, - "source_name": { - "type": "string" - }, - "source_description": { - "type": "string" - }, - "loader": { - "type": "string" - }, - "identifier": { - "type": "string" - }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "quoting": { - "type": "object", - "title": "Quoting", - "properties": { - "database": { + "expr": { "anyOf": [ { - "type": "boolean" + "type": "string" }, { "type": "null" @@ -7689,10 +7447,30 @@ ], "default": null }, - "schema": { + "window": { "anyOf": [ { - "type": "boolean" + "type": "object", + "title": "MetricTimeWindow", + "properties": { + "count": { + "type": "integer" + }, + "granularity": { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + "additionalProperties": false, + "required": [ + "count", + "granularity" + ] }, { "type": "null" @@ -7700,10 +7478,16 @@ ], "default": null }, - "identifier": { + "grain_to_date": { "anyOf": [ { - "type": "boolean" + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] }, { "type": "null" @@ -7711,47 +7495,163 @@ ], "default": null }, - "column": { + "metrics": { "anyOf": [ { - "type": "boolean" + "type": "array", + "items": { + "type": "object", + "title": "MetricInput", + "properties": { + "name": { + "type": "string" + }, + "filter": { + "anyOf": [ + { + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] + }, + { + "type": "null" + } + ], + "default": null + }, + "alias": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "offset_window": { + "anyOf": [ + { + "type": "object", + "title": "MetricTimeWindow", + "properties": { + "count": { + "type": "integer" + }, + "granularity": { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + "additionalProperties": false, + "required": [ + "count", + "granularity" + ] + }, + { + "type": "null" + } + ], + "default": null + }, + "offset_to_grain": { + "anyOf": [ + { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + } }, { "type": "null" } ], "default": null - } - }, - "additionalProperties": false - }, - "loaded_at_field": { - "anyOf": [ - { - "type": "string" }, - { - "type": "null" - } - ], - "default": null - }, - "freshness": { - "anyOf": [ - { - "type": "object", - "title": "FreshnessThreshold", - "properties": { - "warn_after": { - "anyOf": [ - { + "conversion_type_params": { + "anyOf": [ + { + "type": "object", + "title": "ConversionTypeParams", + "properties": { + "base_measure": { "type": "object", - "title": "Time", + "title": "MetricInputMeasure", "properties": { - "count": { + "name": { + "type": "string" + }, + "filter": { "anyOf": [ { - "type": "integer" + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] }, { "type": "null" @@ -7759,14 +7659,25 @@ ], "default": null }, - "period": { + "alias": { "anyOf": [ { - "enum": [ - "minute", - "hour", - "day" - ] + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "join_to_timespine": { + "type": "boolean", + "default": false + }, + "fill_nulls_with": { + "anyOf": [ + { + "type": "integer" }, { "type": "null" @@ -7775,23 +7686,45 @@ "default": null } }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "name" + ] }, - { - "type": "null" - } - ] - }, - "error_after": { - "anyOf": [ - { + "conversion_measure": { "type": "object", - "title": "Time", + "title": "MetricInputMeasure", "properties": { - "count": { + "name": { + "type": "string" + }, + "filter": { "anyOf": [ { - "type": "integer" + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "where_filters" + ] }, { "type": "null" @@ -7799,42 +7732,151 @@ ], "default": null }, - "period": { + "alias": { "anyOf": [ { - "enum": [ - "minute", - "hour", - "day" - ] + "type": "string" }, { "type": "null" } ], "default": null - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "filter": { - "anyOf": [ - { + }, + "join_to_timespine": { + "type": "boolean", + "default": false + }, + "fill_nulls_with": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "entity": { "type": "string" }, - { - "type": "null" + "calculation": { + "enum": [ + "conversions", + "conversion_rate" + ], + "default": "conversion_rate" + }, + "window": { + "anyOf": [ + { + "type": "object", + "title": "MetricTimeWindow", + "properties": { + "count": { + "type": "integer" + }, + "granularity": { + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + "additionalProperties": false, + "required": [ + "count", + "granularity" + ] + }, + { + "type": "null" + } + ], + "default": null + }, + "constant_properties": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "title": "ConstantPropertyInput", + "properties": { + "base_property": { + "type": "string" + }, + "conversion_property": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "base_property", + "conversion_property" + ] + } + }, + { + "type": "null" + } + ], + "default": null } - ], - "default": null + }, + "additionalProperties": false, + "required": [ + "base_measure", + "conversion_measure", + "entity" + ] + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false + }, + "filter": { + "anyOf": [ + { + "type": "object", + "title": "WhereFilterIntersection", + "properties": { + "where_filters": { + "type": "array", + "items": { + "type": "object", + "title": "WhereFilter", + "properties": { + "where_sql_template": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "where_sql_template" + ] + } } }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "where_filters" + ] }, { "type": "null" @@ -7842,143 +7884,143 @@ ], "default": null }, - "external": { + "metadata": { "anyOf": [ { "type": "object", - "title": "ExternalTable", + "title": "SourceFileMetadata", "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "location": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "file_format": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + "repo_file_path": { + "type": "string" }, - "row_format": { - "anyOf": [ - { + "file_slice": { + "type": "object", + "title": "FileSlice", + "properties": { + "filename": { "type": "string" }, - { - "type": "null" - } - ], - "default": null - }, - "tbl_properties": { - "anyOf": [ - { + "content": { "type": "string" }, - { - "type": "null" - } - ], - "default": null - }, - "partitions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "title": "ExternalPartition", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "name": { - "type": "string", - "default": "" - }, - "description": { - "type": "string", - "default": "" - }, - "data_type": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": true - } + "start_line_number": { + "type": "integer" }, - { - "type": "null" + "end_line_number": { + "type": "integer" } - ], - "default": null + }, + "additionalProperties": false, + "required": [ + "filename", + "content", + "start_line_number", + "end_line_number" + ] } }, - "additionalProperties": true - }, + "additionalProperties": false, + "required": [ + "repo_file_path", + "file_slice" + ] + }, { "type": "null" } ], "default": null }, - "description": { - "type": "string", - "default": "" + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } }, - "columns": { + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "config": { "type": "object", - "additionalProperties": { + "title": "MetricConfig", + "properties": { + "_extra": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "enabled": { + "type": "boolean", + "default": true + }, + "group": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + } + }, + "additionalProperties": true + }, + "unrendered_config": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "depends_on": { + "type": "object", + "title": "DependsOn", + "properties": { + "macros": { + "type": "array", + "items": { + "type": "string" + } + }, + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "refs": { + "type": "array", + "items": { "type": "object", - "title": "ColumnInfo", + "title": "RefArgs", "properties": { "name": { "type": "string" }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "data_type": { + "package": { "anyOf": [ { "type": "string" @@ -7989,145 +8031,40 @@ ], "default": null }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ColumnLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "quote": { + "version": { "anyOf": [ { - "type": "boolean" + "type": "string" + }, + { + "type": "number" }, { "type": "null" } ], "default": null - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } } }, - "additionalProperties": true, + "additionalProperties": false, "required": [ "name" ] - }, - "propertyNames": { - "type": "string" - } - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "source_meta": { - "type": "object", - "propertyNames": { - "type": "string" } }, - "tags": { + "metrics": { "type": "array", "items": { - "type": "string" - } - }, - "config": { - "type": "object", - "title": "SourceConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": true - }, - "patch_path": { - "anyOf": [ - { + "type": "array", + "items": { "type": "string" - }, - { - "type": "null" } - ], - "default": null - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" } }, - "relation_name": { + "created_at": { + "type": "number" + }, + "group": { "anyOf": [ { "type": "string" @@ -8137,15 +8074,10 @@ } ], "default": null - }, - "created_at": { - "type": "number" } }, "additionalProperties": false, "required": [ - "database", - "schema", "name", "resource_type", "package_name", @@ -8153,223 +8085,28 @@ "original_file_path", "unique_id", "fqn", - "source_name", - "source_description", - "loader", - "identifier" + "description", + "label", + "type", + "type_params" ] }, "propertyNames": { "type": "string" } }, - "macros": { + "groups": { "type": "object", - "description": "The macros defined in the dbt project and its dependencies", + "description": "The groups defined in the dbt project", "additionalProperties": { "type": "object", - "title": "Macro", + "title": "Group", "properties": { "name": { "type": "string" }, "resource_type": { - "const": "macro" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "macro_sql": { - "type": "string" - }, - "depends_on": { - "type": "object", - "title": "MacroDependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "patch_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "arguments": { - "type": "array", - "items": { - "type": "object", - "title": "MacroArgument", - "properties": { - "name": { - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "description": { - "type": "string", - "default": "" - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "created_at": { - "type": "number" - }, - "supported_languages": { - "anyOf": [ - { - "type": "array", - "items": { - "enum": [ - "python", - "sql" - ] - } - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "macro_sql" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "docs": { - "type": "object", - "description": "The docs defined in the dbt project and its dependencies", - "additionalProperties": { - "type": "object", - "title": "Documentation", - "properties": { - "name": { - "type": "string" - }, - "resource_type": { - "const": "doc" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "block_contents": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "block_contents" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "exposures": { - "type": "object", - "description": "The exposures defined in the dbt project and its dependencies", - "additionalProperties": { - "type": "object", - "title": "Exposure", - "properties": { - "name": { - "type": "string" - }, - "resource_type": { - "const": "exposure" + "const": "group" }, "package_name": { "type": "string" @@ -8383,21 +8120,6 @@ "unique_id": { "type": "string" }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enum": [ - "dashboard", - "notebook", - "analysis", - "ml", - "application" - ] - }, "owner": { "type": "object", "title": "Owner", @@ -8407,2751 +8129,67 @@ "propertyNames": { "type": "string" } - }, - "email": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": true - }, - "description": { - "type": "string", - "default": "" - }, - "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "maturity": { - "anyOf": [ - { - "enum": [ - "low", - "medium", - "high" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "config": { - "type": "object", - "title": "ExposureConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": true - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "url": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "created_at": { - "type": "number" - } - }, - "additionalProperties": false, - "required": [ - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "type", - "owner" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "metrics": { - "type": "object", - "description": "The metrics defined in the dbt project and its dependencies", - "additionalProperties": { - "type": "object", - "title": "Metric", - "properties": { - "name": { - "type": "string" - }, - "resource_type": { - "const": "metric" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "type": "string" - }, - "label": { - "type": "string" - }, - "type": { - "enum": [ - "simple", - "ratio", - "cumulative", - "derived", - "conversion" - ] - }, - "type_params": { - "type": "object", - "title": "MetricTypeParams", - "properties": { - "measure": { - "anyOf": [ - { - "type": "object", - "title": "MetricInputMeasure", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "join_to_timespine": { - "type": "boolean", - "default": false - }, - "fill_nulls_with": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "input_measures": { - "type": "array", - "items": { - "type": "object", - "title": "MetricInputMeasure", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "join_to_timespine": { - "type": "boolean", - "default": false - }, - "fill_nulls_with": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "numerator": { - "anyOf": [ - { - "type": "object", - "title": "MetricInput", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_window": { - "anyOf": [ - { - "type": "object", - "title": "MetricTimeWindow", - "properties": { - "count": { - "type": "integer" - }, - "granularity": { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - "additionalProperties": false, - "required": [ - "count", - "granularity" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_to_grain": { - "anyOf": [ - { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "denominator": { - "anyOf": [ - { - "type": "object", - "title": "MetricInput", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_window": { - "anyOf": [ - { - "type": "object", - "title": "MetricTimeWindow", - "properties": { - "count": { - "type": "integer" - }, - "granularity": { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - "additionalProperties": false, - "required": [ - "count", - "granularity" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_to_grain": { - "anyOf": [ - { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "expr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "window": { - "anyOf": [ - { - "type": "object", - "title": "MetricTimeWindow", - "properties": { - "count": { - "type": "integer" - }, - "granularity": { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - "additionalProperties": false, - "required": [ - "count", - "granularity" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "grain_to_date": { - "anyOf": [ - { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "metrics": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "title": "MetricInput", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_window": { - "anyOf": [ - { - "type": "object", - "title": "MetricTimeWindow", - "properties": { - "count": { - "type": "integer" - }, - "granularity": { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - "additionalProperties": false, - "required": [ - "count", - "granularity" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "offset_to_grain": { - "anyOf": [ - { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - { - "type": "null" - } - ], - "default": null - }, - "conversion_type_params": { - "anyOf": [ - { - "type": "object", - "title": "ConversionTypeParams", - "properties": { - "base_measure": { - "type": "object", - "title": "MetricInputMeasure", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "join_to_timespine": { - "type": "boolean", - "default": false - }, - "fill_nulls_with": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - "conversion_measure": { - "type": "object", - "title": "MetricInputMeasure", - "properties": { - "name": { - "type": "string" - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "join_to_timespine": { - "type": "boolean", - "default": false - }, - "fill_nulls_with": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, - "entity": { - "type": "string" - }, - "calculation": { - "enum": [ - "conversions", - "conversion_rate" - ], - "default": "conversion_rate" - }, - "window": { - "anyOf": [ - { - "type": "object", - "title": "MetricTimeWindow", - "properties": { - "count": { - "type": "integer" - }, - "granularity": { - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - "additionalProperties": false, - "required": [ - "count", - "granularity" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "constant_properties": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "title": "ConstantPropertyInput", - "properties": { - "base_property": { - "type": "string" - }, - "conversion_property": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "base_property", - "conversion_property" - ] - } - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "base_measure", - "conversion_measure", - "entity" - ] - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "filter": { - "anyOf": [ - { - "type": "object", - "title": "WhereFilterIntersection", - "properties": { - "where_filters": { - "type": "array", - "items": { - "type": "object", - "title": "WhereFilter", - "properties": { - "where_sql_template": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "where_sql_template" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "where_filters" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "metadata": { - "anyOf": [ - { - "type": "object", - "title": "SourceFileMetadata", - "properties": { - "repo_file_path": { - "type": "string" - }, - "file_slice": { - "type": "object", - "title": "FileSlice", - "properties": { - "filename": { - "type": "string" - }, - "content": { - "type": "string" - }, - "start_line_number": { - "type": "integer" - }, - "end_line_number": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "filename", - "content", - "start_line_number", - "end_line_number" - ] - } - }, - "additionalProperties": false, - "required": [ - "repo_file_path", - "file_slice" - ] - }, - { - "type": "null" - } - ], - "default": null - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "config": { - "type": "object", - "title": "MetricConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": true - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "created_at": { - "type": "number" - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "description", - "label", - "type", - "type_params" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "groups": { - "type": "object", - "description": "The groups defined in the dbt project", - "additionalProperties": { - "type": "object", - "title": "Group", - "properties": { - "name": { - "type": "string" - }, - "resource_type": { - "const": "group" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "owner": { - "type": "object", - "title": "Owner", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "email": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": true - } - }, - "additionalProperties": false, - "required": [ - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "owner" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "selectors": { - "type": "object", - "description": "The selectors defined in selectors.yml", - "propertyNames": { - "type": "string" - } - }, - "disabled": { - "description": "A mapping of the disabled nodes in the target", - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "object", - "title": "AnalysisNode", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource_type": { - "const": "analysis" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } - }, - "alias": { - "type": "string" - }, - "checksum": { - "type": "object", - "title": "FileHash", - "properties": { - "name": { - "type": "string" - }, - "checksum": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "name", - "checksum" - ] - }, - "config": { - "type": "object", - "title": "NodeConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "string" - } - ] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "view" - }, - "incremental_strategy": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "persist_docs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "quoting": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "column_types": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "full_refresh": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "unique_key": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "default": null - }, - "on_schema_change": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "contract": { - "type": "object", - "title": "ContractConfig", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false - } - }, - "additionalProperties": true - }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "type": "string", - "default": "" - }, - "columns": { - "type": "object", - "additionalProperties": { - "type": "object", - "title": "ColumnInfo", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "data_type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ColumnLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "quote": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": true, - "required": [ - "name" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "patch_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "build_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "deferred": { - "type": "boolean", - "default": false - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "created_at": { - "type": "number" - }, - "config_call_dict": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "raw_code": { - "type": "string", - "default": "" - }, - "language": { - "type": "string", - "default": "sql" - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "compiled_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "extra_ctes_injected": { - "type": "boolean", - "default": false - }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" - }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "contract": { - "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - } - }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "alias", - "checksum" - ] - }, - { - "type": "object", - "title": "SingularTestNode", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource_type": { - "const": "test" - }, - "package_name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "original_file_path": { - "type": "string" - }, - "unique_id": { - "type": "string" - }, - "fqn": { - "type": "array", - "items": { - "type": "string" - } - }, - "alias": { - "type": "string" - }, - "checksum": { - "type": "object", - "title": "FileHash", - "properties": { - "name": { - "type": "string" - }, - "checksum": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "name", - "checksum" - ] - }, - "config": { - "type": "object", - "title": "TestConfig", - "properties": { - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "default": true - }, - "alias": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": "dbt_test__audit" - }, - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "string" - } - ] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "test" - }, - "severity": { - "type": "string", - "default": "ERROR", - "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" - }, - "store_failures": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "store_failures_as": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "where": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "limit": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - }, - "fail_calc": { - "type": "string", - "default": "count(*)" - }, - "warn_if": { - "type": "string", - "default": "!= 0" - }, - "error_if": { - "type": "string", - "default": "!= 0" - } - }, - "additionalProperties": true - }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "type": "string", - "default": "" - }, - "columns": { - "type": "object", - "additionalProperties": { - "type": "object", - "title": "ColumnInfo", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "default": "" - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "data_type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ColumnLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "quote": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "_extra": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": true, - "required": [ - "name" - ] - }, - "propertyNames": { - "type": "string" - } - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true - }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "patch_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "build_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "deferred": { - "type": "boolean", - "default": false - }, - "unrendered_config": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "created_at": { - "type": "number" - }, - "config_call_dict": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "raw_code": { - "type": "string", - "default": "" - }, - "language": { - "type": "string", - "default": "sql" - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "compiled_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "extra_ctes_injected": { - "type": "boolean", - "default": false - }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" - }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "contract": { - "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - } + }, + "email": { + "anyOf": [ + { + "type": "string" }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "name", - "resource_type", - "package_name", - "path", - "original_file_path", - "unique_id", - "fqn", - "alias", - "checksum" - ] - }, + { + "type": "null" + } + ], + "default": null + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "name", + "resource_type", + "package_name", + "path", + "original_file_path", + "unique_id", + "owner" + ] + }, + "propertyNames": { + "type": "string" + } + }, + "selectors": { + "type": "object", + "description": "The selectors defined in selectors.yml", + "propertyNames": { + "type": "string" + } + }, + "disabled": { + "description": "A mapping of the disabled nodes in the target", + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ { "type": "object", - "title": "HookNode", + "title": "Seed", "properties": { "database": { "anyOf": [ @@ -11170,7 +8208,7 @@ "type": "string" }, "resource_type": { - "const": "operation" + "const": "seed" }, "package_name": { "type": "string" @@ -11212,7 +8250,7 @@ }, "config": { "type": "object", - "title": "NodeConfig", + "title": "SeedConfig", "properties": { "_extra": { "type": "object", @@ -11289,7 +8327,7 @@ }, "materialized": { "type": "string", - "default": "view" + "default": "seed" }, "incremental_strategy": { "anyOf": [ @@ -11476,16 +8514,25 @@ } }, "additionalProperties": false + }, + "delimiter": { + "type": "string", + "default": "," + }, + "quote_columns": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -11707,139 +8754,7 @@ "type": "string", "default": "" }, - "language": { - "type": "string", - "default": "sql" - }, - "refs": { - "type": "array", - "items": { - "type": "object", - "title": "RefArgs", - "properties": { - "name": { - "type": "string" - }, - "package": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "version": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "compiled_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "extra_ctes_injected": { - "type": "boolean", - "default": false - }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" - }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { + "root_path": { "anyOf": [ { "type": "string" @@ -11850,36 +8765,59 @@ ], "default": null }, - "contract": { + "depends_on": { "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + "title": "MacroDependsOn", + "properties": { + "macros": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false }, - "index": { + "defer_relation": { "anyOf": [ { - "type": "integer" + "type": "object", + "title": "DeferRelation", + "properties": { + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "schema": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "relation_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "database", + "schema", + "alias", + "relation_name" + ] }, { "type": "null" @@ -11905,7 +8843,7 @@ }, { "type": "object", - "title": "ModelNode", + "title": "Analysis", "properties": { "database": { "anyOf": [ @@ -11924,7 +8862,7 @@ "type": "string" }, "resource_type": { - "const": "model" + "const": "analysis" }, "package_name": { "type": "string" @@ -11966,7 +8904,7 @@ }, "config": { "type": "object", - "title": "ModelConfig", + "title": "NodeConfig", "properties": { "_extra": { "type": "object", @@ -12230,24 +9168,10 @@ } }, "additionalProperties": false - }, - "access": { - "enum": [ - "private", - "protected", - "public" - ], - "default": "protected" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -12504,214 +9428,57 @@ { "type": "null" } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - } - }, - "sources": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "metrics": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "depends_on": { - "type": "object", - "title": "DependsOn", - "properties": { - "macros": { - "type": "array", - "items": { - "type": "string" - } - }, - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "compiled_path": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "compiled": { - "type": "boolean", - "default": false - }, - "compiled_code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "extra_ctes_injected": { - "type": "boolean", - "default": false - }, - "extra_ctes": { - "type": "array", - "items": { - "type": "object", - "title": "InjectedCTE", - "properties": { - "id": { - "type": "string" - }, - "sql": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id", - "sql" - ] - } - }, - "_pre_injected_sql": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "contract": { - "type": "object", - "title": "Contract", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - }, - "checksum": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false - }, - "access": { - "enum": [ - "private", - "protected", - "public" - ], - "default": "protected" - }, - "constraints": { - "type": "array", - "items": { - "type": "object", - "title": "ModelLevelConstraint", - "properties": { - "type": { - "enum": [ - "check", - "not_null", - "unique", - "primary_key", - "foreign_key", - "custom" - ] - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "expression": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "warn_unenforced": { - "type": "boolean", - "default": true - }, - "warn_unsupported": { - "type": "boolean", - "default": true - }, - "columns": { - "type": "array", - "items": { - "type": "string" - } + ], + "default": null } }, "additionalProperties": false, "required": [ - "type" + "name" ] } }, - "version": { - "anyOf": [ - { + "sources": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "metrics": { + "type": "array", + "items": { + "type": "array", + "items": { "type": "string" + } + } + }, + "depends_on": { + "type": "object", + "title": "DependsOn", + "properties": { + "macros": { + "type": "array", + "items": { + "type": "string" + } }, + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "compiled_path": { + "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" @@ -12719,21 +9486,46 @@ ], "default": null }, - "latest_version": { + "compiled": { + "type": "boolean", + "default": false + }, + "compiled_code": { "anyOf": [ { "type": "string" }, - { - "type": "number" - }, { "type": "null" } ], "default": null }, - "deprecation_date": { + "extra_ctes_injected": { + "type": "boolean", + "default": false + }, + "extra_ctes": { + "type": "array", + "items": { + "type": "object", + "title": "InjectedCTE", + "properties": { + "id": { + "type": "string" + }, + "sql": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "sql" + ] + } + }, + "_pre_injected_sql": { "anyOf": [ { "type": "string" @@ -12744,52 +9536,31 @@ ], "default": null }, - "defer_relation": { - "anyOf": [ - { - "type": "object", - "title": "DeferRelation", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "alias": { + "contract": { + "type": "object", + "title": "Contract", + "properties": { + "enforced": { + "type": "boolean", + "default": false + }, + "alias_types": { + "type": "boolean", + "default": true + }, + "checksum": { + "anyOf": [ + { "type": "string" }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" } - }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "alias", - "relation_name" - ] - }, - { - "type": "null" + ], + "default": null } - ], - "default": null + }, + "additionalProperties": false } }, "additionalProperties": false, @@ -12809,7 +9580,7 @@ }, { "type": "object", - "title": "RPCNode", + "title": "SingularTest", "properties": { "database": { "anyOf": [ @@ -12828,7 +9599,7 @@ "type": "string" }, "resource_type": { - "const": "rpc" + "const": "test" }, "package_name": { "type": "string" @@ -12870,7 +9641,7 @@ }, "config": { "type": "object", - "title": "NodeConfig", + "title": "TestConfig", "properties": { "_extra": { "type": "object", @@ -12902,7 +9673,7 @@ "type": "null" } ], - "default": null + "default": "dbt_test__audit" }, "database": { "anyOf": [ @@ -12926,124 +9697,18 @@ { "type": "string" } - ] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "view" - }, - "incremental_strategy": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "persist_docs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "quoting": { - "type": "object", - "propertyNames": { - "type": "string" - } + ] }, - "column_types": { + "meta": { "type": "object", "propertyNames": { "type": "string" } }, - "full_refresh": { + "group": { "anyOf": [ { - "type": "boolean" + "type": "string" }, { "type": "null" @@ -13051,16 +9716,19 @@ ], "default": null }, - "unique_key": { + "materialized": { + "type": "string", + "default": "test" + }, + "severity": { + "type": "string", + "default": "ERROR", + "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" + }, + "store_failures": { "anyOf": [ { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } + "type": "boolean" }, { "type": "null" @@ -13068,7 +9736,7 @@ ], "default": null }, - "on_schema_change": { + "store_failures_as": { "anyOf": [ { "type": "string" @@ -13077,73 +9745,45 @@ "type": "null" } ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } + "default": null }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true + "where": { + "anyOf": [ + { + "type": "string" }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + { + "type": "null" } - }, - "additionalProperties": false + ], + "default": null }, - "contract": { - "type": "object", - "title": "ContractConfig", - "properties": { - "enforced": { - "type": "boolean", - "default": false + "limit": { + "anyOf": [ + { + "type": "integer" }, - "alias_types": { - "type": "boolean", - "default": true + { + "type": "null" } - }, - "additionalProperties": false + ], + "default": null + }, + "fail_calc": { + "type": "string", + "default": "count(*)" + }, + "warn_if": { + "type": "string", + "default": "!= 0" + }, + "error_if": { + "type": "string", + "default": "!= 0" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -13552,7 +10192,7 @@ }, { "type": "object", - "title": "SqlNode", + "title": "HookNode", "properties": { "database": { "anyOf": [ @@ -13571,7 +10211,7 @@ "type": "string" }, "resource_type": { - "const": "sql_operation" + "const": "operation" }, "package_name": { "type": "string" @@ -13881,12 +10521,6 @@ }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -14276,6 +10910,17 @@ } }, "additionalProperties": false + }, + "index": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, @@ -14295,38 +10940,8 @@ }, { "type": "object", - "title": "GenericTestNode", + "title": "Model", "properties": { - "test_metadata": { - "type": "object", - "title": "TestMetadata", - "properties": { - "name": { - "type": "string" - }, - "kwargs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "namespace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "name" - ] - }, "database": { "anyOf": [ { @@ -14344,7 +10959,7 @@ "type": "string" }, "resource_type": { - "const": "test" + "const": "model" }, "package_name": { "type": "string" @@ -14386,7 +11001,7 @@ }, "config": { "type": "object", - "title": "TestConfig", + "title": "ModelConfig", "properties": { "_extra": { "type": "object", @@ -14418,7 +11033,7 @@ "type": "null" } ], - "default": "dbt_test__audit" + "default": null }, "database": { "anyOf": [ @@ -14439,38 +11054,124 @@ "type": "string" } }, - { - "type": "string" - } - ] + { + "type": "string" + } + ] + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "group": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "materialized": { + "type": "string", + "default": "view" + }, + "incremental_strategy": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "persist_docs": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "post-hook": { + "type": "array", + "items": { + "type": "object", + "title": "Hook", + "properties": { + "sql": { + "type": "string" + }, + "transaction": { + "type": "boolean", + "default": true + }, + "index": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "sql" + ] + } + }, + "pre-hook": { + "type": "array", + "items": { + "type": "object", + "title": "Hook", + "properties": { + "sql": { + "type": "string" + }, + "transaction": { + "type": "boolean", + "default": true + }, + "index": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "sql" + ] + } }, - "meta": { + "quoting": { "type": "object", "propertyNames": { "type": "string" } }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "test" - }, - "severity": { - "type": "string", - "default": "ERROR", - "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" + "column_types": { + "type": "object", + "propertyNames": { + "type": "string" + } }, - "store_failures": { + "full_refresh": { "anyOf": [ { "type": "boolean" @@ -14481,18 +11182,24 @@ ], "default": null }, - "store_failures_as": { + "unique_key": { "anyOf": [ { "type": "string" }, + { + "type": "array", + "items": { + "type": "string" + } + }, { "type": "null" } ], "default": null }, - "where": { + "on_schema_change": { "anyOf": [ { "type": "string" @@ -14501,40 +11208,75 @@ "type": "null" } ], - "default": null + "default": "ignore" }, - "limit": { - "anyOf": [ - { - "type": "integer" + "on_configuration_change": { + "enum": [ + "apply", + "continue", + "fail" + ] + }, + "grants": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "packages": { + "type": "array", + "items": { + "type": "string" + } + }, + "docs": { + "type": "object", + "title": "Docs", + "properties": { + "show": { + "type": "boolean", + "default": true }, - { - "type": "null" + "node_color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null } - ], - "default": null - }, - "fail_calc": { - "type": "string", - "default": "count(*)" + }, + "additionalProperties": false }, - "warn_if": { - "type": "string", - "default": "!= 0" + "contract": { + "type": "object", + "title": "ContractConfig", + "properties": { + "enforced": { + "type": "boolean", + "default": false + }, + "alias_types": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false }, - "error_if": { - "type": "string", - "default": "!= 0" + "access": { + "enum": [ + "private", + "protected", + "public" + ], + "default": "protected" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -14925,29 +11667,102 @@ }, "additionalProperties": false }, - "column_name": { + "access": { + "enum": [ + "private", + "protected", + "public" + ], + "default": "protected" + }, + "constraints": { + "type": "array", + "items": { + "type": "object", + "title": "ModelLevelConstraint", + "properties": { + "type": { + "enum": [ + "check", + "not_null", + "unique", + "primary_key", + "foreign_key", + "custom" + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "expression": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "warn_unenforced": { + "type": "boolean", + "default": true + }, + "warn_unsupported": { + "type": "boolean", + "default": true + }, + "columns": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "version": { "anyOf": [ { "type": "string" }, + { + "type": "number" + }, { "type": "null" } ], "default": null }, - "file_key_name": { + "latest_version": { "anyOf": [ { "type": "string" }, + { + "type": "number" + }, { "type": "null" } ], "default": null }, - "attached_node": { + "deprecation_date": { "anyOf": [ { "type": "string" @@ -14957,11 +11772,57 @@ } ], "default": null + }, + "defer_relation": { + "anyOf": [ + { + "type": "object", + "title": "DeferRelation", + "properties": { + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "schema": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "relation_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "database", + "schema", + "alias", + "relation_name" + ] + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, "required": [ - "test_metadata", "database", "schema", "name", @@ -14977,7 +11838,7 @@ }, { "type": "object", - "title": "SnapshotNode", + "title": "SqlOperation", "properties": { "database": { "anyOf": [ @@ -14996,7 +11857,7 @@ "type": "string" }, "resource_type": { - "const": "snapshot" + "const": "sql_operation" }, "package_name": { "type": "string" @@ -15038,7 +11899,7 @@ }, "config": { "type": "object", - "title": "SnapshotConfig", + "title": "NodeConfig", "properties": { "_extra": { "type": "object", @@ -15115,7 +11976,7 @@ }, "materialized": { "type": "string", - "default": "snapshot" + "default": "view" }, "incremental_strategy": { "anyOf": [ @@ -15224,6 +12085,12 @@ { "type": "string" }, + { + "type": "array", + "items": { + "type": "string" + } + }, { "type": "null" } @@ -15296,77 +12163,10 @@ } }, "additionalProperties": false - }, - "strategy": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "target_schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "target_database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "updated_at": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "check_cols": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "default": null } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -15756,53 +12556,6 @@ } }, "additionalProperties": false - }, - "defer_relation": { - "anyOf": [ - { - "type": "object", - "title": "DeferRelation", - "properties": { - "database": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "schema": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "relation_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false, - "required": [ - "database", - "schema", - "alias", - "relation_name" - ] - }, - { - "type": "null" - } - ], - "default": null } }, "additionalProperties": false, @@ -15817,13 +12570,12 @@ "unique_id", "fqn", "alias", - "checksum", - "config" + "checksum" ] }, { "type": "object", - "title": "UnitTestNode", + "title": "GenericTest", "properties": { "database": { "anyOf": [ @@ -15842,7 +12594,7 @@ "type": "string" }, "resource_type": { - "const": "unit_test" + "const": "test" }, "package_name": { "type": "string" @@ -15884,7 +12636,7 @@ }, "config": { "type": "object", - "title": "UnitTestNodeConfig", + "title": "TestConfig", "properties": { "_extra": { "type": "object", @@ -15916,145 +12668,59 @@ "type": "null" } ], - "default": null + "default": "dbt_test__audit" }, "database": { "anyOf": [ { "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "string" - } - ] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "group": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "materialized": { - "type": "string", - "default": "view" - }, - "incremental_strategy": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null - }, - "persist_docs": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "post-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "additionalProperties": false, - "required": [ - "sql" - ] - } - }, - "pre-hook": { - "type": "array", - "items": { - "type": "object", - "title": "Hook", - "properties": { - "sql": { - "type": "string" - }, - "transaction": { - "type": "boolean", - "default": true - }, - "index": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null + }, + { + "type": "null" + } + ], + "default": null + }, + "tags": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" } }, - "additionalProperties": false, - "required": [ - "sql" - ] - } + { + "type": "string" + } + ] }, - "quoting": { + "meta": { "type": "object", "propertyNames": { "type": "string" } }, - "column_types": { - "type": "object", - "propertyNames": { - "type": "string" - } + "group": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null }, - "full_refresh": { + "materialized": { + "type": "string", + "default": "test" + }, + "severity": { + "type": "string", + "default": "ERROR", + "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$" + }, + "store_failures": { "anyOf": [ { "type": "boolean" @@ -16065,24 +12731,18 @@ ], "default": null }, - "unique_key": { + "store_failures_as": { "anyOf": [ { "type": "string" }, - { - "type": "array", - "items": { - "type": "string" - } - }, { "type": "null" } ], "default": null }, - "on_schema_change": { + "where": { "anyOf": [ { "type": "string" @@ -16091,82 +12751,34 @@ "type": "null" } ], - "default": "ignore" - }, - "on_configuration_change": { - "enum": [ - "apply", - "continue", - "fail" - ] - }, - "grants": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "packages": { - "type": "array", - "items": { - "type": "string" - } + "default": null }, - "docs": { - "type": "object", - "title": "Docs", - "properties": { - "show": { - "type": "boolean", - "default": true + "limit": { + "anyOf": [ + { + "type": "integer" }, - "node_color": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null + { + "type": "null" } - }, - "additionalProperties": false + ], + "default": null }, - "contract": { - "type": "object", - "title": "ContractConfig", - "properties": { - "enforced": { - "type": "boolean", - "default": false - }, - "alias_types": { - "type": "boolean", - "default": true - } - }, - "additionalProperties": false + "fail_calc": { + "type": "string", + "default": "count(*)" }, - "expected_rows": { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string" - } - } + "warn_if": { + "type": "string", + "default": "!= 0" + }, + "error_if": { + "type": "string", + "default": "!= 0" } }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -16557,7 +13169,7 @@ }, "additionalProperties": false }, - "tested_node_unique_id": { + "column_name": { "anyOf": [ { "type": "string" @@ -16568,7 +13180,7 @@ ], "default": null }, - "this_input_node_unique_id": { + "file_key_name": { "anyOf": [ { "type": "string" @@ -16579,38 +13191,44 @@ ], "default": null }, - "overrides": { + "attached_node": { "anyOf": [ { - "type": "object", - "title": "UnitTestOverrides", - "properties": { - "macros": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "vars": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, - "env_vars": { - "type": "object", - "propertyNames": { - "type": "string" - } - } - }, - "additionalProperties": false + "type": "string" }, { "type": "null" } ], "default": null + }, + "test_metadata": { + "type": "object", + "title": "TestMetadata", + "properties": { + "name": { + "type": "string", + "default": "test" + }, + "kwargs": { + "type": "object", + "propertyNames": { + "type": "string" + } + }, + "namespace": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false } }, "additionalProperties": false, @@ -16630,7 +13248,7 @@ }, { "type": "object", - "title": "SeedNode", + "title": "Snapshot", "properties": { "database": { "anyOf": [ @@ -16649,7 +13267,7 @@ "type": "string" }, "resource_type": { - "const": "seed" + "const": "snapshot" }, "package_name": { "type": "string" @@ -16691,7 +13309,7 @@ }, "config": { "type": "object", - "title": "SeedConfig", + "title": "SnapshotConfig", "properties": { "_extra": { "type": "object", @@ -16768,7 +13386,7 @@ }, "materialized": { "type": "string", - "default": "seed" + "default": "snapshot" }, "incremental_strategy": { "anyOf": [ @@ -16877,12 +13495,6 @@ { "type": "string" }, - { - "type": "array", - "items": { - "type": "string" - } - }, { "type": "null" } @@ -16953,17 +13565,63 @@ "type": "boolean", "default": true } - }, - "additionalProperties": false - }, - "delimiter": { - "type": "string", - "default": "," + }, + "additionalProperties": false + }, + "strategy": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "target_schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "target_database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "updated_at": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null }, - "quote_columns": { + "check_cols": { "anyOf": [ { - "type": "boolean" + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } }, { "type": "null" @@ -16974,12 +13632,6 @@ }, "additionalProperties": true }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "tags": { "type": "array", "items": { @@ -17201,7 +13853,89 @@ "type": "string", "default": "" }, - "root_path": { + "language": { + "type": "string", + "default": "sql" + }, + "refs": { + "type": "array", + "items": { + "type": "object", + "title": "RefArgs", + "properties": { + "name": { + "type": "string" + }, + "package": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + } + }, + "sources": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "metrics": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "depends_on": { + "type": "object", + "title": "DependsOn", + "properties": { + "macros": { + "type": "array", + "items": { + "type": "string" + } + }, + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "compiled_path": { "anyOf": [ { "type": "string" @@ -17212,15 +13946,78 @@ ], "default": null }, - "depends_on": { - "type": "object", - "title": "MacroDependsOn", - "properties": { - "macros": { - "type": "array", - "items": { + "compiled": { + "type": "boolean", + "default": false + }, + "compiled_code": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "extra_ctes_injected": { + "type": "boolean", + "default": false + }, + "extra_ctes": { + "type": "array", + "items": { + "type": "object", + "title": "InjectedCTE", + "properties": { + "id": { + "type": "string" + }, + "sql": { "type": "string" } + }, + "additionalProperties": false, + "required": [ + "id", + "sql" + ] + } + }, + "_pre_injected_sql": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "contract": { + "type": "object", + "title": "Contract", + "properties": { + "enforced": { + "type": "boolean", + "default": false + }, + "alias_types": { + "type": "boolean", + "default": true + }, + "checksum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false @@ -17285,7 +14082,8 @@ "unique_id", "fqn", "alias", - "checksum" + "checksum", + "config" ] }, { @@ -17341,12 +14139,6 @@ "identifier": { "type": "string" }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "quoting": { "type": "object", "title": "Quoting", @@ -19038,6 +15830,12 @@ } ], "default": null + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + } } }, "additionalProperties": true @@ -19300,6 +16098,17 @@ } ], "default": null + }, + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, @@ -19439,6 +16248,17 @@ } ], "default": null + }, + "cache": { + "type": "object", + "title": "SavedQueryCache", + "properties": { + "enabled": { + "type": "boolean", + "default": false + } + }, + "additionalProperties": false } }, "additionalProperties": true @@ -19522,12 +16342,6 @@ "name" ] } - }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } } }, "additionalProperties": false, @@ -19625,7 +16439,7 @@ "type": "null" } ], - "default": null + "default": "" } }, "additionalProperties": false, @@ -20292,7 +17106,8 @@ "format": { "enum": [ "csv", - "dict" + "dict", + "sql" ], "default": "dict" }, @@ -20341,7 +17156,8 @@ "format": { "enum": [ "csv", - "dict" + "dict", + "sql" ], "default": "dict" }, @@ -20402,12 +17218,6 @@ "type": "string" } }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "description": { "type": "string", "default": "" @@ -20826,6 +17636,17 @@ } ], "default": null + }, + "database": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null } }, "additionalProperties": false, @@ -20965,6 +17786,17 @@ } ], "default": null + }, + "cache": { + "type": "object", + "title": "SavedQueryCache", + "properties": { + "enabled": { + "type": "boolean", + "default": false + } + }, + "additionalProperties": false } }, "additionalProperties": true @@ -21152,7 +17984,7 @@ "type": "null" } ], - "default": null + "default": "" } }, "additionalProperties": false, @@ -21826,7 +18658,8 @@ "format": { "enum": [ "csv", - "dict" + "dict", + "sql" ], "default": "dict" }, @@ -21875,7 +18708,8 @@ "format": { "enum": [ "csv", - "dict" + "dict", + "sql" ], "default": "dict" }, @@ -21936,12 +18770,6 @@ "type": "string" } }, - "_event_status": { - "type": "object", - "propertyNames": { - "type": "string" - } - }, "description": { "type": "string", "default": "" From ec402f24c637ef5f5f6a1cac79001fcee067abaf Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Thu, 2 May 2024 12:53:25 +0200 Subject: [PATCH 2/2] Regenerate pretty manifest v12 html --- dbt/manifest/v12/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/manifest/v12/index.html b/dbt/manifest/v12/index.html index 3ee7bdd..5b00731 100644 --- a/dbt/manifest/v12/index.html +++ b/dbt/manifest/v12/index.html @@ -1 +1 @@ - WritableManifest

WritableManifest

Type: object
No Additional Properties

ManifestMetadata

Type: object

Metadata about the manifest

No Additional Properties

Type: string

Type: string Default: "1.8.0a1"

Type: string

Type: object

Each additional property must conform to the following schema

Type: string

Default: null

Name of the root project

Default: null

A unique identifier for the project, hashed from the project name

Type: string
Type: null

Default: null

A unique identifier for the user

Type: stringFormat: uuid
Type: null

Default: null

Whether dbt is configured to send anonymous usage statistics

Default: null

The type name of the adapter

Type: object

The nodes defined in the dbt project and its dependencies

Each additional property must conform to the following schema


AnalysisNode

Type: object
No Additional Properties

Type: const
Specific value: "analysis"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

SingularTestNode

Type: object
No Additional Properties

Type: const
Specific value: "test"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

TestConfig

Type: object

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: string Default: "count(*)"

Type: string Default: "!= 0"

Type: string Default: "!= 0"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

HookNode

Type: object
No Additional Properties

Type: const
Specific value: "operation"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

ModelNode

Type: object
No Additional Properties

Type: const
Specific value: "model"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

ModelConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Type: array of object
No Additional Items

Each item of this array must be:

ModelLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

RPCNode

Type: object
No Additional Properties

Type: const
Specific value: "rpc"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

SqlNode

Type: object
No Additional Properties

Type: const
Specific value: "sql_operation"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

GenericTestNode

Type: object
No Additional Properties

Type: const
Specific value: "test"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

TestConfig

Type: object

Type: boolean Default: true

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: string Default: "count(*)"

Type: string Default: "!= 0"

Type: string Default: "!= 0"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

SnapshotNode

Type: object
No Additional Properties

Type: const
Specific value: "snapshot"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

SnapshotConfig

Type: object

Type: boolean Default: true

Type: string Default: "snapshot"

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

UnitTestNode

Type: object
No Additional Properties

Type: const
Specific value: "unit_test"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

UnitTestNodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

SeedNode

Type: object
No Additional Properties

Type: const
Specific value: "seed"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

SeedConfig

Type: object

Type: boolean Default: true

Type: string Default: "seed"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Type: string Default: ","

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

MacroDependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

The sources defined in the dbt project and its dependencies

Each additional property must conform to the following schema

SourceDefinition

Type: object
No Additional Properties

Type: string

Type: string

Type: const
Specific value: "source"

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Default: null

FreshnessThreshold

Type: object
No Additional Properties

Default: null

ExternalTable

Type: object

Default: null

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: string Default: ""

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

SourceConfig

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Type: object

The macros defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Macro

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "macro"

Type: string

Type: string

Type: string

Type: string

Type: string

MacroDependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MacroArgument

Type: object
No Additional Properties

Type: string Default: ""

Type: number

Default: null

Type: array of enum (of string)
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "python"
  • "sql"

Type: object

The docs defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Documentation

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "doc"

Type: string

Type: string

Type: string

Type: string

Type: object

The exposures defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Exposure

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "exposure"

Type: string

Type: string

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Type: enum (of string)

Must be one of:

  • "dashboard"
  • "notebook"
  • "analysis"
  • "ml"
  • "application"

Owner

Type: object

Type: object

Additional Properties of any type are allowed.

Type: object

Type: string Default: ""

Default: null

Default: null

Type: enum (of string)

Must be one of:

  • "low"
  • "medium"
  • "high"

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

ExposureConfig

Type: object

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Default: null

Type: string
Type: null

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

RefArgs

Type: object
No Additional Properties

Type: string

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: number

Type: object

The metrics defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Metric

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "metric"

Type: string

Type: string

Type: string

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Type: string

Type: string

Type: enum (of string)

Must be one of:

  • "simple"
  • "ratio"
  • "cumulative"
  • "derived"
  • "conversion"

MetricTypeParams

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricTimeWindow

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "day"
  • "week"
  • "month"
  • "quarter"
  • "year"

Default: null

Type: enum (of string)

Must be one of:

  • "day"
  • "week"
  • "month"
  • "quarter"
  • "year"

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MetricInput

Type: object
No Additional Properties

Default: null

ConversionTypeParams

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

Type: enum (of string) Default: "conversion_rate"

Must be one of:

  • "conversions"
  • "conversion_rate"

Default: null

WhereFilterIntersection

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

WhereFilter

Type: object
No Additional Properties
Type: null

Default: null

SourceFileMetadata

Type: object
No Additional Properties

FileSlice

Type: object
No Additional Properties

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

MetricConfig

Type: object

Type: object

Type: boolean Default: true

Default: null

Additional Properties of any type are allowed.

Type: object

Type: object

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

RefArgs

Type: object
No Additional Properties

Type: string

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: number

Default: null

Type: string
Type: null

Type: object

The groups defined in the dbt project

Each additional property must conform to the following schema

Group

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "group"

Type: string

Type: string

Type: string

Type: string

Owner

Type: object

Type: object

Default: null

Type: string
Type: null

Default: null

Type: string
Type: null

Additional Properties of any type are allowed.

Type: object

Type: object

The selectors defined in selectors.yml


A mapping of the disabled nodes in the target

Type: object

Each additional property must conform to the following schema

Type: array
No Additional Items

Each item of this array must be:


AnalysisNode

Type: object
No Additional Properties

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

SingularTestNode

Type: object
No Additional Properties

TestConfig

Type: object

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of object
No Additional Items

Each item of this array must be:

HookNode

Type: object
No Additional Properties

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

ModelNode

Type: object
No Additional Properties

ModelConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Type: array of object
No Additional Items

Each item of this array must be:

ModelLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Default: null

DeferRelation

Type: object
No Additional Properties

RPCNode

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

SqlNode

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

GenericTestNode

Type: object
No Additional Properties

TestConfig

Type: object

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of object
No Additional Items

Each item of this array must be:

SnapshotNode

Type: object
No Additional Properties

SnapshotConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Default: null

DeferRelation

Type: object
No Additional Properties

UnitTestNode

Type: object
No Additional Properties

UnitTestNodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

SeedNode

Type: object
No Additional Properties

SeedConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Default: null

SourceDefinition

Type: object
No Additional Properties

Quoting

Type: object
No Additional Properties

Default: null

FreshnessThreshold

Type: object
No Additional Properties



Default: null

ExternalTable

Type: object

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Exposure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "dashboard"
  • "notebook"
  • "analysis"
  • "ml"
  • "application"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Metric

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "simple"
  • "ratio"
  • "cumulative"
  • "derived"
  • "conversion"

MetricTypeParams

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MetricInput

Type: object
No Additional Properties

Default: null

ConversionTypeParams

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Default: null

Type: enum (of string) Default: "conversion_rate"

Must be one of:

  • "conversions"
  • "conversion_rate"

Default: null

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

SavedQuery

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

QueryParams

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Export

Type: object
No Additional Properties

Default: null

SavedQueryConfig

Type: object

Additional Properties of any type are allowed.

Type: object

SemanticModel

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"


NodeRelation

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Entity

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "foreign"
  • "natural"
  • "primary"
  • "unique"

Type: array of object
No Additional Items

Each item of this array must be:

Measure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "sum"
  • "min"
  • "max"
  • "count_distinct"
  • "sum_boolean"
  • "average"
  • "percentile"
  • "median"
  • "count"

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Dimension

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "categorical"
  • "time"

Default: null

DimensionTypeParams

Type: object
No Additional Properties

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestDefinition

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestInputFixture

Type: object
No Additional Properties

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"

UnitTestOutputFixture

Type: object
No Additional Properties

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Default: null

UnitTestNodeVersions

Type: object
No Additional Properties
Type: null


A mapping from child nodes to their dependencies

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null


A mapping from parent nodes to their dependents

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null


A mapping from group names to their nodes

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null

Type: object

The saved queries defined in the dbt project

Each additional property must conform to the following schema

SavedQuery

Type: object
No Additional Properties

Type: string

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

QueryParams

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:


WhereFilterIntersection

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Export

Type: object
No Additional Properties

ExportConfig

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "table"
  • "view"

Default: null

SourceFileMetadata

Type: object
No Additional Properties

SavedQueryConfig

Type: object

Type: boolean Default: true

Type: object

Default: null

Type: enum (of string)

Must be one of:

  • "table"
  • "view"

Additional Properties of any type are allowed.

Type: object

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

The semantic models defined in the dbt project

Each additional property must conform to the following schema

SemanticModel

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Measure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "sum"
  • "min"
  • "max"
  • "count_distinct"
  • "sum_boolean"
  • "average"
  • "percentile"
  • "median"
  • "count"

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

Dimension

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "categorical"
  • "time"

Default: null

SourceFileMetadata

Type: object
No Additional Properties

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

SemanticModelConfig

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Type: object

The unit tests defined in the project

Each additional property must conform to the following schema

UnitTestDefinition

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestOutputFixture

Type: object
No Additional Properties

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

UnitTestConfig

Type: object


Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Default: null

UnitTestNodeVersions

Type: object
No Additional Properties
\ No newline at end of file + WritableManifest

WritableManifest

Type: object
No Additional Properties

ManifestMetadata

Type: object

Metadata about the manifest

No Additional Properties

Type: string

Type: string Default: "1.8.0b3"

Type: string

Type: object

Each additional property must conform to the following schema

Type: string

Default: null

Name of the root project

Default: null

A unique identifier for the project, hashed from the project name

Type: string
Type: null

Default: null

A unique identifier for the user

Type: stringFormat: uuid
Type: null

Default: null

Whether dbt is configured to send anonymous usage statistics

Default: null

The type name of the adapter

Type: object

The nodes defined in the dbt project and its dependencies

Each additional property must conform to the following schema


Seed

Type: object
No Additional Properties

Type: const
Specific value: "seed"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

SeedConfig

Type: object

Type: boolean Default: true


Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: "seed"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Type: string Default: ","

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

MacroDependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Analysis

Type: object
No Additional Properties

Type: const
Specific value: "analysis"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

SingularTest

Type: object
No Additional Properties

Type: const
Specific value: "test"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

TestConfig

Type: object

Type: boolean Default: true

Type: string Default: "test"

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: string Default: "count(*)"

Type: string Default: "!= 0"

Type: string Default: "!= 0"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

HookNode

Type: object
No Additional Properties

Type: const
Specific value: "operation"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Model

Type: object
No Additional Properties

Type: const
Specific value: "model"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

ModelConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Type: array of object
No Additional Items

Each item of this array must be:

ModelLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

SqlOperation

Type: object
No Additional Properties

Type: const
Specific value: "sql_operation"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

NodeConfig

Type: object

Type: boolean Default: true

Type: string Default: "view"

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

GenericTest

Type: object
No Additional Properties

Type: const
Specific value: "test"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

TestConfig

Type: object

Type: boolean Default: true

Type: string Default: "test"

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Type: string Default: "count(*)"

Type: string Default: "!= 0"

Type: string Default: "!= 0"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Snapshot

Type: object
No Additional Properties

Type: const
Specific value: "snapshot"

Type: array of string
No Additional Items

Each item of this array must be:

FileHash

Type: object
No Additional Properties

SnapshotConfig

Type: object

Type: boolean Default: true

Type: string Default: "snapshot"

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: array of string
No Additional Items

Each item of this array must be:

ContractConfig

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Type: boolean Default: false

Type: string Default: ""

Type: string Default: "sql"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: boolean Default: false

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

InjectedCTE

Type: object
No Additional Properties

Contract

Type: object
No Additional Properties

Type: boolean Default: false

Type: boolean Default: true

Type: object

The sources defined in the dbt project and its dependencies

Each additional property must conform to the following schema

SourceDefinition

Type: object
No Additional Properties

Type: string

Type: string

Type: const
Specific value: "source"

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Default: null

FreshnessThreshold

Type: object
No Additional Properties

Default: null

ExternalTable

Type: object

Default: null

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: string Default: ""

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: string Default: ""

Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

SourceConfig

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Type: object

The macros defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Macro

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "macro"

Type: string

Type: string

Type: string

Type: string

Type: string

MacroDependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

Type: object

Docs

Type: object
No Additional Properties

Type: boolean Default: true

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MacroArgument

Type: object
No Additional Properties

Type: string Default: ""

Type: number

Default: null

Type: array of enum (of string)
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "python"
  • "sql"

Type: object

The docs defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Documentation

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "doc"

Type: string

Type: string

Type: string

Type: string

Type: object

The exposures defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Exposure

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "exposure"

Type: string

Type: string

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Type: enum (of string)

Must be one of:

  • "dashboard"
  • "notebook"
  • "analysis"
  • "ml"
  • "application"

Owner

Type: object

Type: object

Additional Properties of any type are allowed.

Type: object

Type: string Default: ""

Default: null

Default: null

Type: enum (of string)

Must be one of:

  • "low"
  • "medium"
  • "high"

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

ExposureConfig

Type: object

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Default: null

Type: string
Type: null

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

RefArgs

Type: object
No Additional Properties

Type: string

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: number

Type: object

The metrics defined in the dbt project and its dependencies

Each additional property must conform to the following schema

Metric

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "metric"

Type: string

Type: string

Type: string

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Type: string

Type: string

Type: enum (of string)

Must be one of:

  • "simple"
  • "ratio"
  • "cumulative"
  • "derived"
  • "conversion"

MetricTypeParams

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricTimeWindow

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "day"
  • "week"
  • "month"
  • "quarter"
  • "year"

Default: null

Type: enum (of string)

Must be one of:

  • "day"
  • "week"
  • "month"
  • "quarter"
  • "year"

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MetricInput

Type: object
No Additional Properties

Default: null

ConversionTypeParams

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

Type: enum (of string) Default: "conversion_rate"

Must be one of:

  • "conversions"
  • "conversion_rate"

Default: null

WhereFilterIntersection

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

WhereFilter

Type: object
No Additional Properties
Type: null

Default: null

SourceFileMetadata

Type: object
No Additional Properties

FileSlice

Type: object
No Additional Properties

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

MetricConfig

Type: object

Type: object

Type: boolean Default: true

Default: null

Type: object

Additional Properties of any type are allowed.

Type: object

Type: object

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

RefArgs

Type: object
No Additional Properties

Type: string

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: number

Default: null

Type: string
Type: null

Type: object

The groups defined in the dbt project

Each additional property must conform to the following schema

Group

Type: object
No Additional Properties

Type: string

Type: const
Specific value: "group"

Type: string

Type: string

Type: string

Type: string

Owner

Type: object

Type: object

Default: null

Type: string
Type: null

Default: null

Type: string
Type: null

Additional Properties of any type are allowed.

Type: object

Type: object

The selectors defined in selectors.yml


A mapping of the disabled nodes in the target

Type: object

Each additional property must conform to the following schema

Type: array
No Additional Items

Each item of this array must be:


Seed

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

SeedConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Additional Properties of any type are allowed.

Type: object

MacroDependsOn

Type: object
No Additional Properties

Default: null

Analysis

Type: object
No Additional Properties

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

SingularTest

Type: object
No Additional Properties

TestConfig

Type: object

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

HookNode

Type: object
No Additional Properties

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Model

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

ModelConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Additional Properties of any type are allowed.

Type: object

Type: array of string
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Type: enum (of string) Default: "protected"

Must be one of:

  • "private"
  • "protected"
  • "public"

Type: array of object
No Additional Items

Each item of this array must be:

ModelLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Default: null

SqlOperation

Type: object
No Additional Properties

NodeConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

GenericTest

Type: object
No Additional Properties

TestConfig

Type: object

Type: string Default: "ERROR"
Must match regular expression: ^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Snapshot

Type: object
No Additional Properties

SnapshotConfig

Type: object

Type: enum (of string)

Must be one of:

  • "apply"
  • "continue"
  • "fail"

Additional Properties of any type are allowed.

Type: object

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Default: null

SourceDefinition

Type: object
No Additional Properties

Quoting

Type: object
No Additional Properties

Default: null

FreshnessThreshold

Type: object
No Additional Properties



Default: null

ExternalTable

Type: object

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Each additional property must conform to the following schema

ColumnInfo

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

ColumnLevelConstraint

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "check"
  • "not_null"
  • "unique"
  • "primary_key"
  • "foreign_key"
  • "custom"

Exposure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "dashboard"
  • "notebook"
  • "analysis"
  • "ml"
  • "application"

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

Metric

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "simple"
  • "ratio"
  • "cumulative"
  • "derived"
  • "conversion"

MetricTypeParams

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

MetricInput

Type: object
No Additional Properties

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

MetricInput

Type: object
No Additional Properties

Default: null

ConversionTypeParams

Type: object
No Additional Properties

MetricInputMeasure

Type: object
No Additional Properties

Default: null

MetricInputMeasure

Type: object
No Additional Properties

Default: null

Type: enum (of string) Default: "conversion_rate"

Must be one of:

  • "conversions"
  • "conversion_rate"

Default: null

Type: array of array
No Additional Items

Each item of this array must be:

Type: array of array
No Additional Items

Each item of this array must be:

SavedQuery

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

QueryParams

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Export

Type: object
No Additional Properties

ExportConfig

Type: object
No Additional Properties

Default: null

SavedQueryConfig

Type: object

Additional Properties of any type are allowed.

Type: object

SemanticModel

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"


NodeRelation

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Entity

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "foreign"
  • "natural"
  • "primary"
  • "unique"

Type: array of object
No Additional Items

Each item of this array must be:

Measure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "sum"
  • "min"
  • "max"
  • "count_distinct"
  • "sum_boolean"
  • "average"
  • "percentile"
  • "median"
  • "count"

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Dimension

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "categorical"
  • "time"

Default: null

DimensionTypeParams

Type: object
No Additional Properties

Default: null

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestDefinition

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestInputFixture

Type: object
No Additional Properties

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"
  • "sql"

UnitTestOutputFixture

Type: object
No Additional Properties

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"
  • "sql"

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Default: null

UnitTestNodeVersions

Type: object
No Additional Properties
Type: null


A mapping from child nodes to their dependencies

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null


A mapping from parent nodes to their dependents

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null


A mapping from group names to their nodes

Type: object

Each additional property must conform to the following schema

Type: array of string
No Additional Items

Each item of this array must be:

Type: null

Type: object

The saved queries defined in the dbt project

Each additional property must conform to the following schema

SavedQuery

Type: object
No Additional Properties

Type: string

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: string

Type: array of string
No Additional Items

Each item of this array must be:

QueryParams

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:


WhereFilterIntersection

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Export

Type: object
No Additional Properties

Default: null

SourceFileMetadata

Type: object
No Additional Properties

SavedQueryConfig

Type: object

Type: boolean Default: true

Type: object

Default: null

Type: enum (of string)

Must be one of:

  • "table"
  • "view"

SavedQueryCache

Type: object
No Additional Properties

Type: boolean Default: false

Additional Properties of any type are allowed.

Type: object

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

The semantic models defined in the dbt project

Each additional property must conform to the following schema

SemanticModel

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

Measure

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "sum"
  • "min"
  • "max"
  • "count_distinct"
  • "sum_boolean"
  • "average"
  • "percentile"
  • "median"
  • "count"

Type: boolean Default: false

Type: array of object
No Additional Items

Each item of this array must be:

Dimension

Type: object
No Additional Properties

Type: enum (of string)

Must be one of:

  • "categorical"
  • "time"

Default: null

SourceFileMetadata

Type: object
No Additional Properties

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of object
No Additional Items

Each item of this array must be:

SemanticModelConfig

Type: object

Type: boolean Default: true

Additional Properties of any type are allowed.

Type: object

Type: object

The unit tests defined in the project

Each additional property must conform to the following schema

UnitTestDefinition

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

UnitTestOutputFixture

Type: object
No Additional Properties

Default: null

Type: array of object
No Additional Items

Each item of this array must be:

Type: enum (of string) Default: "dict"

Must be one of:

  • "csv"
  • "dict"
  • "sql"

Type: enum (of string)

Must be one of:

  • "model"
  • "analysis"
  • "test"
  • "snapshot"
  • "operation"
  • "seed"
  • "rpc"
  • "sql_operation"
  • "doc"
  • "source"
  • "macro"
  • "exposure"
  • "metric"
  • "group"
  • "saved_query"
  • "semantic_model"
  • "unit_test"
  • "fixture"

Type: array of string
No Additional Items

Each item of this array must be:

Type: string Default: ""

DependsOn

Type: object
No Additional Properties

Type: array of string
No Additional Items

Each item of this array must be:

Type: array of string
No Additional Items

Each item of this array must be:

UnitTestConfig

Type: object


Type: array of string
No Additional Items

Each item of this array must be:

Additional Properties of any type are allowed.

Type: object

Default: null

UnitTestNodeVersions

Type: object
No Additional Properties
\ No newline at end of file