Skip to content

Commit 336d431

Browse files
committed
Start simplifying schemas
1 parent db4e746 commit 336d431

File tree

5 files changed

+114
-835
lines changed

5 files changed

+114
-835
lines changed

tap_dbt_artifacts/schemas/catalog.schema.json

+4-32
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,10 @@
33
"title": "CatalogArtifact",
44
"properties": {
55
"invocation_id": {
6-
"anyOf": [
7-
{
8-
"type": "string"
9-
},
10-
{
11-
"type": "null"
12-
}
13-
]
6+
"type": ["string", "null"]
147
},
158
"unique_id": {
16-
"anyOf": [
17-
{
18-
"type": "string"
19-
},
20-
{
21-
"type": "null"
22-
}
23-
]
9+
"type": ["string", "null"]
2410
},
2511
"generated_at": {
2612
"type": "string",
@@ -195,14 +181,7 @@
195181
}
196182
},
197183
"unique_id": {
198-
"anyOf": [
199-
{
200-
"type": "string"
201-
},
202-
{
203-
"type": "null"
204-
}
205-
],
184+
"type": ["string", "null"],
206185
"default": null
207186
}
208187
},
@@ -342,14 +321,7 @@
342321
}
343322
},
344323
"unique_id": {
345-
"anyOf": [
346-
{
347-
"type": "string"
348-
},
349-
{
350-
"type": "null"
351-
}
352-
],
324+
"type": ["string", "null"],
353325
"default": null
354326
}
355327
},

0 commit comments

Comments
 (0)