Allow the free SMS fragment limit to be 0

This updates the schema so that the free allowance has a minimum value
of 0 instead of 1.
This commit is contained in:
Katie Smith
2022-02-25 12:01:20 +00:00
parent cac6775829
commit d572c7228d

View File

@@ -6,7 +6,7 @@ create_or_update_free_sms_fragment_limit_schema = {
"type": "object", "type": "object",
"title": "Create", "title": "Create",
"properties": { "properties": {
"free_sms_fragment_limit": {"type": "integer", "minimum": 1}, "free_sms_fragment_limit": {"type": "integer", "minimum": 0},
}, },
"required": ["free_sms_fragment_limit"] "required": ["free_sms_fragment_limit"]
} }