dvt-core 0.59.0a51__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. dbt/__init__.py +7 -0
  2. dbt/_pydantic_shim.py +26 -0
  3. dbt/artifacts/__init__.py +0 -0
  4. dbt/artifacts/exceptions/__init__.py +1 -0
  5. dbt/artifacts/exceptions/schemas.py +31 -0
  6. dbt/artifacts/resources/__init__.py +116 -0
  7. dbt/artifacts/resources/base.py +67 -0
  8. dbt/artifacts/resources/types.py +93 -0
  9. dbt/artifacts/resources/v1/analysis.py +10 -0
  10. dbt/artifacts/resources/v1/catalog.py +23 -0
  11. dbt/artifacts/resources/v1/components.py +274 -0
  12. dbt/artifacts/resources/v1/config.py +277 -0
  13. dbt/artifacts/resources/v1/documentation.py +11 -0
  14. dbt/artifacts/resources/v1/exposure.py +51 -0
  15. dbt/artifacts/resources/v1/function.py +52 -0
  16. dbt/artifacts/resources/v1/generic_test.py +31 -0
  17. dbt/artifacts/resources/v1/group.py +21 -0
  18. dbt/artifacts/resources/v1/hook.py +11 -0
  19. dbt/artifacts/resources/v1/macro.py +29 -0
  20. dbt/artifacts/resources/v1/metric.py +172 -0
  21. dbt/artifacts/resources/v1/model.py +145 -0
  22. dbt/artifacts/resources/v1/owner.py +10 -0
  23. dbt/artifacts/resources/v1/saved_query.py +111 -0
  24. dbt/artifacts/resources/v1/seed.py +41 -0
  25. dbt/artifacts/resources/v1/semantic_layer_components.py +72 -0
  26. dbt/artifacts/resources/v1/semantic_model.py +314 -0
  27. dbt/artifacts/resources/v1/singular_test.py +14 -0
  28. dbt/artifacts/resources/v1/snapshot.py +91 -0
  29. dbt/artifacts/resources/v1/source_definition.py +84 -0
  30. dbt/artifacts/resources/v1/sql_operation.py +10 -0
  31. dbt/artifacts/resources/v1/unit_test_definition.py +77 -0
  32. dbt/artifacts/schemas/__init__.py +0 -0
  33. dbt/artifacts/schemas/base.py +191 -0
  34. dbt/artifacts/schemas/batch_results.py +24 -0
  35. dbt/artifacts/schemas/catalog/__init__.py +11 -0
  36. dbt/artifacts/schemas/catalog/v1/__init__.py +0 -0
  37. dbt/artifacts/schemas/catalog/v1/catalog.py +59 -0
  38. dbt/artifacts/schemas/freshness/__init__.py +1 -0
  39. dbt/artifacts/schemas/freshness/v3/__init__.py +0 -0
  40. dbt/artifacts/schemas/freshness/v3/freshness.py +158 -0
  41. dbt/artifacts/schemas/manifest/__init__.py +2 -0
  42. dbt/artifacts/schemas/manifest/v12/__init__.py +0 -0
  43. dbt/artifacts/schemas/manifest/v12/manifest.py +211 -0
  44. dbt/artifacts/schemas/results.py +147 -0
  45. dbt/artifacts/schemas/run/__init__.py +2 -0
  46. dbt/artifacts/schemas/run/v5/__init__.py +0 -0
  47. dbt/artifacts/schemas/run/v5/run.py +184 -0
  48. dbt/artifacts/schemas/upgrades/__init__.py +4 -0
  49. dbt/artifacts/schemas/upgrades/upgrade_manifest.py +174 -0
  50. dbt/artifacts/schemas/upgrades/upgrade_manifest_dbt_version.py +2 -0
  51. dbt/artifacts/utils/validation.py +153 -0
  52. dbt/cli/__init__.py +1 -0
  53. dbt/cli/context.py +17 -0
  54. dbt/cli/exceptions.py +57 -0
  55. dbt/cli/flags.py +560 -0
  56. dbt/cli/main.py +2660 -0
  57. dbt/cli/option_types.py +121 -0
  58. dbt/cli/options.py +80 -0
  59. dbt/cli/params.py +844 -0
  60. dbt/cli/requires.py +490 -0
  61. dbt/cli/resolvers.py +60 -0
  62. dbt/cli/types.py +40 -0
  63. dbt/clients/__init__.py +0 -0
  64. dbt/clients/checked_load.py +83 -0
  65. dbt/clients/git.py +164 -0
  66. dbt/clients/jinja.py +206 -0
  67. dbt/clients/jinja_static.py +245 -0
  68. dbt/clients/registry.py +192 -0
  69. dbt/clients/yaml_helper.py +68 -0
  70. dbt/compilation.py +876 -0
  71. dbt/compute/__init__.py +14 -0
  72. dbt/compute/engines/__init__.py +12 -0
  73. dbt/compute/engines/spark_engine.py +642 -0
  74. dbt/compute/federated_executor.py +1080 -0
  75. dbt/compute/filter_pushdown.py +273 -0
  76. dbt/compute/jar_provisioning.py +273 -0
  77. dbt/compute/java_compat.py +689 -0
  78. dbt/compute/jdbc_utils.py +1252 -0
  79. dbt/compute/metadata/__init__.py +63 -0
  80. dbt/compute/metadata/adapters_registry.py +370 -0
  81. dbt/compute/metadata/catalog_store.py +1036 -0
  82. dbt/compute/metadata/registry.py +674 -0
  83. dbt/compute/metadata/store.py +1020 -0
  84. dbt/compute/smart_selector.py +377 -0
  85. dbt/compute/spark_logger.py +272 -0
  86. dbt/compute/strategies/__init__.py +55 -0
  87. dbt/compute/strategies/base.py +165 -0
  88. dbt/compute/strategies/dataproc.py +207 -0
  89. dbt/compute/strategies/emr.py +203 -0
  90. dbt/compute/strategies/local.py +472 -0
  91. dbt/compute/strategies/standalone.py +262 -0
  92. dbt/config/__init__.py +4 -0
  93. dbt/config/catalogs.py +94 -0
  94. dbt/config/compute.py +513 -0
  95. dbt/config/dvt_profile.py +408 -0
  96. dbt/config/profile.py +422 -0
  97. dbt/config/project.py +888 -0
  98. dbt/config/project_utils.py +48 -0
  99. dbt/config/renderer.py +231 -0
  100. dbt/config/runtime.py +564 -0
  101. dbt/config/selectors.py +208 -0
  102. dbt/config/utils.py +77 -0
  103. dbt/constants.py +28 -0
  104. dbt/context/__init__.py +0 -0
  105. dbt/context/base.py +745 -0
  106. dbt/context/configured.py +135 -0
  107. dbt/context/context_config.py +382 -0
  108. dbt/context/docs.py +82 -0
  109. dbt/context/exceptions_jinja.py +178 -0
  110. dbt/context/macro_resolver.py +195 -0
  111. dbt/context/macros.py +171 -0
  112. dbt/context/manifest.py +72 -0
  113. dbt/context/providers.py +2249 -0
  114. dbt/context/query_header.py +13 -0
  115. dbt/context/secret.py +58 -0
  116. dbt/context/target.py +74 -0
  117. dbt/contracts/__init__.py +0 -0
  118. dbt/contracts/files.py +413 -0
  119. dbt/contracts/graph/__init__.py +0 -0
  120. dbt/contracts/graph/manifest.py +1904 -0
  121. dbt/contracts/graph/metrics.py +97 -0
  122. dbt/contracts/graph/model_config.py +70 -0
  123. dbt/contracts/graph/node_args.py +42 -0
  124. dbt/contracts/graph/nodes.py +1806 -0
  125. dbt/contracts/graph/semantic_manifest.py +232 -0
  126. dbt/contracts/graph/unparsed.py +811 -0
  127. dbt/contracts/project.py +419 -0
  128. dbt/contracts/results.py +53 -0
  129. dbt/contracts/selection.py +23 -0
  130. dbt/contracts/sql.py +85 -0
  131. dbt/contracts/state.py +68 -0
  132. dbt/contracts/util.py +46 -0
  133. dbt/deprecations.py +348 -0
  134. dbt/deps/__init__.py +0 -0
  135. dbt/deps/base.py +152 -0
  136. dbt/deps/git.py +195 -0
  137. dbt/deps/local.py +79 -0
  138. dbt/deps/registry.py +130 -0
  139. dbt/deps/resolver.py +149 -0
  140. dbt/deps/tarball.py +120 -0
  141. dbt/docs/source/_ext/dbt_click.py +119 -0
  142. dbt/docs/source/conf.py +32 -0
  143. dbt/env_vars.py +64 -0
  144. dbt/event_time/event_time.py +40 -0
  145. dbt/event_time/sample_window.py +60 -0
  146. dbt/events/__init__.py +15 -0
  147. dbt/events/base_types.py +36 -0
  148. dbt/events/core_types_pb2.py +2 -0
  149. dbt/events/logging.py +108 -0
  150. dbt/events/types.py +2516 -0
  151. dbt/exceptions.py +1486 -0
  152. dbt/flags.py +89 -0
  153. dbt/graph/__init__.py +11 -0
  154. dbt/graph/cli.py +249 -0
  155. dbt/graph/graph.py +172 -0
  156. dbt/graph/queue.py +214 -0
  157. dbt/graph/selector.py +374 -0
  158. dbt/graph/selector_methods.py +975 -0
  159. dbt/graph/selector_spec.py +222 -0
  160. dbt/graph/thread_pool.py +18 -0
  161. dbt/hooks.py +21 -0
  162. dbt/include/README.md +49 -0
  163. dbt/include/__init__.py +3 -0
  164. dbt/include/data/adapters_registry.duckdb +0 -0
  165. dbt/include/data/build_comprehensive_registry.py +1254 -0
  166. dbt/include/data/build_registry.py +242 -0
  167. dbt/include/data/csv/adapter_queries.csv +33 -0
  168. dbt/include/data/csv/syntax_rules.csv +9 -0
  169. dbt/include/data/csv/type_mappings_bigquery.csv +28 -0
  170. dbt/include/data/csv/type_mappings_databricks.csv +30 -0
  171. dbt/include/data/csv/type_mappings_mysql.csv +40 -0
  172. dbt/include/data/csv/type_mappings_oracle.csv +30 -0
  173. dbt/include/data/csv/type_mappings_postgres.csv +56 -0
  174. dbt/include/data/csv/type_mappings_redshift.csv +33 -0
  175. dbt/include/data/csv/type_mappings_snowflake.csv +38 -0
  176. dbt/include/data/csv/type_mappings_sqlserver.csv +35 -0
  177. dbt/include/dvt_starter_project/README.md +15 -0
  178. dbt/include/dvt_starter_project/__init__.py +3 -0
  179. dbt/include/dvt_starter_project/analyses/PLACEHOLDER +0 -0
  180. dbt/include/dvt_starter_project/dvt_project.yml +39 -0
  181. dbt/include/dvt_starter_project/logs/PLACEHOLDER +0 -0
  182. dbt/include/dvt_starter_project/macros/PLACEHOLDER +0 -0
  183. dbt/include/dvt_starter_project/models/example/my_first_dbt_model.sql +27 -0
  184. dbt/include/dvt_starter_project/models/example/my_second_dbt_model.sql +6 -0
  185. dbt/include/dvt_starter_project/models/example/schema.yml +21 -0
  186. dbt/include/dvt_starter_project/seeds/PLACEHOLDER +0 -0
  187. dbt/include/dvt_starter_project/snapshots/PLACEHOLDER +0 -0
  188. dbt/include/dvt_starter_project/tests/PLACEHOLDER +0 -0
  189. dbt/internal_deprecations.py +26 -0
  190. dbt/jsonschemas/__init__.py +3 -0
  191. dbt/jsonschemas/jsonschemas.py +309 -0
  192. dbt/jsonschemas/project/0.0.110.json +4717 -0
  193. dbt/jsonschemas/project/0.0.85.json +2015 -0
  194. dbt/jsonschemas/resources/0.0.110.json +2636 -0
  195. dbt/jsonschemas/resources/0.0.85.json +2536 -0
  196. dbt/jsonschemas/resources/latest.json +6773 -0
  197. dbt/links.py +4 -0
  198. dbt/materializations/__init__.py +0 -0
  199. dbt/materializations/incremental/__init__.py +0 -0
  200. dbt/materializations/incremental/microbatch.py +236 -0
  201. dbt/mp_context.py +8 -0
  202. dbt/node_types.py +37 -0
  203. dbt/parser/__init__.py +23 -0
  204. dbt/parser/analysis.py +21 -0
  205. dbt/parser/base.py +548 -0
  206. dbt/parser/common.py +266 -0
  207. dbt/parser/docs.py +52 -0
  208. dbt/parser/fixtures.py +51 -0
  209. dbt/parser/functions.py +30 -0
  210. dbt/parser/generic_test.py +100 -0
  211. dbt/parser/generic_test_builders.py +333 -0
  212. dbt/parser/hooks.py +122 -0
  213. dbt/parser/macros.py +137 -0
  214. dbt/parser/manifest.py +2208 -0
  215. dbt/parser/models.py +573 -0
  216. dbt/parser/partial.py +1178 -0
  217. dbt/parser/read_files.py +445 -0
  218. dbt/parser/schema_generic_tests.py +422 -0
  219. dbt/parser/schema_renderer.py +111 -0
  220. dbt/parser/schema_yaml_readers.py +935 -0
  221. dbt/parser/schemas.py +1466 -0
  222. dbt/parser/search.py +149 -0
  223. dbt/parser/seeds.py +28 -0
  224. dbt/parser/singular_test.py +20 -0
  225. dbt/parser/snapshots.py +44 -0
  226. dbt/parser/sources.py +558 -0
  227. dbt/parser/sql.py +62 -0
  228. dbt/parser/unit_tests.py +621 -0
  229. dbt/plugins/__init__.py +20 -0
  230. dbt/plugins/contracts.py +9 -0
  231. dbt/plugins/exceptions.py +2 -0
  232. dbt/plugins/manager.py +163 -0
  233. dbt/plugins/manifest.py +21 -0
  234. dbt/profiler.py +20 -0
  235. dbt/py.typed +1 -0
  236. dbt/query_analyzer.py +410 -0
  237. dbt/runners/__init__.py +2 -0
  238. dbt/runners/exposure_runner.py +7 -0
  239. dbt/runners/no_op_runner.py +45 -0
  240. dbt/runners/saved_query_runner.py +7 -0
  241. dbt/selected_resources.py +8 -0
  242. dbt/task/__init__.py +0 -0
  243. dbt/task/base.py +506 -0
  244. dbt/task/build.py +197 -0
  245. dbt/task/clean.py +56 -0
  246. dbt/task/clone.py +161 -0
  247. dbt/task/compile.py +150 -0
  248. dbt/task/compute.py +458 -0
  249. dbt/task/debug.py +513 -0
  250. dbt/task/deps.py +280 -0
  251. dbt/task/docs/__init__.py +3 -0
  252. dbt/task/docs/api/__init__.py +23 -0
  253. dbt/task/docs/api/catalog.py +204 -0
  254. dbt/task/docs/api/lineage.py +234 -0
  255. dbt/task/docs/api/profile.py +204 -0
  256. dbt/task/docs/api/spark.py +186 -0
  257. dbt/task/docs/generate.py +1002 -0
  258. dbt/task/docs/index.html +250 -0
  259. dbt/task/docs/serve.py +174 -0
  260. dbt/task/dvt_output.py +509 -0
  261. dbt/task/dvt_run.py +282 -0
  262. dbt/task/dvt_seed.py +806 -0
  263. dbt/task/freshness.py +322 -0
  264. dbt/task/function.py +121 -0
  265. dbt/task/group_lookup.py +46 -0
  266. dbt/task/init.py +1022 -0
  267. dbt/task/java.py +316 -0
  268. dbt/task/list.py +236 -0
  269. dbt/task/metadata.py +804 -0
  270. dbt/task/migrate.py +714 -0
  271. dbt/task/printer.py +175 -0
  272. dbt/task/profile.py +1489 -0
  273. dbt/task/profile_serve.py +662 -0
  274. dbt/task/retract.py +441 -0
  275. dbt/task/retry.py +175 -0
  276. dbt/task/run.py +1647 -0
  277. dbt/task/run_operation.py +141 -0
  278. dbt/task/runnable.py +758 -0
  279. dbt/task/seed.py +103 -0
  280. dbt/task/show.py +149 -0
  281. dbt/task/snapshot.py +56 -0
  282. dbt/task/spark.py +414 -0
  283. dbt/task/sql.py +110 -0
  284. dbt/task/target_sync.py +814 -0
  285. dbt/task/test.py +464 -0
  286. dbt/tests/fixtures/__init__.py +1 -0
  287. dbt/tests/fixtures/project.py +620 -0
  288. dbt/tests/util.py +651 -0
  289. dbt/tracking.py +529 -0
  290. dbt/utils/__init__.py +3 -0
  291. dbt/utils/artifact_upload.py +151 -0
  292. dbt/utils/utils.py +408 -0
  293. dbt/version.py +271 -0
  294. dvt_cli/__init__.py +158 -0
  295. dvt_core-0.59.0a51.dist-info/METADATA +288 -0
  296. dvt_core-0.59.0a51.dist-info/RECORD +299 -0
  297. dvt_core-0.59.0a51.dist-info/WHEEL +5 -0
  298. dvt_core-0.59.0a51.dist-info/entry_points.txt +2 -0
  299. dvt_core-0.59.0a51.dist-info/top_level.txt +2 -0
