mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
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:
@@ -15,7 +15,6 @@ create_broadcast_message_schema = {
|
|||||||
'finishes_at': {'type': 'string', 'format': 'datetime'},
|
'finishes_at': {'type': 'string', 'format': 'datetime'},
|
||||||
'areas': {'type': 'object'},
|
'areas': {'type': 'object'},
|
||||||
'areas_2': {'type': 'object'},
|
'areas_2': {'type': 'object'},
|
||||||
'simple_polygons': {"type": "array", "items": {"type": "array"}},
|
|
||||||
'content': {'type': 'string', 'minLength': 1},
|
'content': {'type': 'string', 'minLength': 1},
|
||||||
'reference': {'type': 'string', 'minLength': 1, 'maxLength': 255},
|
'reference': {'type': 'string', 'minLength': 1, 'maxLength': 255},
|
||||||
},
|
},
|
||||||
@@ -44,7 +43,6 @@ update_broadcast_message_schema = {
|
|||||||
'finishes_at': {'type': 'string', 'format': 'datetime'},
|
'finishes_at': {'type': 'string', 'format': 'datetime'},
|
||||||
'areas': {'type': 'object'},
|
'areas': {'type': 'object'},
|
||||||
'areas_2': {'type': 'object'},
|
'areas_2': {'type': 'object'},
|
||||||
'simple_polygons': {"type": "array", "items": {"type": "array"}},
|
|
||||||
},
|
},
|
||||||
'required': [],
|
'required': [],
|
||||||
'additionalProperties': False
|
'additionalProperties': False
|
||||||
|
|||||||
Reference in New Issue
Block a user