Update post_create_template_schema

Updated the `post_create_template_schema` to check that the postage is
one of our allowed values.
This commit is contained in:
Katie Smith
2020-06-09 11:02:22 +01:00
parent 69043d70ec
commit 15112b2148
2 changed files with 36 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ post_create_template_schema = {
"subject": {"type": "string"},
"created_by": uuid,
"parent_folder_id": uuid,
"postage": {"type": "string"},
"postage": {"type": "string", "format": "postage"},
},
"if": {
"properties": {