Files
notifications-api/app/inbound_sms/inbound_sms_schemas.py
Leo Hemsted 3daf039fbe get_inbound_sms queries from the admin should also allow alphanumerics.
Refactored the call to make the POST and the GET versions of the method
much more distinct.
2017-11-23 16:46:39 +00:00

10 lines
333 B
Python

get_inbound_sms_for_service_schema = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "schema for parameters allowed when searching for to field=",
"type": "object",
"properties": {
"phone_number": {"type": "string"},
"limit": {"type": ["integer", "null"], "minimum": 1}
}
}