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,2636 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "DbtPropertiesFile",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "analyses": {
8
+ "type": [
9
+ "array",
10
+ "null"
11
+ ],
12
+ "items": {
13
+ "$ref": "#/definitions/_Analyses"
14
+ }
15
+ },
16
+ "exposures": {
17
+ "type": [
18
+ "array",
19
+ "null"
20
+ ],
21
+ "items": {
22
+ "$ref": "#/definitions/_Exposures"
23
+ }
24
+ },
25
+ "groups": {
26
+ "type": [
27
+ "array",
28
+ "null"
29
+ ],
30
+ "items": {
31
+ "$ref": "#/definitions/_Groups"
32
+ }
33
+ },
34
+ "macros": {
35
+ "type": [
36
+ "array",
37
+ "null"
38
+ ],
39
+ "items": {
40
+ "$ref": "#/definitions/_Macros"
41
+ }
42
+ },
43
+ "metrics": {
44
+ "type": [
45
+ "array",
46
+ "null"
47
+ ],
48
+ "items": {
49
+ "$ref": "#/definitions/_Metrics"
50
+ }
51
+ },
52
+ "models": {
53
+ "type": [
54
+ "array",
55
+ "null"
56
+ ],
57
+ "items": {
58
+ "$ref": "#/definitions/_Models"
59
+ }
60
+ },
61
+ "saved_queries": {
62
+ "type": [
63
+ "array",
64
+ "null"
65
+ ],
66
+ "items": {
67
+ "$ref": "#/definitions/_SavedQueries"
68
+ }
69
+ },
70
+ "seeds": {
71
+ "type": [
72
+ "array",
73
+ "null"
74
+ ],
75
+ "items": {
76
+ "$ref": "#/definitions/_Seeds"
77
+ }
78
+ },
79
+ "semantic_models": {
80
+ "type": [
81
+ "array",
82
+ "null"
83
+ ],
84
+ "items": {
85
+ "$ref": "#/definitions/_SemanticModels"
86
+ }
87
+ },
88
+ "snapshots": {
89
+ "type": [
90
+ "array",
91
+ "null"
92
+ ],
93
+ "items": {
94
+ "$ref": "#/definitions/_Snapshots"
95
+ }
96
+ },
97
+ "sources": {
98
+ "type": [
99
+ "array",
100
+ "null"
101
+ ],
102
+ "items": {
103
+ "$ref": "#/definitions/_Sources"
104
+ }
105
+ },
106
+ "unit_tests": {
107
+ "type": [
108
+ "array",
109
+ "null"
110
+ ],
111
+ "items": {
112
+ "$ref": "#/definitions/_UnitTests"
113
+ }
114
+ },
115
+ "version": {
116
+ "anyOf": [
117
+ {
118
+ "$ref": "#/definitions/FloatOrString"
119
+ },
120
+ {
121
+ "type": "null"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ "definitions": {
127
+ "AcceptedValuesTest": {
128
+ "type": "object",
129
+ "required": [
130
+ "accepted_values"
131
+ ],
132
+ "properties": {
133
+ "accepted_values": true
134
+ }
135
+ },
136
+ "AggregationTypeParams": {
137
+ "type": "object",
138
+ "properties": {
139
+ "percentile": {
140
+ "type": [
141
+ "number",
142
+ "null"
143
+ ],
144
+ "format": "float"
145
+ },
146
+ "use_approximate_percentile": {
147
+ "type": [
148
+ "boolean",
149
+ "null"
150
+ ]
151
+ },
152
+ "use_discrete_percentile": {
153
+ "type": [
154
+ "boolean",
155
+ "null"
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ "AnyValue": true,
161
+ "BooleanOrJinjaString": {
162
+ "anyOf": [
163
+ {
164
+ "type": "string"
165
+ },
166
+ {
167
+ "type": "boolean"
168
+ }
169
+ ]
170
+ },
171
+ "ColumnProperties": {
172
+ "type": "object",
173
+ "required": [
174
+ "name"
175
+ ],
176
+ "properties": {
177
+ "constraints": {
178
+ "type": [
179
+ "array",
180
+ "null"
181
+ ],
182
+ "items": true
183
+ },
184
+ "data_tests": {
185
+ "type": [
186
+ "array",
187
+ "null"
188
+ ],
189
+ "items": {
190
+ "$ref": "#/definitions/DataTests"
191
+ }
192
+ },
193
+ "data_type": {
194
+ "type": [
195
+ "string",
196
+ "null"
197
+ ]
198
+ },
199
+ "description": {
200
+ "type": [
201
+ "string",
202
+ "null"
203
+ ]
204
+ },
205
+ "granularity": {
206
+ "anyOf": [
207
+ {
208
+ "$ref": "#/definitions/_ColumnPropertiesGranularity"
209
+ },
210
+ {
211
+ "type": "null"
212
+ }
213
+ ]
214
+ },
215
+ "meta": true,
216
+ "name": {
217
+ "type": "string"
218
+ },
219
+ "policy_tags": {
220
+ "type": [
221
+ "array",
222
+ "null"
223
+ ],
224
+ "items": {
225
+ "type": "string"
226
+ }
227
+ },
228
+ "quote": {
229
+ "anyOf": [
230
+ {
231
+ "$ref": "#/definitions/BooleanOrJinjaString"
232
+ },
233
+ {
234
+ "type": "null"
235
+ }
236
+ ]
237
+ },
238
+ "tags": {
239
+ "anyOf": [
240
+ {
241
+ "$ref": "#/definitions/StringOrArrayOfStrings"
242
+ },
243
+ {
244
+ "type": "null"
245
+ }
246
+ ]
247
+ },
248
+ "tests": {
249
+ "type": [
250
+ "array",
251
+ "null"
252
+ ],
253
+ "items": {
254
+ "$ref": "#/definitions/DataTests"
255
+ }
256
+ }
257
+ }
258
+ },
259
+ "CustomGranularity": {
260
+ "type": "object",
261
+ "required": [
262
+ "name"
263
+ ],
264
+ "properties": {
265
+ "column_name": {
266
+ "type": [
267
+ "string",
268
+ "null"
269
+ ]
270
+ },
271
+ "name": {
272
+ "type": "string"
273
+ }
274
+ }
275
+ },
276
+ "DataTests": {
277
+ "anyOf": [
278
+ {
279
+ "type": "string"
280
+ },
281
+ {
282
+ "$ref": "#/definitions/UniqueTest"
283
+ },
284
+ {
285
+ "$ref": "#/definitions/NotNullTest"
286
+ },
287
+ {
288
+ "$ref": "#/definitions/RelationshipsTest"
289
+ },
290
+ {
291
+ "$ref": "#/definitions/AcceptedValuesTest"
292
+ },
293
+ true
294
+ ]
295
+ },
296
+ "Dimension": {
297
+ "type": "object",
298
+ "required": [
299
+ "name",
300
+ "type"
301
+ ],
302
+ "properties": {
303
+ "config": true,
304
+ "description": {
305
+ "type": [
306
+ "string",
307
+ "null"
308
+ ]
309
+ },
310
+ "expr": {
311
+ "anyOf": [
312
+ {
313
+ "$ref": "#/definitions/_DimensionExpr"
314
+ },
315
+ {
316
+ "type": "null"
317
+ }
318
+ ]
319
+ },
320
+ "is_partition": {
321
+ "type": [
322
+ "boolean",
323
+ "null"
324
+ ]
325
+ },
326
+ "label": {
327
+ "type": [
328
+ "string",
329
+ "null"
330
+ ]
331
+ },
332
+ "name": {
333
+ "type": "string"
334
+ },
335
+ "type": {
336
+ "$ref": "#/definitions/_DimensionType_"
337
+ },
338
+ "type_params": {
339
+ "anyOf": [
340
+ {
341
+ "$ref": "#/definitions/DimensionTypeParams"
342
+ },
343
+ {
344
+ "type": "null"
345
+ }
346
+ ]
347
+ }
348
+ }
349
+ },
350
+ "DimensionTypeParams": {
351
+ "type": "object",
352
+ "required": [
353
+ "time_granularity"
354
+ ],
355
+ "properties": {
356
+ "time_granularity": {
357
+ "type": "string"
358
+ },
359
+ "validity_params": {
360
+ "anyOf": [
361
+ {
362
+ "$ref": "#/definitions/ValidityParams"
363
+ },
364
+ {
365
+ "type": "null"
366
+ }
367
+ ]
368
+ }
369
+ }
370
+ },
371
+ "DocsConfig": {
372
+ "type": "object",
373
+ "properties": {
374
+ "node_color": {
375
+ "type": [
376
+ "string",
377
+ "null"
378
+ ]
379
+ },
380
+ "show": {
381
+ "type": [
382
+ "boolean",
383
+ "null"
384
+ ]
385
+ }
386
+ }
387
+ },
388
+ "Entity": {
389
+ "type": "object",
390
+ "required": [
391
+ "name",
392
+ "type"
393
+ ],
394
+ "properties": {
395
+ "config": true,
396
+ "description": {
397
+ "type": [
398
+ "string",
399
+ "null"
400
+ ]
401
+ },
402
+ "entity": {
403
+ "type": [
404
+ "string",
405
+ "null"
406
+ ]
407
+ },
408
+ "expr": {
409
+ "anyOf": [
410
+ {
411
+ "$ref": "#/definitions/_EntityExpr"
412
+ },
413
+ {
414
+ "type": "null"
415
+ }
416
+ ]
417
+ },
418
+ "label": {
419
+ "type": [
420
+ "string",
421
+ "null"
422
+ ]
423
+ },
424
+ "name": {
425
+ "type": "string"
426
+ },
427
+ "type": {
428
+ "$ref": "#/definitions/_EntityType_"
429
+ }
430
+ }
431
+ },
432
+ "Export": {
433
+ "type": "object",
434
+ "required": [
435
+ "name"
436
+ ],
437
+ "properties": {
438
+ "config": {
439
+ "anyOf": [
440
+ {
441
+ "$ref": "#/definitions/_ExportConfig"
442
+ },
443
+ {
444
+ "type": "null"
445
+ }
446
+ ]
447
+ },
448
+ "name": {
449
+ "type": "string"
450
+ }
451
+ }
452
+ },
453
+ "ExposurePropertiesConfigs": {
454
+ "type": "object",
455
+ "additionalProperties": false,
456
+ "properties": {
457
+ "enabled": {
458
+ "anyOf": [
459
+ {
460
+ "$ref": "#/definitions/BooleanOrJinjaString"
461
+ },
462
+ {
463
+ "type": "null"
464
+ }
465
+ ]
466
+ },
467
+ "meta": true
468
+ }
469
+ },
470
+ "FloatOrString": {
471
+ "anyOf": [
472
+ {
473
+ "type": "number",
474
+ "format": "float"
475
+ },
476
+ {
477
+ "type": "string"
478
+ }
479
+ ]
480
+ },
481
+ "FreshnessDefinition": {
482
+ "type": "object",
483
+ "properties": {
484
+ "error_after": {
485
+ "anyOf": [
486
+ {
487
+ "$ref": "#/definitions/FreshnessRules"
488
+ },
489
+ {
490
+ "type": "null"
491
+ }
492
+ ]
493
+ },
494
+ "warn_after": {
495
+ "anyOf": [
496
+ {
497
+ "$ref": "#/definitions/FreshnessRules"
498
+ },
499
+ {
500
+ "type": "null"
501
+ }
502
+ ]
503
+ }
504
+ }
505
+ },
506
+ "FreshnessPeriod": {
507
+ "type": "string",
508
+ "enum": [
509
+ "minute",
510
+ "hour",
511
+ "day"
512
+ ]
513
+ },
514
+ "FreshnessRules": {
515
+ "type": "object",
516
+ "properties": {
517
+ "count": {
518
+ "anyOf": [
519
+ {
520
+ "$ref": "#/definitions/NumberOrJinjaString"
521
+ },
522
+ {
523
+ "type": "null"
524
+ }
525
+ ]
526
+ },
527
+ "period": {
528
+ "anyOf": [
529
+ {
530
+ "$ref": "#/definitions/FreshnessPeriod"
531
+ },
532
+ {
533
+ "type": "null"
534
+ }
535
+ ]
536
+ }
537
+ }
538
+ },
539
+ "HookConfig": {
540
+ "type": "object",
541
+ "properties": {
542
+ "sql": {
543
+ "type": [
544
+ "string",
545
+ "null"
546
+ ]
547
+ },
548
+ "transaction": {
549
+ "type": [
550
+ "boolean",
551
+ "null"
552
+ ]
553
+ }
554
+ }
555
+ },
556
+ "Hooks": {
557
+ "anyOf": [
558
+ {
559
+ "type": "string"
560
+ },
561
+ {
562
+ "type": "array",
563
+ "items": {
564
+ "type": "string"
565
+ }
566
+ },
567
+ {
568
+ "$ref": "#/definitions/HookConfig"
569
+ },
570
+ {
571
+ "type": "array",
572
+ "items": true
573
+ }
574
+ ]
575
+ },
576
+ "Measure": {
577
+ "type": "object",
578
+ "required": [
579
+ "agg",
580
+ "name"
581
+ ],
582
+ "properties": {
583
+ "agg": {
584
+ "$ref": "#/definitions/_MeasureAgg"
585
+ },
586
+ "agg_params": {
587
+ "anyOf": [
588
+ {
589
+ "$ref": "#/definitions/AggregationTypeParams"
590
+ },
591
+ {
592
+ "type": "null"
593
+ }
594
+ ]
595
+ },
596
+ "agg_time_dimension": {
597
+ "type": [
598
+ "string",
599
+ "null"
600
+ ]
601
+ },
602
+ "config": true,
603
+ "create_metric": {
604
+ "type": [
605
+ "boolean",
606
+ "null"
607
+ ]
608
+ },
609
+ "create_metric_display_name": {
610
+ "type": [
611
+ "string",
612
+ "null"
613
+ ]
614
+ },
615
+ "description": {
616
+ "type": [
617
+ "string",
618
+ "null"
619
+ ]
620
+ },
621
+ "expr": {
622
+ "anyOf": [
623
+ {
624
+ "$ref": "#/definitions/_MeasureExpr"
625
+ },
626
+ {
627
+ "type": "null"
628
+ }
629
+ ]
630
+ },
631
+ "label": {
632
+ "type": [
633
+ "string",
634
+ "null"
635
+ ]
636
+ },
637
+ "name": {
638
+ "type": "string"
639
+ },
640
+ "non_additive_dimension": {
641
+ "anyOf": [
642
+ {
643
+ "$ref": "#/definitions/NonAdditiveDimension"
644
+ },
645
+ {
646
+ "type": "null"
647
+ }
648
+ ]
649
+ }
650
+ }
651
+ },
652
+ "ModelPropertiesConfigs": {
653
+ "type": "object",
654
+ "additionalProperties": false,
655
+ "properties": {
656
+ "auto_refresh": {
657
+ "anyOf": [
658
+ {
659
+ "$ref": "#/definitions/BooleanOrJinjaString"
660
+ },
661
+ {
662
+ "type": "null"
663
+ }
664
+ ]
665
+ },
666
+ "backup": {
667
+ "anyOf": [
668
+ {
669
+ "$ref": "#/definitions/BooleanOrJinjaString"
670
+ },
671
+ {
672
+ "type": "null"
673
+ }
674
+ ]
675
+ },
676
+ "batch_size": {
677
+ "type": [
678
+ "string",
679
+ "null"
680
+ ]
681
+ },
682
+ "begin": {
683
+ "type": [
684
+ "string",
685
+ "null"
686
+ ]
687
+ },
688
+ "contract": {
689
+ "anyOf": [
690
+ {
691
+ "$ref": "#/definitions/_ModelPropertiesConfigsContract"
692
+ },
693
+ {
694
+ "type": "null"
695
+ }
696
+ ]
697
+ },
698
+ "docs": {
699
+ "anyOf": [
700
+ {
701
+ "$ref": "#/definitions/DocsConfig"
702
+ },
703
+ {
704
+ "type": "null"
705
+ }
706
+ ]
707
+ },
708
+ "enabled": {
709
+ "anyOf": [
710
+ {
711
+ "$ref": "#/definitions/BooleanOrJinjaString"
712
+ },
713
+ {
714
+ "type": "null"
715
+ }
716
+ ]
717
+ },
718
+ "event_time": {
719
+ "type": [
720
+ "string",
721
+ "null"
722
+ ]
723
+ },
724
+ "file_format": {
725
+ "type": [
726
+ "string",
727
+ "null"
728
+ ]
729
+ },
730
+ "grant_access_to": {
731
+ "type": [
732
+ "array",
733
+ "null"
734
+ ],
735
+ "items": {
736
+ "$ref": "#/definitions/_GrantAccessTo"
737
+ }
738
+ },
739
+ "grants": true,
740
+ "group": {
741
+ "type": [
742
+ "string",
743
+ "null"
744
+ ]
745
+ },
746
+ "hours_to_expiration": {
747
+ "type": [
748
+ "number",
749
+ "null"
750
+ ],
751
+ "format": "float"
752
+ },
753
+ "include_full_name_in_path": {
754
+ "anyOf": [
755
+ {
756
+ "$ref": "#/definitions/BooleanOrJinjaString"
757
+ },
758
+ {
759
+ "type": "null"
760
+ }
761
+ ]
762
+ },
763
+ "incremental_strategy": {
764
+ "type": [
765
+ "string",
766
+ "null"
767
+ ]
768
+ },
769
+ "kms_key_name": {
770
+ "type": [
771
+ "string",
772
+ "null"
773
+ ]
774
+ },
775
+ "labels": true,
776
+ "location": {
777
+ "type": [
778
+ "string",
779
+ "null"
780
+ ]
781
+ },
782
+ "location_root": {
783
+ "type": [
784
+ "string",
785
+ "null"
786
+ ]
787
+ },
788
+ "lookback": {
789
+ "type": [
790
+ "number",
791
+ "null"
792
+ ],
793
+ "format": "float"
794
+ },
795
+ "materialized": {
796
+ "type": [
797
+ "string",
798
+ "null"
799
+ ]
800
+ },
801
+ "meta": true,
802
+ "on_configuration_change": {
803
+ "type": [
804
+ "string",
805
+ "null"
806
+ ]
807
+ },
808
+ "on_schema_change": {
809
+ "type": [
810
+ "string",
811
+ "null"
812
+ ]
813
+ },
814
+ "snowflake_warehouse": {
815
+ "type": [
816
+ "string",
817
+ "null"
818
+ ]
819
+ },
820
+ "sql_header": {
821
+ "type": [
822
+ "string",
823
+ "null"
824
+ ]
825
+ },
826
+ "table_format": {
827
+ "type": [
828
+ "string",
829
+ "null"
830
+ ]
831
+ },
832
+ "tags": {
833
+ "anyOf": [
834
+ {
835
+ "$ref": "#/definitions/StringOrArrayOfStrings"
836
+ },
837
+ {
838
+ "type": "null"
839
+ }
840
+ ]
841
+ },
842
+ "target_lag": {
843
+ "type": [
844
+ "string",
845
+ "null"
846
+ ]
847
+ },
848
+ "tblproperties": true,
849
+ "unique_key": {
850
+ "anyOf": [
851
+ {
852
+ "$ref": "#/definitions/StringOrArrayOfStrings"
853
+ },
854
+ {
855
+ "type": "null"
856
+ }
857
+ ]
858
+ }
859
+ }
860
+ },
861
+ "NonAdditiveDimension": {
862
+ "type": "object",
863
+ "required": [
864
+ "name"
865
+ ],
866
+ "properties": {
867
+ "name": {
868
+ "type": "string"
869
+ },
870
+ "window_choice": {
871
+ "anyOf": [
872
+ {
873
+ "$ref": "#/definitions/_NonAdditiveDimensionWindowChoice"
874
+ },
875
+ {
876
+ "type": "null"
877
+ }
878
+ ]
879
+ },
880
+ "window_groupings": {
881
+ "type": [
882
+ "array",
883
+ "null"
884
+ ],
885
+ "items": {
886
+ "type": "string"
887
+ }
888
+ }
889
+ }
890
+ },
891
+ "NotNullTest": {
892
+ "type": "object",
893
+ "required": [
894
+ "not_null"
895
+ ],
896
+ "properties": {
897
+ "not_null": true
898
+ }
899
+ },
900
+ "NumberOrJinjaString": {
901
+ "anyOf": [
902
+ {
903
+ "type": "string"
904
+ },
905
+ {
906
+ "type": "integer",
907
+ "format": "int32"
908
+ }
909
+ ]
910
+ },
911
+ "PersistDocsConfig": {
912
+ "type": "object",
913
+ "properties": {
914
+ "columns": {
915
+ "anyOf": [
916
+ {
917
+ "$ref": "#/definitions/BooleanOrJinjaString"
918
+ },
919
+ {
920
+ "type": "null"
921
+ }
922
+ ]
923
+ },
924
+ "relation": {
925
+ "anyOf": [
926
+ {
927
+ "$ref": "#/definitions/BooleanOrJinjaString"
928
+ },
929
+ {
930
+ "type": "null"
931
+ }
932
+ ]
933
+ }
934
+ }
935
+ },
936
+ "RelationshipsTest": {
937
+ "type": "object",
938
+ "required": [
939
+ "relationships"
940
+ ],
941
+ "properties": {
942
+ "relationships": true
943
+ }
944
+ },
945
+ "StringOrArrayOfStrings": {
946
+ "anyOf": [
947
+ {
948
+ "type": "string"
949
+ },
950
+ {
951
+ "type": "array",
952
+ "items": {
953
+ "type": "string"
954
+ }
955
+ }
956
+ ]
957
+ },
958
+ "UniqueTest": {
959
+ "type": "object",
960
+ "required": [
961
+ "unique"
962
+ ],
963
+ "properties": {
964
+ "unique": true
965
+ }
966
+ },
967
+ "ValidityParams": {
968
+ "type": "object",
969
+ "properties": {
970
+ "is_end": {
971
+ "type": [
972
+ "boolean",
973
+ "null"
974
+ ]
975
+ },
976
+ "is_start": {
977
+ "type": [
978
+ "boolean",
979
+ "null"
980
+ ]
981
+ }
982
+ }
983
+ },
984
+ "_Analyses": {
985
+ "type": "object",
986
+ "required": [
987
+ "name"
988
+ ],
989
+ "properties": {
990
+ "columns": {
991
+ "type": [
992
+ "array",
993
+ "null"
994
+ ],
995
+ "items": {
996
+ "$ref": "#/definitions/_Columns"
997
+ }
998
+ },
999
+ "config": {
1000
+ "anyOf": [
1001
+ {
1002
+ "$ref": "#/definitions/__AnalysesConfig"
1003
+ },
1004
+ {
1005
+ "type": "null"
1006
+ }
1007
+ ]
1008
+ },
1009
+ "description": {
1010
+ "type": [
1011
+ "string",
1012
+ "null"
1013
+ ]
1014
+ },
1015
+ "docs": {
1016
+ "anyOf": [
1017
+ {
1018
+ "$ref": "#/definitions/DocsConfig"
1019
+ },
1020
+ {
1021
+ "type": "null"
1022
+ }
1023
+ ]
1024
+ },
1025
+ "group": {
1026
+ "type": [
1027
+ "string",
1028
+ "null"
1029
+ ]
1030
+ },
1031
+ "name": {
1032
+ "type": "string"
1033
+ }
1034
+ }
1035
+ },
1036
+ "_Arguments": {
1037
+ "type": "object",
1038
+ "required": [
1039
+ "name"
1040
+ ],
1041
+ "properties": {
1042
+ "description": {
1043
+ "type": [
1044
+ "string",
1045
+ "null"
1046
+ ]
1047
+ },
1048
+ "name": {
1049
+ "type": "string"
1050
+ },
1051
+ "type": {
1052
+ "type": [
1053
+ "string",
1054
+ "null"
1055
+ ]
1056
+ }
1057
+ }
1058
+ },
1059
+ "_ColumnPropertiesGranularity": {
1060
+ "type": "string",
1061
+ "enum": [
1062
+ "nanosecond",
1063
+ "microsecond",
1064
+ "millisecond",
1065
+ "second",
1066
+ "minute",
1067
+ "hour",
1068
+ "day",
1069
+ "week",
1070
+ "month",
1071
+ "quarter",
1072
+ "year"
1073
+ ]
1074
+ },
1075
+ "_Columns": {
1076
+ "type": "object",
1077
+ "required": [
1078
+ "name"
1079
+ ],
1080
+ "properties": {
1081
+ "data_type": {
1082
+ "type": [
1083
+ "string",
1084
+ "null"
1085
+ ]
1086
+ },
1087
+ "description": {
1088
+ "type": [
1089
+ "string",
1090
+ "null"
1091
+ ]
1092
+ },
1093
+ "name": {
1094
+ "type": "string"
1095
+ }
1096
+ }
1097
+ },
1098
+ "_DimensionExpr": {
1099
+ "anyOf": [
1100
+ {
1101
+ "type": "string"
1102
+ },
1103
+ {
1104
+ "type": "boolean"
1105
+ }
1106
+ ]
1107
+ },
1108
+ "_DimensionType_": {
1109
+ "type": "string",
1110
+ "enum": [
1111
+ "CATEGORICAL",
1112
+ "TIME",
1113
+ "categorical",
1114
+ "time"
1115
+ ]
1116
+ },
1117
+ "_EntityExpr": {
1118
+ "anyOf": [
1119
+ {
1120
+ "type": "string"
1121
+ },
1122
+ {
1123
+ "type": "boolean"
1124
+ }
1125
+ ]
1126
+ },
1127
+ "_EntityType_": {
1128
+ "type": "string",
1129
+ "enum": [
1130
+ "PRIMARY",
1131
+ "UNIQUE",
1132
+ "FOREIGN",
1133
+ "NATURAL",
1134
+ "primary",
1135
+ "unique",
1136
+ "foreign",
1137
+ "natural"
1138
+ ]
1139
+ },
1140
+ "_ExportConfig": {
1141
+ "type": "object",
1142
+ "properties": {
1143
+ "alias": {
1144
+ "type": [
1145
+ "string",
1146
+ "null"
1147
+ ]
1148
+ },
1149
+ "export_as": {
1150
+ "anyOf": [
1151
+ {
1152
+ "$ref": "#/definitions/__ExportConfigExportAs"
1153
+ },
1154
+ {
1155
+ "type": "null"
1156
+ }
1157
+ ]
1158
+ },
1159
+ "schema": {
1160
+ "type": [
1161
+ "string",
1162
+ "null"
1163
+ ]
1164
+ }
1165
+ },
1166
+ "additionalProperties": true
1167
+ },
1168
+ "_Exposures": {
1169
+ "type": "object",
1170
+ "required": [
1171
+ "name",
1172
+ "owner",
1173
+ "type"
1174
+ ],
1175
+ "additionalProperties": false,
1176
+ "properties": {
1177
+ "config": {
1178
+ "anyOf": [
1179
+ {
1180
+ "$ref": "#/definitions/ExposurePropertiesConfigs"
1181
+ },
1182
+ {
1183
+ "type": "null"
1184
+ }
1185
+ ]
1186
+ },
1187
+ "depends_on": {
1188
+ "type": [
1189
+ "array",
1190
+ "null"
1191
+ ],
1192
+ "items": {
1193
+ "type": "string"
1194
+ }
1195
+ },
1196
+ "description": {
1197
+ "type": [
1198
+ "string",
1199
+ "null"
1200
+ ]
1201
+ },
1202
+ "label": {
1203
+ "type": [
1204
+ "string",
1205
+ "null"
1206
+ ]
1207
+ },
1208
+ "maturity": {
1209
+ "type": [
1210
+ "string",
1211
+ "null"
1212
+ ]
1213
+ },
1214
+ "meta": true,
1215
+ "name": {
1216
+ "type": "string"
1217
+ },
1218
+ "owner": {
1219
+ "$ref": "#/definitions/__ExposuresOwner"
1220
+ },
1221
+ "tags": {
1222
+ "anyOf": [
1223
+ {
1224
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1225
+ },
1226
+ {
1227
+ "type": "null"
1228
+ }
1229
+ ]
1230
+ },
1231
+ "type": {
1232
+ "type": "string"
1233
+ },
1234
+ "url": {
1235
+ "type": [
1236
+ "string",
1237
+ "null"
1238
+ ]
1239
+ }
1240
+ }
1241
+ },
1242
+ "_Given": {
1243
+ "type": "object",
1244
+ "properties": {
1245
+ "fixture": {
1246
+ "type": [
1247
+ "string",
1248
+ "null"
1249
+ ]
1250
+ },
1251
+ "format": {
1252
+ "type": [
1253
+ "string",
1254
+ "null"
1255
+ ]
1256
+ },
1257
+ "input": {
1258
+ "type": [
1259
+ "string",
1260
+ "null"
1261
+ ]
1262
+ },
1263
+ "rows": true
1264
+ }
1265
+ },
1266
+ "_GrantAccessTo": {
1267
+ "type": "object",
1268
+ "properties": {
1269
+ "dataset": {
1270
+ "type": [
1271
+ "string",
1272
+ "null"
1273
+ ]
1274
+ },
1275
+ "project": {
1276
+ "type": [
1277
+ "string",
1278
+ "null"
1279
+ ]
1280
+ }
1281
+ }
1282
+ },
1283
+ "_Groups": {
1284
+ "type": "object",
1285
+ "required": [
1286
+ "name",
1287
+ "owner"
1288
+ ],
1289
+ "properties": {
1290
+ "name": {
1291
+ "type": "string"
1292
+ },
1293
+ "owner": {
1294
+ "$ref": "#/definitions/__GroupsOwner"
1295
+ }
1296
+ }
1297
+ },
1298
+ "_Macros": {
1299
+ "type": "object",
1300
+ "required": [
1301
+ "name"
1302
+ ],
1303
+ "additionalProperties": false,
1304
+ "properties": {
1305
+ "arguments": {
1306
+ "type": [
1307
+ "array",
1308
+ "null"
1309
+ ],
1310
+ "items": {
1311
+ "$ref": "#/definitions/_Arguments"
1312
+ }
1313
+ },
1314
+ "description": {
1315
+ "type": [
1316
+ "string",
1317
+ "null"
1318
+ ]
1319
+ },
1320
+ "docs": {
1321
+ "anyOf": [
1322
+ {
1323
+ "$ref": "#/definitions/DocsConfig"
1324
+ },
1325
+ {
1326
+ "type": "null"
1327
+ }
1328
+ ]
1329
+ },
1330
+ "name": {
1331
+ "type": "string"
1332
+ }
1333
+ }
1334
+ },
1335
+ "_MeasureAgg": {
1336
+ "type": "string",
1337
+ "enum": [
1338
+ "SUM",
1339
+ "MIN",
1340
+ "MAX",
1341
+ "AVERAGE",
1342
+ "COUNT_DISTINCT",
1343
+ "SUM_BOOLEAN",
1344
+ "COUNT",
1345
+ "PERCENTILE",
1346
+ "MEDIAN",
1347
+ "sum",
1348
+ "min",
1349
+ "max",
1350
+ "average",
1351
+ "count_distinct",
1352
+ "sum_boolean",
1353
+ "count",
1354
+ "percentile",
1355
+ "median"
1356
+ ]
1357
+ },
1358
+ "_MeasureExpr": {
1359
+ "anyOf": [
1360
+ {
1361
+ "type": "string"
1362
+ },
1363
+ {
1364
+ "type": "integer",
1365
+ "format": "int32"
1366
+ },
1367
+ {
1368
+ "type": "boolean"
1369
+ }
1370
+ ]
1371
+ },
1372
+ "_Metrics": {
1373
+ "type": "object"
1374
+ },
1375
+ "_ModelPropertiesConfigsContract": {
1376
+ "type": "object",
1377
+ "properties": {
1378
+ "alias_types": {
1379
+ "anyOf": [
1380
+ {
1381
+ "$ref": "#/definitions/BooleanOrJinjaString"
1382
+ },
1383
+ {
1384
+ "type": "null"
1385
+ }
1386
+ ]
1387
+ },
1388
+ "enforced": {
1389
+ "anyOf": [
1390
+ {
1391
+ "$ref": "#/definitions/BooleanOrJinjaString"
1392
+ },
1393
+ {
1394
+ "type": "null"
1395
+ }
1396
+ ]
1397
+ }
1398
+ }
1399
+ },
1400
+ "_Models": {
1401
+ "type": "object",
1402
+ "required": [
1403
+ "name"
1404
+ ],
1405
+ "additionalProperties": false,
1406
+ "properties": {
1407
+ "access": {
1408
+ "type": [
1409
+ "string",
1410
+ "null"
1411
+ ]
1412
+ },
1413
+ "columns": {
1414
+ "type": [
1415
+ "array",
1416
+ "null"
1417
+ ],
1418
+ "items": {
1419
+ "$ref": "#/definitions/ColumnProperties"
1420
+ }
1421
+ },
1422
+ "config": {
1423
+ "anyOf": [
1424
+ {
1425
+ "$ref": "#/definitions/ModelPropertiesConfigs"
1426
+ },
1427
+ {
1428
+ "type": "null"
1429
+ }
1430
+ ]
1431
+ },
1432
+ "constraints": {
1433
+ "type": [
1434
+ "array",
1435
+ "null"
1436
+ ],
1437
+ "items": true
1438
+ },
1439
+ "data_tests": {
1440
+ "type": [
1441
+ "array",
1442
+ "null"
1443
+ ],
1444
+ "items": {
1445
+ "$ref": "#/definitions/DataTests"
1446
+ }
1447
+ },
1448
+ "deprecation_date": {
1449
+ "type": [
1450
+ "string",
1451
+ "null"
1452
+ ]
1453
+ },
1454
+ "description": {
1455
+ "type": [
1456
+ "string",
1457
+ "null"
1458
+ ]
1459
+ },
1460
+ "docs": {
1461
+ "anyOf": [
1462
+ {
1463
+ "$ref": "#/definitions/DocsConfig"
1464
+ },
1465
+ {
1466
+ "type": "null"
1467
+ }
1468
+ ]
1469
+ },
1470
+ "group": {
1471
+ "type": [
1472
+ "string",
1473
+ "null"
1474
+ ]
1475
+ },
1476
+ "identifier": {
1477
+ "type": [
1478
+ "string",
1479
+ "null"
1480
+ ]
1481
+ },
1482
+ "latest_version": {
1483
+ "anyOf": [
1484
+ {
1485
+ "$ref": "#/definitions/FloatOrString"
1486
+ },
1487
+ {
1488
+ "type": "null"
1489
+ }
1490
+ ]
1491
+ },
1492
+ "meta": true,
1493
+ "name": {
1494
+ "type": "string"
1495
+ },
1496
+ "tests": {
1497
+ "type": [
1498
+ "array",
1499
+ "null"
1500
+ ],
1501
+ "items": {
1502
+ "$ref": "#/definitions/DataTests"
1503
+ }
1504
+ },
1505
+ "time_spine": {
1506
+ "anyOf": [
1507
+ {
1508
+ "$ref": "#/definitions/__ModelsTimeSpine"
1509
+ },
1510
+ {
1511
+ "type": "null"
1512
+ }
1513
+ ]
1514
+ },
1515
+ "versions": {
1516
+ "type": [
1517
+ "array",
1518
+ "null"
1519
+ ],
1520
+ "items": {
1521
+ "$ref": "#/definitions/_Versions"
1522
+ }
1523
+ }
1524
+ }
1525
+ },
1526
+ "_NonAdditiveDimensionWindowChoice": {
1527
+ "type": "string",
1528
+ "enum": [
1529
+ "MIN",
1530
+ "MAX",
1531
+ "min",
1532
+ "max"
1533
+ ]
1534
+ },
1535
+ "_SavedQueries": {
1536
+ "type": "object",
1537
+ "required": [
1538
+ "name",
1539
+ "query_params"
1540
+ ],
1541
+ "additionalProperties": false,
1542
+ "properties": {
1543
+ "config": {
1544
+ "anyOf": [
1545
+ {
1546
+ "$ref": "#/definitions/__SavedQueriesConfig"
1547
+ },
1548
+ {
1549
+ "type": "null"
1550
+ }
1551
+ ]
1552
+ },
1553
+ "description": {
1554
+ "type": [
1555
+ "string",
1556
+ "null"
1557
+ ]
1558
+ },
1559
+ "exports": {
1560
+ "type": [
1561
+ "array",
1562
+ "null"
1563
+ ],
1564
+ "items": {
1565
+ "$ref": "#/definitions/Export"
1566
+ }
1567
+ },
1568
+ "label": {
1569
+ "type": [
1570
+ "string",
1571
+ "null"
1572
+ ]
1573
+ },
1574
+ "name": {
1575
+ "type": "string"
1576
+ },
1577
+ "query_params": {
1578
+ "$ref": "#/definitions/__SavedQueriesQueryParams"
1579
+ }
1580
+ }
1581
+ },
1582
+ "_Seeds": {
1583
+ "type": "object",
1584
+ "required": [
1585
+ "name"
1586
+ ],
1587
+ "additionalProperties": false,
1588
+ "properties": {
1589
+ "columns": {
1590
+ "type": [
1591
+ "array",
1592
+ "null"
1593
+ ],
1594
+ "items": {
1595
+ "$ref": "#/definitions/ColumnProperties"
1596
+ }
1597
+ },
1598
+ "config": {
1599
+ "anyOf": [
1600
+ {
1601
+ "$ref": "#/definitions/__SeedsConfig"
1602
+ },
1603
+ {
1604
+ "type": "null"
1605
+ }
1606
+ ]
1607
+ },
1608
+ "data_tests": {
1609
+ "type": [
1610
+ "array",
1611
+ "null"
1612
+ ],
1613
+ "items": {
1614
+ "$ref": "#/definitions/DataTests"
1615
+ }
1616
+ },
1617
+ "description": {
1618
+ "type": [
1619
+ "string",
1620
+ "null"
1621
+ ]
1622
+ },
1623
+ "docs": {
1624
+ "anyOf": [
1625
+ {
1626
+ "$ref": "#/definitions/DocsConfig"
1627
+ },
1628
+ {
1629
+ "type": "null"
1630
+ }
1631
+ ]
1632
+ },
1633
+ "group": {
1634
+ "type": [
1635
+ "string",
1636
+ "null"
1637
+ ]
1638
+ },
1639
+ "name": {
1640
+ "type": "string"
1641
+ },
1642
+ "tests": {
1643
+ "type": [
1644
+ "array",
1645
+ "null"
1646
+ ],
1647
+ "items": {
1648
+ "$ref": "#/definitions/DataTests"
1649
+ }
1650
+ }
1651
+ }
1652
+ },
1653
+ "_SemanticModels": {
1654
+ "type": "object",
1655
+ "required": [
1656
+ "model",
1657
+ "name"
1658
+ ],
1659
+ "additionalProperties": false,
1660
+ "properties": {
1661
+ "config": {
1662
+ "anyOf": [
1663
+ {
1664
+ "$ref": "#/definitions/ModelPropertiesConfigs"
1665
+ },
1666
+ {
1667
+ "type": "null"
1668
+ }
1669
+ ]
1670
+ },
1671
+ "defaults": {
1672
+ "anyOf": [
1673
+ {
1674
+ "$ref": "#/definitions/__SemanticModelsDefaults"
1675
+ },
1676
+ {
1677
+ "type": "null"
1678
+ }
1679
+ ]
1680
+ },
1681
+ "description": {
1682
+ "type": [
1683
+ "string",
1684
+ "null"
1685
+ ]
1686
+ },
1687
+ "dimensions": {
1688
+ "type": [
1689
+ "array",
1690
+ "null"
1691
+ ],
1692
+ "items": {
1693
+ "$ref": "#/definitions/Dimension"
1694
+ }
1695
+ },
1696
+ "entities": {
1697
+ "type": [
1698
+ "array",
1699
+ "null"
1700
+ ],
1701
+ "items": {
1702
+ "$ref": "#/definitions/Entity"
1703
+ }
1704
+ },
1705
+ "label": {
1706
+ "type": [
1707
+ "string",
1708
+ "null"
1709
+ ]
1710
+ },
1711
+ "measures": {
1712
+ "type": [
1713
+ "array",
1714
+ "null"
1715
+ ],
1716
+ "items": {
1717
+ "$ref": "#/definitions/Measure"
1718
+ }
1719
+ },
1720
+ "model": {
1721
+ "type": "string"
1722
+ },
1723
+ "name": {
1724
+ "type": "string"
1725
+ },
1726
+ "primary_entity": {
1727
+ "type": [
1728
+ "string",
1729
+ "null"
1730
+ ]
1731
+ }
1732
+ }
1733
+ },
1734
+ "_Snapshots": {
1735
+ "type": "object",
1736
+ "required": [
1737
+ "name"
1738
+ ],
1739
+ "additionalProperties": false,
1740
+ "properties": {
1741
+ "columns": {
1742
+ "type": [
1743
+ "array",
1744
+ "null"
1745
+ ],
1746
+ "items": {
1747
+ "$ref": "#/definitions/ColumnProperties"
1748
+ }
1749
+ },
1750
+ "config": {
1751
+ "anyOf": [
1752
+ {
1753
+ "$ref": "#/definitions/__SnapshotsConfig"
1754
+ },
1755
+ {
1756
+ "type": "null"
1757
+ }
1758
+ ]
1759
+ },
1760
+ "data_tests": {
1761
+ "type": [
1762
+ "array",
1763
+ "null"
1764
+ ],
1765
+ "items": {
1766
+ "$ref": "#/definitions/DataTests"
1767
+ }
1768
+ },
1769
+ "description": {
1770
+ "type": [
1771
+ "string",
1772
+ "null"
1773
+ ]
1774
+ },
1775
+ "docs": {
1776
+ "anyOf": [
1777
+ {
1778
+ "$ref": "#/definitions/DocsConfig"
1779
+ },
1780
+ {
1781
+ "type": "null"
1782
+ }
1783
+ ]
1784
+ },
1785
+ "group": {
1786
+ "type": [
1787
+ "string",
1788
+ "null"
1789
+ ]
1790
+ },
1791
+ "meta": true,
1792
+ "name": {
1793
+ "type": "string"
1794
+ },
1795
+ "relation": {
1796
+ "type": [
1797
+ "string",
1798
+ "null"
1799
+ ]
1800
+ },
1801
+ "tests": {
1802
+ "type": [
1803
+ "array",
1804
+ "null"
1805
+ ],
1806
+ "items": {
1807
+ "$ref": "#/definitions/DataTests"
1808
+ }
1809
+ }
1810
+ }
1811
+ },
1812
+ "_Sources": {
1813
+ "type": "object",
1814
+ "required": [
1815
+ "name"
1816
+ ],
1817
+ "additionalProperties": false,
1818
+ "properties": {
1819
+ "config": {
1820
+ "anyOf": [
1821
+ {
1822
+ "$ref": "#/definitions/__SourcesConfig"
1823
+ },
1824
+ {
1825
+ "type": "null"
1826
+ }
1827
+ ]
1828
+ },
1829
+ "database": {
1830
+ "type": [
1831
+ "string",
1832
+ "null"
1833
+ ]
1834
+ },
1835
+ "description": {
1836
+ "type": [
1837
+ "string",
1838
+ "null"
1839
+ ]
1840
+ },
1841
+ "freshness": {
1842
+ "anyOf": [
1843
+ {
1844
+ "$ref": "#/definitions/FreshnessDefinition"
1845
+ },
1846
+ {
1847
+ "type": "null"
1848
+ }
1849
+ ]
1850
+ },
1851
+ "loaded_at_field": {
1852
+ "type": [
1853
+ "string",
1854
+ "null"
1855
+ ]
1856
+ },
1857
+ "loaded_at_query": {
1858
+ "type": [
1859
+ "string",
1860
+ "null"
1861
+ ]
1862
+ },
1863
+ "loader": {
1864
+ "type": [
1865
+ "string",
1866
+ "null"
1867
+ ]
1868
+ },
1869
+ "meta": true,
1870
+ "name": {
1871
+ "type": "string"
1872
+ },
1873
+ "overrides": {
1874
+ "type": [
1875
+ "string",
1876
+ "null"
1877
+ ]
1878
+ },
1879
+ "quoting": {
1880
+ "anyOf": [
1881
+ {
1882
+ "$ref": "#/definitions/__SourcesQuoting"
1883
+ },
1884
+ {
1885
+ "type": "null"
1886
+ }
1887
+ ]
1888
+ },
1889
+ "schema": {
1890
+ "type": [
1891
+ "string",
1892
+ "null"
1893
+ ]
1894
+ },
1895
+ "tables": {
1896
+ "type": [
1897
+ "array",
1898
+ "null"
1899
+ ],
1900
+ "items": {
1901
+ "$ref": "#/definitions/_Tables"
1902
+ }
1903
+ },
1904
+ "tags": {
1905
+ "anyOf": [
1906
+ {
1907
+ "$ref": "#/definitions/StringOrArrayOfStrings"
1908
+ },
1909
+ {
1910
+ "type": "null"
1911
+ }
1912
+ ]
1913
+ }
1914
+ }
1915
+ },
1916
+ "_Tables": {
1917
+ "type": "object",
1918
+ "required": [
1919
+ "name"
1920
+ ],
1921
+ "additionalProperties": false,
1922
+ "properties": {
1923
+ "columns": {
1924
+ "type": [
1925
+ "array",
1926
+ "null"
1927
+ ],
1928
+ "items": {
1929
+ "$ref": "#/definitions/ColumnProperties"
1930
+ }
1931
+ },
1932
+ "config": {
1933
+ "anyOf": [
1934
+ {
1935
+ "$ref": "#/definitions/__TablesConfig"
1936
+ },
1937
+ {
1938
+ "type": "null"
1939
+ }
1940
+ ]
1941
+ },
1942
+ "data_tests": {
1943
+ "type": [
1944
+ "array",
1945
+ "null"
1946
+ ],
1947
+ "items": {
1948
+ "$ref": "#/definitions/DataTests"
1949
+ }
1950
+ },
1951
+ "description": {
1952
+ "type": [
1953
+ "string",
1954
+ "null"
1955
+ ]
1956
+ },
1957
+ "external": true,
1958
+ "freshness": {
1959
+ "anyOf": [
1960
+ {
1961
+ "$ref": "#/definitions/FreshnessDefinition"
1962
+ },
1963
+ {
1964
+ "type": "null"
1965
+ }
1966
+ ]
1967
+ },
1968
+ "identifier": {
1969
+ "type": [
1970
+ "string",
1971
+ "null"
1972
+ ]
1973
+ },
1974
+ "loaded_at_field": {
1975
+ "type": [
1976
+ "string",
1977
+ "null"
1978
+ ]
1979
+ },
1980
+ "loaded_at_query": {
1981
+ "type": [
1982
+ "string",
1983
+ "null"
1984
+ ]
1985
+ },
1986
+ "loader": {
1987
+ "type": [
1988
+ "string",
1989
+ "null"
1990
+ ]
1991
+ },
1992
+ "meta": true,
1993
+ "name": {
1994
+ "type": "string"
1995
+ },
1996
+ "quoting": {
1997
+ "anyOf": [
1998
+ {
1999
+ "$ref": "#/definitions/__TablesQuoting"
2000
+ },
2001
+ {
2002
+ "type": "null"
2003
+ }
2004
+ ]
2005
+ },
2006
+ "tags": {
2007
+ "anyOf": [
2008
+ {
2009
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2010
+ },
2011
+ {
2012
+ "type": "null"
2013
+ }
2014
+ ]
2015
+ },
2016
+ "tests": {
2017
+ "type": [
2018
+ "array",
2019
+ "null"
2020
+ ],
2021
+ "items": {
2022
+ "$ref": "#/definitions/DataTests"
2023
+ }
2024
+ }
2025
+ }
2026
+ },
2027
+ "_UnitTests": {
2028
+ "type": "object",
2029
+ "required": [
2030
+ "expect",
2031
+ "model",
2032
+ "name"
2033
+ ],
2034
+ "additionalProperties": false,
2035
+ "properties": {
2036
+ "config": {
2037
+ "anyOf": [
2038
+ {
2039
+ "$ref": "#/definitions/__UnitTestsConfig"
2040
+ },
2041
+ {
2042
+ "type": "null"
2043
+ }
2044
+ ]
2045
+ },
2046
+ "description": {
2047
+ "type": [
2048
+ "string",
2049
+ "null"
2050
+ ]
2051
+ },
2052
+ "expect": {
2053
+ "$ref": "#/definitions/__UnitTestsExpect"
2054
+ },
2055
+ "given": {
2056
+ "type": [
2057
+ "array",
2058
+ "null"
2059
+ ],
2060
+ "items": {
2061
+ "$ref": "#/definitions/_Given"
2062
+ }
2063
+ },
2064
+ "model": {
2065
+ "type": "string"
2066
+ },
2067
+ "name": {
2068
+ "type": "string"
2069
+ },
2070
+ "overrides": {
2071
+ "anyOf": [
2072
+ {
2073
+ "$ref": "#/definitions/__UnitTestsOverrides"
2074
+ },
2075
+ {
2076
+ "type": "null"
2077
+ }
2078
+ ]
2079
+ },
2080
+ "versions": true
2081
+ }
2082
+ },
2083
+ "_Versions": {
2084
+ "type": "object",
2085
+ "required": [
2086
+ "v"
2087
+ ],
2088
+ "properties": {
2089
+ "v": true
2090
+ },
2091
+ "additionalProperties": true
2092
+ },
2093
+ "__AnalysesConfig": {
2094
+ "type": "object",
2095
+ "properties": {
2096
+ "tags": {
2097
+ "anyOf": [
2098
+ {
2099
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2100
+ },
2101
+ {
2102
+ "type": "null"
2103
+ }
2104
+ ]
2105
+ }
2106
+ }
2107
+ },
2108
+ "__ExportConfigExportAs": {
2109
+ "type": "string",
2110
+ "enum": [
2111
+ "table",
2112
+ "view",
2113
+ "cache"
2114
+ ]
2115
+ },
2116
+ "__ExposuresOwner": {
2117
+ "type": "object",
2118
+ "properties": {
2119
+ "email": {
2120
+ "type": [
2121
+ "string",
2122
+ "null"
2123
+ ]
2124
+ },
2125
+ "name": {
2126
+ "type": [
2127
+ "string",
2128
+ "null"
2129
+ ]
2130
+ }
2131
+ }
2132
+ },
2133
+ "__GroupsOwner": {
2134
+ "type": "object",
2135
+ "properties": {
2136
+ "email": {
2137
+ "type": [
2138
+ "string",
2139
+ "null"
2140
+ ]
2141
+ },
2142
+ "name": {
2143
+ "type": [
2144
+ "string",
2145
+ "null"
2146
+ ]
2147
+ }
2148
+ },
2149
+ "additionalProperties": true
2150
+ },
2151
+ "__ModelsTimeSpine": {
2152
+ "type": "object",
2153
+ "required": [
2154
+ "standard_granularity_column"
2155
+ ],
2156
+ "properties": {
2157
+ "custom_granularities": {
2158
+ "type": [
2159
+ "array",
2160
+ "null"
2161
+ ],
2162
+ "items": {
2163
+ "$ref": "#/definitions/CustomGranularity"
2164
+ }
2165
+ },
2166
+ "standard_granularity_column": {
2167
+ "type": "string"
2168
+ }
2169
+ }
2170
+ },
2171
+ "__SavedQueriesConfig": {
2172
+ "type": "object",
2173
+ "additionalProperties": false,
2174
+ "properties": {
2175
+ "cache": {
2176
+ "anyOf": [
2177
+ {
2178
+ "$ref": "#/definitions/___SavedQueriesConfigCache"
2179
+ },
2180
+ {
2181
+ "type": "null"
2182
+ }
2183
+ ]
2184
+ },
2185
+ "enabled": {
2186
+ "anyOf": [
2187
+ {
2188
+ "$ref": "#/definitions/BooleanOrJinjaString"
2189
+ },
2190
+ {
2191
+ "type": "null"
2192
+ }
2193
+ ]
2194
+ },
2195
+ "meta": true
2196
+ }
2197
+ },
2198
+ "__SavedQueriesQueryParams": {
2199
+ "type": "object",
2200
+ "properties": {
2201
+ "dimensions": {
2202
+ "type": [
2203
+ "array",
2204
+ "null"
2205
+ ],
2206
+ "items": {
2207
+ "type": "string"
2208
+ }
2209
+ },
2210
+ "group_by": {
2211
+ "type": [
2212
+ "array",
2213
+ "null"
2214
+ ],
2215
+ "items": {
2216
+ "type": "string"
2217
+ }
2218
+ },
2219
+ "metrics": {
2220
+ "type": [
2221
+ "array",
2222
+ "null"
2223
+ ],
2224
+ "items": {
2225
+ "type": "string"
2226
+ }
2227
+ },
2228
+ "where": {
2229
+ "type": [
2230
+ "array",
2231
+ "null"
2232
+ ],
2233
+ "items": {
2234
+ "type": "string"
2235
+ }
2236
+ }
2237
+ }
2238
+ },
2239
+ "__SeedsConfig": {
2240
+ "type": "object",
2241
+ "additionalProperties": false,
2242
+ "properties": {
2243
+ "column_types": true,
2244
+ "copy_grants": {
2245
+ "anyOf": [
2246
+ {
2247
+ "$ref": "#/definitions/BooleanOrJinjaString"
2248
+ },
2249
+ {
2250
+ "type": "null"
2251
+ }
2252
+ ]
2253
+ },
2254
+ "database": {
2255
+ "type": [
2256
+ "string",
2257
+ "null"
2258
+ ]
2259
+ },
2260
+ "enabled": {
2261
+ "anyOf": [
2262
+ {
2263
+ "$ref": "#/definitions/BooleanOrJinjaString"
2264
+ },
2265
+ {
2266
+ "type": "null"
2267
+ }
2268
+ ]
2269
+ },
2270
+ "grants": true,
2271
+ "quote_columns": {
2272
+ "anyOf": [
2273
+ {
2274
+ "$ref": "#/definitions/BooleanOrJinjaString"
2275
+ },
2276
+ {
2277
+ "type": "null"
2278
+ }
2279
+ ]
2280
+ },
2281
+ "schema": {
2282
+ "type": [
2283
+ "string",
2284
+ "null"
2285
+ ]
2286
+ }
2287
+ }
2288
+ },
2289
+ "__SemanticModelsDefaults": {
2290
+ "type": "object",
2291
+ "properties": {
2292
+ "agg_time_dimension": {
2293
+ "type": [
2294
+ "string",
2295
+ "null"
2296
+ ]
2297
+ }
2298
+ }
2299
+ },
2300
+ "__SnapshotsConfig": {
2301
+ "type": "object",
2302
+ "additionalProperties": false,
2303
+ "properties": {
2304
+ "alias": {
2305
+ "type": [
2306
+ "string",
2307
+ "null"
2308
+ ]
2309
+ },
2310
+ "check_cols": {
2311
+ "anyOf": [
2312
+ {
2313
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2314
+ },
2315
+ {
2316
+ "type": "null"
2317
+ }
2318
+ ]
2319
+ },
2320
+ "dbt_valid_to_current": {
2321
+ "type": [
2322
+ "string",
2323
+ "null"
2324
+ ]
2325
+ },
2326
+ "enabled": {
2327
+ "anyOf": [
2328
+ {
2329
+ "$ref": "#/definitions/BooleanOrJinjaString"
2330
+ },
2331
+ {
2332
+ "type": "null"
2333
+ }
2334
+ ]
2335
+ },
2336
+ "grants": true,
2337
+ "meta": true,
2338
+ "persist_docs": {
2339
+ "anyOf": [
2340
+ {
2341
+ "$ref": "#/definitions/PersistDocsConfig"
2342
+ },
2343
+ {
2344
+ "type": "null"
2345
+ }
2346
+ ]
2347
+ },
2348
+ "post-hook": {
2349
+ "anyOf": [
2350
+ {
2351
+ "$ref": "#/definitions/Hooks"
2352
+ },
2353
+ {
2354
+ "type": "null"
2355
+ }
2356
+ ]
2357
+ },
2358
+ "pre-hook": {
2359
+ "anyOf": [
2360
+ {
2361
+ "$ref": "#/definitions/Hooks"
2362
+ },
2363
+ {
2364
+ "type": "null"
2365
+ }
2366
+ ]
2367
+ },
2368
+ "quote_columns": {
2369
+ "anyOf": [
2370
+ {
2371
+ "$ref": "#/definitions/BooleanOrJinjaString"
2372
+ },
2373
+ {
2374
+ "type": "null"
2375
+ }
2376
+ ]
2377
+ },
2378
+ "snapshot_meta_column_names": {
2379
+ "anyOf": [
2380
+ {
2381
+ "$ref": "#/definitions/___SnapshotsConfigSnapshotMetaColumnNames"
2382
+ },
2383
+ {
2384
+ "type": "null"
2385
+ }
2386
+ ]
2387
+ },
2388
+ "strategy": {
2389
+ "type": [
2390
+ "string",
2391
+ "null"
2392
+ ]
2393
+ },
2394
+ "tags": {
2395
+ "anyOf": [
2396
+ {
2397
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2398
+ },
2399
+ {
2400
+ "type": "null"
2401
+ }
2402
+ ]
2403
+ },
2404
+ "target_database": {
2405
+ "type": [
2406
+ "string",
2407
+ "null"
2408
+ ]
2409
+ },
2410
+ "target_schema": {
2411
+ "type": [
2412
+ "string",
2413
+ "null"
2414
+ ]
2415
+ },
2416
+ "unique_key": {
2417
+ "anyOf": [
2418
+ {
2419
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2420
+ },
2421
+ {
2422
+ "type": "null"
2423
+ }
2424
+ ]
2425
+ },
2426
+ "updated_at": {
2427
+ "type": [
2428
+ "string",
2429
+ "null"
2430
+ ]
2431
+ }
2432
+ }
2433
+ },
2434
+ "__SourcesConfig": {
2435
+ "type": "object",
2436
+ "additionalProperties": false,
2437
+ "properties": {
2438
+ "enabled": {
2439
+ "anyOf": [
2440
+ {
2441
+ "$ref": "#/definitions/BooleanOrJinjaString"
2442
+ },
2443
+ {
2444
+ "type": "null"
2445
+ }
2446
+ ]
2447
+ },
2448
+ "event_time": {
2449
+ "type": [
2450
+ "string",
2451
+ "null"
2452
+ ]
2453
+ }
2454
+ }
2455
+ },
2456
+ "__SourcesQuoting": {
2457
+ "type": "object",
2458
+ "properties": {
2459
+ "database": {
2460
+ "anyOf": [
2461
+ {
2462
+ "$ref": "#/definitions/BooleanOrJinjaString"
2463
+ },
2464
+ {
2465
+ "type": "null"
2466
+ }
2467
+ ]
2468
+ },
2469
+ "identifier": {
2470
+ "anyOf": [
2471
+ {
2472
+ "$ref": "#/definitions/BooleanOrJinjaString"
2473
+ },
2474
+ {
2475
+ "type": "null"
2476
+ }
2477
+ ]
2478
+ },
2479
+ "schema": {
2480
+ "anyOf": [
2481
+ {
2482
+ "$ref": "#/definitions/BooleanOrJinjaString"
2483
+ },
2484
+ {
2485
+ "type": "null"
2486
+ }
2487
+ ]
2488
+ }
2489
+ }
2490
+ },
2491
+ "__TablesConfig": {
2492
+ "type": "object",
2493
+ "properties": {
2494
+ "event_time": {
2495
+ "type": [
2496
+ "string",
2497
+ "null"
2498
+ ]
2499
+ }
2500
+ },
2501
+ "additionalProperties": true
2502
+ },
2503
+ "__TablesQuoting": {
2504
+ "type": "object",
2505
+ "properties": {
2506
+ "database": {
2507
+ "anyOf": [
2508
+ {
2509
+ "$ref": "#/definitions/BooleanOrJinjaString"
2510
+ },
2511
+ {
2512
+ "type": "null"
2513
+ }
2514
+ ]
2515
+ },
2516
+ "identifier": {
2517
+ "anyOf": [
2518
+ {
2519
+ "$ref": "#/definitions/BooleanOrJinjaString"
2520
+ },
2521
+ {
2522
+ "type": "null"
2523
+ }
2524
+ ]
2525
+ },
2526
+ "schema": {
2527
+ "anyOf": [
2528
+ {
2529
+ "$ref": "#/definitions/BooleanOrJinjaString"
2530
+ },
2531
+ {
2532
+ "type": "null"
2533
+ }
2534
+ ]
2535
+ }
2536
+ }
2537
+ },
2538
+ "__UnitTestsConfig": {
2539
+ "type": "object",
2540
+ "additionalProperties": false,
2541
+ "properties": {
2542
+ "enabled": {
2543
+ "anyOf": [
2544
+ {
2545
+ "$ref": "#/definitions/BooleanOrJinjaString"
2546
+ },
2547
+ {
2548
+ "type": "null"
2549
+ }
2550
+ ]
2551
+ },
2552
+ "meta": true,
2553
+ "tags": {
2554
+ "anyOf": [
2555
+ {
2556
+ "$ref": "#/definitions/StringOrArrayOfStrings"
2557
+ },
2558
+ {
2559
+ "type": "null"
2560
+ }
2561
+ ]
2562
+ }
2563
+ }
2564
+ },
2565
+ "__UnitTestsExpect": {
2566
+ "type": "object",
2567
+ "properties": {
2568
+ "fixture": {
2569
+ "type": [
2570
+ "string",
2571
+ "null"
2572
+ ]
2573
+ },
2574
+ "format": {
2575
+ "type": [
2576
+ "string",
2577
+ "null"
2578
+ ]
2579
+ },
2580
+ "rows": true
2581
+ }
2582
+ },
2583
+ "__UnitTestsOverrides": {
2584
+ "type": "object",
2585
+ "properties": {
2586
+ "env_vars": true,
2587
+ "macros": true,
2588
+ "vars": true
2589
+ }
2590
+ },
2591
+ "___SavedQueriesConfigCache": {
2592
+ "type": "object",
2593
+ "properties": {
2594
+ "enabled": {
2595
+ "anyOf": [
2596
+ {
2597
+ "$ref": "#/definitions/BooleanOrJinjaString"
2598
+ },
2599
+ {
2600
+ "type": "null"
2601
+ }
2602
+ ]
2603
+ }
2604
+ }
2605
+ },
2606
+ "___SnapshotsConfigSnapshotMetaColumnNames": {
2607
+ "type": "object",
2608
+ "properties": {
2609
+ "dbt_scd_id": {
2610
+ "type": [
2611
+ "string",
2612
+ "null"
2613
+ ]
2614
+ },
2615
+ "dbt_updated_at": {
2616
+ "type": [
2617
+ "string",
2618
+ "null"
2619
+ ]
2620
+ },
2621
+ "dbt_valid_from": {
2622
+ "type": [
2623
+ "string",
2624
+ "null"
2625
+ ]
2626
+ },
2627
+ "dbt_valid_to": {
2628
+ "type": [
2629
+ "string",
2630
+ "null"
2631
+ ]
2632
+ }
2633
+ }
2634
+ }
2635
+ }
2636
+ }