2019-07-08 11:42:53 -05:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": ["validSince", "validUntil", "maxVisits"],
|
|
|
|
"properties": {
|
|
|
|
"validSince": {
|
|
|
|
"description": "The date (in ISO-8601 format) from which this short code will be valid",
|
2023-07-01 10:04:24 -05:00
|
|
|
"type": ["string", "null"]
|
2019-07-08 11:42:53 -05:00
|
|
|
},
|
|
|
|
"validUntil": {
|
|
|
|
"description": "The date (in ISO-8601 format) until which this short code will be valid",
|
2023-07-01 10:04:24 -05:00
|
|
|
"type": ["string", "null"]
|
2019-07-08 11:42:53 -05:00
|
|
|
},
|
|
|
|
"maxVisits": {
|
|
|
|
"description": "The maximum number of allowed visits for this short code",
|
2023-07-01 10:04:24 -05:00
|
|
|
"type": ["number", "null"]
|
2019-07-08 11:42:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|