add POST letter schema

similar to sms/email, however, for consistency with response values
and internal storage, rather than supplying an "email_address" field
or a "phone_number" field, supply an "address_line_1" and "postcode"
field within the personalisation object.
This commit is contained in:
Leo Hemsted
2017-07-07 10:46:26 +01:00
parent 49bbd1a29b
commit 7f4eec79e4
5 changed files with 243 additions and 38 deletions

View File

@@ -20,6 +20,9 @@ personalisation = {
}
letter_personalisation = dict(personalisation, required=["address_line_1", "postcode"])
https_url = {
"type": "string",
"format": "uri",