@lightdash/common 0.2104.6 → 0.2104.8

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