Files
notifications-api/app/letter_branding/letter_branding_schema.py

11 lines
348 B
Python
Raw Permalink Normal View History

post_letter_branding_schema = {
"$schema": "http://json-schema.org/draft-07/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"]
}