Files
notifications-api/app/letter_branding/letter_branding_schema.py
Chris Hill-Scott ee966668bd Remove domain columns from branding table
This relationship is via the `Organisation` now; we don’t use this
column to fudge a relationship based on the user’s email address and the
matching something in these columns.
2019-04-12 15:53:17 +01:00

11 lines
348 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"]},
},
"required": ("name", "filename")
}