@@ -0,0 +1,2015 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "DbtProject",
4
+ "type": "object",
5
+ "required": [
6
+ "name"
7
+ ],
8
+ "properties": {
9
+ "analysis-paths": {
10
+ "type": [
11
+ "array",
12
+ "null"
13
+ ],
14
+ "items": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "asset-paths": {
19
+ "type": [
20
+ "array",
21
+ "null"
22
+ ],
23
+ "items": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "clean-targets": {
28
+ "type": [
29
+ "array",
30
+ "null"
31
+ ],
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "config-version": {
37
+ "type": [
38
+ "integer",
39
+ "null"
40
+ ],
41
+ "format": "int32"
42
+ },
43
+ "data_tests": {
44
+ "anyOf": [
45
+ {
46
+ "$ref": "#/definitions/DataTestConfigs"
47
+ },
48
+ {
49
+ "type": "null"
50
+ }
51
+ ]
52
+ },
53
+ "dbt-cloud": true,
54
+ "dispatch": {
55
+ "type": [
56
+ "array",
57
+ "null"
58
+ ],
59
+ "items": {
60
+ "$ref": "#/definitions/_Dispatch"
61
+ }
62
+ },
63
+ "docs-paths": {
64
+ "type": [
65
+ "array",
66
+ "null"
67
+ ],
68
+ "items": {
69
+ "type": "string"
70
+ }
71
+ },
72
+ "flags": true,
73
+ "log-path": {
74
+ "type": [
75
+ "string",
76
+ "null"
77
+ ]
78
+ },
79
+ "macro-paths": {
80
+ "type": [
81
+ "array",
82
+ "null"
83
+ ],
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "metrics": {
89
+ "anyOf": [
90
+ {
91
+ "$ref": "#/definitions/MetricConfigs"
92
+ },
93
+ {
94
+ "type": "null"
95
+ }
96
+ ]
97
+ },
98
+ "model-paths": {
99
+ "type": [
100
+ "array",
101
+ "null"
102
+ ],
103
+ "items": {
104
+ "type": "string"
105
+ }
106
+ },
107
+ "models": {
108
+ "anyOf": [
109
+ {
110
+ "$ref": "#/definitions/ModelConfigs"
111
+ },
112
+ {
113
+ "type": "null"
114
+ }
115
+ ]
116
+ },
117
+ "name": {
118
+ "type": "string"
119
+ },
120
+ "on-run-end": {
121
+ "anyOf": [
122
+ {
123
+ "$ref": "#/definitions/StringOrVecString"
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ },
130
+ "on-run-start": {
131
+ "anyOf": [
132
+ {
133
+ "$ref": "#/definitions/StringOrVecString"
134
+ },
135
+ {
136
+ "type": "null"
137
+ }
138
+ ]
139
+ },
140
+ "packages-install-path": {
141
+ "type": [
142
+ "string",
143
+ "null"
144
+ ]
145
+ },
146
+ "profile": {
147
+ "type": [
148
+ "string",
149
+ "null"
150
+ ]
151
+ },
152
+ "query-comment": {
153
+ "anyOf": [
154
+ {
155
+ "$ref": "#/definitions/QueryComment"
156
+ },
157
+ {
158
+ "type": "null"
159
+ }
160
+ ]
161
+ },
162
+ "quoting": true,
163
+ "require-dbt-version": {
164
+ "anyOf": [
165
+ {
166
+ "$ref": "#/definitions/StringOrArrayOfStrings"
167
+ },
168
+ {
169
+ "type": "null"
170
+ }
171
+ ]
172
+ },
173
+ "restrict-access": {
174
+ "type": [
175
+ "boolean",
176
+ "null"
177
+ ]
178
+ },
179
+ "saved-queries": {
180
+ "anyOf": [
181
+ {
182
+ "$ref": "#/definitions/SavedQueriesConfigs"
183
+ },
184
+ {
185
+ "type": "null"
186
+ }
187
+ ]
188
+ },
189
+ "seed-paths": {
190
+ "type": [
191
+ "array",
192
+ "null"
193
+ ],
194
+ "items": {
195
+ "type": "string"
196
+ }
197
+ },
198
+ "seeds": {
199
+ "anyOf": [
200
+ {
201
+ "$ref": "#/definitions/SeedConfigs"
202
+ },
203
+ {
204
+ "type": "null"
205
+ }
206
+ ]
207
+ },
208
+ "semantic-models": {
209
+ "anyOf": [
210
+ {
211
+ "$ref": "#/definitions/ModelConfigs"
212
+ },
213
+ {
214
+ "type": "null"
215
+ }
216
+ ]
217
+ },
218
+ "snapshot-paths": {
219
+ "type": [
220
+ "array",
221
+ "null"
222
+ ],
223
+ "items": {
224
+ "type": "string"
225
+ }
226
+ },
227
+ "snapshots": {
228
+ "anyOf": [
229
+ {
230
+ "$ref": "#/definitions/SnapshotConfigs"
231
+ },
232
+ {
233
+ "type": "null"
234
+ }
235
+ ]
236
+ },
237
+ "sources": {
238
+ "anyOf": [
239
+ {
240
+ "$ref": "#/definitions/SourceConfigs"
241
+ },
242
+ {
243
+ "type": "null"
244
+ }
245
+ ]
246
+ },
247
+ "target-path": {
248
+ "type": [
249
+ "string",
250
+ "null"
251
+ ]
252
+ },
253
+ "test-paths": {
254
+ "type": [
255
+ "array",
256
+ "null"
257
+ ],
258
+ "items": {
259
+ "type": "string"
260
+ }
261
+ },
262
+ "tests": {
263
+ "anyOf": [
264
+ {
265
+ "$ref": "#/definitions/DataTestConfigs"
266
+ },
267
+ {
268
+ "type": "null"
269
+ }
270
+ ]
271
+ },
272
+ "unit_tests": {
273
+ "anyOf": [
274
+ {
275
+ "$ref": "#/definitions/UnitTestConfigs"
276
+ },
277
+ {
278
+ "type": "null"
279
+ }
280
+ ]
281
+ },
282
+ "vars": {
283
+ "anyOf": [
284
+ {
285
+ "$ref": "#/definitions/AnyValue"
286
+ },
287
+ {
288
+ "type": "null"
289
+ }
290
+ ]
291
+ },
292
+ "version": {
293
+ "anyOf": [
294
+ {
295
+ "$ref": "#/definitions/FloatOrString"
296
+ },
297
+ {
298
+ "type": "null"
299
+ }
300
+ ]
301
+ }
302
+ },
303
+ "definitions": {
304
+ "Access": {
305
+ "type": "string",
306
+ "enum": [
307
+ "private",
308
+ "protected",
309
+ "public"
310
+ ]
311
+ },
312
+ "AnyValue": true,
313
+ "BooleanOrJinjaString": {
314
+ "anyOf": [
315
+ {
316
+ "type": "string"
317
+ },
318
+ {
319
+ "type": "boolean"
320
+ }
321
+ ]
322
+ },
323
+ "Contract": {
324
+ "type": "object",
325
+ "required": [
326
+ "enforced"
327
+ ],
328
+ "properties": {
329
+ "alias_types": {
330
+ "anyOf": [
331
+ {
332
+ "$ref": "#/definitions/BooleanOrJinjaString"
333
+ },
334
+ {
335
+ "type": "null"
336
+ }
337
+ ]
338
+ },
339
+ "enforced": {
340
+ "$ref": "#/definitions/BooleanOrJinjaString"
341
+ }
342
+ }
343
+ },
344
+ "DataTestConfigs": {
345
+ "type": "object",
346
+ "properties": {
347
+ "+alias": {
348
+ "type": [
349
+ "string",
350
+ "null"
351
+ ]
352
+ },
353
+ "+database": {
354
+ "type": [
355
+ "string",
356
+ "null"
357
+ ]
358
+ },
359
+ "+enabled": {
360
+ "anyOf": [
361
+ {
362
+ "$ref": "#/definitions/BooleanOrJinjaString"
363
+ },
364
+ {
365
+ "type": "null"
366
+ }
367
+ ]
368
+ },
369
+ "+error_if": {
370
+ "type": [
371
+ "string",
372
+ "null"
373
+ ]
374
+ },
375
+ "+fail_calc": {
376
+ "type": [
377
+ "string",
378
+ "null"
379
+ ]
380
+ },
381
+ "+group": {
382
+ "type": [
383
+ "string",
384
+ "null"
385
+ ]
386
+ },
387
+ "+limit": {
388
+ "type": [
389
+ "integer",
390
+ "null"
391
+ ],
392
+ "format": "int32"
393
+ },
394
+ "+meta": true,
395
+ "+schema": {
396
+ "type": [
397
+ "string",
398
+ "null"
399
+ ]
400
+ },
401
+ "+severity": {
402
+ "anyOf": [
403
+ {
404
+ "$ref": "#/definitions/Severity"
405
+ },
406
+ {
407
+ "type": "null"
408
+ }
409
+ ]
410
+ },
411
+ "+store_failures": {
412
+ "anyOf": [
413
+ {
414
+ "$ref": "#/definitions/BooleanOrJinjaString"
415
+ },
416
+ {
417
+ "type": "null"
418
+ }
419
+ ]
420
+ },
421
+ "+tags": {
422
+ "anyOf": [
423
+ {
424
+ "$ref": "#/definitions/StringOrArrayOfStrings"
425
+ },
426
+ {
427
+ "type": "null"
428
+ }
429
+ ]
430
+ },
431
+ "+warn_if": {
432
+ "type": [
433
+ "string",
434
+ "null"
435
+ ]
436
+ },
437
+ "__additional_properties__": {
438
+ "type": "object",
439
+ "additionalProperties": {
440
+ "$ref": "#/definitions/AnyValue"
441
+ }
442
+ },
443
+ "alias": {
444
+ "type": [
445
+ "string",
446
+ "null"
447
+ ]
448
+ },
449
+ "database": {
450
+ "type": [
451
+ "string",
452
+ "null"
453
+ ]
454
+ },
455
+ "enabled": {
456
+ "anyOf": [
457
+ {
458
+ "$ref": "#/definitions/BooleanOrJinjaString"
459
+ },
460
+ {
461
+ "type": "null"
462
+ }
463
+ ]
464
+ },
465
+ "error_if": {
466
+ "type": [
467
+ "string",
468
+ "null"
469
+ ]
470
+ },
471
+ "fail_calc": {
472
+ "type": [
473
+ "string",
474
+ "null"
475
+ ]
476
+ },
477
+ "group": {
478
+ "type": [
479
+ "string",
480
+ "null"
481
+ ]
482
+ },
483
+ "limit": {
484
+ "type": [
485
+ "integer",
486
+ "null"
487
+ ],
488
+ "format": "int32"
489
+ },
490
+ "meta": true,
491
+ "schema": {
492
+ "type": [
493
+ "string",
494
+ "null"
495
+ ]
496
+ },
497
+ "severity": {
498
+ "anyOf": [
499
+ {
500
+ "$ref": "#/definitions/Severity"
501
+ },
502
+ {
503
+ "type": "null"
504
+ }
505
+ ]
506
+ },
507
+ "store_failures": {
508
+ "anyOf": [
509
+ {
510
+ "$ref": "#/definitions/BooleanOrJinjaString"
511
+ },
512
+ {
513
+ "type": "null"
514
+ }
515
+ ]
516
+ },
517
+ "tags": {
518
+ "anyOf": [
519
+ {
520
+ "$ref": "#/definitions/StringOrArrayOfStrings"
521
+ },
522
+ {
523
+ "type": "null"
524
+ }
525
+ ]
526
+ },
527
+ "warn_if": {
528
+ "type": [
529
+ "string",
530
+ "null"
531
+ ]
532
+ }
533
+ }
534
+ },
535
+ "DocsConfig": {
536
+ "type": "object",
537
+ "properties": {
538
+ "node_color": {
539
+ "type": [
540
+ "string",
541
+ "null"
542
+ ]
543
+ },
544
+ "show": {
545
+ "type": [
546
+ "boolean",
547
+ "null"
548
+ ]
549
+ }
550
+ }
551
+ },
552
+ "FloatOrString": {
553
+ "anyOf": [
554
+ {
555
+ "type": "number",
556
+ "format": "float"
557
+ },
558
+ {
559
+ "type": "string"
560
+ }
561
+ ]
562
+ },
563
+ "HookConfig": {
564
+ "type": "object",
565
+ "properties": {
566
+ "sql": {
567
+ "type": [
568
+ "string",
569
+ "null"
570
+ ]
571
+ },
572
+ "transaction": {
573
+ "type": [
574
+ "boolean",
575
+ "null"
576
+ ]
577
+ }
578
+ }
579
+ },
580
+ "Hooks": {
581
+ "anyOf": [
582
+ {
583
+ "type": "string"
584
+ },
585
+ {
586
+ "type": "array",
587
+ "items": {
588
+ "type": "string"
589
+ }
590
+ },
591
+ {
592
+ "$ref": "#/definitions/HookConfig"
593
+ },
594
+ {
595
+ "type": "array",
596
+ "items": true
597
+ }
598
+ ]
599
+ },
600
+ "MetricConfigs": {
601
+ "type": "object",
602
+ "properties": {
603
+ "+meta": true,
604
+ "enabled": {
605
+ "anyOf": [
606
+ {
607
+ "$ref": "#/definitions/BooleanOrJinjaString"
608
+ },
609
+ {
610
+ "type": "null"
611
+ }
612
+ ]
613
+ }
614
+ },
615
+ "additionalProperties": true
616
+ },
617
+ "ModelConfigs": {
618
+ "type": "object",
619
+ "properties": {
620
+ "+access": {
621
+ "anyOf": [
622
+ {
623
+ "$ref": "#/definitions/Access"
624
+ },
625
+ {
626
+ "type": "null"
627
+ }
628
+ ]
629
+ },
630
+ "+alias": {
631
+ "type": [
632
+ "string",
633
+ "null"
634
+ ]
635
+ },
636
+ "+auto_refresh": {
637
+ "anyOf": [
638
+ {
639
+ "$ref": "#/definitions/BooleanOrJinjaString"
640
+ },
641
+ {
642
+ "type": "null"
643
+ }
644
+ ]
645
+ },
646
+ "+backup": {
647
+ "anyOf": [
648
+ {
649
+ "$ref": "#/definitions/BooleanOrJinjaString"
650
+ },
651
+ {
652
+ "type": "null"
653
+ }
654
+ ]
655
+ },
656
+ "+bind": {
657
+ "anyOf": [
658
+ {
659
+ "$ref": "#/definitions/BooleanOrJinjaString"
660
+ },
661
+ {
662
+ "type": "null"
663
+ }
664
+ ]
665
+ },
666
+ "+contract": {
667
+ "anyOf": [
668
+ {
669
+ "$ref": "#/definitions/Contract"
670
+ },
671
+ {
672
+ "type": "null"
673
+ }
674
+ ]
675
+ },
676
+ "+copy_grants": {
677
+ "anyOf": [
678
+ {
679
+ "$ref": "#/definitions/BooleanOrJinjaString"
680
+ },
681
+ {
682
+ "type": "null"
683
+ }
684
+ ]
685
+ },
686
+ "+database": {
687
+ "type": [
688
+ "string",
689
+ "null"
690
+ ]
691
+ },
692
+ "+docs": {
693
+ "anyOf": [
694
+ {
695
+ "$ref": "#/definitions/DocsConfig"
696
+ },
697
+ {
698
+ "type": "null"
699
+ }
700
+ ]
701
+ },
702
+ "+enabled": {
703
+ "anyOf": [
704
+ {
705
+ "$ref": "#/definitions/BooleanOrJinjaString"
706
+ },
707
+ {
708
+ "type": "null"
709
+ }
710
+ ]
711
+ },
712
+ "+file_format": {
713
+ "type": [
714
+ "string",
715
+ "null"
716
+ ]
717
+ },
718
+ "+full_refresh": {
719
+ "anyOf": [
720
+ {
721
+ "$ref": "#/definitions/BooleanOrJinjaString"
722
+ },
723
+ {
724
+ "type": "null"
725
+ }
726
+ ]
727
+ },
728
+ "+grant_access_to": {
729
+ "type": [
730
+ "array",
731
+ "null"
732
+ ],
733
+ "items": true
734
+ },
735
+ "+grants": true,
736
+ "+group": {
737
+ "type": [
738
+ "string",
739
+ "null"
740
+ ]
741
+ },
742
+ "+hours_to_expiration": {
743
+ "type": [
744
+ "number",
745
+ "null"
746
+ ],
747
+ "format": "float"
748
+ },
749
+ "+include_full_name_in_path": {
750
+ "anyOf": [
751
+ {
752
+ "$ref": "#/definitions/BooleanOrJinjaString"
753
+ },
754
+ {
755
+ "type": "null"
756
+ }
757
+ ]
758
+ },
759
+ "+incremental_predicates": {
760
+ "type": [
761
+ "array",
762
+ "null"
763
+ ],
764
+ "items": {
765
+ "type": "string"
766
+ }
767
+ },
768
+ "+incremental_strategy": {
769
+ "type": [
770
+ "string",
771
+ "null"
772
+ ]
773
+ },
774
+ "+kms_key_name": {
775
+ "type": [
776
+ "string",
777
+ "null"
778
+ ]
779
+ },
780
+ "+labels": true,
781
+ "+location": {
782
+ "type": [
783
+ "string",
784
+ "null"
785
+ ]
786
+ },
787
+ "+location_root": {
788
+ "type": [
789
+ "string",
790
+ "null"
791
+ ]
792
+ },
793
+ "+materialized": {
794
+ "type": [
795
+ "string",
796
+ "null"
797
+ ]
798
+ },
799
+ "+meta": true,
800
+ "+on_configuration_change": {
801
+ "anyOf": [
802
+ {
803
+ "$ref": "#/definitions/OnConfigurationChange"
804
+ },
805
+ {
806
+ "type": "null"
807
+ }
808
+ ]
809
+ },
810
+ "+on_schema_change": {
811
+ "anyOf": [
812
+ {
813
+ "$ref": "#/definitions/OnSchemaChange"
814
+ },
815
+ {
816
+ "type": "null"
817
+ }
818
+ ]
819
+ },
820
+ "+persist_docs": {
821
+ "anyOf": [
822
+ {
823
+ "$ref": "#/definitions/PersistDocsConfig"
824
+ },
825
+ {
826
+ "type": "null"
827
+ }
828
+ ]
829
+ },
830
+ "+post-hook": {
831
+ "anyOf": [
832
+ {
833
+ "$ref": "#/definitions/Hooks"
834
+ },
835
+ {
836
+ "type": "null"
837
+ }
838
+ ]
839
+ },
840
+ "+pre-hook": {
841
+ "anyOf": [
842
+ {
843
+ "$ref": "#/definitions/Hooks"
844
+ },
845
+ {
846
+ "type": "null"
847
+ }
848
+ ]
849
+ },
850
+ "+predicates": {
851
+ "type": [
852
+ "array",
853
+ "null"
854
+ ],
855
+ "items": {
856
+ "type": "string"
857
+ }
858
+ },
859
+ "+query_tag": {
860
+ "type": [
861
+ "string",
862
+ "null"
863
+ ]
864
+ },
865
+ "+schema": {
866
+ "type": [
867
+ "string",
868
+ "null"
869
+ ]
870
+ },
871
+ "+secure": {
872
+ "anyOf": [
873
+ {
874
+ "$ref": "#/definitions/BooleanOrJinjaString"
875
+ },
876
+ {
877
+ "type": "null"
878
+ }
879
+ ]
880
+ },
881
+ "+snowflake_warehouse": {
882
+ "type": [
883
+ "string",
884
+ "null"
885
+ ]
886
+ },
887
+ "+sql_header": {
888
+ "type": [
889
+ "string",
890
+ "null"
891
+ ]
892
+ },
893
+ "+table_format": {
894
+ "type": [
895
+ "string",
896
+ "null"
897
+ ]
898
+ },
899
+ "+tags": {
900
+ "anyOf": [
901
+ {
902
+ "$ref": "#/definitions/StringOrArrayOfStrings"
903
+ },
904
+ {
905
+ "type": "null"
906
+ }
907
+ ]
908
+ },
909
+ "+target_lag": {
910
+ "type": [
911
+ "string",
912
+ "null"
913
+ ]
914
+ },
915
+ "+tblproperties": true,
916
+ "+transient": {
917
+ "anyOf": [
918
+ {
919
+ "$ref": "#/definitions/BooleanOrJinjaString"
920
+ },
921
+ {
922
+ "type": "null"
923
+ }
924
+ ]
925
+ },
926
+ "__additional_properties__": {
927
+ "type": "object",
928
+ "additionalProperties": {
929
+ "$ref": "#/definitions/AnyValue"
930
+ }
931
+ },
932
+ "access": {
933
+ "anyOf": [
934
+ {
935
+ "$ref": "#/definitions/Access"
936
+ },
937
+ {
938
+ "type": "null"
939
+ }
940
+ ]
941
+ },
942
+ "alias": {
943
+ "type": [
944
+ "string",
945
+ "null"
946
+ ]
947
+ },
948
+ "auto_refresh": {
949
+ "anyOf": [
950
+ {
951
+ "$ref": "#/definitions/BooleanOrJinjaString"
952
+ },
953
+ {
954
+ "type": "null"
955
+ }
956
+ ]
957
+ },
958
+ "backup": {
959
+ "anyOf": [
960
+ {
961
+ "$ref": "#/definitions/BooleanOrJinjaString"
962
+ },
963
+ {
964
+ "type": "null"
965
+ }
966
+ ]
967
+ },
968
+ "bind": {
969
+ "anyOf": [
970
+ {
971
+ "$ref": "#/definitions/BooleanOrJinjaString"
972
+ },
973
+ {
974
+ "type": "null"
975
+ }
976
+ ]
977
+ },
978
+ "contract": {
979
+ "anyOf": [
980
+ {
981
+ "$ref": "#/definitions/Contract"
982
+ },
983
+ {
984
+ "type": "null"
985
+ }
986
+ ]
987
+ },
988
+ "copy_grants": {
989
+ "anyOf": [
990
+ {
991
+ "$ref": "#/definitions/BooleanOrJinjaString"
992
+ },
993
+ {
994
+ "type": "null"
995
+ }
996
+ ]
997
+ },
998
+ "database": {
999
+ "type": [
1000
+ "string",
1001
+ "null"
1002
+ ]
1003
+ },
1004
+ "docs": {
1005
+ "anyOf": [
1006
+ {
1007
+ "$ref": "#/definitions/DocsConfig"
1008
+ },
1009
+ {
1010
+ "type": "null"
1011
+ }
1012
+ ]
1013
+ },
1014
+ "enabled": {
1015
+ "anyOf": [
1016
+ {
1017
+ "$ref": "#/definitions/BooleanOrJinjaString"
1018
+ },
1019
+ {
1020
+ "type": "null"
1021
+ }
1022
+ ]
1023
+ },
1024
+ "file_format": {
1025
+ "type": [
1026
+ "string",
1027
+ "null"
1028
+ ]
1029
+ },
1030
+ "full_refresh": {
1031
+ "anyOf": [
1032
+ {
1033
+ "$ref": "#/definitions/BooleanOrJinjaString"
1034
+ },
1035
+ {
1036
+ "type": "null"
1037
+ }
1038
+ ]
1039
+ },
1040
+ "grant_access_to": {
1041
+ "type": [
1042
+ "array",
1043
+ "null"
1044
+ ],
1045
+ "items": true
1046
+ },
1047
+ "grants": true,
1048
+ "group": {
1049
+ "type": [
1050
+ "string",
1051
+ "null"
1052
+ ]
1053
+ },
1054
+ "hours_to_expiration": {
1055
+ "type": [
1056
+ "number",
1057
+ "null"
1058
+ ],
1059
+ "format": "float"
1060
+ },
1061
+ "include_full_name_in_path": {
1062
+ "anyOf": [
1063
+ {
1064
+ "$ref": "#/definitions/BooleanOrJinjaString"
1065
+ },
1066
+ {
1067
+ "type": "null"
1068
+ }
1069
+ ]
1070
+ },
1071
+ "incremental_strategy": {
1072
+ "type": [
1073
+ "string",
1074
+ "null"
1075
+ ]
1076
+ },
1077
+ "kms_key_name": {
1078
+ "type": [
1079
+ "string",
1080
+ "null"
1081
+ ]
1082
+ },
1083
+ "labels": true,
1084
+ "location": {
1085
+ "type": [
1086
+ "string",
1087
+ "null"
1088
+ ]
1089
+ },
1090
+ "location_root": {
1091
+ "type": [
1092
+ "string",
1093
+ "null"
1094
+ ]
1095
+ },
1096
+ "materialized": {
1097
+ "type": [
1098
+ "string",
1099
+ "null"
1100
+ ]
1101
+ },
1102
+ "meta": true,
1103
+ "on_configuration_change": {
1104
+ "anyOf": [
1105
+ {
1106
+ "$ref": "#/definitions/OnConfigurationChange"
1107
+ },
1108
+ {
1109
+ "type": "null"
1110
+ }
1111
+ ]
1112
+ },
1113
+ "on_schema_change": {
1114
+ "anyOf": [
1115
+ {
1116
+ "$ref": "#/definitions/OnSchemaChange"
1117
+ },
1118
+ {
1119
+ "type": "null"
1120
+ }
1121
+ ]
1122
+ },
1123
+ "persist_docs": {
1124
+ "anyOf": [
1125
+ {
1126
+ "$ref": "#/definitions/PersistDocsConfig"
1127
+ },
1128
+ {
1129
+ "type": "null"
1130
+ }
1131
+ ]
1132
+ },
1133
+ "post-hook": {
1134
+ "anyOf": [
1135
+ {
1136
+ "$ref": "#/definitions/Hooks"
1137
+ },
1138
+ {
1139
+ "type": "null"
1140
+ }
1141
+ ]
1142
+ },
1143
+ "pre-hook": {
1144
+ "anyOf": [
1145
+ {
1146
+ "$ref": "#/definitions/Hooks"
1147
+ },
1148
+ {
1149
+ "type": "null"
1150
+ }
1151
+ ]
1152
+ },
1153
+ "query_tag": {
1154
+ "type": [
1155
+ "string",
1156
+ "null"
1157
+ ]
1158
+ },
1159
+ "schema": {
1160
+ "type": [
1161
+ "string",
1162
+ "null"
1163
+ ]
1164
+ },
1165
+ "secure": {
1166
+ "anyOf": [
1167
+ {
1168
+ "$ref": "#/definitions/BooleanOrJinjaString"
1169
+ },
1170
+ {
1171
+ "type": "null"
1172
+ }
1173
+ ]
1174
+ },
1175
+ "snowflake_warehouse": {
1176
+ "type": [
1177
+ "string",
1178
+ "null"
1179
+ ]
1180
+ },
1181
+ "sql_header": {
1182
+ "type": [
1183
+ "string",
1184
+ "null"
1185
+ ]
1186
+ },
1187
+ "table_format": {
1188
+ "type": [
1189
+ "string",
1190
+ "null"
1191
+ ]
1192
+ },
1193
+ "tags": {
1194
+ "anyOf": [
1195
+ {
1196
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1197
+ },
1198
+ {
1199
+ "type": "null"
1200
+ }
1201
+ ]
1202
+ },
1203
+ "target_lag": {
1204
+ "type": [
1205
+ "string",
1206
+ "null"
1207
+ ]
1208
+ },
1209
+ "tblproperties": true,
1210
+ "transient": {
1211
+ "anyOf": [
1212
+ {
1213
+ "$ref": "#/definitions/BooleanOrJinjaString"
1214
+ },
1215
+ {
1216
+ "type": "null"
1217
+ }
1218
+ ]
1219
+ }
1220
+ }
1221
+ },
1222
+ "OnConfigurationChange": {
1223
+ "type": "string",
1224
+ "enum": [
1225
+ "apply",
1226
+ "continue",
1227
+ "fail"
1228
+ ]
1229
+ },
1230
+ "OnSchemaChange": {
1231
+ "type": "string",
1232
+ "enum": [
1233
+ "append_new_columns",
1234
+ "fail",
1235
+ "ignore",
1236
+ "sync_all_columns"
1237
+ ]
1238
+ },
1239
+ "PersistDocsConfig": {
1240
+ "type": "object",
1241
+ "properties": {
1242
+ "columns": {
1243
+ "anyOf": [
1244
+ {
1245
+ "$ref": "#/definitions/BooleanOrJinjaString"
1246
+ },
1247
+ {
1248
+ "type": "null"
1249
+ }
1250
+ ]
1251
+ },
1252
+ "relation": {
1253
+ "anyOf": [
1254
+ {
1255
+ "$ref": "#/definitions/BooleanOrJinjaString"
1256
+ },
1257
+ {
1258
+ "type": "null"
1259
+ }
1260
+ ]
1261
+ }
1262
+ }
1263
+ },
1264
+ "QueryComment": {
1265
+ "anyOf": [
1266
+ {
1267
+ "type": "string"
1268
+ },
1269
+ true
1270
+ ]
1271
+ },
1272
+ "SavedQueriesConfigs": {
1273
+ "type": "object",
1274
+ "properties": {
1275
+ "+schema": {
1276
+ "type": [
1277
+ "string",
1278
+ "null"
1279
+ ]
1280
+ }
1281
+ }
1282
+ },
1283
+ "SeedConfigs": {
1284
+ "type": "object",
1285
+ "properties": {
1286
+ "+column_types": true,
1287
+ "+copy_grants": {
1288
+ "anyOf": [
1289
+ {
1290
+ "$ref": "#/definitions/BooleanOrJinjaString"
1291
+ },
1292
+ {
1293
+ "type": "null"
1294
+ }
1295
+ ]
1296
+ },
1297
+ "+database": {
1298
+ "type": [
1299
+ "string",
1300
+ "null"
1301
+ ]
1302
+ },
1303
+ "+docs": {
1304
+ "anyOf": [
1305
+ {
1306
+ "$ref": "#/definitions/DocsConfig"
1307
+ },
1308
+ {
1309
+ "type": "null"
1310
+ }
1311
+ ]
1312
+ },
1313
+ "+enabled": {
1314
+ "anyOf": [
1315
+ {
1316
+ "$ref": "#/definitions/BooleanOrJinjaString"
1317
+ },
1318
+ {
1319
+ "type": "null"
1320
+ }
1321
+ ]
1322
+ },
1323
+ "+full_refresh": {
1324
+ "anyOf": [
1325
+ {
1326
+ "$ref": "#/definitions/BooleanOrJinjaString"
1327
+ },
1328
+ {
1329
+ "type": "null"
1330
+ }
1331
+ ]
1332
+ },
1333
+ "+grants": true,
1334
+ "+group": {
1335
+ "type": [
1336
+ "string",
1337
+ "null"
1338
+ ]
1339
+ },
1340
+ "+meta": true,
1341
+ "+persist_docs": {
1342
+ "anyOf": [
1343
+ {
1344
+ "$ref": "#/definitions/PersistDocsConfig"
1345
+ },
1346
+ {
1347
+ "type": "null"
1348
+ }
1349
+ ]
1350
+ },
1351
+ "+post-hook": {
1352
+ "anyOf": [
1353
+ {
1354
+ "$ref": "#/definitions/Hooks"
1355
+ },
1356
+ {
1357
+ "type": "null"
1358
+ }
1359
+ ]
1360
+ },
1361
+ "+pre-hook": {
1362
+ "anyOf": [
1363
+ {
1364
+ "$ref": "#/definitions/Hooks"
1365
+ },
1366
+ {
1367
+ "type": "null"
1368
+ }
1369
+ ]
1370
+ },
1371
+ "+quote_columns": {
1372
+ "anyOf": [
1373
+ {
1374
+ "$ref": "#/definitions/BooleanOrJinjaString"
1375
+ },
1376
+ {
1377
+ "type": "null"
1378
+ }
1379
+ ]
1380
+ },
1381
+ "+schema": {
1382
+ "type": [
1383
+ "string",
1384
+ "null"
1385
+ ]
1386
+ },
1387
+ "+snowflake_warehouse": {
1388
+ "type": [
1389
+ "string",
1390
+ "null"
1391
+ ]
1392
+ },
1393
+ "+tags": {
1394
+ "anyOf": [
1395
+ {
1396
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1397
+ },
1398
+ {
1399
+ "type": "null"
1400
+ }
1401
+ ]
1402
+ },
1403
+ "+transient": {
1404
+ "anyOf": [
1405
+ {
1406
+ "$ref": "#/definitions/BooleanOrJinjaString"
1407
+ },
1408
+ {
1409
+ "type": "null"
1410
+ }
1411
+ ]
1412
+ },
1413
+ "column_types": true,
1414
+ "copy_grants": {
1415
+ "anyOf": [
1416
+ {
1417
+ "$ref": "#/definitions/BooleanOrJinjaString"
1418
+ },
1419
+ {
1420
+ "type": "null"
1421
+ }
1422
+ ]
1423
+ },
1424
+ "database": {
1425
+ "type": [
1426
+ "string",
1427
+ "null"
1428
+ ]
1429
+ },
1430
+ "delimiter": {
1431
+ "type": [
1432
+ "string",
1433
+ "null"
1434
+ ]
1435
+ },
1436
+ "docs": {
1437
+ "anyOf": [
1438
+ {
1439
+ "$ref": "#/definitions/DocsConfig"
1440
+ },
1441
+ {
1442
+ "type": "null"
1443
+ }
1444
+ ]
1445
+ },
1446
+ "enabled": {
1447
+ "anyOf": [
1448
+ {
1449
+ "$ref": "#/definitions/BooleanOrJinjaString"
1450
+ },
1451
+ {
1452
+ "type": "null"
1453
+ }
1454
+ ]
1455
+ },
1456
+ "full_refresh": {
1457
+ "anyOf": [
1458
+ {
1459
+ "$ref": "#/definitions/BooleanOrJinjaString"
1460
+ },
1461
+ {
1462
+ "type": "null"
1463
+ }
1464
+ ]
1465
+ },
1466
+ "grants": true,
1467
+ "group": {
1468
+ "type": [
1469
+ "string",
1470
+ "null"
1471
+ ]
1472
+ },
1473
+ "meta": true,
1474
+ "persist_docs": {
1475
+ "anyOf": [
1476
+ {
1477
+ "$ref": "#/definitions/PersistDocsConfig"
1478
+ },
1479
+ {
1480
+ "type": "null"
1481
+ }
1482
+ ]
1483
+ },
1484
+ "post-hook": {
1485
+ "anyOf": [
1486
+ {
1487
+ "$ref": "#/definitions/Hooks"
1488
+ },
1489
+ {
1490
+ "type": "null"
1491
+ }
1492
+ ]
1493
+ },
1494
+ "pre-hook": {
1495
+ "anyOf": [
1496
+ {
1497
+ "$ref": "#/definitions/Hooks"
1498
+ },
1499
+ {
1500
+ "type": "null"
1501
+ }
1502
+ ]
1503
+ },
1504
+ "quote_columns": {
1505
+ "anyOf": [
1506
+ {
1507
+ "$ref": "#/definitions/BooleanOrJinjaString"
1508
+ },
1509
+ {
1510
+ "type": "null"
1511
+ }
1512
+ ]
1513
+ },
1514
+ "schema": {
1515
+ "type": [
1516
+ "string",
1517
+ "null"
1518
+ ]
1519
+ },
1520
+ "snowflake_warehouse": {
1521
+ "type": [
1522
+ "string",
1523
+ "null"
1524
+ ]
1525
+ },
1526
+ "tags": {
1527
+ "anyOf": [
1528
+ {
1529
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1530
+ },
1531
+ {
1532
+ "type": "null"
1533
+ }
1534
+ ]
1535
+ },
1536
+ "transient": {
1537
+ "anyOf": [
1538
+ {
1539
+ "$ref": "#/definitions/BooleanOrJinjaString"
1540
+ },
1541
+ {
1542
+ "type": "null"
1543
+ }
1544
+ ]
1545
+ }
1546
+ },
1547
+ "additionalProperties": true
1548
+ },
1549
+ "Severity": {
1550
+ "anyOf": [
1551
+ {
1552
+ "type": "string"
1553
+ },
1554
+ {
1555
+ "type": "string"
1556
+ }
1557
+ ]
1558
+ },
1559
+ "SnapshotConfigs": {
1560
+ "type": "object",
1561
+ "properties": {
1562
+ "+alias": {
1563
+ "type": [
1564
+ "string",
1565
+ "null"
1566
+ ]
1567
+ },
1568
+ "+check_cols": {
1569
+ "anyOf": [
1570
+ {
1571
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1572
+ },
1573
+ {
1574
+ "type": "null"
1575
+ }
1576
+ ]
1577
+ },
1578
+ "+docs": {
1579
+ "anyOf": [
1580
+ {
1581
+ "$ref": "#/definitions/DocsConfig"
1582
+ },
1583
+ {
1584
+ "type": "null"
1585
+ }
1586
+ ]
1587
+ },
1588
+ "+enabled": {
1589
+ "anyOf": [
1590
+ {
1591
+ "$ref": "#/definitions/BooleanOrJinjaString"
1592
+ },
1593
+ {
1594
+ "type": "null"
1595
+ }
1596
+ ]
1597
+ },
1598
+ "+grants": true,
1599
+ "+group": {
1600
+ "type": [
1601
+ "string",
1602
+ "null"
1603
+ ]
1604
+ },
1605
+ "+invalidate_hard_deletes": {
1606
+ "anyOf": [
1607
+ {
1608
+ "$ref": "#/definitions/BooleanOrJinjaString"
1609
+ },
1610
+ {
1611
+ "type": "null"
1612
+ }
1613
+ ]
1614
+ },
1615
+ "+meta": true,
1616
+ "+persist_docs": {
1617
+ "anyOf": [
1618
+ {
1619
+ "$ref": "#/definitions/PersistDocsConfig"
1620
+ },
1621
+ {
1622
+ "type": "null"
1623
+ }
1624
+ ]
1625
+ },
1626
+ "+post-hook": {
1627
+ "anyOf": [
1628
+ {
1629
+ "$ref": "#/definitions/Hooks"
1630
+ },
1631
+ {
1632
+ "type": "null"
1633
+ }
1634
+ ]
1635
+ },
1636
+ "+pre-hook": {
1637
+ "anyOf": [
1638
+ {
1639
+ "$ref": "#/definitions/Hooks"
1640
+ },
1641
+ {
1642
+ "type": "null"
1643
+ }
1644
+ ]
1645
+ },
1646
+ "+quote_columns": {
1647
+ "anyOf": [
1648
+ {
1649
+ "$ref": "#/definitions/BooleanOrJinjaString"
1650
+ },
1651
+ {
1652
+ "type": "null"
1653
+ }
1654
+ ]
1655
+ },
1656
+ "+snapshot_meta_column_names": true,
1657
+ "+strategy": {
1658
+ "type": [
1659
+ "string",
1660
+ "null"
1661
+ ]
1662
+ },
1663
+ "+tags": {
1664
+ "anyOf": [
1665
+ {
1666
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1667
+ },
1668
+ {
1669
+ "type": "null"
1670
+ }
1671
+ ]
1672
+ },
1673
+ "+target_database": {
1674
+ "type": [
1675
+ "string",
1676
+ "null"
1677
+ ]
1678
+ },
1679
+ "+target_schema": {
1680
+ "type": [
1681
+ "string",
1682
+ "null"
1683
+ ]
1684
+ },
1685
+ "+transient": {
1686
+ "anyOf": [
1687
+ {
1688
+ "$ref": "#/definitions/BooleanOrJinjaString"
1689
+ },
1690
+ {
1691
+ "type": "null"
1692
+ }
1693
+ ]
1694
+ },
1695
+ "+unique_key": {
1696
+ "anyOf": [
1697
+ {
1698
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1699
+ },
1700
+ {
1701
+ "type": "null"
1702
+ }
1703
+ ]
1704
+ },
1705
+ "+updated_at": {
1706
+ "type": [
1707
+ "string",
1708
+ "null"
1709
+ ]
1710
+ },
1711
+ "__additional_properties__": {
1712
+ "type": "object",
1713
+ "additionalProperties": {
1714
+ "$ref": "#/definitions/AnyValue"
1715
+ }
1716
+ },
1717
+ "alias": {
1718
+ "type": [
1719
+ "string",
1720
+ "null"
1721
+ ]
1722
+ },
1723
+ "check_cols": {
1724
+ "anyOf": [
1725
+ {
1726
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1727
+ },
1728
+ {
1729
+ "type": "null"
1730
+ }
1731
+ ]
1732
+ },
1733
+ "docs": {
1734
+ "anyOf": [
1735
+ {
1736
+ "$ref": "#/definitions/DocsConfig"
1737
+ },
1738
+ {
1739
+ "type": "null"
1740
+ }
1741
+ ]
1742
+ },
1743
+ "enabled": {
1744
+ "anyOf": [
1745
+ {
1746
+ "$ref": "#/definitions/BooleanOrJinjaString"
1747
+ },
1748
+ {
1749
+ "type": "null"
1750
+ }
1751
+ ]
1752
+ },
1753
+ "grants": true,
1754
+ "group": {
1755
+ "type": [
1756
+ "string",
1757
+ "null"
1758
+ ]
1759
+ },
1760
+ "invalidate_hard_deletes": {
1761
+ "anyOf": [
1762
+ {
1763
+ "$ref": "#/definitions/BooleanOrJinjaString"
1764
+ },
1765
+ {
1766
+ "type": "null"
1767
+ }
1768
+ ]
1769
+ },
1770
+ "meta": true,
1771
+ "persist_docs": {
1772
+ "anyOf": [
1773
+ {
1774
+ "$ref": "#/definitions/PersistDocsConfig"
1775
+ },
1776
+ {
1777
+ "type": "null"
1778
+ }
1779
+ ]
1780
+ },
1781
+ "post-hook": {
1782
+ "anyOf": [
1783
+ {
1784
+ "$ref": "#/definitions/Hooks"
1785
+ },
1786
+ {
1787
+ "type": "null"
1788
+ }
1789
+ ]
1790
+ },
1791
+ "pre-hook": {
1792
+ "anyOf": [
1793
+ {
1794
+ "$ref": "#/definitions/Hooks"
1795
+ },
1796
+ {
1797
+ "type": "null"
1798
+ }
1799
+ ]
1800
+ },
1801
+ "quote_columns": {
1802
+ "anyOf": [
1803
+ {
1804
+ "$ref": "#/definitions/BooleanOrJinjaString"
1805
+ },
1806
+ {
1807
+ "type": "null"
1808
+ }
1809
+ ]
1810
+ },
1811
+ "schema": {
1812
+ "type": [
1813
+ "string",
1814
+ "null"
1815
+ ]
1816
+ },
1817
+ "snapshot_meta_column_names": true,
1818
+ "strategy": {
1819
+ "type": [
1820
+ "string",
1821
+ "null"
1822
+ ]
1823
+ },
1824
+ "tags": {
1825
+ "anyOf": [
1826
+ {
1827
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1828
+ },
1829
+ {
1830
+ "type": "null"
1831
+ }
1832
+ ]
1833
+ },
1834
+ "target_database": {
1835
+ "type": [
1836
+ "string",
1837
+ "null"
1838
+ ]
1839
+ },
1840
+ "target_schema": {
1841
+ "type": [
1842
+ "string",
1843
+ "null"
1844
+ ]
1845
+ },
1846
+ "transient": {
1847
+ "anyOf": [
1848
+ {
1849
+ "$ref": "#/definitions/BooleanOrJinjaString"
1850
+ },
1851
+ {
1852
+ "type": "null"
1853
+ }
1854
+ ]
1855
+ },
1856
+ "unique_key": {
1857
+ "anyOf": [
1858
+ {
1859
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1860
+ },
1861
+ {
1862
+ "type": "null"
1863
+ }
1864
+ ]
1865
+ },
1866
+ "updated_at": {
1867
+ "type": [
1868
+ "string",
1869
+ "null"
1870
+ ]
1871
+ }
1872
+ }
1873
+ },
1874
+ "SourceConfigs": {
1875
+ "type": "object",
1876
+ "properties": {
1877
+ "+enabled": {
1878
+ "anyOf": [
1879
+ {
1880
+ "$ref": "#/definitions/BooleanOrJinjaString"
1881
+ },
1882
+ {
1883
+ "type": "null"
1884
+ }
1885
+ ]
1886
+ },
1887
+ "+meta": true,
1888
+ "+tags": {
1889
+ "anyOf": [
1890
+ {
1891
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1892
+ },
1893
+ {
1894
+ "type": "null"
1895
+ }
1896
+ ]
1897
+ },
1898
+ "enabled": {
1899
+ "anyOf": [
1900
+ {
1901
+ "$ref": "#/definitions/BooleanOrJinjaString"
1902
+ },
1903
+ {
1904
+ "type": "null"
1905
+ }
1906
+ ]
1907
+ },
1908
+ "meta": true,
1909
+ "tags": {
1910
+ "anyOf": [
1911
+ {
1912
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1913
+ },
1914
+ {
1915
+ "type": "null"
1916
+ }
1917
+ ]
1918
+ }
1919
+ },
1920
+ "additionalProperties": true
1921
+ },
1922
+ "StringOrArrayOfStrings": {
1923
+ "anyOf": [
1924
+ {
1925
+ "type": "string"
1926
+ },
1927
+ {
1928
+ "type": "array",
1929
+ "items": {
1930
+ "type": "string"
1931
+ }
1932
+ }
1933
+ ]
1934
+ },
1935
+ "StringOrVecString": {
1936
+ "anyOf": [
1937
+ {
1938
+ "type": "string"
1939
+ },
1940
+ {
1941
+ "type": "array",
1942
+ "items": {
1943
+ "type": "string"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ "UnitTestConfigs": {
1949
+ "type": "object",
1950
+ "properties": {
1951
+ "+enabled": {
1952
+ "anyOf": [
1953
+ {
1954
+ "$ref": "#/definitions/BooleanOrJinjaString"
1955
+ },
1956
+ {
1957
+ "type": "null"
1958
+ }
1959
+ ]
1960
+ },
1961
+ "+meta": true,
1962
+ "+tags": {
1963
+ "anyOf": [
1964
+ {
1965
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1966
+ },
1967
+ {
1968
+ "type": "null"
1969
+ }
1970
+ ]
1971
+ },
1972
+ "enabled": {
1973
+ "anyOf": [
1974
+ {
1975
+ "$ref": "#/definitions/BooleanOrJinjaString"
1976
+ },
1977
+ {
1978
+ "type": "null"
1979
+ }
1980
+ ]
1981
+ },
1982
+ "meta": true,
1983
+ "tags": {
1984
+ "anyOf": [
1985
+ {
1986
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1987
+ },
1988
+ {
1989
+ "type": "null"
1990
+ }
1991
+ ]
1992
+ }
1993
+ },
1994
+ "additionalProperties": true
1995
+ },
1996
+ "_Dispatch": {
1997
+ "type": "object",
1998
+ "required": [
1999
+ "macro_namespace",
2000
+ "search_order"
2001
+ ],
2002
+ "properties": {
2003
+ "macro_namespace": {
2004
+ "type": "string"
2005
+ },
2006
+ "search_order": {
2007
+ "type": "array",
2008
+ "items": {
2009
+ "type": "string"
2010
+ }
2011
+ }
2012
+ }
2013
+ }
2014
+ }
2015
+ }