Skip to content

Commit

Permalink
Require email or name (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-wade-olo authored Apr 8, 2024
1 parent a9118e7 commit 644d0d0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
5 changes: 4 additions & 1 deletion schemas/1.5/dbt_yml_files-1.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@
},
"owner": {
"type": "object",
"required": ["email"],
"anyOf": [
{"required": ["email"]},
{"required": ["name"]}
],
"properties": {
"name": {
"type": "string"
Expand Down
5 changes: 4 additions & 1 deletion schemas/1.6/dbt_yml_files-1.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@
},
"owner": {
"type": "object",
"required": ["email"],
"anyOf": [
{"required": ["email"]},
{"required": ["name"]}
],
"properties": {
"name": {
"type": "string"
Expand Down
5 changes: 4 additions & 1 deletion schemas/1.7/dbt_yml_files-1.7.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@
},
"owner": {
"type": "object",
"required": ["email"],
"anyOf": [
{"required": ["email"]},
{"required": ["name"]}
],
"properties": {
"name": {
"type": "string"
Expand Down
7 changes: 4 additions & 3 deletions schemas/latest/dbt_yml_files-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@
},
"owner": {
"type": "object",
"required": [
"email"
],
"anyOf": [
{"required": ["email"]},
{"required": ["name"]}
],
"properties": {
"name": {
"type": "string"
Expand Down

0 comments on commit 644d0d0

Please sign in to comment.