Skip to content

Commit 48218be

Browse files
authored
update jsonschemas (#12180)
1 parent 500208c commit 48218be

File tree

8 files changed

+3326
-1513
lines changed

8 files changed

+3326
-1513
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Under the Hood
2+
body: Update jsonschemas for schema.yml and dbt_project.yml deprecations
3+
time: 2025-11-19T11:01:10.616676-05:00
4+
custom:
5+
Author: michelleark
6+
Issue: "12180"

core/dbt/jsonschemas/jsonschemas.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ def jsonschema_validate(schema: Dict[str, Any], json: Dict[str, Any], file_path:
168168
else:
169169
key_path = error_path_to_string(error)
170170
for key in keys:
171+
# Type params are not in the metrics v2 jsonschema from fusion, but dbt-core continues to maintain support for them in v1.
172+
if key == "type_params":
173+
continue
174+
171175
if key == "overrides" and key_path.startswith("sources"):
172176

173177
deprecations.warn(

0 commit comments

Comments
 (0)