This commit is contained in:
Kenneth Kehl
2023-08-29 14:54:30 -07:00
parent 19dcd7a48b
commit 1ecb747c6d
588 changed files with 34100 additions and 23589 deletions

View File

@@ -16,13 +16,9 @@ post_create_template_schema = {
"created_by": uuid,
"parent_folder_id": uuid,
},
"if": {
"properties": {
"template_type": {"enum": ["email"]}
}
},
"if": {"properties": {"template_type": {"enum": ["email"]}}},
"then": {"required": ["subject"]},
"required": ["name", "template_type", "content", "service", "created_by"]
"required": ["name", "template_type", "content", "service", "created_by"],
}
post_update_template_schema = {
@@ -41,6 +37,6 @@ post_update_template_schema = {
"reply_to": nullable_uuid,
"created_by": uuid,
"archived": {"type": "boolean"},
"current_user": uuid
"current_user": uuid,
},
}