collate-dbt-artifacts-parser 0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. collate_dbt_artifacts_parser/__init__.py +21 -0
  2. collate_dbt_artifacts_parser/parser.py +390 -0
  3. collate_dbt_artifacts_parser/parsers/__init__.py +16 -0
  4. collate_dbt_artifacts_parser/parsers/base.py +26 -0
  5. collate_dbt_artifacts_parser/parsers/catalog/__init__.py +16 -0
  6. collate_dbt_artifacts_parser/parsers/catalog/catalog_cloud.py +85 -0
  7. collate_dbt_artifacts_parser/parsers/catalog/catalog_v1.py +85 -0
  8. collate_dbt_artifacts_parser/parsers/manifest/__init__.py +16 -0
  9. collate_dbt_artifacts_parser/parsers/manifest/manifest_cloud.py +4172 -0
  10. collate_dbt_artifacts_parser/parsers/manifest/manifest_v1.py +1548 -0
  11. collate_dbt_artifacts_parser/parsers/manifest/manifest_v10.py +1667 -0
  12. collate_dbt_artifacts_parser/parsers/manifest/manifest_v11.py +1449 -0
  13. collate_dbt_artifacts_parser/parsers/manifest/manifest_v12.py +4182 -0
  14. collate_dbt_artifacts_parser/parsers/manifest/manifest_v2.py +1553 -0
  15. collate_dbt_artifacts_parser/parsers/manifest/manifest_v3.py +1565 -0
  16. collate_dbt_artifacts_parser/parsers/manifest/manifest_v4.py +1748 -0
  17. collate_dbt_artifacts_parser/parsers/manifest/manifest_v5.py +1763 -0
  18. collate_dbt_artifacts_parser/parsers/manifest/manifest_v6.py +1799 -0
  19. collate_dbt_artifacts_parser/parsers/manifest/manifest_v7.py +1917 -0
  20. collate_dbt_artifacts_parser/parsers/manifest/manifest_v8.py +1258 -0
  21. collate_dbt_artifacts_parser/parsers/manifest/manifest_v9.py +1431 -0
  22. collate_dbt_artifacts_parser/parsers/run_results/__init__.py +16 -0
  23. collate_dbt_artifacts_parser/parsers/run_results/run_results_cloud.py +90 -0
  24. collate_dbt_artifacts_parser/parsers/run_results/run_results_v1.py +75 -0
  25. collate_dbt_artifacts_parser/parsers/run_results/run_results_v2.py +76 -0
  26. collate_dbt_artifacts_parser/parsers/run_results/run_results_v3.py +147 -0
  27. collate_dbt_artifacts_parser/parsers/run_results/run_results_v4.py +147 -0
  28. collate_dbt_artifacts_parser/parsers/run_results/run_results_v5.py +79 -0
  29. collate_dbt_artifacts_parser/parsers/run_results/run_results_v6.py +89 -0
  30. collate_dbt_artifacts_parser/parsers/sources/__init__.py +16 -0
  31. collate_dbt_artifacts_parser/parsers/sources/sources_cloud.py +107 -0
  32. collate_dbt_artifacts_parser/parsers/sources/sources_v1.py +88 -0
  33. collate_dbt_artifacts_parser/parsers/sources/sources_v2.py +100 -0
  34. collate_dbt_artifacts_parser/parsers/sources/sources_v3.py +107 -0
  35. collate_dbt_artifacts_parser/parsers/utils.py +67 -0
  36. collate_dbt_artifacts_parser/parsers/version_map.py +124 -0
  37. collate_dbt_artifacts_parser/resources/catalog/catalog_cloud.json +425 -0
  38. collate_dbt_artifacts_parser/resources/catalog/catalog_v1.json +425 -0
  39. collate_dbt_artifacts_parser/resources/manifest/manifest_cloud.json +22719 -0
  40. collate_dbt_artifacts_parser/resources/manifest/manifest_v1.json +5074 -0
  41. collate_dbt_artifacts_parser/resources/manifest/manifest_v10.json +5638 -0
  42. collate_dbt_artifacts_parser/resources/manifest/manifest_v11.json +6256 -0
  43. collate_dbt_artifacts_parser/resources/manifest/manifest_v12.json +22727 -0
  44. collate_dbt_artifacts_parser/resources/manifest/manifest_v2.json +5128 -0
  45. collate_dbt_artifacts_parser/resources/manifest/manifest_v3.json +5225 -0
  46. collate_dbt_artifacts_parser/resources/manifest/manifest_v4.json +5939 -0
  47. collate_dbt_artifacts_parser/resources/manifest/manifest_v5.json +5984 -0
  48. collate_dbt_artifacts_parser/resources/manifest/manifest_v6.json +6209 -0
  49. collate_dbt_artifacts_parser/resources/manifest/manifest_v7.json +6575 -0
  50. collate_dbt_artifacts_parser/resources/manifest/manifest_v8.json +4434 -0
  51. collate_dbt_artifacts_parser/resources/manifest/manifest_v9.json +4965 -0
  52. collate_dbt_artifacts_parser/resources/run-results/run-results_cloud.json +265 -0
  53. collate_dbt_artifacts_parser/resources/run-results/run-results_v1.json +183 -0
  54. collate_dbt_artifacts_parser/resources/run-results/run-results_v2.json +190 -0
  55. collate_dbt_artifacts_parser/resources/run-results/run-results_v3.json +381 -0
  56. collate_dbt_artifacts_parser/resources/run-results/run-results_v4.json +400 -0
  57. collate_dbt_artifacts_parser/resources/run-results/run-results_v5.json +229 -0
  58. collate_dbt_artifacts_parser/resources/run-results/run-results_v6.json +264 -0
  59. collate_dbt_artifacts_parser/resources/sources/sources_cloud.json +280 -0
  60. collate_dbt_artifacts_parser/resources/sources/sources_v1.json +212 -0
  61. collate_dbt_artifacts_parser/resources/sources/sources_v2.json +261 -0
  62. collate_dbt_artifacts_parser/resources/sources/sources_v3.json +280 -0
  63. collate_dbt_artifacts_parser/utils.py +27 -0
  64. collate_dbt_artifacts_parser-0.1.dist-info/METADATA +531 -0
  65. collate_dbt_artifacts_parser-0.1.dist-info/RECORD +67 -0
  66. collate_dbt_artifacts_parser-0.1.dist-info/WHEEL +4 -0
  67. collate_dbt_artifacts_parser-0.1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,4434 @@
