Remove old "simple_polygons" fields in schemas

These were missed in [1].

[1]: https://github.com/alphagov/notifications-api/pull/3314
This commit is contained in:
Ben Thorner
2021-09-01 17:23:29 +01:00
parent be7272b44f
commit 43ddfe0560

View File

@@ -15,7 +15,6 @@ create_broadcast_message_schema = {
'finishes_at': {'type': 'string', 'format': 'datetime'},
'areas': {'type': 'object'},
'areas_2': {'type': 'object'},
'simple_polygons': {"type": "array", "items": {"type": "array"}},
'content': {'type': 'string', 'minLength': 1},
'reference': {'type': 'string', 'minLength': 1, 'maxLength': 255},
},
@@ -44,7 +43,6 @@ update_broadcast_message_schema = {
'finishes_at': {'type': 'string', 'format': 'datetime'},
'areas': {'type': 'object'},
'areas_2': {'type': 'object'},
'simple_polygons': {"type": "array", "items": {"type": "array"}},
},
'required': [],
'additionalProperties': False