You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
760 B

check = {
"type": "object",
"properties": {
"name": {"type": "string", "maxLength": 100},
"desc": {"type": "string"},
"tags": {"type": "string", "maxLength": 500},
"timeout": {"type": "number", "minimum": 60, "maximum": 31536000},
"grace": {"type": "number", "minimum": 60, "maximum": 31536000},
"schedule": {"type": "string", "format": "cron", "maxLength": 100},
"tz": {"type": "string", "format": "timezone", "maxLength": 36},
"channels": {"type": "string"},
"manual_resume": {"type": "boolean"},
"methods": {"enum": ["", "POST"]},
"unique": {
"type": "array",
"items": {"enum": ["name", "tags", "timeout", "grace"]},
},
},
}