dvt-core 1.11.0b4__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.

Potentially problematic release.


This version of dvt-core might be problematic. Click here for more details.

Files changed (261) hide show
  1. dvt/__init__.py +7 -0
  2. dvt/_pydantic_shim.py +26 -0
  3. dvt/adapters/__init__.py +16 -0
  4. dvt/adapters/multi_adapter_manager.py +268 -0
  5. dvt/artifacts/__init__.py +0 -0
  6. dvt/artifacts/exceptions/__init__.py +1 -0
  7. dvt/artifacts/exceptions/schemas.py +31 -0
  8. dvt/artifacts/resources/__init__.py +116 -0
  9. dvt/artifacts/resources/base.py +68 -0
  10. dvt/artifacts/resources/types.py +93 -0
  11. dvt/artifacts/resources/v1/analysis.py +10 -0
  12. dvt/artifacts/resources/v1/catalog.py +23 -0
  13. dvt/artifacts/resources/v1/components.py +275 -0
  14. dvt/artifacts/resources/v1/config.py +282 -0
  15. dvt/artifacts/resources/v1/documentation.py +11 -0
  16. dvt/artifacts/resources/v1/exposure.py +52 -0
  17. dvt/artifacts/resources/v1/function.py +53 -0
  18. dvt/artifacts/resources/v1/generic_test.py +32 -0
  19. dvt/artifacts/resources/v1/group.py +22 -0
  20. dvt/artifacts/resources/v1/hook.py +11 -0
  21. dvt/artifacts/resources/v1/macro.py +30 -0
  22. dvt/artifacts/resources/v1/metric.py +173 -0
  23. dvt/artifacts/resources/v1/model.py +146 -0
  24. dvt/artifacts/resources/v1/owner.py +10 -0
  25. dvt/artifacts/resources/v1/saved_query.py +112 -0
  26. dvt/artifacts/resources/v1/seed.py +42 -0
  27. dvt/artifacts/resources/v1/semantic_layer_components.py +72 -0
  28. dvt/artifacts/resources/v1/semantic_model.py +315 -0
  29. dvt/artifacts/resources/v1/singular_test.py +14 -0
  30. dvt/artifacts/resources/v1/snapshot.py +92 -0
  31. dvt/artifacts/resources/v1/source_definition.py +85 -0
  32. dvt/artifacts/resources/v1/sql_operation.py +10 -0
  33. dvt/artifacts/resources/v1/unit_test_definition.py +78 -0
  34. dvt/artifacts/schemas/__init__.py +0 -0
  35. dvt/artifacts/schemas/base.py +191 -0
  36. dvt/artifacts/schemas/batch_results.py +24 -0
  37. dvt/artifacts/schemas/catalog/__init__.py +12 -0
  38. dvt/artifacts/schemas/catalog/v1/__init__.py +0 -0
  39. dvt/artifacts/schemas/catalog/v1/catalog.py +60 -0
  40. dvt/artifacts/schemas/freshness/__init__.py +1 -0
  41. dvt/artifacts/schemas/freshness/v3/__init__.py +0 -0
  42. dvt/artifacts/schemas/freshness/v3/freshness.py +159 -0
  43. dvt/artifacts/schemas/manifest/__init__.py +2 -0
  44. dvt/artifacts/schemas/manifest/v12/__init__.py +0 -0
  45. dvt/artifacts/schemas/manifest/v12/manifest.py +212 -0
  46. dvt/artifacts/schemas/results.py +148 -0
  47. dvt/artifacts/schemas/run/__init__.py +2 -0
  48. dvt/artifacts/schemas/run/v5/__init__.py +0 -0
  49. dvt/artifacts/schemas/run/v5/run.py +184 -0
  50. dvt/artifacts/schemas/upgrades/__init__.py +4 -0
  51. dvt/artifacts/schemas/upgrades/upgrade_manifest.py +174 -0
  52. dvt/artifacts/schemas/upgrades/upgrade_manifest_dbt_version.py +2 -0
  53. dvt/artifacts/utils/validation.py +153 -0
  54. dvt/cli/__init__.py +1 -0
  55. dvt/cli/context.py +16 -0
  56. dvt/cli/exceptions.py +56 -0
  57. dvt/cli/flags.py +558 -0
  58. dvt/cli/main.py +971 -0
  59. dvt/cli/option_types.py +121 -0
  60. dvt/cli/options.py +79 -0
  61. dvt/cli/params.py +803 -0
  62. dvt/cli/requires.py +478 -0
  63. dvt/cli/resolvers.py +32 -0
  64. dvt/cli/types.py +40 -0
  65. dvt/clients/__init__.py +0 -0
  66. dvt/clients/checked_load.py +82 -0
  67. dvt/clients/git.py +164 -0
  68. dvt/clients/jinja.py +206 -0
  69. dvt/clients/jinja_static.py +245 -0
  70. dvt/clients/registry.py +192 -0
  71. dvt/clients/yaml_helper.py +68 -0
  72. dvt/compilation.py +833 -0
  73. dvt/compute/__init__.py +26 -0
  74. dvt/compute/base.py +288 -0
  75. dvt/compute/engines/__init__.py +13 -0
  76. dvt/compute/engines/duckdb_engine.py +368 -0
  77. dvt/compute/engines/spark_engine.py +273 -0
  78. dvt/compute/query_analyzer.py +212 -0
  79. dvt/compute/router.py +483 -0
  80. dvt/config/__init__.py +4 -0
  81. dvt/config/catalogs.py +95 -0
  82. dvt/config/compute_config.py +406 -0
  83. dvt/config/profile.py +411 -0
  84. dvt/config/profiles_v2.py +464 -0
  85. dvt/config/project.py +893 -0
  86. dvt/config/renderer.py +232 -0
  87. dvt/config/runtime.py +491 -0
  88. dvt/config/selectors.py +209 -0
  89. dvt/config/utils.py +78 -0
  90. dvt/connectors/.gitignore +6 -0
  91. dvt/connectors/README.md +306 -0
  92. dvt/connectors/catalog.yml +217 -0
  93. dvt/connectors/download_connectors.py +300 -0
  94. dvt/constants.py +29 -0
  95. dvt/context/__init__.py +0 -0
  96. dvt/context/base.py +746 -0
  97. dvt/context/configured.py +136 -0
  98. dvt/context/context_config.py +350 -0
  99. dvt/context/docs.py +82 -0
  100. dvt/context/exceptions_jinja.py +179 -0
  101. dvt/context/macro_resolver.py +195 -0
  102. dvt/context/macros.py +171 -0
  103. dvt/context/manifest.py +73 -0
  104. dvt/context/providers.py +2198 -0
  105. dvt/context/query_header.py +14 -0
  106. dvt/context/secret.py +59 -0
  107. dvt/context/target.py +74 -0
  108. dvt/contracts/__init__.py +0 -0
  109. dvt/contracts/files.py +413 -0
  110. dvt/contracts/graph/__init__.py +0 -0
  111. dvt/contracts/graph/manifest.py +1904 -0
  112. dvt/contracts/graph/metrics.py +98 -0
  113. dvt/contracts/graph/model_config.py +71 -0
  114. dvt/contracts/graph/node_args.py +42 -0
  115. dvt/contracts/graph/nodes.py +1806 -0
  116. dvt/contracts/graph/semantic_manifest.py +233 -0
  117. dvt/contracts/graph/unparsed.py +812 -0
  118. dvt/contracts/project.py +417 -0
  119. dvt/contracts/results.py +53 -0
  120. dvt/contracts/selection.py +23 -0
  121. dvt/contracts/sql.py +86 -0
  122. dvt/contracts/state.py +69 -0
  123. dvt/contracts/util.py +46 -0
  124. dvt/deprecations.py +347 -0
  125. dvt/deps/__init__.py +0 -0
  126. dvt/deps/base.py +153 -0
  127. dvt/deps/git.py +196 -0
  128. dvt/deps/local.py +80 -0
  129. dvt/deps/registry.py +131 -0
  130. dvt/deps/resolver.py +149 -0
  131. dvt/deps/tarball.py +121 -0
  132. dvt/docs/source/_ext/dbt_click.py +118 -0
  133. dvt/docs/source/conf.py +32 -0
  134. dvt/env_vars.py +64 -0
  135. dvt/event_time/event_time.py +40 -0
  136. dvt/event_time/sample_window.py +60 -0
  137. dvt/events/__init__.py +16 -0
  138. dvt/events/base_types.py +37 -0
  139. dvt/events/core_types_pb2.py +2 -0
  140. dvt/events/logging.py +109 -0
  141. dvt/events/types.py +2534 -0
  142. dvt/exceptions.py +1487 -0
  143. dvt/flags.py +89 -0
  144. dvt/graph/__init__.py +11 -0
  145. dvt/graph/cli.py +248 -0
  146. dvt/graph/graph.py +172 -0
  147. dvt/graph/queue.py +213 -0
  148. dvt/graph/selector.py +375 -0
  149. dvt/graph/selector_methods.py +976 -0
  150. dvt/graph/selector_spec.py +223 -0
  151. dvt/graph/thread_pool.py +18 -0
  152. dvt/hooks.py +21 -0
  153. dvt/include/README.md +49 -0
  154. dvt/include/__init__.py +3 -0
  155. dvt/include/global_project.py +4 -0
  156. dvt/include/starter_project/.gitignore +4 -0
  157. dvt/include/starter_project/README.md +15 -0
  158. dvt/include/starter_project/__init__.py +3 -0
  159. dvt/include/starter_project/analyses/.gitkeep +0 -0
  160. dvt/include/starter_project/dvt_project.yml +36 -0
  161. dvt/include/starter_project/macros/.gitkeep +0 -0
  162. dvt/include/starter_project/models/example/my_first_dbt_model.sql +27 -0
  163. dvt/include/starter_project/models/example/my_second_dbt_model.sql +6 -0
  164. dvt/include/starter_project/models/example/schema.yml +21 -0
  165. dvt/include/starter_project/seeds/.gitkeep +0 -0
  166. dvt/include/starter_project/snapshots/.gitkeep +0 -0
  167. dvt/include/starter_project/tests/.gitkeep +0 -0
  168. dvt/internal_deprecations.py +27 -0
  169. dvt/jsonschemas/__init__.py +3 -0
  170. dvt/jsonschemas/jsonschemas.py +309 -0
  171. dvt/jsonschemas/project/0.0.110.json +4717 -0
  172. dvt/jsonschemas/project/0.0.85.json +2015 -0
  173. dvt/jsonschemas/resources/0.0.110.json +2636 -0
  174. dvt/jsonschemas/resources/0.0.85.json +2536 -0
  175. dvt/jsonschemas/resources/latest.json +6773 -0
  176. dvt/links.py +4 -0
  177. dvt/materializations/__init__.py +0 -0
  178. dvt/materializations/incremental/__init__.py +0 -0
  179. dvt/materializations/incremental/microbatch.py +235 -0
  180. dvt/mp_context.py +8 -0
  181. dvt/node_types.py +37 -0
  182. dvt/parser/__init__.py +23 -0
  183. dvt/parser/analysis.py +21 -0
  184. dvt/parser/base.py +549 -0
  185. dvt/parser/common.py +267 -0
  186. dvt/parser/docs.py +52 -0
  187. dvt/parser/fixtures.py +51 -0
  188. dvt/parser/functions.py +30 -0
  189. dvt/parser/generic_test.py +100 -0
  190. dvt/parser/generic_test_builders.py +334 -0
  191. dvt/parser/hooks.py +119 -0
  192. dvt/parser/macros.py +137 -0
  193. dvt/parser/manifest.py +2204 -0
  194. dvt/parser/models.py +574 -0
  195. dvt/parser/partial.py +1179 -0
  196. dvt/parser/read_files.py +445 -0
  197. dvt/parser/schema_generic_tests.py +423 -0
  198. dvt/parser/schema_renderer.py +111 -0
  199. dvt/parser/schema_yaml_readers.py +936 -0
  200. dvt/parser/schemas.py +1467 -0
  201. dvt/parser/search.py +149 -0
  202. dvt/parser/seeds.py +28 -0
  203. dvt/parser/singular_test.py +20 -0
  204. dvt/parser/snapshots.py +44 -0
  205. dvt/parser/sources.py +557 -0
  206. dvt/parser/sql.py +63 -0
  207. dvt/parser/unit_tests.py +622 -0
  208. dvt/plugins/__init__.py +20 -0
  209. dvt/plugins/contracts.py +10 -0
  210. dvt/plugins/exceptions.py +2 -0
  211. dvt/plugins/manager.py +164 -0
  212. dvt/plugins/manifest.py +21 -0
  213. dvt/profiler.py +20 -0
  214. dvt/py.typed +1 -0
  215. dvt/runners/__init__.py +2 -0
  216. dvt/runners/exposure_runner.py +7 -0
  217. dvt/runners/no_op_runner.py +46 -0
  218. dvt/runners/saved_query_runner.py +7 -0
  219. dvt/selected_resources.py +8 -0
  220. dvt/task/__init__.py +0 -0
  221. dvt/task/base.py +504 -0
  222. dvt/task/build.py +197 -0
  223. dvt/task/clean.py +57 -0
  224. dvt/task/clone.py +162 -0
  225. dvt/task/compile.py +151 -0
  226. dvt/task/compute.py +366 -0
  227. dvt/task/debug.py +650 -0
  228. dvt/task/deps.py +280 -0
  229. dvt/task/docs/__init__.py +3 -0
  230. dvt/task/docs/generate.py +408 -0
  231. dvt/task/docs/index.html +250 -0
  232. dvt/task/docs/serve.py +28 -0
  233. dvt/task/freshness.py +323 -0
  234. dvt/task/function.py +122 -0
  235. dvt/task/group_lookup.py +46 -0
  236. dvt/task/init.py +374 -0
  237. dvt/task/list.py +237 -0
  238. dvt/task/printer.py +176 -0
  239. dvt/task/profiles.py +256 -0
  240. dvt/task/retry.py +175 -0
  241. dvt/task/run.py +1146 -0
  242. dvt/task/run_operation.py +142 -0
  243. dvt/task/runnable.py +802 -0
  244. dvt/task/seed.py +104 -0
  245. dvt/task/show.py +150 -0
  246. dvt/task/snapshot.py +57 -0
  247. dvt/task/sql.py +111 -0
  248. dvt/task/test.py +464 -0
  249. dvt/tests/fixtures/__init__.py +1 -0
  250. dvt/tests/fixtures/project.py +620 -0
  251. dvt/tests/util.py +651 -0
  252. dvt/tracking.py +529 -0
  253. dvt/utils/__init__.py +3 -0
  254. dvt/utils/artifact_upload.py +151 -0
  255. dvt/utils/utils.py +408 -0
  256. dvt/version.py +249 -0
  257. dvt_core-1.11.0b4.dist-info/METADATA +252 -0
  258. dvt_core-1.11.0b4.dist-info/RECORD +261 -0
  259. dvt_core-1.11.0b4.dist-info/WHEEL +5 -0
  260. dvt_core-1.11.0b4.dist-info/entry_points.txt +2 -0
  261. dvt_core-1.11.0b4.dist-info/top_level.txt +1 -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
+ }