Add banner_colour, single_id_colour, and domain to email_branding_schema.

The Admin app can now be updated to send the new columns to update/create email_branding
This commit is contained in:
Rebecca Law
2018-08-20 10:57:42 +01:00
parent 1658f4de71
commit 0b0e551626
2 changed files with 17 additions and 3 deletions

View File

@@ -4,9 +4,12 @@ post_create_email_branding_schema = {
"type": "object",
"properties": {
"colour": {"type": ["string", "null"]},
"banner_colour": {"type": ["string", "null"]},
"single_id_colour": {"type": ["string", "null"]},
"name": {"type": ["string", "null"]},
"text": {"type": ["string", "null"]},
"logo": {"type": ["string", "null"]}
"logo": {"type": ["string", "null"]},
"domain": {"type": ["string", "null"]},
},
"required": []
}
@@ -17,9 +20,12 @@ post_update_email_branding_schema = {
"type": "object",
"properties": {
"colour": {"type": ["string", "null"]},
"banner_colour": {"type": ["string", "null"]},
"single_id_colour": {"type": ["string", "null"]},
"name": {"type": ["string", "null"]},
"text": {"type": ["string", "null"]},
"logo": {"type": ["string", "null"]}
"logo": {"type": ["string", "null"]},
"domain": {"type": ["string", "null"]},
},
"required": []
}