{"id":"cron-expression-validate","version":"1.0.0","description":"Check whether a five-field cron expression is supported and return a validity flag with a reason code.","supported_operations":["validate cron expression","check cron syntax","is this five field cron valid","lint a cron schedule","verify cron field ranges","detect unsupported cron syntax"],"unsupported_operations":["compute run times","six-field cron with seconds","named months or weekdays"],"semantics":["Vixie wildcard status is true when a field starts with *, including */n; if either day field starts with *, both day value sets must match; otherwise day matching uses OR.","Validates POSIX.1-2024 crontab utility INPUT FILES section fields plus Vixie cron 3.0pl1 ranges, lists, and steps.","A syntactically invalid, well-typed expression returns valid false rather than throwing."],"limits":{"max_input_bytes":512,"max_expression_bytes":128,"max_field_items":60,"max_output_bytes":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["expression"],"properties":{"expression":{"type":"string","minLength":1,"maxLength":128}}},"output_schema":{"type":"object","additionalProperties":false,"required":["expression","valid","reason","standard_version"],"properties":{"expression":{"type":"string","minLength":1,"maxLength":128},"valid":{"type":"boolean"},"reason":{"type":["string","null"]},"standard_version":{"type":"string","const":"POSIX.1-2024 crontab utility, INPUT FILES"}}},"examples":[{"input":{"expression":"*/15 * * * *"},"output":{"expression":"*/15 * * * *","valid":true,"reason":null,"standard_version":"POSIX.1-2024 crontab utility, INPUT FILES"}},{"input":{"expression":"60 * * * *"},"output":{"expression":"60 * * * *","valid":false,"reason":"invalid_expression","standard_version":"POSIX.1-2024 crontab utility, INPUT FILES"}}],"execute_url":"/v1/tools/cron-expression-validate/versions/1.0.0/execute"}