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.

16 lines
630 B

  1. check = {
  2. "type": "object",
  3. "properties": {
  4. "name": {"type": "string", "maxLength": 100},
  5. "tags": {"type": "string", "maxLength": 500},
  6. "timeout": {"type": "number", "minimum": 60, "maximum": 2592000},
  7. "grace": {"type": "number", "minimum": 60, "maximum": 2592000},
  8. "schedule": {"type": "string", "format": "cron", "maxLength": 100},
  9. "tz": {"type": "string", "format": "timezone", "maxLength": 36},
  10. "channels": {"type": "string"},
  11. "unique": {
  12. "type": "array",
  13. "items": {"enum": ["name", "tags", "timeout", "grace"]}
  14. }
  15. }
  16. }