modified serialized method and schema

This commit is contained in:
venusbb
2017-10-26 13:25:11 +01:00
parent e88b311c8e
commit c10cde6b22
5 changed files with 31 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ create_or_update_free_sms_fragment_limit_schema = {
"title": "Create",
"properties": {
"free_sms_fragment_limit": {"type": "integer", "minimum": 1},
"financial_year_start": {"type": "integer", "minimum": 1}
"financial_year_start": {"type": "integer", "minimum": 2016}
},
"required": ["free_sms_fragment_limit", "financial_year_start"]
}