diff --git a/schemas/1.5/dbt_yml_files-1.5.json b/schemas/1.5/dbt_yml_files-1.5.json index 6cd15d7..1af84c8 100644 --- a/schemas/1.5/dbt_yml_files-1.5.json +++ b/schemas/1.5/dbt_yml_files-1.5.json @@ -92,7 +92,10 @@ }, "owner": { "type": "object", - "required": ["email"], + "anyOf": [ + {"required": ["email"]}, + {"required": ["name"]} + ], "properties": { "name": { "type": "string" diff --git a/schemas/1.6/dbt_yml_files-1.6.json b/schemas/1.6/dbt_yml_files-1.6.json index c7f0c71..30a849e 100644 --- a/schemas/1.6/dbt_yml_files-1.6.json +++ b/schemas/1.6/dbt_yml_files-1.6.json @@ -92,7 +92,10 @@ }, "owner": { "type": "object", - "required": ["email"], + "anyOf": [ + {"required": ["email"]}, + {"required": ["name"]} + ], "properties": { "name": { "type": "string" diff --git a/schemas/1.7/dbt_yml_files-1.7.json b/schemas/1.7/dbt_yml_files-1.7.json index c7f0c71..30a849e 100644 --- a/schemas/1.7/dbt_yml_files-1.7.json +++ b/schemas/1.7/dbt_yml_files-1.7.json @@ -92,7 +92,10 @@ }, "owner": { "type": "object", - "required": ["email"], + "anyOf": [ + {"required": ["email"]}, + {"required": ["name"]} + ], "properties": { "name": { "type": "string" diff --git a/schemas/latest/dbt_yml_files-latest.json b/schemas/latest/dbt_yml_files-latest.json index 5c38a0d..7792f84 100644 --- a/schemas/latest/dbt_yml_files-latest.json +++ b/schemas/latest/dbt_yml_files-latest.json @@ -111,9 +111,10 @@ }, "owner": { "type": "object", - "required": [ - "email" - ], + "anyOf": [ + {"required": ["email"]}, + {"required": ["name"]} + ], "properties": { "name": { "type": "string"