Files
notifications-api/app/service/service_senders_schema.py
Rebecca Law c6bf38e869 - is_default is required on the add_service_email_reply_to_request schema
- Added check that the service exists for the POST reply-to methods.
- Added tests
2017-09-20 11:58:18 +01:00

12 lines
427 B
Python

add_service_email_reply_to_request = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "POST service email reply to address",
"type": "object",
"title": "Add new email reply to address for service",
"properties": {
"email_address": {"type": "string", "format": "email_address"},
"is_default": {"type": "boolean"}
},
"required": ["email_address", "is_default"]
}