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

11 lines
348 B
Python
Raw Normal View History

2019-01-24 16:38:52 +00:00
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"]},
},
2019-04-05 16:26:52 +01:00
"required": ("name", "filename")
2019-01-24 16:38:52 +00:00
}