mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 08:42:21 -05:00
notable things that have been kept until migration is complete: * passing in `organisation` to update_service will update email branding * both `/email-branding` and `/organisation` hit the same code * service endpoints still return organisation as well as email branding
24 lines
733 B
Python
24 lines
733 B
Python
post_create_email_branding_schema = {
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"description": "POST schema for getting email_branding",
|
|
"type": "object",
|
|
"properties": {
|
|
"colour": {"type": ["string", "null"]},
|
|
"name": {"type": ["string", "null"]},
|
|
"logo": {"type": ["string", "null"]}
|
|
},
|
|
"required": []
|
|
}
|
|
|
|
post_update_email_branding_schema = {
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"description": "POST schema for getting email_branding",
|
|
"type": "object",
|
|
"properties": {
|
|
"colour": {"type": ["string", "null"]},
|
|
"name": {"type": ["string", "null"]},
|
|
"logo": {"type": ["string", "null"]}
|
|
},
|
|
"required": []
|
|
}
|