Validate a problem
repovive_validate_problemValidate a problem object against Repovive's schema to catch missing fields, invalid slugs, bad difficulty, non-positive limits, and malformed test cases before pushing a draft.
Instructions
Check a problem object against Repovive's schema and report every issue found: missing or empty fields, a non-URL-safe slug, bad difficulty, non-positive limits, and missing or malformed test cases. Run it before pushing a draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem_json | Yes | A problem as a JSON object string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |