diff --git a/build/accounts-statement-schema.json b/build/accounts-statement-schema.json index d76f7ca7..a45995d3 100644 --- a/build/accounts-statement-schema.json +++ b/build/accounts-statement-schema.json @@ -556,8 +556,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/alternate-registration-schema.json b/build/alternate-registration-schema.json index 1350f5c6..b79b99a4 100644 --- a/build/alternate-registration-schema.json +++ b/build/alternate-registration-schema.json @@ -466,8 +466,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/company-schema.json b/build/company-schema.json index 4ed0a406..f972d024 100644 --- a/build/company-schema.json +++ b/build/company-schema.json @@ -322,8 +322,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/control-statement-schema.json b/build/control-statement-schema.json index 9cc0268c..ca6a9064 100644 --- a/build/control-statement-schema.json +++ b/build/control-statement-schema.json @@ -752,8 +752,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/filing-schema.json b/build/filing-schema.json index e798bc17..1fd438c9 100644 --- a/build/filing-schema.json +++ b/build/filing-schema.json @@ -480,8 +480,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/gazette-notice-schema.json b/build/gazette-notice-schema.json index 6973e5f1..1a71b511 100644 --- a/build/gazette-notice-schema.json +++ b/build/gazette-notice-schema.json @@ -519,8 +519,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/licence-schema.json b/build/licence-schema.json index 2d26c61c..434a7ba0 100644 --- a/build/licence-schema.json +++ b/build/licence-schema.json @@ -488,8 +488,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/register-entry-schema.json b/build/register-entry-schema.json index d41613a0..8915ad38 100644 --- a/build/register-entry-schema.json +++ b/build/register-entry-schema.json @@ -254,8 +254,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/sanctioned-entity-schema.json b/build/sanctioned-entity-schema.json index 2bcb58d9..ed3f2fad 100644 --- a/build/sanctioned-entity-schema.json +++ b/build/sanctioned-entity-schema.json @@ -252,8 +252,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/subsequent-registration-schema.json b/build/subsequent-registration-schema.json index cb635a7a..1d5cea30 100644 --- a/build/subsequent-registration-schema.json +++ b/build/subsequent-registration-schema.json @@ -467,8 +467,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/supplier-relationship-schema.json b/build/supplier-relationship-schema.json index 1f1e6083..312abec6 100644 --- a/build/supplier-relationship-schema.json +++ b/build/supplier-relationship-schema.json @@ -460,8 +460,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/build/trademark-registration-schema.json b/build/trademark-registration-schema.json index c9cdc930..731cfb78 100644 --- a/build/trademark-registration-schema.json +++ b/build/trademark-registration-schema.json @@ -575,8 +575,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/schemas/includes/address.json b/schemas/includes/address.json index ca044c3b..76187a5d 100644 --- a/schemas/includes/address.json +++ b/schemas/includes/address.json @@ -46,8 +46,7 @@ }, { "required": [ - "locality", - "country" + "locality" ] } ] diff --git a/spec/sample-data/invalid/includes/organisation/any_of_no_matches-headquarters_address.json b/spec/sample-data/invalid/includes/organisation/any_of_no_matches-headquarters_address.json index 7604663c..ab4b5c36 100644 --- a/spec/sample-data/invalid/includes/organisation/any_of_no_matches-headquarters_address.json +++ b/spec/sample-data/invalid/includes/organisation/any_of_no_matches-headquarters_address.json @@ -3,6 +3,6 @@ "jurisdiction": "global", "website": "http://www.worldbank.org", "headquarters_address": { - "locality": "Washington, DC" + "country": "US" } }