diff --git a/build/accounts-statement-schema.json b/build/accounts-statement-schema.json index f365381..6ba76ee 100644 --- a/build/accounts-statement-schema.json +++ b/build/accounts-statement-schema.json @@ -596,9 +596,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -811,7 +809,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -861,11 +860,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/alternate-registration-schema.json b/build/alternate-registration-schema.json index 147a1ed..45e0814 100644 --- a/build/alternate-registration-schema.json +++ b/build/alternate-registration-schema.json @@ -506,9 +506,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -721,7 +719,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -771,11 +770,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/company-schema.json b/build/company-schema.json index 5ccbc9a..498858b 100644 --- a/build/company-schema.json +++ b/build/company-schema.json @@ -338,9 +338,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -553,7 +551,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -603,11 +602,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/control-statement-schema.json b/build/control-statement-schema.json index 74ccf28..851a0b8 100644 --- a/build/control-statement-schema.json +++ b/build/control-statement-schema.json @@ -792,9 +792,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -1007,7 +1005,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -1057,11 +1056,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/filing-schema.json b/build/filing-schema.json index 19c0e95..9fc7938 100644 --- a/build/filing-schema.json +++ b/build/filing-schema.json @@ -8,7 +8,8 @@ "filing_date": { "type": "string", "description": "Date on which the filing was made – note this is not necessarily the same date as the date on which it was published or the reporting/applicable data on the information contained within it", - "format": "date" + "format": "date", + "minLength": 1 }, "documents": { "type": "array", @@ -519,9 +520,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -734,7 +733,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -784,11 +784,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/gazette-notice-schema.json b/build/gazette-notice-schema.json index a9bdbd7..c3414c4 100644 --- a/build/gazette-notice-schema.json +++ b/build/gazette-notice-schema.json @@ -1150,9 +1150,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -1365,7 +1363,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -1415,11 +1414,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/licence-schema.json b/build/licence-schema.json index 66e526d..6be8bfc 100644 --- a/build/licence-schema.json +++ b/build/licence-schema.json @@ -528,9 +528,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -743,7 +741,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -793,11 +792,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/register-entry-schema.json b/build/register-entry-schema.json index c828d89..4a2db65 100644 --- a/build/register-entry-schema.json +++ b/build/register-entry-schema.json @@ -188,11 +188,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ @@ -740,9 +746,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -955,7 +959,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" diff --git a/build/sanctioned-entity-schema.json b/build/sanctioned-entity-schema.json index 61afa00..c8236ae 100644 --- a/build/sanctioned-entity-schema.json +++ b/build/sanctioned-entity-schema.json @@ -186,11 +186,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ @@ -738,9 +744,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -953,7 +957,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" diff --git a/build/subsequent-registration-schema.json b/build/subsequent-registration-schema.json index 31a435b..7caadeb 100644 --- a/build/subsequent-registration-schema.json +++ b/build/subsequent-registration-schema.json @@ -507,9 +507,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -722,7 +720,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -772,11 +771,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/supplier-relationship-schema.json b/build/supplier-relationship-schema.json index bff8b1b..4a988b8 100644 --- a/build/supplier-relationship-schema.json +++ b/build/supplier-relationship-schema.json @@ -500,9 +500,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -715,7 +713,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -765,11 +764,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/build/trademark-registration-schema.json b/build/trademark-registration-schema.json index 5926eb9..9eb7e62 100644 --- a/build/trademark-registration-schema.json +++ b/build/trademark-registration-schema.json @@ -615,9 +615,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [ @@ -830,7 +828,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" @@ -880,11 +879,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/schemas/filing-schema.json b/schemas/filing-schema.json index 4885fe9..e1b6513 100644 --- a/schemas/filing-schema.json +++ b/schemas/filing-schema.json @@ -8,7 +8,8 @@ "filing_date": { "type": "string", "description": "Date on which the filing was made – note this is not necessarily the same date as the date on which it was published or the reporting/applicable data on the information contained within it", - "format": "date" + "format": "date", + "minLength": 1 }, "documents": { "type": "array", diff --git a/schemas/includes/filing.json b/schemas/includes/filing.json index bb37315..4274ea8 100644 --- a/schemas/includes/filing.json +++ b/schemas/includes/filing.json @@ -8,7 +8,8 @@ }, "date": { "type": "string", - "format": "date" + "format": "date", + "minLength": 1 }, "description": { "type": "string" diff --git a/schemas/includes/identifier.json b/schemas/includes/identifier.json index 6b8350e..8199b48 100644 --- a/schemas/includes/identifier.json +++ b/schemas/includes/identifier.json @@ -6,11 +6,17 @@ "uid": { "type": "string", "description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system", - "minLength": 1 + "minLength": 1, + "not": { + "pattern": "\\A[[:space:]]*\\z" + } }, "identifier_system_code": { "type": "string", - "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)" + "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)", + "not": { + "pattern": "\\A[[:space:]]*\\z" + } } }, "required": [ diff --git a/schemas/includes/officer.json b/schemas/includes/officer.json index d5608f0..5604ee8 100644 --- a/schemas/includes/officer.json +++ b/schemas/includes/officer.json @@ -6,9 +6,7 @@ "name": { "type": "string", "minLength": 1, - "not": { - "pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$" - } + "pattern": "[[:alnum:]]" }, "start_date": { "anyOf": [