1
+ {
2
+ "type": "object",
3
+ "required": [
4
+ "metadata",
5
+ "nodes",
6
+ "sources",
7
+ "macros",
8
+ "docs",
9
+ "exposures",
10
+ "metrics",
11
+ "selectors"
12
+ ],
13
+ "properties": {
14
+ "metadata": {
15
+ "$ref": "#/definitions/ManifestMetadata",
16
+ "description": "Metadata about the manifest"
17
+ },
18
+ "nodes": {
19
+ "type": "object",
20
+ "additionalProperties": {
21
+ "oneOf": [
22
+ {
23
+ "$ref": "#/definitions/AnalysisNode"
24
+ },
25
+ {
26
+ "$ref": "#/definitions/SingularTestNode"
27
+ },
28
+ {
29
+ "$ref": "#/definitions/HookNode"
30
+ },
31
+ {
32
+ "$ref": "#/definitions/ModelNode"
33
+ },
34
+ {
35
+ "$ref": "#/definitions/RPCNode"
36
+ },
37
+ {
38
+ "$ref": "#/definitions/SqlNode"
39
+ },
40
+ {
41
+ "$ref": "#/definitions/GenericTestNode"
42
+ },
43
+ {
44
+ "$ref": "#/definitions/SnapshotNode"
45
+ },
46
+ {
47
+ "$ref": "#/definitions/SeedNode"
48
+ }
49
+ ]
50
+ },
51
+ "description": "The nodes defined in the dbt project and its dependencies"
52
+ },
53
+ "sources": {
54
+ "type": "object",
55
+ "additionalProperties": {
56
+ "$ref": "#/definitions/SourceDefinition"
57
+ },
58
+ "description": "The sources defined in the dbt project and its dependencies"
59
+ },
60
+ "macros": {
61
+ "type": "object",
62
+ "additionalProperties": {
63
+ "$ref": "#/definitions/Macro"
64
+ },
65
+ "description": "The macros defined in the dbt project and its dependencies"
66
+ },
67
+ "docs": {
68
+ "type": "object",
69
+ "additionalProperties": {
70
+ "$ref": "#/definitions/Documentation"
71
+ },
72
+ "description": "The docs defined in the dbt project and its dependencies"
73
+ },
74
+ "exposures": {
75
+ "type": "object",
76
+ "additionalProperties": {
77
+ "$ref": "#/definitions/Exposure"
78
+ },
79
+ "description": "The exposures defined in the dbt project and its dependencies"
80
+ },
81
+ "metrics": {
82
+ "type": "object",
83
+ "additionalProperties": {
84
+ "$ref": "#/definitions/Metric"
85
+ },
86
+ "description": "The metrics defined in the dbt project and its dependencies"
87
+ },
88
+ "selectors": {
89
+ "type": "object",
90
+ "description": "The selectors defined in selectors.yml"
91
+ },
92
+ "disabled": {
93
+ "oneOf": [
94
+ {
95
+ "type": "object",
96
+ "additionalProperties": {
97
+ "type": "array",
98
+ "items": {
99
+ "oneOf": [
100
+ {
101
+ "$ref": "#/definitions/AnalysisNode"
102
+ },
103
+ {
104
+ "$ref": "#/definitions/SingularTestNode"
105
+ },
106
+ {
107
+ "$ref": "#/definitions/HookNode"
108
+ },
109
+ {
110
+ "$ref": "#/definitions/ModelNode"
111
+ },
112
+ {
113
+ "$ref": "#/definitions/RPCNode"
114
+ },
115
+ {
116
+ "$ref": "#/definitions/SqlNode"
117
+ },
118
+ {
119
+ "$ref": "#/definitions/GenericTestNode"
120
+ },
121
+ {
122
+ "$ref": "#/definitions/SnapshotNode"
123
+ },
124
+ {
125
+ "$ref": "#/definitions/SeedNode"
126
+ },
127
+ {
128
+ "$ref": "#/definitions/SourceDefinition"
129
+ }
130
+ ]
131
+ }
132
+ }
133
+ },
134
+ {
135
+ "type": "null"
136
+ }
137
+ ],
138
+ "description": "A mapping of the disabled nodes in the target"
139
+ },
140
+ "parent_map": {
141
+ "oneOf": [
142
+ {
143
+ "type": "object",
144
+ "additionalProperties": {
145
+ "type": "array",
146
+ "items": {
147
+ "type": "string"
148
+ }
149
+ }
150
+ },
151
+ {
152
+ "type": "null"
153
+ }
154
+ ],
155
+ "description": "A mapping from\u00a0child nodes to their dependencies"
156
+ },
157
+ "child_map": {
158
+ "oneOf": [
159
+ {
160
+ "type": "object",
161
+ "additionalProperties": {
162
+ "type": "array",
163
+ "items": {
164
+ "type": "string"
165
+ }
166
+ }
167
+ },
168
+ {
169
+ "type": "null"
170
+ }
171
+ ],
172
+ "description": "A mapping from parent nodes to their dependents"
173
+ }
174
+ },
175
+ "additionalProperties": false,
176
+ "description": "WritableManifest(metadata: dbt.contracts.graph.manifest.ManifestMetadata, nodes: Mapping[str, Union[dbt.contracts.graph.nodes.AnalysisNode, dbt.contracts.graph.nodes.SingularTestNode, dbt.contracts.graph.nodes.HookNode, dbt.contracts.graph.nodes.ModelNode, dbt.contracts.graph.nodes.RPCNode, dbt.contracts.graph.nodes.SqlNode, dbt.contracts.graph.nodes.GenericTestNode, dbt.contracts.graph.nodes.SnapshotNode, dbt.contracts.graph.nodes.SeedNode]], sources: Mapping[str, dbt.contracts.graph.nodes.SourceDefinition], macros: Mapping[str, dbt.contracts.graph.nodes.Macro], docs: Mapping[str, dbt.contracts.graph.nodes.Documentation], exposures: Mapping[str, dbt.contracts.graph.nodes.Exposure], metrics: Mapping[str, dbt.contracts.graph.nodes.Metric], selectors: Mapping[str, Any], disabled: Optional[Mapping[str, List[Union[dbt.contracts.graph.nodes.AnalysisNode, dbt.contracts.graph.nodes.SingularTestNode, dbt.contracts.graph.nodes.HookNode, dbt.contracts.graph.nodes.ModelNode, dbt.contracts.graph.nodes.RPCNode, dbt.contracts.graph.nodes.SqlNode, dbt.contracts.graph.nodes.GenericTestNode, dbt.contracts.graph.nodes.SnapshotNode, dbt.contracts.graph.nodes.SeedNode, dbt.contracts.graph.nodes.SourceDefinition]]]], parent_map: Optional[Dict[str, List[str]]], child_map: Optional[Dict[str, List[str]]])",
177
+ "definitions": {
178
+ "ManifestMetadata": {
179
+ "type": "object",
180
+ "required": [],
181
+ "properties": {
182
+ "dbt_schema_version": {
183
+ "type": "string",
184
+ "default": "https://schemas.getdbt.com/dbt/manifest/v8.json"
185
+ },
186
+ "dbt_version": {
187
+ "type": "string",
188
+ "default": "1.4.1"
189
+ },
190
+ "generated_at": {
191
+ "type": "string",
192
+ "format": "date-time",
193
+ "default": "2023-02-09T10:04:47.350768Z"
194
+ },
195
+ "invocation_id": {
196
+ "oneOf": [
197
+ {
198
+ "type": "string"
199
+ },
200
+ {
201
+ "type": "null"
202
+ }
203
+ ],
204
+ "default": "f795bc66-f417-4007-af6e-f2e513d33790"
205
+ },
206
+ "env": {
207
+ "type": "object",
208
+ "additionalProperties": {
209
+ "type": "string"
210
+ },
211
+ "default": {}
212
+ },
213
+ "project_id": {
214
+ "oneOf": [
215
+ {
216
+ "type": "string"
217
+ },
218
+ {
219
+ "type": "null"
220
+ }
221
+ ],
222
+ "description": "A unique identifier for the project"
223
+ },
224
+ "user_id": {
225
+ "oneOf": [
226
+ {
227
+ "type": "string",
228
+ "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
229
+ },
230
+ {
231
+ "type": "null"
232
+ }
233
+ ],
234
+ "description": "A unique identifier for the user"
235
+ },
236
+ "send_anonymous_usage_stats": {
237
+ "oneOf": [
238
+ {
239
+ "type": "boolean"
240
+ },
241
+ {
242
+ "type": "null"
243
+ }
244
+ ],
245
+ "description": "Whether dbt is configured to send anonymous usage statistics"
246
+ },
247
+ "adapter_type": {
248
+ "oneOf": [
249
+ {
250
+ "type": "string"
251
+ },
252
+ {
253
+ "type": "null"
254
+ }
255
+ ],
256
+ "description": "The type name of the adapter"
257
+ }
258
+ },
259
+ "additionalProperties": false,
260
+ "description": "Metadata for the manifest."
261
+ },
262
+ "AnalysisNode": {
263
+ "type": "object",
264
+ "required": [
265
+ "schema",
266
+ "name",
267
+ "resource_type",
268
+ "package_name",
269
+ "path",
270
+ "original_file_path",
271
+ "unique_id",
272
+ "fqn",
273
+ "alias",
274
+ "checksum"
275
+ ],
276
+ "properties": {
277
+ "database": {
278
+ "oneOf": [
279
+ {
280
+ "type": "string"
281
+ },
282
+ {
283
+ "type": "null"
284
+ }
285
+ ]
286
+ },
287
+ "schema": {
288
+ "type": "string"
289
+ },
290
+ "name": {
291
+ "type": "string"
292
+ },
293
+ "resource_type": {
294
+ "type": "string",
295
+ "enum": [
296
+ "analysis"
297
+ ]
298
+ },
299
+ "package_name": {
300
+ "type": "string"
301
+ },
302
+ "path": {
303
+ "type": "string"
304
+ },
305
+ "original_file_path": {
306
+ "type": "string"
307
+ },
308
+ "unique_id": {
309
+ "type": "string"
310
+ },
311
+ "fqn": {
312
+ "type": "array",
313
+ "items": {
314
+ "type": "string"
315
+ }
316
+ },
317
+ "alias": {
318
+ "type": "string"
319
+ },
320
+ "checksum": {
321
+ "$ref": "#/definitions/FileHash"
322
+ },
323
+ "config": {
324
+ "$ref": "#/definitions/NodeConfig",
325
+ "default": {
326
+ "enabled": true,
327
+ "alias": null,
328
+ "schema": null,
329
+ "database": null,
330
+ "tags": [],
331
+ "meta": {},
332
+ "materialized": "view",
333
+ "incremental_strategy": null,
334
+ "persist_docs": {},
335
+ "quoting": {},
336
+ "column_types": {},
337
+ "full_refresh": null,
338
+ "unique_key": null,
339
+ "on_schema_change": "ignore",
340
+ "grants": {},
341
+ "packages": [],
342
+ "docs": {
343
+ "show": true,
344
+ "node_color": null
345
+ },
346
+ "post-hook": [],
347
+ "pre-hook": []
348
+ }
349
+ },
350
+ "tags": {
351
+ "type": "array",
352
+ "items": {
353
+ "type": "string"
354
+ },
355
+ "default": []
356
+ },
357
+ "description": {
358
+ "type": "string",
359
+ "default": ""
360
+ },
361
+ "columns": {
362
+ "type": "object",
363
+ "additionalProperties": {
364
+ "$ref": "#/definitions/ColumnInfo"
365
+ },
366
+ "default": {}
367
+ },
368
+ "meta": {
369
+ "type": "object",
370
+ "default": {}
371
+ },
372
+ "docs": {
373
+ "$ref": "#/definitions/Docs",
374
+ "default": {
375
+ "show": true,
376
+ "node_color": null
377
+ }
378
+ },
379
+ "patch_path": {
380
+ "oneOf": [
381
+ {
382
+ "type": "string"
383
+ },
384
+ {
385
+ "type": "null"
386
+ }
387
+ ]
388
+ },
389
+ "build_path": {
390
+ "oneOf": [
391
+ {
392
+ "type": "string"
393
+ },
394
+ {
395
+ "type": "null"
396
+ }
397
+ ]
398
+ },
399
+ "deferred": {
400
+ "type": "boolean",
401
+ "default": false
402
+ },
403
+ "unrendered_config": {
404
+ "type": "object",
405
+ "default": {}
406
+ },
407
+ "created_at": {
408
+ "type": "number",
409
+ "default": 1675937087.353436
410
+ },
411
+ "config_call_dict": {
412
+ "type": "object",
413
+ "default": {}
414
+ },
415
+ "relation_name": {
416
+ "oneOf": [
417
+ {
418
+ "type": "string"
419
+ },
420
+ {
421
+ "type": "null"
422
+ }
423
+ ]
424
+ },
425
+ "raw_code": {
426
+ "type": "string",
427
+ "default": ""
428
+ },
429
+ "language": {
430
+ "type": "string",
431
+ "default": "sql"
432
+ },
433
+ "refs": {
434
+ "type": "array",
435
+ "items": {
436
+ "type": "array",
437
+ "items": {
438
+ "type": "string"
439
+ }
440
+ },
441
+ "default": []
442
+ },
443
+ "sources": {
444
+ "type": "array",
445
+ "items": {
446
+ "type": "array",
447
+ "items": {
448
+ "type": "string"
449
+ }
450
+ },
451
+ "default": []
452
+ },
453
+ "metrics": {
454
+ "type": "array",
455
+ "items": {
456
+ "type": "array",
457
+ "items": {
458
+ "type": "string"
459
+ }
460
+ },
461
+ "default": []
462
+ },
463
+ "depends_on": {
464
+ "$ref": "#/definitions/DependsOn",
465
+ "default": {
466
+ "macros": [],
467
+ "nodes": []
468
+ }
469
+ },
470
+ "compiled_path": {
471
+ "oneOf": [
472
+ {
473
+ "type": "string"
474
+ },
475
+ {
476
+ "type": "null"
477
+ }
478
+ ]
479
+ },
480
+ "compiled": {
481
+ "type": "boolean",
482
+ "default": false
483
+ },
484
+ "compiled_code": {
485
+ "oneOf": [
486
+ {
487
+ "type": "string"
488
+ },
489
+ {
490
+ "type": "null"
491
+ }
492
+ ]
493
+ },
494
+ "extra_ctes_injected": {
495
+ "type": "boolean",
496
+ "default": false
497
+ },
498
+ "extra_ctes": {
499
+ "type": "array",
500
+ "items": {
501
+ "$ref": "#/definitions/InjectedCTE"
502
+ },
503
+ "default": []
504
+ }
505
+ },
506
+ "additionalProperties": false,
507
+ "description": "AnalysisNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.NodeConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
508
+ },
509
+ "FileHash": {
510
+ "type": "object",
511
+ "required": [
512
+ "name",
513
+ "checksum"
514
+ ],
515
+ "properties": {
516
+ "name": {
517
+ "type": "string"
518
+ },
519
+ "checksum": {
520
+ "type": "string"
521
+ }
522
+ },
523
+ "additionalProperties": false,
524
+ "description": "FileHash(name: str, checksum: str)"
525
+ },
526
+ "NodeConfig": {
527
+ "type": "object",
528
+ "required": [],
529
+ "properties": {
530
+ "enabled": {
531
+ "type": "boolean",
532
+ "default": true
533
+ },
534
+ "alias": {
535
+ "oneOf": [
536
+ {
537
+ "type": "string"
538
+ },
539
+ {
540
+ "type": "null"
541
+ }
542
+ ]
543
+ },
544
+ "schema": {
545
+ "oneOf": [
546
+ {
547
+ "type": "string"
548
+ },
549
+ {
550
+ "type": "null"
551
+ }
552
+ ]
553
+ },
554
+ "database": {
555
+ "oneOf": [
556
+ {
557
+ "type": "string"
558
+ },
559
+ {
560
+ "type": "null"
561
+ }
562
+ ]
563
+ },
564
+ "tags": {
565
+ "oneOf": [
566
+ {
567
+ "type": "array",
568
+ "items": {
569
+ "type": "string"
570
+ }
571
+ },
572
+ {
573
+ "type": "string"
574
+ }
575
+ ],
576
+ "default": []
577
+ },
578
+ "meta": {
579
+ "type": "object",
580
+ "default": {}
581
+ },
582
+ "materialized": {
583
+ "type": "string",
584
+ "default": "view"
585
+ },
586
+ "incremental_strategy": {
587
+ "oneOf": [
588
+ {
589
+ "type": "string"
590
+ },
591
+ {
592
+ "type": "null"
593
+ }
594
+ ]
595
+ },
596
+ "persist_docs": {
597
+ "type": "object",
598
+ "default": {}
599
+ },
600
+ "post-hook": {
601
+ "type": "array",
602
+ "items": {
603
+ "$ref": "#/definitions/Hook"
604
+ },
605
+ "default": []
606
+ },
607
+ "pre-hook": {
608
+ "type": "array",
609
+ "items": {
610
+ "$ref": "#/definitions/Hook"
611
+ },
612
+ "default": []
613
+ },
614
+ "quoting": {
615
+ "type": "object",
616
+ "default": {}
617
+ },
618
+ "column_types": {
619
+ "type": "object",
620
+ "default": {}
621
+ },
622
+ "full_refresh": {
623
+ "oneOf": [
624
+ {
625
+ "type": "boolean"
626
+ },
627
+ {
628
+ "type": "null"
629
+ }
630
+ ]
631
+ },
632
+ "unique_key": {
633
+ "oneOf": [
634
+ {
635
+ "type": "string"
636
+ },
637
+ {
638
+ "type": "array",
639
+ "items": {
640
+ "type": "string"
641
+ }
642
+ },
643
+ {
644
+ "type": "null"
645
+ }
646
+ ]
647
+ },
648
+ "on_schema_change": {
649
+ "oneOf": [
650
+ {
651
+ "type": "string"
652
+ },
653
+ {
654
+ "type": "null"
655
+ }
656
+ ],
657
+ "default": "ignore"
658
+ },
659
+ "grants": {
660
+ "type": "object",
661
+ "default": {}
662
+ },
663
+ "packages": {
664
+ "type": "array",
665
+ "items": {
666
+ "type": "string"
667
+ },
668
+ "default": []
669
+ },
670
+ "docs": {
671
+ "$ref": "#/definitions/Docs",
672
+ "default": {
673
+ "show": true,
674
+ "node_color": null
675
+ }
676
+ }
677
+ },
678
+ "additionalProperties": true,
679
+ "description": "NodeConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True, alias: Optional[str] = None, schema: Optional[str] = None, database: Optional[str] = None, tags: Union[List[str], str] = <factory>, meta: Dict[str, Any] = <factory>, materialized: str = 'view', incremental_strategy: Optional[str] = None, persist_docs: Dict[str, Any] = <factory>, post_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, pre_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, quoting: Dict[str, Any] = <factory>, column_types: Dict[str, Any] = <factory>, full_refresh: Optional[bool] = None, unique_key: Union[str, List[str], NoneType] = None, on_schema_change: Optional[str] = 'ignore', grants: Dict[str, Any] = <factory>, packages: List[str] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>)"
680
+ },
681
+ "Hook": {
682
+ "type": "object",
683
+ "required": [
684
+ "sql"
685
+ ],
686
+ "properties": {
687
+ "sql": {
688
+ "type": "string"
689
+ },
690
+ "transaction": {
691
+ "type": "boolean",
692
+ "default": true
693
+ },
694
+ "index": {
695
+ "oneOf": [
696
+ {
697
+ "type": "integer"
698
+ },
699
+ {
700
+ "type": "null"
701
+ }
702
+ ]
703
+ }
704
+ },
705
+ "additionalProperties": false,
706
+ "description": "Hook(sql: str, transaction: bool = True, index: Optional[int] = None)"
707
+ },
708
+ "Docs": {
709
+ "type": "object",
710
+ "required": [],
711
+ "properties": {
712
+ "show": {
713
+ "type": "boolean",
714
+ "default": true
715
+ },
716
+ "node_color": {
717
+ "oneOf": [
718
+ {
719
+ "type": "string"
720
+ },
721
+ {
722
+ "type": "null"
723
+ }
724
+ ]
725
+ }
726
+ },
727
+ "additionalProperties": false,
728
+ "description": "Docs(show: bool = True, node_color: Optional[str] = None)"
729
+ },
730
+ "ColumnInfo": {
731
+ "type": "object",
732
+ "required": [
733
+ "name"
734
+ ],
735
+ "properties": {
736
+ "name": {
737
+ "type": "string"
738
+ },
739
+ "description": {
740
+ "type": "string",
741
+ "default": ""
742
+ },
743
+ "meta": {
744
+ "type": "object",
745
+ "default": {}
746
+ },
747
+ "data_type": {
748
+ "oneOf": [
749
+ {
750
+ "type": "string"
751
+ },
752
+ {
753
+ "type": "null"
754
+ }
755
+ ]
756
+ },
757
+ "quote": {
758
+ "oneOf": [
759
+ {
760
+ "type": "boolean"
761
+ },
762
+ {
763
+ "type": "null"
764
+ }
765
+ ]
766
+ },
767
+ "tags": {
768
+ "type": "array",
769
+ "items": {
770
+ "type": "string"
771
+ },
772
+ "default": []
773
+ }
774
+ },
775
+ "additionalProperties": true,
776
+ "description": "Used in all ManifestNodes and SourceDefinition"
777
+ },
778
+ "DependsOn": {
779
+ "type": "object",
780
+ "required": [],
781
+ "properties": {
782
+ "macros": {
783
+ "type": "array",
784
+ "items": {
785
+ "type": "string"
786
+ },
787
+ "default": []
788
+ },
789
+ "nodes": {
790
+ "type": "array",
791
+ "items": {
792
+ "type": "string"
793
+ },
794
+ "default": []
795
+ }
796
+ },
797
+ "additionalProperties": false,
798
+ "description": "DependsOn(macros: List[str] = <factory>, nodes: List[str] = <factory>)"
799
+ },
800
+ "InjectedCTE": {
801
+ "type": "object",
802
+ "required": [
803
+ "id",
804
+ "sql"
805
+ ],
806
+ "properties": {
807
+ "id": {
808
+ "type": "string"
809
+ },
810
+ "sql": {
811
+ "type": "string"
812
+ }
813
+ },
814
+ "additionalProperties": false,
815
+ "description": "Used in CompiledNodes as part of ephemeral model processing"
816
+ },
817
+ "SingularTestNode": {
818
+ "type": "object",
819
+ "required": [
820
+ "schema",
821
+ "name",
822
+ "resource_type",
823
+ "package_name",
824
+ "path",
825
+ "original_file_path",
826
+ "unique_id",
827
+ "fqn",
828
+ "alias",
829
+ "checksum"
830
+ ],
831
+ "properties": {
832
+ "database": {
833
+ "oneOf": [
834
+ {
835
+ "type": "string"
836
+ },
837
+ {
838
+ "type": "null"
839
+ }
840
+ ]
841
+ },
842
+ "schema": {
843
+ "type": "string"
844
+ },
845
+ "name": {
846
+ "type": "string"
847
+ },
848
+ "resource_type": {
849
+ "type": "string",
850
+ "enum": [
851
+ "test"
852
+ ]
853
+ },
854
+ "package_name": {
855
+ "type": "string"
856
+ },
857
+ "path": {
858
+ "type": "string"
859
+ },
860
+ "original_file_path": {
861
+ "type": "string"
862
+ },
863
+ "unique_id": {
864
+ "type": "string"
865
+ },
866
+ "fqn": {
867
+ "type": "array",
868
+ "items": {
869
+ "type": "string"
870
+ }
871
+ },
872
+ "alias": {
873
+ "type": "string"
874
+ },
875
+ "checksum": {
876
+ "$ref": "#/definitions/FileHash"
877
+ },
878
+ "config": {
879
+ "$ref": "#/definitions/TestConfig",
880
+ "default": {
881
+ "enabled": true,
882
+ "alias": null,
883
+ "schema": "dbt_test__audit",
884
+ "database": null,
885
+ "tags": [],
886
+ "meta": {},
887
+ "materialized": "test",
888
+ "severity": "ERROR",
889
+ "store_failures": null,
890
+ "where": null,
891
+ "limit": null,
892
+ "fail_calc": "count(*)",
893
+ "warn_if": "!= 0",
894
+ "error_if": "!= 0"
895
+ }
896
+ },
897
+ "tags": {
898
+ "type": "array",
899
+ "items": {
900
+ "type": "string"
901
+ },
902
+ "default": []
903
+ },
904
+ "description": {
905
+ "type": "string",
906
+ "default": ""
907
+ },
908
+ "columns": {
909
+ "type": "object",
910
+ "additionalProperties": {
911
+ "$ref": "#/definitions/ColumnInfo"
912
+ },
913
+ "default": {}
914
+ },
915
+ "meta": {
916
+ "type": "object",
917
+ "default": {}
918
+ },
919
+ "docs": {
920
+ "$ref": "#/definitions/Docs",
921
+ "default": {
922
+ "show": true,
923
+ "node_color": null
924
+ }
925
+ },
926
+ "patch_path": {
927
+ "oneOf": [
928
+ {
929
+ "type": "string"
930
+ },
931
+ {
932
+ "type": "null"
933
+ }
934
+ ]
935
+ },
936
+ "build_path": {
937
+ "oneOf": [
938
+ {
939
+ "type": "string"
940
+ },
941
+ {
942
+ "type": "null"
943
+ }
944
+ ]
945
+ },
946
+ "deferred": {
947
+ "type": "boolean",
948
+ "default": false
949
+ },
950
+ "unrendered_config": {
951
+ "type": "object",
952
+ "default": {}
953
+ },
954
+ "created_at": {
955
+ "type": "number",
956
+ "default": 1675937087.355371
957
+ },
958
+ "config_call_dict": {
959
+ "type": "object",
960
+ "default": {}
961
+ },
962
+ "relation_name": {
963
+ "oneOf": [
964
+ {
965
+ "type": "string"
966
+ },
967
+ {
968
+ "type": "null"
969
+ }
970
+ ]
971
+ },
972
+ "raw_code": {
973
+ "type": "string",
974
+ "default": ""
975
+ },
976
+ "language": {
977
+ "type": "string",
978
+ "default": "sql"
979
+ },
980
+ "refs": {
981
+ "type": "array",
982
+ "items": {
983
+ "type": "array",
984
+ "items": {
985
+ "type": "string"
986
+ }
987
+ },
988
+ "default": []
989
+ },
990
+ "sources": {
991
+ "type": "array",
992
+ "items": {
993
+ "type": "array",
994
+ "items": {
995
+ "type": "string"
996
+ }
997
+ },
998
+ "default": []
999
+ },
1000
+ "metrics": {
1001
+ "type": "array",
1002
+ "items": {
1003
+ "type": "array",
1004
+ "items": {
1005
+ "type": "string"
1006
+ }
1007
+ },
1008
+ "default": []
1009
+ },
1010
+ "depends_on": {
1011
+ "$ref": "#/definitions/DependsOn",
1012
+ "default": {
1013
+ "macros": [],
1014
+ "nodes": []
1015
+ }
1016
+ },
1017
+ "compiled_path": {
1018
+ "oneOf": [
1019
+ {
1020
+ "type": "string"
1021
+ },
1022
+ {
1023
+ "type": "null"
1024
+ }
1025
+ ]
1026
+ },
1027
+ "compiled": {
1028
+ "type": "boolean",
1029
+ "default": false
1030
+ },
1031
+ "compiled_code": {
1032
+ "oneOf": [
1033
+ {
1034
+ "type": "string"
1035
+ },
1036
+ {
1037
+ "type": "null"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "extra_ctes_injected": {
1042
+ "type": "boolean",
1043
+ "default": false
1044
+ },
1045
+ "extra_ctes": {
1046
+ "type": "array",
1047
+ "items": {
1048
+ "$ref": "#/definitions/InjectedCTE"
1049
+ },
1050
+ "default": []
1051
+ }
1052
+ },
1053
+ "additionalProperties": false,
1054
+ "description": "SingularTestNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.TestConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
1055
+ },
1056
+ "TestConfig": {
1057
+ "type": "object",
1058
+ "required": [],
1059
+ "properties": {
1060
+ "enabled": {
1061
+ "type": "boolean",
1062
+ "default": true
1063
+ },
1064
+ "alias": {
1065
+ "oneOf": [
1066
+ {
1067
+ "type": "string"
1068
+ },
1069
+ {
1070
+ "type": "null"
1071
+ }
1072
+ ]
1073
+ },
1074
+ "schema": {
1075
+ "oneOf": [
1076
+ {
1077
+ "type": "string"
1078
+ },
1079
+ {
1080
+ "type": "null"
1081
+ }
1082
+ ],
1083
+ "default": "dbt_test__audit"
1084
+ },
1085
+ "database": {
1086
+ "oneOf": [
1087
+ {
1088
+ "type": "string"
1089
+ },
1090
+ {
1091
+ "type": "null"
1092
+ }
1093
+ ]
1094
+ },
1095
+ "tags": {
1096
+ "oneOf": [
1097
+ {
1098
+ "type": "array",
1099
+ "items": {
1100
+ "type": "string"
1101
+ }
1102
+ },
1103
+ {
1104
+ "type": "string"
1105
+ }
1106
+ ],
1107
+ "default": []
1108
+ },
1109
+ "meta": {
1110
+ "type": "object",
1111
+ "default": {}
1112
+ },
1113
+ "materialized": {
1114
+ "type": "string",
1115
+ "default": "test"
1116
+ },
1117
+ "severity": {
1118
+ "type": "string",
1119
+ "pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
1120
+ "default": "ERROR"
1121
+ },
1122
+ "store_failures": {
1123
+ "oneOf": [
1124
+ {
1125
+ "type": "boolean"
1126
+ },
1127
+ {
1128
+ "type": "null"
1129
+ }
1130
+ ]
1131
+ },
1132
+ "where": {
1133
+ "oneOf": [
1134
+ {
1135
+ "type": "string"
1136
+ },
1137
+ {
1138
+ "type": "null"
1139
+ }
1140
+ ]
1141
+ },
1142
+ "limit": {
1143
+ "oneOf": [
1144
+ {
1145
+ "type": "integer"
1146
+ },
1147
+ {
1148
+ "type": "null"
1149
+ }
1150
+ ]
1151
+ },
1152
+ "fail_calc": {
1153
+ "type": "string",
1154
+ "default": "count(*)"
1155
+ },
1156
+ "warn_if": {
1157
+ "type": "string",
1158
+ "default": "!= 0"
1159
+ },
1160
+ "error_if": {
1161
+ "type": "string",
1162
+ "default": "!= 0"
1163
+ }
1164
+ },
1165
+ "additionalProperties": true,
1166
+ "description": "TestConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True, alias: Optional[str] = None, schema: Optional[str] = 'dbt_test__audit', database: Optional[str] = None, tags: Union[List[str], str] = <factory>, meta: Dict[str, Any] = <factory>, materialized: str = 'test', severity: dbt.contracts.graph.model_config.Severity = 'ERROR', store_failures: Optional[bool] = None, where: Optional[str] = None, limit: Optional[int] = None, fail_calc: str = 'count(*)', warn_if: str = '!= 0', error_if: str = '!= 0')"
1167
+ },
1168
+ "HookNode": {
1169
+ "type": "object",
1170
+ "required": [
1171
+ "schema",
1172
+ "name",
1173
+ "resource_type",
1174
+ "package_name",
1175
+ "path",
1176
+ "original_file_path",
1177
+ "unique_id",
1178
+ "fqn",
1179
+ "alias",
1180
+ "checksum"
1181
+ ],
1182
+ "properties": {
1183
+ "database": {
1184
+ "oneOf": [
1185
+ {
1186
+ "type": "string"
1187
+ },
1188
+ {
1189
+ "type": "null"
1190
+ }
1191
+ ]
1192
+ },
1193
+ "schema": {
1194
+ "type": "string"
1195
+ },
1196
+ "name": {
1197
+ "type": "string"
1198
+ },
1199
+ "resource_type": {
1200
+ "type": "string",
1201
+ "enum": [
1202
+ "operation"
1203
+ ]
1204
+ },
1205
+ "package_name": {
1206
+ "type": "string"
1207
+ },
1208
+ "path": {
1209
+ "type": "string"
1210
+ },
1211
+ "original_file_path": {
1212
+ "type": "string"
1213
+ },
1214
+ "unique_id": {
1215
+ "type": "string"
1216
+ },
1217
+ "fqn": {
1218
+ "type": "array",
1219
+ "items": {
1220
+ "type": "string"
1221
+ }
1222
+ },
1223
+ "alias": {
1224
+ "type": "string"
1225
+ },
1226
+ "checksum": {
1227
+ "$ref": "#/definitions/FileHash"
1228
+ },
1229
+ "config": {
1230
+ "$ref": "#/definitions/NodeConfig",
1231
+ "default": {
1232
+ "enabled": true,
1233
+ "alias": null,
1234
+ "schema": null,
1235
+ "database": null,
1236
+ "tags": [],
1237
+ "meta": {},
1238
+ "materialized": "view",
1239
+ "incremental_strategy": null,
1240
+ "persist_docs": {},
1241
+ "quoting": {},
1242
+ "column_types": {},
1243
+ "full_refresh": null,
1244
+ "unique_key": null,
1245
+ "on_schema_change": "ignore",
1246
+ "grants": {},
1247
+ "packages": [],
1248
+ "docs": {
1249
+ "show": true,
1250
+ "node_color": null
1251
+ },
1252
+ "post-hook": [],
1253
+ "pre-hook": []
1254
+ }
1255
+ },
1256
+ "tags": {
1257
+ "type": "array",
1258
+ "items": {
1259
+ "type": "string"
1260
+ },
1261
+ "default": []
1262
+ },
1263
+ "description": {
1264
+ "type": "string",
1265
+ "default": ""
1266
+ },
1267
+ "columns": {
1268
+ "type": "object",
1269
+ "additionalProperties": {
1270
+ "$ref": "#/definitions/ColumnInfo"
1271
+ },
1272
+ "default": {}
1273
+ },
1274
+ "meta": {
1275
+ "type": "object",
1276
+ "default": {}
1277
+ },
1278
+ "docs": {
1279
+ "$ref": "#/definitions/Docs",
1280
+ "default": {
1281
+ "show": true,
1282
+ "node_color": null
1283
+ }
1284
+ },
1285
+ "patch_path": {
1286
+ "oneOf": [
1287
+ {
1288
+ "type": "string"
1289
+ },
1290
+ {
1291
+ "type": "null"
1292
+ }
1293
+ ]
1294
+ },
1295
+ "build_path": {
1296
+ "oneOf": [
1297
+ {
1298
+ "type": "string"
1299
+ },
1300
+ {
1301
+ "type": "null"
1302
+ }
1303
+ ]
1304
+ },
1305
+ "deferred": {
1306
+ "type": "boolean",
1307
+ "default": false
1308
+ },
1309
+ "unrendered_config": {
1310
+ "type": "object",
1311
+ "default": {}
1312
+ },
1313
+ "created_at": {
1314
+ "type": "number",
1315
+ "default": 1675937087.356482
1316
+ },
1317
+ "config_call_dict": {
1318
+ "type": "object",
1319
+ "default": {}
1320
+ },
1321
+ "relation_name": {
1322
+ "oneOf": [
1323
+ {
1324
+ "type": "string"
1325
+ },
1326
+ {
1327
+ "type": "null"
1328
+ }
1329
+ ]
1330
+ },
1331
+ "raw_code": {
1332
+ "type": "string",
1333
+ "default": ""
1334
+ },
1335
+ "language": {
1336
+ "type": "string",
1337
+ "default": "sql"
1338
+ },
1339
+ "refs": {
1340
+ "type": "array",
1341
+ "items": {
1342
+ "type": "array",
1343
+ "items": {
1344
+ "type": "string"
1345
+ }
1346
+ },
1347
+ "default": []
1348
+ },
1349
+ "sources": {
1350
+ "type": "array",
1351
+ "items": {
1352
+ "type": "array",
1353
+ "items": {
1354
+ "type": "string"
1355
+ }
1356
+ },
1357
+ "default": []
1358
+ },
1359
+ "metrics": {
1360
+ "type": "array",
1361
+ "items": {
1362
+ "type": "array",
1363
+ "items": {
1364
+ "type": "string"
1365
+ }
1366
+ },
1367
+ "default": []
1368
+ },
1369
+ "depends_on": {
1370
+ "$ref": "#/definitions/DependsOn",
1371
+ "default": {
1372
+ "macros": [],
1373
+ "nodes": []
1374
+ }
1375
+ },
1376
+ "compiled_path": {
1377
+ "oneOf": [
1378
+ {
1379
+ "type": "string"
1380
+ },
1381
+ {
1382
+ "type": "null"
1383
+ }
1384
+ ]
1385
+ },
1386
+ "compiled": {
1387
+ "type": "boolean",
1388
+ "default": false
1389
+ },
1390
+ "compiled_code": {
1391
+ "oneOf": [
1392
+ {
1393
+ "type": "string"
1394
+ },
1395
+ {
1396
+ "type": "null"
1397
+ }
1398
+ ]
1399
+ },
1400
+ "extra_ctes_injected": {
1401
+ "type": "boolean",
1402
+ "default": false
1403
+ },
1404
+ "extra_ctes": {
1405
+ "type": "array",
1406
+ "items": {
1407
+ "$ref": "#/definitions/InjectedCTE"
1408
+ },
1409
+ "default": []
1410
+ },
1411
+ "index": {
1412
+ "oneOf": [
1413
+ {
1414
+ "type": "integer"
1415
+ },
1416
+ {
1417
+ "type": "null"
1418
+ }
1419
+ ]
1420
+ }
1421
+ },
1422
+ "additionalProperties": false,
1423
+ "description": "HookNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.NodeConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None, index: Optional[int] = None)"
1424
+ },
1425
+ "ModelNode": {
1426
+ "type": "object",
1427
+ "required": [
1428
+ "schema",
1429
+ "name",
1430
+ "resource_type",
1431
+ "package_name",
1432
+ "path",
1433
+ "original_file_path",
1434
+ "unique_id",
1435
+ "fqn",
1436
+ "alias",
1437
+ "checksum"
1438
+ ],
1439
+ "properties": {
1440
+ "database": {
1441
+ "oneOf": [
1442
+ {
1443
+ "type": "string"
1444
+ },
1445
+ {
1446
+ "type": "null"
1447
+ }
1448
+ ]
1449
+ },
1450
+ "schema": {
1451
+ "type": "string"
1452
+ },
1453
+ "name": {
1454
+ "type": "string"
1455
+ },
1456
+ "resource_type": {
1457
+ "type": "string",
1458
+ "enum": [
1459
+ "model"
1460
+ ]
1461
+ },
1462
+ "package_name": {
1463
+ "type": "string"
1464
+ },
1465
+ "path": {
1466
+ "type": "string"
1467
+ },
1468
+ "original_file_path": {
1469
+ "type": "string"
1470
+ },
1471
+ "unique_id": {
1472
+ "type": "string"
1473
+ },
1474
+ "fqn": {
1475
+ "type": "array",
1476
+ "items": {
1477
+ "type": "string"
1478
+ }
1479
+ },
1480
+ "alias": {
1481
+ "type": "string"
1482
+ },
1483
+ "checksum": {
1484
+ "$ref": "#/definitions/FileHash"
1485
+ },
1486
+ "config": {
1487
+ "$ref": "#/definitions/NodeConfig",
1488
+ "default": {
1489
+ "enabled": true,
1490
+ "alias": null,
1491
+ "schema": null,
1492
+ "database": null,
1493
+ "tags": [],
1494
+ "meta": {},
1495
+ "materialized": "view",
1496
+ "incremental_strategy": null,
1497
+ "persist_docs": {},
1498
+ "quoting": {},
1499
+ "column_types": {},
1500
+ "full_refresh": null,
1501
+ "unique_key": null,
1502
+ "on_schema_change": "ignore",
1503
+ "grants": {},
1504
+ "packages": [],
1505
+ "docs": {
1506
+ "show": true,
1507
+ "node_color": null
1508
+ },
1509
+ "post-hook": [],
1510
+ "pre-hook": []
1511
+ }
1512
+ },
1513
+ "tags": {
1514
+ "type": "array",
1515
+ "items": {
1516
+ "type": "string"
1517
+ },
1518
+ "default": []
1519
+ },
1520
+ "description": {
1521
+ "type": "string",
1522
+ "default": ""
1523
+ },
1524
+ "columns": {
1525
+ "type": "object",
1526
+ "additionalProperties": {
1527
+ "$ref": "#/definitions/ColumnInfo"
1528
+ },
1529
+ "default": {}
1530
+ },
1531
+ "meta": {
1532
+ "type": "object",
1533
+ "default": {}
1534
+ },
1535
+ "docs": {
1536
+ "$ref": "#/definitions/Docs",
1537
+ "default": {
1538
+ "show": true,
1539
+ "node_color": null
1540
+ }
1541
+ },
1542
+ "patch_path": {
1543
+ "oneOf": [
1544
+ {
1545
+ "type": "string"
1546
+ },
1547
+ {
1548
+ "type": "null"
1549
+ }
1550
+ ]
1551
+ },
1552
+ "build_path": {
1553
+ "oneOf": [
1554
+ {
1555
+ "type": "string"
1556
+ },
1557
+ {
1558
+ "type": "null"
1559
+ }
1560
+ ]
1561
+ },
1562
+ "deferred": {
1563
+ "type": "boolean",
1564
+ "default": false
1565
+ },
1566
+ "unrendered_config": {
1567
+ "type": "object",
1568
+ "default": {}
1569
+ },
1570
+ "created_at": {
1571
+ "type": "number",
1572
+ "default": 1675937087.357701
1573
+ },
1574
+ "config_call_dict": {
1575
+ "type": "object",
1576
+ "default": {}
1577
+ },
1578
+ "relation_name": {
1579
+ "oneOf": [
1580
+ {
1581
+ "type": "string"
1582
+ },
1583
+ {
1584
+ "type": "null"
1585
+ }
1586
+ ]
1587
+ },
1588
+ "raw_code": {
1589
+ "type": "string",
1590
+ "default": ""
1591
+ },
1592
+ "language": {
1593
+ "type": "string",
1594
+ "default": "sql"
1595
+ },
1596
+ "refs": {
1597
+ "type": "array",
1598
+ "items": {
1599
+ "type": "array",
1600
+ "items": {
1601
+ "type": "string"
1602
+ }
1603
+ },
1604
+ "default": []
1605
+ },
1606
+ "sources": {
1607
+ "type": "array",
1608
+ "items": {
1609
+ "type": "array",
1610
+ "items": {
1611
+ "type": "string"
1612
+ }
1613
+ },
1614
+ "default": []
1615
+ },
1616
+ "metrics": {
1617
+ "type": "array",
1618
+ "items": {
1619
+ "type": "array",
1620
+ "items": {
1621
+ "type": "string"
1622
+ }
1623
+ },
1624
+ "default": []
1625
+ },
1626
+ "depends_on": {
1627
+ "$ref": "#/definitions/DependsOn",
1628
+ "default": {
1629
+ "macros": [],
1630
+ "nodes": []
1631
+ }
1632
+ },
1633
+ "compiled_path": {
1634
+ "oneOf": [
1635
+ {
1636
+ "type": "string"
1637
+ },
1638
+ {
1639
+ "type": "null"
1640
+ }
1641
+ ]
1642
+ },
1643
+ "compiled": {
1644
+ "type": "boolean",
1645
+ "default": false
1646
+ },
1647
+ "compiled_code": {
1648
+ "oneOf": [
1649
+ {
1650
+ "type": "string"
1651
+ },
1652
+ {
1653
+ "type": "null"
1654
+ }
1655
+ ]
1656
+ },
1657
+ "extra_ctes_injected": {
1658
+ "type": "boolean",
1659
+ "default": false
1660
+ },
1661
+ "extra_ctes": {
1662
+ "type": "array",
1663
+ "items": {
1664
+ "$ref": "#/definitions/InjectedCTE"
1665
+ },
1666
+ "default": []
1667
+ }
1668
+ },
1669
+ "additionalProperties": false,
1670
+ "description": "ModelNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.NodeConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
1671
+ },
1672
+ "RPCNode": {
1673
+ "type": "object",
1674
+ "required": [
1675
+ "schema",
1676
+ "name",
1677
+ "resource_type",
1678
+ "package_name",
1679
+ "path",
1680
+ "original_file_path",
1681
+ "unique_id",
1682
+ "fqn",
1683
+ "alias",
1684
+ "checksum"
1685
+ ],
1686
+ "properties": {
1687
+ "database": {
1688
+ "oneOf": [
1689
+ {
1690
+ "type": "string"
1691
+ },
1692
+ {
1693
+ "type": "null"
1694
+ }
1695
+ ]
1696
+ },
1697
+ "schema": {
1698
+ "type": "string"
1699
+ },
1700
+ "name": {
1701
+ "type": "string"
1702
+ },
1703
+ "resource_type": {
1704
+ "type": "string",
1705
+ "enum": [
1706
+ "rpc"
1707
+ ]
1708
+ },
1709
+ "package_name": {
1710
+ "type": "string"
1711
+ },
1712
+ "path": {
1713
+ "type": "string"
1714
+ },
1715
+ "original_file_path": {
1716
+ "type": "string"
1717
+ },
1718
+ "unique_id": {
1719
+ "type": "string"
1720
+ },
1721
+ "fqn": {
1722
+ "type": "array",
1723
+ "items": {
1724
+ "type": "string"
1725
+ }
1726
+ },
1727
+ "alias": {
1728
+ "type": "string"
1729
+ },
1730
+ "checksum": {
1731
+ "$ref": "#/definitions/FileHash"
1732
+ },
1733
+ "config": {
1734
+ "$ref": "#/definitions/NodeConfig",
1735
+ "default": {
1736
+ "enabled": true,
1737
+ "alias": null,
1738
+ "schema": null,
1739
+ "database": null,
1740
+ "tags": [],
1741
+ "meta": {},
1742
+ "materialized": "view",
1743
+ "incremental_strategy": null,
1744
+ "persist_docs": {},
1745
+ "quoting": {},
1746
+ "column_types": {},
1747
+ "full_refresh": null,
1748
+ "unique_key": null,
1749
+ "on_schema_change": "ignore",
1750
+ "grants": {},
1751
+ "packages": [],
1752
+ "docs": {
1753
+ "show": true,
1754
+ "node_color": null
1755
+ },
1756
+ "post-hook": [],
1757
+ "pre-hook": []
1758
+ }
1759
+ },
1760
+ "tags": {
1761
+ "type": "array",
1762
+ "items": {
1763
+ "type": "string"
1764
+ },
1765
+ "default": []
1766
+ },
1767
+ "description": {
1768
+ "type": "string",
1769
+ "default": ""
1770
+ },
1771
+ "columns": {
1772
+ "type": "object",
1773
+ "additionalProperties": {
1774
+ "$ref": "#/definitions/ColumnInfo"
1775
+ },
1776
+ "default": {}
1777
+ },
1778
+ "meta": {
1779
+ "type": "object",
1780
+ "default": {}
1781
+ },
1782
+ "docs": {
1783
+ "$ref": "#/definitions/Docs",
1784
+ "default": {
1785
+ "show": true,
1786
+ "node_color": null
1787
+ }
1788
+ },
1789
+ "patch_path": {
1790
+ "oneOf": [
1791
+ {
1792
+ "type": "string"
1793
+ },
1794
+ {
1795
+ "type": "null"
1796
+ }
1797
+ ]
1798
+ },
1799
+ "build_path": {
1800
+ "oneOf": [
1801
+ {
1802
+ "type": "string"
1803
+ },
1804
+ {
1805
+ "type": "null"
1806
+ }
1807
+ ]
1808
+ },
1809
+ "deferred": {
1810
+ "type": "boolean",
1811
+ "default": false
1812
+ },
1813
+ "unrendered_config": {
1814
+ "type": "object",
1815
+ "default": {}
1816
+ },
1817
+ "created_at": {
1818
+ "type": "number",
1819
+ "default": 1675937087.358761
1820
+ },
1821
+ "config_call_dict": {
1822
+ "type": "object",
1823
+ "default": {}
1824
+ },
1825
+ "relation_name": {
1826
+ "oneOf": [
1827
+ {
1828
+ "type": "string"
1829
+ },
1830
+ {
1831
+ "type": "null"
1832
+ }
1833
+ ]
1834
+ },
1835
+ "raw_code": {
1836
+ "type": "string",
1837
+ "default": ""
1838
+ },
1839
+ "language": {
1840
+ "type": "string",
1841
+ "default": "sql"
1842
+ },
1843
+ "refs": {
1844
+ "type": "array",
1845
+ "items": {
1846
+ "type": "array",
1847
+ "items": {
1848
+ "type": "string"
1849
+ }
1850
+ },
1851
+ "default": []
1852
+ },
1853
+ "sources": {
1854
+ "type": "array",
1855
+ "items": {
1856
+ "type": "array",
1857
+ "items": {
1858
+ "type": "string"
1859
+ }
1860
+ },
1861
+ "default": []
1862
+ },
1863
+ "metrics": {
1864
+ "type": "array",
1865
+ "items": {
1866
+ "type": "array",
1867
+ "items": {
1868
+ "type": "string"
1869
+ }
1870
+ },
1871
+ "default": []
1872
+ },
1873
+ "depends_on": {
1874
+ "$ref": "#/definitions/DependsOn",
1875
+ "default": {
1876
+ "macros": [],
1877
+ "nodes": []
1878
+ }
1879
+ },
1880
+ "compiled_path": {
1881
+ "oneOf": [
1882
+ {
1883
+ "type": "string"
1884
+ },
1885
+ {
1886
+ "type": "null"
1887
+ }
1888
+ ]
1889
+ },
1890
+ "compiled": {
1891
+ "type": "boolean",
1892
+ "default": false
1893
+ },
1894
+ "compiled_code": {
1895
+ "oneOf": [
1896
+ {
1897
+ "type": "string"
1898
+ },
1899
+ {
1900
+ "type": "null"
1901
+ }
1902
+ ]
1903
+ },
1904
+ "extra_ctes_injected": {
1905
+ "type": "boolean",
1906
+ "default": false
1907
+ },
1908
+ "extra_ctes": {
1909
+ "type": "array",
1910
+ "items": {
1911
+ "$ref": "#/definitions/InjectedCTE"
1912
+ },
1913
+ "default": []
1914
+ }
1915
+ },
1916
+ "additionalProperties": false,
1917
+ "description": "RPCNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.NodeConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
1918
+ },
1919
+ "SqlNode": {
1920
+ "type": "object",
1921
+ "required": [
1922
+ "schema",
1923
+ "name",
1924
+ "resource_type",
1925
+ "package_name",
1926
+ "path",
1927
+ "original_file_path",
1928
+ "unique_id",
1929
+ "fqn",
1930
+ "alias",
1931
+ "checksum"
1932
+ ],
1933
+ "properties": {
1934
+ "database": {
1935
+ "oneOf": [
1936
+ {
1937
+ "type": "string"
1938
+ },
1939
+ {
1940
+ "type": "null"
1941
+ }
1942
+ ]
1943
+ },
1944
+ "schema": {
1945
+ "type": "string"
1946
+ },
1947
+ "name": {
1948
+ "type": "string"
1949
+ },
1950
+ "resource_type": {
1951
+ "type": "string",
1952
+ "enum": [
1953
+ "sql operation"
1954
+ ]
1955
+ },
1956
+ "package_name": {
1957
+ "type": "string"
1958
+ },
1959
+ "path": {
1960
+ "type": "string"
1961
+ },
1962
+ "original_file_path": {
1963
+ "type": "string"
1964
+ },
1965
+ "unique_id": {
1966
+ "type": "string"
1967
+ },
1968
+ "fqn": {
1969
+ "type": "array",
1970
+ "items": {
1971
+ "type": "string"
1972
+ }
1973
+ },
1974
+ "alias": {
1975
+ "type": "string"
1976
+ },
1977
+ "checksum": {
1978
+ "$ref": "#/definitions/FileHash"
1979
+ },
1980
+ "config": {
1981
+ "$ref": "#/definitions/NodeConfig",
1982
+ "default": {
1983
+ "enabled": true,
1984
+ "alias": null,
1985
+ "schema": null,
1986
+ "database": null,
1987
+ "tags": [],
1988
+ "meta": {},
1989
+ "materialized": "view",
1990
+ "incremental_strategy": null,
1991
+ "persist_docs": {},
1992
+ "quoting": {},
1993
+ "column_types": {},
1994
+ "full_refresh": null,
1995
+ "unique_key": null,
1996
+ "on_schema_change": "ignore",
1997
+ "grants": {},
1998
+ "packages": [],
1999
+ "docs": {
2000
+ "show": true,
2001
+ "node_color": null
2002
+ },
2003
+ "post-hook": [],
2004
+ "pre-hook": []
2005
+ }
2006
+ },
2007
+ "tags": {
2008
+ "type": "array",
2009
+ "items": {
2010
+ "type": "string"
2011
+ },
2012
+ "default": []
2013
+ },
2014
+ "description": {
2015
+ "type": "string",
2016
+ "default": ""
2017
+ },
2018
+ "columns": {
2019
+ "type": "object",
2020
+ "additionalProperties": {
2021
+ "$ref": "#/definitions/ColumnInfo"
2022
+ },
2023
+ "default": {}
2024
+ },
2025
+ "meta": {
2026
+ "type": "object",
2027
+ "default": {}
2028
+ },
2029
+ "docs": {
2030
+ "$ref": "#/definitions/Docs",
2031
+ "default": {
2032
+ "show": true,
2033
+ "node_color": null
2034
+ }
2035
+ },
2036
+ "patch_path": {
2037
+ "oneOf": [
2038
+ {
2039
+ "type": "string"
2040
+ },
2041
+ {
2042
+ "type": "null"
2043
+ }
2044
+ ]
2045
+ },
2046
+ "build_path": {
2047
+ "oneOf": [
2048
+ {
2049
+ "type": "string"
2050
+ },
2051
+ {
2052
+ "type": "null"
2053
+ }
2054
+ ]
2055
+ },
2056
+ "deferred": {
2057
+ "type": "boolean",
2058
+ "default": false
2059
+ },
2060
+ "unrendered_config": {
2061
+ "type": "object",
2062
+ "default": {}
2063
+ },
2064
+ "created_at": {
2065
+ "type": "number",
2066
+ "default": 1675937087.359803
2067
+ },
2068
+ "config_call_dict": {
2069
+ "type": "object",
2070
+ "default": {}
2071
+ },
2072
+ "relation_name": {
2073
+ "oneOf": [
2074
+ {
2075
+ "type": "string"
2076
+ },
2077
+ {
2078
+ "type": "null"
2079
+ }
2080
+ ]
2081
+ },
2082
+ "raw_code": {
2083
+ "type": "string",
2084
+ "default": ""
2085
+ },
2086
+ "language": {
2087
+ "type": "string",
2088
+ "default": "sql"
2089
+ },
2090
+ "refs": {
2091
+ "type": "array",
2092
+ "items": {
2093
+ "type": "array",
2094
+ "items": {
2095
+ "type": "string"
2096
+ }
2097
+ },
2098
+ "default": []
2099
+ },
2100
+ "sources": {
2101
+ "type": "array",
2102
+ "items": {
2103
+ "type": "array",
2104
+ "items": {
2105
+ "type": "string"
2106
+ }
2107
+ },
2108
+ "default": []
2109
+ },
2110
+ "metrics": {
2111
+ "type": "array",
2112
+ "items": {
2113
+ "type": "array",
2114
+ "items": {
2115
+ "type": "string"
2116
+ }
2117
+ },
2118
+ "default": []
2119
+ },
2120
+ "depends_on": {
2121
+ "$ref": "#/definitions/DependsOn",
2122
+ "default": {
2123
+ "macros": [],
2124
+ "nodes": []
2125
+ }
2126
+ },
2127
+ "compiled_path": {
2128
+ "oneOf": [
2129
+ {
2130
+ "type": "string"
2131
+ },
2132
+ {
2133
+ "type": "null"
2134
+ }
2135
+ ]
2136
+ },
2137
+ "compiled": {
2138
+ "type": "boolean",
2139
+ "default": false
2140
+ },
2141
+ "compiled_code": {
2142
+ "oneOf": [
2143
+ {
2144
+ "type": "string"
2145
+ },
2146
+ {
2147
+ "type": "null"
2148
+ }
2149
+ ]
2150
+ },
2151
+ "extra_ctes_injected": {
2152
+ "type": "boolean",
2153
+ "default": false
2154
+ },
2155
+ "extra_ctes": {
2156
+ "type": "array",
2157
+ "items": {
2158
+ "$ref": "#/definitions/InjectedCTE"
2159
+ },
2160
+ "default": []
2161
+ }
2162
+ },
2163
+ "additionalProperties": false,
2164
+ "description": "SqlNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.NodeConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
2165
+ },
2166
+ "GenericTestNode": {
2167
+ "type": "object",
2168
+ "required": [
2169
+ "test_metadata",
2170
+ "schema",
2171
+ "name",
2172
+ "resource_type",
2173
+ "package_name",
2174
+ "path",
2175
+ "original_file_path",
2176
+ "unique_id",
2177
+ "fqn",
2178
+ "alias",
2179
+ "checksum"
2180
+ ],
2181
+ "properties": {
2182
+ "test_metadata": {
2183
+ "$ref": "#/definitions/TestMetadata"
2184
+ },
2185
+ "database": {
2186
+ "oneOf": [
2187
+ {
2188
+ "type": "string"
2189
+ },
2190
+ {
2191
+ "type": "null"
2192
+ }
2193
+ ]
2194
+ },
2195
+ "schema": {
2196
+ "type": "string"
2197
+ },
2198
+ "name": {
2199
+ "type": "string"
2200
+ },
2201
+ "resource_type": {
2202
+ "type": "string",
2203
+ "enum": [
2204
+ "test"
2205
+ ]
2206
+ },
2207
+ "package_name": {
2208
+ "type": "string"
2209
+ },
2210
+ "path": {
2211
+ "type": "string"
2212
+ },
2213
+ "original_file_path": {
2214
+ "type": "string"
2215
+ },
2216
+ "unique_id": {
2217
+ "type": "string"
2218
+ },
2219
+ "fqn": {
2220
+ "type": "array",
2221
+ "items": {
2222
+ "type": "string"
2223
+ }
2224
+ },
2225
+ "alias": {
2226
+ "type": "string"
2227
+ },
2228
+ "checksum": {
2229
+ "$ref": "#/definitions/FileHash"
2230
+ },
2231
+ "config": {
2232
+ "$ref": "#/definitions/TestConfig",
2233
+ "default": {
2234
+ "enabled": true,
2235
+ "alias": null,
2236
+ "schema": "dbt_test__audit",
2237
+ "database": null,
2238
+ "tags": [],
2239
+ "meta": {},
2240
+ "materialized": "test",
2241
+ "severity": "ERROR",
2242
+ "store_failures": null,
2243
+ "where": null,
2244
+ "limit": null,
2245
+ "fail_calc": "count(*)",
2246
+ "warn_if": "!= 0",
2247
+ "error_if": "!= 0"
2248
+ }
2249
+ },
2250
+ "tags": {
2251
+ "type": "array",
2252
+ "items": {
2253
+ "type": "string"
2254
+ },
2255
+ "default": []
2256
+ },
2257
+ "description": {
2258
+ "type": "string",
2259
+ "default": ""
2260
+ },
2261
+ "columns": {
2262
+ "type": "object",
2263
+ "additionalProperties": {
2264
+ "$ref": "#/definitions/ColumnInfo"
2265
+ },
2266
+ "default": {}
2267
+ },
2268
+ "meta": {
2269
+ "type": "object",
2270
+ "default": {}
2271
+ },
2272
+ "docs": {
2273
+ "$ref": "#/definitions/Docs",
2274
+ "default": {
2275
+ "show": true,
2276
+ "node_color": null
2277
+ }
2278
+ },
2279
+ "patch_path": {
2280
+ "oneOf": [
2281
+ {
2282
+ "type": "string"
2283
+ },
2284
+ {
2285
+ "type": "null"
2286
+ }
2287
+ ]
2288
+ },
2289
+ "build_path": {
2290
+ "oneOf": [
2291
+ {
2292
+ "type": "string"
2293
+ },
2294
+ {
2295
+ "type": "null"
2296
+ }
2297
+ ]
2298
+ },
2299
+ "deferred": {
2300
+ "type": "boolean",
2301
+ "default": false
2302
+ },
2303
+ "unrendered_config": {
2304
+ "type": "object",
2305
+ "default": {}
2306
+ },
2307
+ "created_at": {
2308
+ "type": "number",
2309
+ "default": 1675937087.361009
2310
+ },
2311
+ "config_call_dict": {
2312
+ "type": "object",
2313
+ "default": {}
2314
+ },
2315
+ "relation_name": {
2316
+ "oneOf": [
2317
+ {
2318
+ "type": "string"
2319
+ },
2320
+ {
2321
+ "type": "null"
2322
+ }
2323
+ ]
2324
+ },
2325
+ "raw_code": {
2326
+ "type": "string",
2327
+ "default": ""
2328
+ },
2329
+ "language": {
2330
+ "type": "string",
2331
+ "default": "sql"
2332
+ },
2333
+ "refs": {
2334
+ "type": "array",
2335
+ "items": {
2336
+ "type": "array",
2337
+ "items": {
2338
+ "type": "string"
2339
+ }
2340
+ },
2341
+ "default": []
2342
+ },
2343
+ "sources": {
2344
+ "type": "array",
2345
+ "items": {
2346
+ "type": "array",
2347
+ "items": {
2348
+ "type": "string"
2349
+ }
2350
+ },
2351
+ "default": []
2352
+ },
2353
+ "metrics": {
2354
+ "type": "array",
2355
+ "items": {
2356
+ "type": "array",
2357
+ "items": {
2358
+ "type": "string"
2359
+ }
2360
+ },
2361
+ "default": []
2362
+ },
2363
+ "depends_on": {
2364
+ "$ref": "#/definitions/DependsOn",
2365
+ "default": {
2366
+ "macros": [],
2367
+ "nodes": []
2368
+ }
2369
+ },
2370
+ "compiled_path": {
2371
+ "oneOf": [
2372
+ {
2373
+ "type": "string"
2374
+ },
2375
+ {
2376
+ "type": "null"
2377
+ }
2378
+ ]
2379
+ },
2380
+ "compiled": {
2381
+ "type": "boolean",
2382
+ "default": false
2383
+ },
2384
+ "compiled_code": {
2385
+ "oneOf": [
2386
+ {
2387
+ "type": "string"
2388
+ },
2389
+ {
2390
+ "type": "null"
2391
+ }
2392
+ ]
2393
+ },
2394
+ "extra_ctes_injected": {
2395
+ "type": "boolean",
2396
+ "default": false
2397
+ },
2398
+ "extra_ctes": {
2399
+ "type": "array",
2400
+ "items": {
2401
+ "$ref": "#/definitions/InjectedCTE"
2402
+ },
2403
+ "default": []
2404
+ },
2405
+ "column_name": {
2406
+ "oneOf": [
2407
+ {
2408
+ "type": "string"
2409
+ },
2410
+ {
2411
+ "type": "null"
2412
+ }
2413
+ ]
2414
+ },
2415
+ "file_key_name": {
2416
+ "oneOf": [
2417
+ {
2418
+ "type": "string"
2419
+ },
2420
+ {
2421
+ "type": "null"
2422
+ }
2423
+ ]
2424
+ }
2425
+ },
2426
+ "additionalProperties": false,
2427
+ "description": "GenericTestNode(test_metadata: dbt.contracts.graph.nodes.TestMetadata, database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.TestConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None, column_name: Optional[str] = None, file_key_name: Optional[str] = None)"
2428
+ },
2429
+ "TestMetadata": {
2430
+ "type": "object",
2431
+ "required": [
2432
+ "name"
2433
+ ],
2434
+ "properties": {
2435
+ "name": {
2436
+ "type": "string"
2437
+ },
2438
+ "kwargs": {
2439
+ "type": "object",
2440
+ "default": {}
2441
+ },
2442
+ "namespace": {
2443
+ "oneOf": [
2444
+ {
2445
+ "type": "string"
2446
+ },
2447
+ {
2448
+ "type": "null"
2449
+ }
2450
+ ]
2451
+ }
2452
+ },
2453
+ "additionalProperties": false,
2454
+ "description": "TestMetadata(name: str, kwargs: Dict[str, Any] = <factory>, namespace: Optional[str] = None)"
2455
+ },
2456
+ "SnapshotNode": {
2457
+ "type": "object",
2458
+ "required": [
2459
+ "schema",
2460
+ "name",
2461
+ "resource_type",
2462
+ "package_name",
2463
+ "path",
2464
+ "original_file_path",
2465
+ "unique_id",
2466
+ "fqn",
2467
+ "alias",
2468
+ "checksum",
2469
+ "config"
2470
+ ],
2471
+ "properties": {
2472
+ "database": {
2473
+ "oneOf": [
2474
+ {
2475
+ "type": "string"
2476
+ },
2477
+ {
2478
+ "type": "null"
2479
+ }
2480
+ ]
2481
+ },
2482
+ "schema": {
2483
+ "type": "string"
2484
+ },
2485
+ "name": {
2486
+ "type": "string"
2487
+ },
2488
+ "resource_type": {
2489
+ "type": "string",
2490
+ "enum": [
2491
+ "snapshot"
2492
+ ]
2493
+ },
2494
+ "package_name": {
2495
+ "type": "string"
2496
+ },
2497
+ "path": {
2498
+ "type": "string"
2499
+ },
2500
+ "original_file_path": {
2501
+ "type": "string"
2502
+ },
2503
+ "unique_id": {
2504
+ "type": "string"
2505
+ },
2506
+ "fqn": {
2507
+ "type": "array",
2508
+ "items": {
2509
+ "type": "string"
2510
+ }
2511
+ },
2512
+ "alias": {
2513
+ "type": "string"
2514
+ },
2515
+ "checksum": {
2516
+ "$ref": "#/definitions/FileHash"
2517
+ },
2518
+ "config": {
2519
+ "$ref": "#/definitions/SnapshotConfig"
2520
+ },
2521
+ "tags": {
2522
+ "type": "array",
2523
+ "items": {
2524
+ "type": "string"
2525
+ },
2526
+ "default": []
2527
+ },
2528
+ "description": {
2529
+ "type": "string",
2530
+ "default": ""
2531
+ },
2532
+ "columns": {
2533
+ "type": "object",
2534
+ "additionalProperties": {
2535
+ "$ref": "#/definitions/ColumnInfo"
2536
+ },
2537
+ "default": {}
2538
+ },
2539
+ "meta": {
2540
+ "type": "object",
2541
+ "default": {}
2542
+ },
2543
+ "docs": {
2544
+ "$ref": "#/definitions/Docs",
2545
+ "default": {
2546
+ "show": true,
2547
+ "node_color": null
2548
+ }
2549
+ },
2550
+ "patch_path": {
2551
+ "oneOf": [
2552
+ {
2553
+ "type": "string"
2554
+ },
2555
+ {
2556
+ "type": "null"
2557
+ }
2558
+ ]
2559
+ },
2560
+ "build_path": {
2561
+ "oneOf": [
2562
+ {
2563
+ "type": "string"
2564
+ },
2565
+ {
2566
+ "type": "null"
2567
+ }
2568
+ ]
2569
+ },
2570
+ "deferred": {
2571
+ "type": "boolean",
2572
+ "default": false
2573
+ },
2574
+ "unrendered_config": {
2575
+ "type": "object",
2576
+ "default": {}
2577
+ },
2578
+ "created_at": {
2579
+ "type": "number",
2580
+ "default": 1675937087.364386
2581
+ },
2582
+ "config_call_dict": {
2583
+ "type": "object",
2584
+ "default": {}
2585
+ },
2586
+ "relation_name": {
2587
+ "oneOf": [
2588
+ {
2589
+ "type": "string"
2590
+ },
2591
+ {
2592
+ "type": "null"
2593
+ }
2594
+ ]
2595
+ },
2596
+ "raw_code": {
2597
+ "type": "string",
2598
+ "default": ""
2599
+ },
2600
+ "language": {
2601
+ "type": "string",
2602
+ "default": "sql"
2603
+ },
2604
+ "refs": {
2605
+ "type": "array",
2606
+ "items": {
2607
+ "type": "array",
2608
+ "items": {
2609
+ "type": "string"
2610
+ }
2611
+ },
2612
+ "default": []
2613
+ },
2614
+ "sources": {
2615
+ "type": "array",
2616
+ "items": {
2617
+ "type": "array",
2618
+ "items": {
2619
+ "type": "string"
2620
+ }
2621
+ },
2622
+ "default": []
2623
+ },
2624
+ "metrics": {
2625
+ "type": "array",
2626
+ "items": {
2627
+ "type": "array",
2628
+ "items": {
2629
+ "type": "string"
2630
+ }
2631
+ },
2632
+ "default": []
2633
+ },
2634
+ "depends_on": {
2635
+ "$ref": "#/definitions/DependsOn",
2636
+ "default": {
2637
+ "macros": [],
2638
+ "nodes": []
2639
+ }
2640
+ },
2641
+ "compiled_path": {
2642
+ "oneOf": [
2643
+ {
2644
+ "type": "string"
2645
+ },
2646
+ {
2647
+ "type": "null"
2648
+ }
2649
+ ]
2650
+ },
2651
+ "compiled": {
2652
+ "type": "boolean",
2653
+ "default": false
2654
+ },
2655
+ "compiled_code": {
2656
+ "oneOf": [
2657
+ {
2658
+ "type": "string"
2659
+ },
2660
+ {
2661
+ "type": "null"
2662
+ }
2663
+ ]
2664
+ },
2665
+ "extra_ctes_injected": {
2666
+ "type": "boolean",
2667
+ "default": false
2668
+ },
2669
+ "extra_ctes": {
2670
+ "type": "array",
2671
+ "items": {
2672
+ "$ref": "#/definitions/InjectedCTE"
2673
+ },
2674
+ "default": []
2675
+ }
2676
+ },
2677
+ "additionalProperties": false,
2678
+ "description": "SnapshotNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.SnapshotConfig, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', language: str = 'sql', refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, compiled_path: Optional[str] = None, compiled: bool = False, compiled_code: Optional[str] = None, extra_ctes_injected: bool = False, extra_ctes: List[dbt.contracts.graph.nodes.InjectedCTE] = <factory>, _pre_injected_sql: Optional[str] = None)"
2679
+ },
2680
+ "SnapshotConfig": {
2681
+ "type": "object",
2682
+ "required": [],
2683
+ "properties": {
2684
+ "enabled": {
2685
+ "type": "boolean",
2686
+ "default": true
2687
+ },
2688
+ "alias": {
2689
+ "oneOf": [
2690
+ {
2691
+ "type": "string"
2692
+ },
2693
+ {
2694
+ "type": "null"
2695
+ }
2696
+ ]
2697
+ },
2698
+ "schema": {
2699
+ "oneOf": [
2700
+ {
2701
+ "type": "string"
2702
+ },
2703
+ {
2704
+ "type": "null"
2705
+ }
2706
+ ]
2707
+ },
2708
+ "database": {
2709
+ "oneOf": [
2710
+ {
2711
+ "type": "string"
2712
+ },
2713
+ {
2714
+ "type": "null"
2715
+ }
2716
+ ]
2717
+ },
2718
+ "tags": {
2719
+ "oneOf": [
2720
+ {
2721
+ "type": "array",
2722
+ "items": {
2723
+ "type": "string"
2724
+ }
2725
+ },
2726
+ {
2727
+ "type": "string"
2728
+ }
2729
+ ],
2730
+ "default": []
2731
+ },
2732
+ "meta": {
2733
+ "type": "object",
2734
+ "default": {}
2735
+ },
2736
+ "materialized": {
2737
+ "type": "string",
2738
+ "default": "snapshot"
2739
+ },
2740
+ "incremental_strategy": {
2741
+ "oneOf": [
2742
+ {
2743
+ "type": "string"
2744
+ },
2745
+ {
2746
+ "type": "null"
2747
+ }
2748
+ ]
2749
+ },
2750
+ "persist_docs": {
2751
+ "type": "object",
2752
+ "default": {}
2753
+ },
2754
+ "post-hook": {
2755
+ "type": "array",
2756
+ "items": {
2757
+ "$ref": "#/definitions/Hook"
2758
+ },
2759
+ "default": []
2760
+ },
2761
+ "pre-hook": {
2762
+ "type": "array",
2763
+ "items": {
2764
+ "$ref": "#/definitions/Hook"
2765
+ },
2766
+ "default": []
2767
+ },
2768
+ "quoting": {
2769
+ "type": "object",
2770
+ "default": {}
2771
+ },
2772
+ "column_types": {
2773
+ "type": "object",
2774
+ "default": {}
2775
+ },
2776
+ "full_refresh": {
2777
+ "oneOf": [
2778
+ {
2779
+ "type": "boolean"
2780
+ },
2781
+ {
2782
+ "type": "null"
2783
+ }
2784
+ ]
2785
+ },
2786
+ "unique_key": {
2787
+ "oneOf": [
2788
+ {
2789
+ "type": "string"
2790
+ },
2791
+ {
2792
+ "type": "null"
2793
+ }
2794
+ ]
2795
+ },
2796
+ "on_schema_change": {
2797
+ "oneOf": [
2798
+ {
2799
+ "type": "string"
2800
+ },
2801
+ {
2802
+ "type": "null"
2803
+ }
2804
+ ],
2805
+ "default": "ignore"
2806
+ },
2807
+ "grants": {
2808
+ "type": "object",
2809
+ "default": {}
2810
+ },
2811
+ "packages": {
2812
+ "type": "array",
2813
+ "items": {
2814
+ "type": "string"
2815
+ },
2816
+ "default": []
2817
+ },
2818
+ "docs": {
2819
+ "$ref": "#/definitions/Docs",
2820
+ "default": {
2821
+ "show": true,
2822
+ "node_color": null
2823
+ }
2824
+ },
2825
+ "strategy": {
2826
+ "oneOf": [
2827
+ {
2828
+ "type": "string"
2829
+ },
2830
+ {
2831
+ "type": "null"
2832
+ }
2833
+ ]
2834
+ },
2835
+ "target_schema": {
2836
+ "oneOf": [
2837
+ {
2838
+ "type": "string"
2839
+ },
2840
+ {
2841
+ "type": "null"
2842
+ }
2843
+ ]
2844
+ },
2845
+ "target_database": {
2846
+ "oneOf": [
2847
+ {
2848
+ "type": "string"
2849
+ },
2850
+ {
2851
+ "type": "null"
2852
+ }
2853
+ ]
2854
+ },
2855
+ "updated_at": {
2856
+ "oneOf": [
2857
+ {
2858
+ "type": "string"
2859
+ },
2860
+ {
2861
+ "type": "null"
2862
+ }
2863
+ ]
2864
+ },
2865
+ "check_cols": {
2866
+ "oneOf": [
2867
+ {
2868
+ "type": "string"
2869
+ },
2870
+ {
2871
+ "type": "array",
2872
+ "items": {
2873
+ "type": "string"
2874
+ }
2875
+ },
2876
+ {
2877
+ "type": "null"
2878
+ }
2879
+ ]
2880
+ }
2881
+ },
2882
+ "additionalProperties": true,
2883
+ "description": "SnapshotConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True, alias: Optional[str] = None, schema: Optional[str] = None, database: Optional[str] = None, tags: Union[List[str], str] = <factory>, meta: Dict[str, Any] = <factory>, materialized: str = 'snapshot', incremental_strategy: Optional[str] = None, persist_docs: Dict[str, Any] = <factory>, post_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, pre_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, quoting: Dict[str, Any] = <factory>, column_types: Dict[str, Any] = <factory>, full_refresh: Optional[bool] = None, unique_key: Optional[str] = None, on_schema_change: Optional[str] = 'ignore', grants: Dict[str, Any] = <factory>, packages: List[str] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, strategy: Optional[str] = None, target_schema: Optional[str] = None, target_database: Optional[str] = None, updated_at: Optional[str] = None, check_cols: Union[str, List[str], NoneType] = None)"
2884
+ },
2885
+ "SeedNode": {
2886
+ "type": "object",
2887
+ "required": [
2888
+ "schema",
2889
+ "name",
2890
+ "resource_type",
2891
+ "package_name",
2892
+ "path",
2893
+ "original_file_path",
2894
+ "unique_id",
2895
+ "fqn",
2896
+ "alias",
2897
+ "checksum"
2898
+ ],
2899
+ "properties": {
2900
+ "database": {
2901
+ "oneOf": [
2902
+ {
2903
+ "type": "string"
2904
+ },
2905
+ {
2906
+ "type": "null"
2907
+ }
2908
+ ]
2909
+ },
2910
+ "schema": {
2911
+ "type": "string"
2912
+ },
2913
+ "name": {
2914
+ "type": "string"
2915
+ },
2916
+ "resource_type": {
2917
+ "type": "string",
2918
+ "enum": [
2919
+ "seed"
2920
+ ]
2921
+ },
2922
+ "package_name": {
2923
+ "type": "string"
2924
+ },
2925
+ "path": {
2926
+ "type": "string"
2927
+ },
2928
+ "original_file_path": {
2929
+ "type": "string"
2930
+ },
2931
+ "unique_id": {
2932
+ "type": "string"
2933
+ },
2934
+ "fqn": {
2935
+ "type": "array",
2936
+ "items": {
2937
+ "type": "string"
2938
+ }
2939
+ },
2940
+ "alias": {
2941
+ "type": "string"
2942
+ },
2943
+ "checksum": {
2944
+ "$ref": "#/definitions/FileHash"
2945
+ },
2946
+ "config": {
2947
+ "$ref": "#/definitions/SeedConfig",
2948
+ "default": {
2949
+ "enabled": true,
2950
+ "alias": null,
2951
+ "schema": null,
2952
+ "database": null,
2953
+ "tags": [],
2954
+ "meta": {},
2955
+ "materialized": "seed",
2956
+ "incremental_strategy": null,
2957
+ "persist_docs": {},
2958
+ "quoting": {},
2959
+ "column_types": {},
2960
+ "full_refresh": null,
2961
+ "unique_key": null,
2962
+ "on_schema_change": "ignore",
2963
+ "grants": {},
2964
+ "packages": [],
2965
+ "docs": {
2966
+ "show": true,
2967
+ "node_color": null
2968
+ },
2969
+ "quote_columns": null,
2970
+ "post-hook": [],
2971
+ "pre-hook": []
2972
+ }
2973
+ },
2974
+ "tags": {
2975
+ "type": "array",
2976
+ "items": {
2977
+ "type": "string"
2978
+ },
2979
+ "default": []
2980
+ },
2981
+ "description": {
2982
+ "type": "string",
2983
+ "default": ""
2984
+ },
2985
+ "columns": {
2986
+ "type": "object",
2987
+ "additionalProperties": {
2988
+ "$ref": "#/definitions/ColumnInfo"
2989
+ },
2990
+ "default": {}
2991
+ },
2992
+ "meta": {
2993
+ "type": "object",
2994
+ "default": {}
2995
+ },
2996
+ "docs": {
2997
+ "$ref": "#/definitions/Docs",
2998
+ "default": {
2999
+ "show": true,
3000
+ "node_color": null
3001
+ }
3002
+ },
3003
+ "patch_path": {
3004
+ "oneOf": [
3005
+ {
3006
+ "type": "string"
3007
+ },
3008
+ {
3009
+ "type": "null"
3010
+ }
3011
+ ]
3012
+ },
3013
+ "build_path": {
3014
+ "oneOf": [
3015
+ {
3016
+ "type": "string"
3017
+ },
3018
+ {
3019
+ "type": "null"
3020
+ }
3021
+ ]
3022
+ },
3023
+ "deferred": {
3024
+ "type": "boolean",
3025
+ "default": false
3026
+ },
3027
+ "unrendered_config": {
3028
+ "type": "object",
3029
+ "default": {}
3030
+ },
3031
+ "created_at": {
3032
+ "type": "number",
3033
+ "default": 1675937087.366245
3034
+ },
3035
+ "config_call_dict": {
3036
+ "type": "object",
3037
+ "default": {}
3038
+ },
3039
+ "relation_name": {
3040
+ "oneOf": [
3041
+ {
3042
+ "type": "string"
3043
+ },
3044
+ {
3045
+ "type": "null"
3046
+ }
3047
+ ]
3048
+ },
3049
+ "raw_code": {
3050
+ "type": "string",
3051
+ "default": ""
3052
+ },
3053
+ "root_path": {
3054
+ "oneOf": [
3055
+ {
3056
+ "type": "string"
3057
+ },
3058
+ {
3059
+ "type": "null"
3060
+ }
3061
+ ]
3062
+ },
3063
+ "depends_on": {
3064
+ "$ref": "#/definitions/MacroDependsOn",
3065
+ "default": {
3066
+ "macros": []
3067
+ }
3068
+ }
3069
+ },
3070
+ "additionalProperties": false,
3071
+ "description": "SeedNode(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], alias: str, checksum: dbt.contracts.files.FileHash, config: dbt.contracts.graph.model_config.SeedConfig = <factory>, _event_status: Dict[str, Any] = <factory>, tags: List[str] = <factory>, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, build_path: Optional[str] = None, deferred: bool = False, unrendered_config: Dict[str, Any] = <factory>, created_at: float = <factory>, config_call_dict: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, raw_code: str = '', root_path: Optional[str] = None, depends_on: dbt.contracts.graph.nodes.MacroDependsOn = <factory>)"
3072
+ },
3073
+ "SeedConfig": {
3074
+ "type": "object",
3075
+ "required": [],
3076
+ "properties": {
3077
+ "enabled": {
3078
+ "type": "boolean",
3079
+ "default": true
3080
+ },
3081
+ "alias": {
3082
+ "oneOf": [
3083
+ {
3084
+ "type": "string"
3085
+ },
3086
+ {
3087
+ "type": "null"
3088
+ }
3089
+ ]
3090
+ },
3091
+ "schema": {
3092
+ "oneOf": [
3093
+ {
3094
+ "type": "string"
3095
+ },
3096
+ {
3097
+ "type": "null"
3098
+ }
3099
+ ]
3100
+ },
3101
+ "database": {
3102
+ "oneOf": [
3103
+ {
3104
+ "type": "string"
3105
+ },
3106
+ {
3107
+ "type": "null"
3108
+ }
3109
+ ]
3110
+ },
3111
+ "tags": {
3112
+ "oneOf": [
3113
+ {
3114
+ "type": "array",
3115
+ "items": {
3116
+ "type": "string"
3117
+ }
3118
+ },
3119
+ {
3120
+ "type": "string"
3121
+ }
3122
+ ],
3123
+ "default": []
3124
+ },
3125
+ "meta": {
3126
+ "type": "object",
3127
+ "default": {}
3128
+ },
3129
+ "materialized": {
3130
+ "type": "string",
3131
+ "default": "seed"
3132
+ },
3133
+ "incremental_strategy": {
3134
+ "oneOf": [
3135
+ {
3136
+ "type": "string"
3137
+ },
3138
+ {
3139
+ "type": "null"
3140
+ }
3141
+ ]
3142
+ },
3143
+ "persist_docs": {
3144
+ "type": "object",
3145
+ "default": {}
3146
+ },
3147
+ "post-hook": {
3148
+ "type": "array",
3149
+ "items": {
3150
+ "$ref": "#/definitions/Hook"
3151
+ },
3152
+ "default": []
3153
+ },
3154
+ "pre-hook": {
3155
+ "type": "array",
3156
+ "items": {
3157
+ "$ref": "#/definitions/Hook"
3158
+ },
3159
+ "default": []
3160
+ },
3161
+ "quoting": {
3162
+ "type": "object",
3163
+ "default": {}
3164
+ },
3165
+ "column_types": {
3166
+ "type": "object",
3167
+ "default": {}
3168
+ },
3169
+ "full_refresh": {
3170
+ "oneOf": [
3171
+ {
3172
+ "type": "boolean"
3173
+ },
3174
+ {
3175
+ "type": "null"
3176
+ }
3177
+ ]
3178
+ },
3179
+ "unique_key": {
3180
+ "oneOf": [
3181
+ {
3182
+ "type": "string"
3183
+ },
3184
+ {
3185
+ "type": "array",
3186
+ "items": {
3187
+ "type": "string"
3188
+ }
3189
+ },
3190
+ {
3191
+ "type": "null"
3192
+ }
3193
+ ]
3194
+ },
3195
+ "on_schema_change": {
3196
+ "oneOf": [
3197
+ {
3198
+ "type": "string"
3199
+ },
3200
+ {
3201
+ "type": "null"
3202
+ }
3203
+ ],
3204
+ "default": "ignore"
3205
+ },
3206
+ "grants": {
3207
+ "type": "object",
3208
+ "default": {}
3209
+ },
3210
+ "packages": {
3211
+ "type": "array",
3212
+ "items": {
3213
+ "type": "string"
3214
+ },
3215
+ "default": []
3216
+ },
3217
+ "docs": {
3218
+ "$ref": "#/definitions/Docs",
3219
+ "default": {
3220
+ "show": true,
3221
+ "node_color": null
3222
+ }
3223
+ },
3224
+ "quote_columns": {
3225
+ "oneOf": [
3226
+ {
3227
+ "type": "boolean"
3228
+ },
3229
+ {
3230
+ "type": "null"
3231
+ }
3232
+ ]
3233
+ }
3234
+ },
3235
+ "additionalProperties": true,
3236
+ "description": "SeedConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True, alias: Optional[str] = None, schema: Optional[str] = None, database: Optional[str] = None, tags: Union[List[str], str] = <factory>, meta: Dict[str, Any] = <factory>, materialized: str = 'seed', incremental_strategy: Optional[str] = None, persist_docs: Dict[str, Any] = <factory>, post_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, pre_hook: List[dbt.contracts.graph.model_config.Hook] = <factory>, quoting: Dict[str, Any] = <factory>, column_types: Dict[str, Any] = <factory>, full_refresh: Optional[bool] = None, unique_key: Union[str, List[str], NoneType] = None, on_schema_change: Optional[str] = 'ignore', grants: Dict[str, Any] = <factory>, packages: List[str] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, quote_columns: Optional[bool] = None)"
3237
+ },
3238
+ "MacroDependsOn": {
3239
+ "type": "object",
3240
+ "required": [],
3241
+ "properties": {
3242
+ "macros": {
3243
+ "type": "array",
3244
+ "items": {
3245
+ "type": "string"
3246
+ },
3247
+ "default": []
3248
+ }
3249
+ },
3250
+ "additionalProperties": false,
3251
+ "description": "Used only in the Macro class"
3252
+ },
3253
+ "SourceDefinition": {
3254
+ "type": "object",
3255
+ "required": [
3256
+ "schema",
3257
+ "name",
3258
+ "resource_type",
3259
+ "package_name",
3260
+ "path",
3261
+ "original_file_path",
3262
+ "unique_id",
3263
+ "fqn",
3264
+ "source_name",
3265
+ "source_description",
3266
+ "loader",
3267
+ "identifier"
3268
+ ],
3269
+ "properties": {
3270
+ "database": {
3271
+ "oneOf": [
3272
+ {
3273
+ "type": "string"
3274
+ },
3275
+ {
3276
+ "type": "null"
3277
+ }
3278
+ ]
3279
+ },
3280
+ "schema": {
3281
+ "type": "string"
3282
+ },
3283
+ "name": {
3284
+ "type": "string"
3285
+ },
3286
+ "resource_type": {
3287
+ "type": "string",
3288
+ "enum": [
3289
+ "source"
3290
+ ]
3291
+ },
3292
+ "package_name": {
3293
+ "type": "string"
3294
+ },
3295
+ "path": {
3296
+ "type": "string"
3297
+ },
3298
+ "original_file_path": {
3299
+ "type": "string"
3300
+ },
3301
+ "unique_id": {
3302
+ "type": "string"
3303
+ },
3304
+ "fqn": {
3305
+ "type": "array",
3306
+ "items": {
3307
+ "type": "string"
3308
+ }
3309
+ },
3310
+ "source_name": {
3311
+ "type": "string"
3312
+ },
3313
+ "source_description": {
3314
+ "type": "string"
3315
+ },
3316
+ "loader": {
3317
+ "type": "string"
3318
+ },
3319
+ "identifier": {
3320
+ "type": "string"
3321
+ },
3322
+ "quoting": {
3323
+ "$ref": "#/definitions/Quoting",
3324
+ "default": {
3325
+ "database": null,
3326
+ "schema": null,
3327
+ "identifier": null,
3328
+ "column": null
3329
+ }
3330
+ },
3331
+ "loaded_at_field": {
3332
+ "oneOf": [
3333
+ {
3334
+ "type": "string"
3335
+ },
3336
+ {
3337
+ "type": "null"
3338
+ }
3339
+ ]
3340
+ },
3341
+ "freshness": {
3342
+ "oneOf": [
3343
+ {
3344
+ "$ref": "#/definitions/FreshnessThreshold"
3345
+ },
3346
+ {
3347
+ "type": "null"
3348
+ }
3349
+ ]
3350
+ },
3351
+ "external": {
3352
+ "oneOf": [
3353
+ {
3354
+ "$ref": "#/definitions/ExternalTable"
3355
+ },
3356
+ {
3357
+ "type": "null"
3358
+ }
3359
+ ]
3360
+ },
3361
+ "description": {
3362
+ "type": "string",
3363
+ "default": ""
3364
+ },
3365
+ "columns": {
3366
+ "type": "object",
3367
+ "additionalProperties": {
3368
+ "$ref": "#/definitions/ColumnInfo"
3369
+ },
3370
+ "default": {}
3371
+ },
3372
+ "meta": {
3373
+ "type": "object",
3374
+ "default": {}
3375
+ },
3376
+ "source_meta": {
3377
+ "type": "object",
3378
+ "default": {}
3379
+ },
3380
+ "tags": {
3381
+ "type": "array",
3382
+ "items": {
3383
+ "type": "string"
3384
+ },
3385
+ "default": []
3386
+ },
3387
+ "config": {
3388
+ "$ref": "#/definitions/SourceConfig",
3389
+ "default": {
3390
+ "enabled": true
3391
+ }
3392
+ },
3393
+ "patch_path": {
3394
+ "oneOf": [
3395
+ {
3396
+ "type": "string"
3397
+ },
3398
+ {
3399
+ "type": "null"
3400
+ }
3401
+ ]
3402
+ },
3403
+ "unrendered_config": {
3404
+ "type": "object",
3405
+ "default": {}
3406
+ },
3407
+ "relation_name": {
3408
+ "oneOf": [
3409
+ {
3410
+ "type": "string"
3411
+ },
3412
+ {
3413
+ "type": "null"
3414
+ }
3415
+ ]
3416
+ },
3417
+ "created_at": {
3418
+ "type": "number",
3419
+ "default": 1675937087.368067
3420
+ }
3421
+ },
3422
+ "additionalProperties": false,
3423
+ "description": "SourceDefinition(database: Optional[str], schema: str, name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], source_name: str, source_description: str, loader: str, identifier: str, _event_status: Dict[str, Any] = <factory>, quoting: dbt.contracts.graph.unparsed.Quoting = <factory>, loaded_at_field: Optional[str] = None, freshness: Optional[dbt.contracts.graph.unparsed.FreshnessThreshold] = None, external: Optional[dbt.contracts.graph.unparsed.ExternalTable] = None, description: str = '', columns: Dict[str, dbt.contracts.graph.nodes.ColumnInfo] = <factory>, meta: Dict[str, Any] = <factory>, source_meta: Dict[str, Any] = <factory>, tags: List[str] = <factory>, config: dbt.contracts.graph.model_config.SourceConfig = <factory>, patch_path: Optional[str] = None, unrendered_config: Dict[str, Any] = <factory>, relation_name: Optional[str] = None, created_at: float = <factory>)"
3424
+ },
3425
+ "Quoting": {
3426
+ "type": "object",
3427
+ "required": [],
3428
+ "properties": {
3429
+ "database": {
3430
+ "oneOf": [
3431
+ {
3432
+ "type": "boolean"
3433
+ },
3434
+ {
3435
+ "type": "null"
3436
+ }
3437
+ ]
3438
+ },
3439
+ "schema": {
3440
+ "oneOf": [
3441
+ {
3442
+ "type": "boolean"
3443
+ },
3444
+ {
3445
+ "type": "null"
3446
+ }
3447
+ ]
3448
+ },
3449
+ "identifier": {
3450
+ "oneOf": [
3451
+ {
3452
+ "type": "boolean"
3453
+ },
3454
+ {
3455
+ "type": "null"
3456
+ }
3457
+ ]
3458
+ },
3459
+ "column": {
3460
+ "oneOf": [
3461
+ {
3462
+ "type": "boolean"
3463
+ },
3464
+ {
3465
+ "type": "null"
3466
+ }
3467
+ ]
3468
+ }
3469
+ },
3470
+ "additionalProperties": false,
3471
+ "description": "Quoting(database: Optional[bool] = None, schema: Optional[bool] = None, identifier: Optional[bool] = None, column: Optional[bool] = None)"
3472
+ },
3473
+ "FreshnessThreshold": {
3474
+ "type": "object",
3475
+ "required": [],
3476
+ "properties": {
3477
+ "warn_after": {
3478
+ "oneOf": [
3479
+ {
3480
+ "$ref": "#/definitions/Time"
3481
+ },
3482
+ {
3483
+ "type": "null"
3484
+ }
3485
+ ],
3486
+ "default": {
3487
+ "count": null,
3488
+ "period": null
3489
+ }
3490
+ },
3491
+ "error_after": {
3492
+ "oneOf": [
3493
+ {
3494
+ "$ref": "#/definitions/Time"
3495
+ },
3496
+ {
3497
+ "type": "null"
3498
+ }
3499
+ ],
3500
+ "default": {
3501
+ "count": null,
3502
+ "period": null
3503
+ }
3504
+ },
3505
+ "filter": {
3506
+ "oneOf": [
3507
+ {
3508
+ "type": "string"
3509
+ },
3510
+ {
3511
+ "type": "null"
3512
+ }
3513
+ ]
3514
+ }
3515
+ },
3516
+ "additionalProperties": false,
3517
+ "description": "FreshnessThreshold(warn_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, error_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, filter: Optional[str] = None)"
3518
+ },
3519
+ "FreshnessMetadata": {
3520
+ "type": "object",
3521
+ "required": [],
3522
+ "properties": {
3523
+ "dbt_schema_version": {
3524
+ "type": "string",
3525
+ "default": "https://schemas.getdbt.com/dbt/sources/v3.json"
3526
+ },
3527
+ "dbt_version": {
3528
+ "type": "string",
3529
+ "default": "1.4.1"
3530
+ },
3531
+ "generated_at": {
3532
+ "type": "string",
3533
+ "format": "date-time",
3534
+ "default": "2023-02-09T10:04:47.347023Z"
3535
+ },
3536
+ "invocation_id": {
3537
+ "oneOf": [
3538
+ {
3539
+ "type": "string"
3540
+ },
3541
+ {
3542
+ "type": "null"
3543
+ }
3544
+ ],
3545
+ "default": "f795bc66-f417-4007-af6e-f2e513d33790"
3546
+ },
3547
+ "env": {
3548
+ "type": "object",
3549
+ "additionalProperties": {
3550
+ "type": "string"
3551
+ },
3552
+ "default": {}
3553
+ }
3554
+ },
3555
+ "additionalProperties": false,
3556
+ "description": "FreshnessMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.4.1', generated_at: datetime.datetime = <factory>, invocation_id: Optional[str] = <factory>, env: Dict[str, str] = <factory>)"
3557
+ },
3558
+ "SourceFreshnessRuntimeError": {
3559
+ "type": "object",
3560
+ "required": [
3561
+ "unique_id",
3562
+ "status"
3563
+ ],
3564
+ "properties": {
3565
+ "unique_id": {
3566
+ "type": "string"
3567
+ },
3568
+ "error": {
3569
+ "oneOf": [
3570
+ {
3571
+ "type": "string"
3572
+ },
3573
+ {
3574
+ "type": "integer"
3575
+ },
3576
+ {
3577
+ "type": "null"
3578
+ }
3579
+ ]
3580
+ },
3581
+ "status": {
3582
+ "type": "string",
3583
+ "enum": [
3584
+ "runtime error"
3585
+ ]
3586
+ }
3587
+ },
3588
+ "additionalProperties": false,
3589
+ "description": "SourceFreshnessRuntimeError(unique_id: str, error: Union[str, int, NoneType], status: dbt.contracts.results.FreshnessErrorEnum)"
3590
+ },
3591
+ "SourceFreshnessOutput": {
3592
+ "type": "object",
3593
+ "required": [
3594
+ "unique_id",
3595
+ "max_loaded_at",
3596
+ "snapshotted_at",
3597
+ "max_loaded_at_time_ago_in_s",
3598
+ "status",
3599
+ "criteria",
3600
+ "adapter_response",
3601
+ "timing",
3602
+ "thread_id",
3603
+ "execution_time"
3604
+ ],
3605
+ "properties": {
3606
+ "unique_id": {
3607
+ "type": "string"
3608
+ },
3609
+ "max_loaded_at": {
3610
+ "type": "string",
3611
+ "format": "date-time"
3612
+ },
3613
+ "snapshotted_at": {
3614
+ "type": "string",
3615
+ "format": "date-time"
3616
+ },
3617
+ "max_loaded_at_time_ago_in_s": {
3618
+ "type": "number"
3619
+ },
3620
+ "status": {
3621
+ "type": "string",
3622
+ "enum": [
3623
+ "pass",
3624
+ "warn",
3625
+ "error",
3626
+ "runtime error"
3627
+ ]
3628
+ },
3629
+ "criteria": {
3630
+ "$ref": "#/definitions/FreshnessThreshold"
3631
+ },
3632
+ "adapter_response": {
3633
+ "type": "object"
3634
+ },
3635
+ "timing": {
3636
+ "type": "array",
3637
+ "items": {
3638
+ "$ref": "#/definitions/TimingInfo"
3639
+ }
3640
+ },
3641
+ "thread_id": {
3642
+ "type": "string"
3643
+ },
3644
+ "execution_time": {
3645
+ "type": "number"
3646
+ }
3647
+ },
3648
+ "additionalProperties": false,
3649
+ "description": "SourceFreshnessOutput(unique_id: str, max_loaded_at: datetime.datetime, snapshotted_at: datetime.datetime, max_loaded_at_time_ago_in_s: float, status: dbt.contracts.results.FreshnessStatus, criteria: dbt.contracts.graph.unparsed.FreshnessThreshold, adapter_response: Dict[str, Any], timing: List[dbt.contracts.results.TimingInfo], thread_id: str, execution_time: float)"
3650
+ },
3651
+ "Time": {
3652
+ "type": "object",
3653
+ "required": [],
3654
+ "properties": {
3655
+ "count": {
3656
+ "oneOf": [
3657
+ {
3658
+ "type": "integer"
3659
+ },
3660
+ {
3661
+ "type": "null"
3662
+ }
3663
+ ]
3664
+ },
3665
+ "period": {
3666
+ "oneOf": [
3667
+ {
3668
+ "type": "string",
3669
+ "enum": [
3670
+ "minute",
3671
+ "hour",
3672
+ "day"
3673
+ ]
3674
+ },
3675
+ {
3676
+ "type": "null"
3677
+ }
3678
+ ]
3679
+ }
3680
+ },
3681
+ "additionalProperties": false,
3682
+ "description": "Time(count: Optional[int] = None, period: Optional[dbt.contracts.graph.unparsed.TimePeriod] = None)"
3683
+ },
3684
+ "TimingInfo": {
3685
+ "type": "object",
3686
+ "required": [
3687
+ "name"
3688
+ ],
3689
+ "properties": {
3690
+ "name": {
3691
+ "type": "string"
3692
+ },
3693
+ "started_at": {
3694
+ "oneOf": [
3695
+ {
3696
+ "type": "string",
3697
+ "format": "date-time"
3698
+ },
3699
+ {
3700
+ "type": "null"
3701
+ }
3702
+ ]
3703
+ },
3704
+ "completed_at": {
3705
+ "oneOf": [
3706
+ {
3707
+ "type": "string",
3708
+ "format": "date-time"
3709
+ },
3710
+ {
3711
+ "type": "null"
3712
+ }
3713
+ ]
3714
+ }
3715
+ },
3716
+ "additionalProperties": false,
3717
+ "description": "TimingInfo(name: str, started_at: Optional[datetime.datetime] = None, completed_at: Optional[datetime.datetime] = None)"
3718
+ },
3719
+ "ExternalTable": {
3720
+ "type": "object",
3721
+ "required": [],
3722
+ "properties": {
3723
+ "location": {
3724
+ "oneOf": [
3725
+ {
3726
+ "type": "string"
3727
+ },
3728
+ {
3729
+ "type": "null"
3730
+ }
3731
+ ]
3732
+ },
3733
+ "file_format": {
3734
+ "oneOf": [
3735
+ {
3736
+ "type": "string"
3737
+ },
3738
+ {
3739
+ "type": "null"
3740
+ }
3741
+ ]
3742
+ },
3743
+ "row_format": {
3744
+ "oneOf": [
3745
+ {
3746
+ "type": "string"
3747
+ },
3748
+ {
3749
+ "type": "null"
3750
+ }
3751
+ ]
3752
+ },
3753
+ "tbl_properties": {
3754
+ "oneOf": [
3755
+ {
3756
+ "type": "string"
3757
+ },
3758
+ {
3759
+ "type": "null"
3760
+ }
3761
+ ]
3762
+ },
3763
+ "partitions": {
3764
+ "oneOf": [
3765
+ {
3766
+ "type": "array",
3767
+ "items": {
3768
+ "type": "string"
3769
+ }
3770
+ },
3771
+ {
3772
+ "type": "array",
3773
+ "items": {
3774
+ "$ref": "#/definitions/ExternalPartition"
3775
+ }
3776
+ },
3777
+ {
3778
+ "type": "null"
3779
+ }
3780
+ ]
3781
+ }
3782
+ },
3783
+ "additionalProperties": true,
3784
+ "description": "ExternalTable(_extra: Dict[str, Any] = <factory>, location: Optional[str] = None, file_format: Optional[str] = None, row_format: Optional[str] = None, tbl_properties: Optional[str] = None, partitions: Union[List[str], List[dbt.contracts.graph.unparsed.ExternalPartition], NoneType] = None)"
3785
+ },
3786
+ "ExternalPartition": {
3787
+ "type": "object",
3788
+ "required": [],
3789
+ "properties": {
3790
+ "name": {
3791
+ "type": "string",
3792
+ "default": ""
3793
+ },
3794
+ "description": {
3795
+ "type": "string",
3796
+ "default": ""
3797
+ },
3798
+ "data_type": {
3799
+ "type": "string",
3800
+ "default": ""
3801
+ },
3802
+ "meta": {
3803
+ "type": "object",
3804
+ "default": {}
3805
+ }
3806
+ },
3807
+ "additionalProperties": true,
3808
+ "description": "ExternalPartition(_extra: Dict[str, Any] = <factory>, name: str = '', description: str = '', data_type: str = '', meta: Dict[str, Any] = <factory>)"
3809
+ },
3810
+ "SourceConfig": {
3811
+ "type": "object",
3812
+ "required": [],
3813
+ "properties": {
3814
+ "enabled": {
3815
+ "type": "boolean",
3816
+ "default": true
3817
+ }
3818
+ },
3819
+ "additionalProperties": true,
3820
+ "description": "SourceConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True)"
3821
+ },
3822
+ "Macro": {
3823
+ "type": "object",
3824
+ "required": [
3825
+ "name",
3826
+ "resource_type",
3827
+ "package_name",
3828
+ "path",
3829
+ "original_file_path",
3830
+ "unique_id",
3831
+ "macro_sql"
3832
+ ],
3833
+ "properties": {
3834
+ "name": {
3835
+ "type": "string"
3836
+ },
3837
+ "resource_type": {
3838
+ "type": "string",
3839
+ "enum": [
3840
+ "macro"
3841
+ ]
3842
+ },
3843
+ "package_name": {
3844
+ "type": "string"
3845
+ },
3846
+ "path": {
3847
+ "type": "string"
3848
+ },
3849
+ "original_file_path": {
3850
+ "type": "string"
3851
+ },
3852
+ "unique_id": {
3853
+ "type": "string"
3854
+ },
3855
+ "macro_sql": {
3856
+ "type": "string"
3857
+ },
3858
+ "depends_on": {
3859
+ "$ref": "#/definitions/MacroDependsOn",
3860
+ "default": {
3861
+ "macros": []
3862
+ }
3863
+ },
3864
+ "description": {
3865
+ "type": "string",
3866
+ "default": ""
3867
+ },
3868
+ "meta": {
3869
+ "type": "object",
3870
+ "default": {}
3871
+ },
3872
+ "docs": {
3873
+ "$ref": "#/definitions/Docs",
3874
+ "default": {
3875
+ "show": true,
3876
+ "node_color": null
3877
+ }
3878
+ },
3879
+ "patch_path": {
3880
+ "oneOf": [
3881
+ {
3882
+ "type": "string"
3883
+ },
3884
+ {
3885
+ "type": "null"
3886
+ }
3887
+ ]
3888
+ },
3889
+ "arguments": {
3890
+ "type": "array",
3891
+ "items": {
3892
+ "$ref": "#/definitions/MacroArgument"
3893
+ },
3894
+ "default": []
3895
+ },
3896
+ "created_at": {
3897
+ "type": "number",
3898
+ "default": 1675937087.368656
3899
+ },
3900
+ "supported_languages": {
3901
+ "oneOf": [
3902
+ {
3903
+ "type": "array",
3904
+ "items": {
3905
+ "type": "string",
3906
+ "enum": [
3907
+ "python",
3908
+ "sql"
3909
+ ]
3910
+ }
3911
+ },
3912
+ {
3913
+ "type": "null"
3914
+ }
3915
+ ]
3916
+ }
3917
+ },
3918
+ "additionalProperties": false,
3919
+ "description": "Macro(name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, macro_sql: str, depends_on: dbt.contracts.graph.nodes.MacroDependsOn = <factory>, description: str = '', meta: Dict[str, Any] = <factory>, docs: dbt.contracts.graph.unparsed.Docs = <factory>, patch_path: Optional[str] = None, arguments: List[dbt.contracts.graph.unparsed.MacroArgument] = <factory>, created_at: float = <factory>, supported_languages: Optional[List[dbt.node_types.ModelLanguage]] = None)"
3920
+ },
3921
+ "MacroArgument": {
3922
+ "type": "object",
3923
+ "required": [
3924
+ "name"
3925
+ ],
3926
+ "properties": {
3927
+ "name": {
3928
+ "type": "string"
3929
+ },
3930
+ "type": {
3931
+ "oneOf": [
3932
+ {
3933
+ "type": "string"
3934
+ },
3935
+ {
3936
+ "type": "null"
3937
+ }
3938
+ ]
3939
+ },
3940
+ "description": {
3941
+ "type": "string",
3942
+ "default": ""
3943
+ }
3944
+ },
3945
+ "additionalProperties": false,
3946
+ "description": "MacroArgument(name: str, type: Optional[str] = None, description: str = '')"
3947
+ },
3948
+ "Documentation": {
3949
+ "type": "object",
3950
+ "required": [
3951
+ "name",
3952
+ "resource_type",
3953
+ "package_name",
3954
+ "path",
3955
+ "original_file_path",
3956
+ "unique_id",
3957
+ "block_contents"
3958
+ ],
3959
+ "properties": {
3960
+ "name": {
3961
+ "type": "string"
3962
+ },
3963
+ "resource_type": {
3964
+ "type": "string",
3965
+ "enum": [
3966
+ "doc"
3967
+ ]
3968
+ },
3969
+ "package_name": {
3970
+ "type": "string"
3971
+ },
3972
+ "path": {
3973
+ "type": "string"
3974
+ },
3975
+ "original_file_path": {
3976
+ "type": "string"
3977
+ },
3978
+ "unique_id": {
3979
+ "type": "string"
3980
+ },
3981
+ "block_contents": {
3982
+ "type": "string"
3983
+ }
3984
+ },
3985
+ "additionalProperties": false,
3986
+ "description": "Documentation(name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, block_contents: str)"
3987
+ },
3988
+ "Exposure": {
3989
+ "type": "object",
3990
+ "required": [
3991
+ "name",
3992
+ "resource_type",
3993
+ "package_name",
3994
+ "path",
3995
+ "original_file_path",
3996
+ "unique_id",
3997
+ "fqn",
3998
+ "type",
3999
+ "owner"
4000
+ ],
4001
+ "properties": {
4002
+ "name": {
4003
+ "type": "string"
4004
+ },
4005
+ "resource_type": {
4006
+ "type": "string",
4007
+ "enum": [
4008
+ "exposure"
4009
+ ]
4010
+ },
4011
+ "package_name": {
4012
+ "type": "string"
4013
+ },
4014
+ "path": {
4015
+ "type": "string"
4016
+ },
4017
+ "original_file_path": {
4018
+ "type": "string"
4019
+ },
4020
+ "unique_id": {
4021
+ "type": "string"
4022
+ },
4023
+ "fqn": {
4024
+ "type": "array",
4025
+ "items": {
4026
+ "type": "string"
4027
+ }
4028
+ },
4029
+ "type": {
4030
+ "type": "string",
4031
+ "enum": [
4032
+ "dashboard",
4033
+ "notebook",
4034
+ "analysis",
4035
+ "ml",
4036
+ "application"
4037
+ ]
4038
+ },
4039
+ "owner": {
4040
+ "$ref": "#/definitions/ExposureOwner"
4041
+ },
4042
+ "description": {
4043
+ "type": "string",
4044
+ "default": ""
4045
+ },
4046
+ "label": {
4047
+ "oneOf": [
4048
+ {
4049
+ "type": "string"
4050
+ },
4051
+ {
4052
+ "type": "null"
4053
+ }
4054
+ ]
4055
+ },
4056
+ "maturity": {
4057
+ "oneOf": [
4058
+ {
4059
+ "type": "string",
4060
+ "enum": [
4061
+ "low",
4062
+ "medium",
4063
+ "high"
4064
+ ]
4065
+ },
4066
+ {
4067
+ "type": "null"
4068
+ }
4069
+ ]
4070
+ },
4071
+ "meta": {
4072
+ "type": "object",
4073
+ "default": {}
4074
+ },
4075
+ "tags": {
4076
+ "type": "array",
4077
+ "items": {
4078
+ "type": "string"
4079
+ },
4080
+ "default": []
4081
+ },
4082
+ "config": {
4083
+ "$ref": "#/definitions/ExposureConfig",
4084
+ "default": {
4085
+ "enabled": true
4086
+ }
4087
+ },
4088
+ "unrendered_config": {
4089
+ "type": "object",
4090
+ "default": {}
4091
+ },
4092
+ "url": {
4093
+ "oneOf": [
4094
+ {
4095
+ "type": "string"
4096
+ },
4097
+ {
4098
+ "type": "null"
4099
+ }
4100
+ ]
4101
+ },
4102
+ "depends_on": {
4103
+ "$ref": "#/definitions/DependsOn",
4104
+ "default": {
4105
+ "macros": [],
4106
+ "nodes": []
4107
+ }
4108
+ },
4109
+ "refs": {
4110
+ "type": "array",
4111
+ "items": {
4112
+ "type": "array",
4113
+ "items": {
4114
+ "type": "string"
4115
+ }
4116
+ },
4117
+ "default": []
4118
+ },
4119
+ "sources": {
4120
+ "type": "array",
4121
+ "items": {
4122
+ "type": "array",
4123
+ "items": {
4124
+ "type": "string"
4125
+ }
4126
+ },
4127
+ "default": []
4128
+ },
4129
+ "metrics": {
4130
+ "type": "array",
4131
+ "items": {
4132
+ "type": "array",
4133
+ "items": {
4134
+ "type": "string"
4135
+ }
4136
+ },
4137
+ "default": []
4138
+ },
4139
+ "created_at": {
4140
+ "type": "number",
4141
+ "default": 1675937087.369866
4142
+ }
4143
+ },
4144
+ "additionalProperties": false,
4145
+ "description": "Exposure(name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], type: dbt.contracts.graph.unparsed.ExposureType, owner: dbt.contracts.graph.unparsed.ExposureOwner, description: str = '', label: Optional[str] = None, maturity: Optional[dbt.contracts.graph.unparsed.MaturityType] = None, meta: Dict[str, Any] = <factory>, tags: List[str] = <factory>, config: dbt.contracts.graph.model_config.ExposureConfig = <factory>, unrendered_config: Dict[str, Any] = <factory>, url: Optional[str] = None, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, refs: List[List[str]] = <factory>, sources: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, created_at: float = <factory>)"
4146
+ },
4147
+ "ExposureOwner": {
4148
+ "type": "object",
4149
+ "required": [
4150
+ "email"
4151
+ ],
4152
+ "properties": {
4153
+ "email": {
4154
+ "type": "string"
4155
+ },
4156
+ "name": {
4157
+ "oneOf": [
4158
+ {
4159
+ "type": "string"
4160
+ },
4161
+ {
4162
+ "type": "null"
4163
+ }
4164
+ ]
4165
+ }
4166
+ },
4167
+ "additionalProperties": false,
4168
+ "description": "ExposureOwner(email: str, name: Optional[str] = None)"
4169
+ },
4170
+ "ExposureConfig": {
4171
+ "type": "object",
4172
+ "required": [],
4173
+ "properties": {
4174
+ "enabled": {
4175
+ "type": "boolean",
4176
+ "default": true
4177
+ }
4178
+ },
4179
+ "additionalProperties": true,
4180
+ "description": "ExposureConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True)"
4181
+ },
4182
+ "Metric": {
4183
+ "type": "object",
4184
+ "required": [
4185
+ "name",
4186
+ "resource_type",
4187
+ "package_name",
4188
+ "path",
4189
+ "original_file_path",
4190
+ "unique_id",
4191
+ "fqn",
4192
+ "description",
4193
+ "label",
4194
+ "calculation_method",
4195
+ "expression",
4196
+ "filters",
4197
+ "time_grains",
4198
+ "dimensions"
4199
+ ],
4200
+ "properties": {
4201
+ "name": {
4202
+ "type": "string"
4203
+ },
4204
+ "resource_type": {
4205
+ "type": "string",
4206
+ "enum": [
4207
+ "metric"
4208
+ ]
4209
+ },
4210
+ "package_name": {
4211
+ "type": "string"
4212
+ },
4213
+ "path": {
4214
+ "type": "string"
4215
+ },
4216
+ "original_file_path": {
4217
+ "type": "string"
4218
+ },
4219
+ "unique_id": {
4220
+ "type": "string"
4221
+ },
4222
+ "fqn": {
4223
+ "type": "array",
4224
+ "items": {
4225
+ "type": "string"
4226
+ }
4227
+ },
4228
+ "description": {
4229
+ "type": "string"
4230
+ },
4231
+ "label": {
4232
+ "type": "string"
4233
+ },
4234
+ "calculation_method": {
4235
+ "type": "string"
4236
+ },
4237
+ "expression": {
4238
+ "type": "string"
4239
+ },
4240
+ "filters": {
4241
+ "type": "array",
4242
+ "items": {
4243
+ "$ref": "#/definitions/MetricFilter"
4244
+ }
4245
+ },
4246
+ "time_grains": {
4247
+ "type": "array",
4248
+ "items": {
4249
+ "type": "string"
4250
+ }
4251
+ },
4252
+ "dimensions": {
4253
+ "type": "array",
4254
+ "items": {
4255
+ "type": "string"
4256
+ }
4257
+ },
4258
+ "timestamp": {
4259
+ "oneOf": [
4260
+ {
4261
+ "type": "string"
4262
+ },
4263
+ {
4264
+ "type": "null"
4265
+ }
4266
+ ]
4267
+ },
4268
+ "window": {
4269
+ "oneOf": [
4270
+ {
4271
+ "$ref": "#/definitions/MetricTime"
4272
+ },
4273
+ {
4274
+ "type": "null"
4275
+ }
4276
+ ]
4277
+ },
4278
+ "model": {
4279
+ "oneOf": [
4280
+ {
4281
+ "type": "string"
4282
+ },
4283
+ {
4284
+ "type": "null"
4285
+ }
4286
+ ]
4287
+ },
4288
+ "model_unique_id": {
4289
+ "oneOf": [
4290
+ {
4291
+ "type": "string"
4292
+ },
4293
+ {
4294
+ "type": "null"
4295
+ }
4296
+ ]
4297
+ },
4298
+ "meta": {
4299
+ "type": "object",
4300
+ "default": {}
4301
+ },
4302
+ "tags": {
4303
+ "type": "array",
4304
+ "items": {
4305
+ "type": "string"
4306
+ },
4307
+ "default": []
4308
+ },
4309
+ "config": {
4310
+ "$ref": "#/definitions/MetricConfig",
4311
+ "default": {
4312
+ "enabled": true
4313
+ }
4314
+ },
4315
+ "unrendered_config": {
4316
+ "type": "object",
4317
+ "default": {}
4318
+ },
4319
+ "sources": {
4320
+ "type": "array",
4321
+ "items": {
4322
+ "type": "array",
4323
+ "items": {
4324
+ "type": "string"
4325
+ }
4326
+ },
4327
+ "default": []
4328
+ },
4329
+ "depends_on": {
4330
+ "$ref": "#/definitions/DependsOn",
4331
+ "default": {
4332
+ "macros": [],
4333
+ "nodes": []
4334
+ }
4335
+ },
4336
+ "refs": {
4337
+ "type": "array",
4338
+ "items": {
4339
+ "type": "array",
4340
+ "items": {
4341
+ "type": "string"
4342
+ }
4343
+ },
4344
+ "default": []
4345
+ },
4346
+ "metrics": {
4347
+ "type": "array",
4348
+ "items": {
4349
+ "type": "array",
4350
+ "items": {
4351
+ "type": "string"
4352
+ }
4353
+ },
4354
+ "default": []
4355
+ },
4356
+ "created_at": {
4357
+ "type": "number",
4358
+ "default": 1675937087.371092
4359
+ }
4360
+ },
4361
+ "additionalProperties": false,
4362
+ "description": "Metric(name: str, resource_type: dbt.node_types.NodeType, package_name: str, path: str, original_file_path: str, unique_id: str, fqn: List[str], description: str, label: str, calculation_method: str, expression: str, filters: List[dbt.contracts.graph.unparsed.MetricFilter], time_grains: List[str], dimensions: List[str], timestamp: Optional[str] = None, window: Optional[dbt.contracts.graph.unparsed.MetricTime] = None, model: Optional[str] = None, model_unique_id: Optional[str] = None, meta: Dict[str, Any] = <factory>, tags: List[str] = <factory>, config: dbt.contracts.graph.model_config.MetricConfig = <factory>, unrendered_config: Dict[str, Any] = <factory>, sources: List[List[str]] = <factory>, depends_on: dbt.contracts.graph.nodes.DependsOn = <factory>, refs: List[List[str]] = <factory>, metrics: List[List[str]] = <factory>, created_at: float = <factory>)"
4363
+ },
4364
+ "MetricFilter": {
4365
+ "type": "object",
4366
+ "required": [
4367
+ "field",
4368
+ "operator",
4369
+ "value"
4370
+ ],
4371
+ "properties": {
4372
+ "field": {
4373
+ "type": "string"
4374
+ },
4375
+ "operator": {
4376
+ "type": "string"
4377
+ },
4378
+ "value": {
4379
+ "type": "string"
4380
+ }
4381
+ },
4382
+ "additionalProperties": false,
4383
+ "description": "MetricFilter(field: str, operator: str, value: str)"
4384
+ },
4385
+ "MetricTime": {
4386
+ "type": "object",
4387
+ "required": [],
4388
+ "properties": {
4389
+ "count": {
4390
+ "oneOf": [
4391
+ {
4392
+ "type": "integer"
4393
+ },
4394
+ {
4395
+ "type": "null"
4396
+ }
4397
+ ]
4398
+ },
4399
+ "period": {
4400
+ "oneOf": [
4401
+ {
4402
+ "type": "string",
4403
+ "enum": [
4404
+ "day",
4405
+ "week",
4406
+ "month",
4407
+ "year"
4408
+ ]
4409
+ },
4410
+ {
4411
+ "type": "null"
4412
+ }
4413
+ ]
4414
+ }
4415
+ },
4416
+ "additionalProperties": false,
4417
+ "description": "MetricTime(count: Optional[int] = None, period: Optional[dbt.contracts.graph.unparsed.MetricTimePeriod] = None)"
4418
+ },
4419
+ "MetricConfig": {
4420
+ "type": "object",
4421
+ "required": [],
4422
+ "properties": {
4423
+ "enabled": {
4424
+ "type": "boolean",
4425
+ "default": true
4426
+ }
4427
+ },
4428
+ "additionalProperties": true,
4429
+ "description": "MetricConfig(_extra: Dict[str, Any] = <factory>, enabled: bool = True)"
4430
+ }
4431
+ },
4432
+ "$schema": "http://json-schema.org/draft-07/schema#",
4433
+ "$id": "https://schemas.getdbt.com/dbt/manifest/v8.json"
4434
+ }