mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-05 13:58:25 -04:00
Added free_sms_fragment_limit model, schema, dao and Rest
This commit is contained in:
14
app/billing/billing_schemas.py
Normal file
14
app/billing/billing_schemas.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from app.schema_validation.definitions import uuid, https_url
|
||||
|
||||
|
||||
create_or_update_free_sms_fragment_limit_schema = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "POST annual billing schema",
|
||||
"type": "object",
|
||||
"title": "Create",
|
||||
"properties": {
|
||||
"free_sms_fragment_limit": {"type": "integer", "minimum": 1},
|
||||
"financial_year_start": {"type": "integer", "minimum": 1}
|
||||
},
|
||||
"required": ["free_sms_fragment_limit", "financial_year_start"]
|
||||
}
|
||||
Reference in New Issue
Block a user