mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
15 lines
504 B
Python
15 lines
504 B
Python
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": 2016}
|
|
},
|
|
"required": ["free_sms_fragment_limit", "financial_year_start"]
|
|
}
|