Files
notifications-api/app/letter_branding/letter_branding_schema.py
Rebecca Law e030c2be88 Removing platform_default as a concept. No service actually wants to send letters with the default hm-government logo so we are going to remove it as a constraint.
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.
2019-01-25 15:03:01 +00:00

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")
}