mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-15 15:28:02 -04:00
However, until we can create a letter without a logo, we will still default to hm-government, because the dvla_organisation is set on the service. This does simplify the code. Also removed the inserts to letter_branding in the data migration file, because we can deploy this before the rest of the work is finished. But we will need to do it later.
12 lines
406 B
Python
12 lines
406 B
Python
post_letter_branding_schema = {
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"description": "POST schema for creating or updating a letter brand",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {"type": ["string", "null"]},
|
|
"filename": {"type": ["string", "null"]},
|
|
"domain": {"type": ["string", "null"]},
|
|
},
|
|
"required": ("name", "filename", "domain")
|
|
}
|