mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-15 17:52:26 -05:00
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:
@@ -20,6 +20,9 @@ personalisation = {
|
||||
}
|
||||
|
||||
|
||||
letter_personalisation = dict(personalisation, required=["address_line_1", "postcode"])
|
||||
|
||||
|
||||
https_url = {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
|
||||
Reference in New Issue
Block a user