Merge pull request #3458 from alphagov/more-cap-acceptance

More tweaks of broadcast message validation
This commit is contained in:
Chris Hill-Scott
2022-02-16 15:58:18 +00:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ post_broadcast_schema = {
},
"content": {
"type": "string",
"minLength": 1,
"minLength": 0,
},
"web": {
"type": "string",

View File

@@ -9,7 +9,6 @@ WAINFLEET = """
<msgType>Alert</msgType>
<source>Flood warning service</source>
<scope>Public</scope>
<references>www.gov.uk/environment-agency,4f6d28b10ab7aa447bbd46d85f1e9effE,2020-02-16T19:20:03+00:00</references>
<info>
<language>en-GB</language>
<category>Met</category>
@@ -55,7 +54,7 @@ WAINFLEET_CANCEL = """
<certainty>Likely</certainty>
<expires>2020-02-16T23:30:13-00:00</expires>
<senderName>Environment Agency</senderName>
<description>Cancel Warning</description>
<description></description>
<web>https://flood-warning-information.service.gov.uk</web>
<contact>0345 988 1188</contact>
<area>