validate_job_posting
Validate job-posting JSON against the JobPosting schema and return field-level errors for correction.
Instructions
Pass the ENTIRE job posting as ONE argument, posting: a JSON string, e.g. {"posting": "{"title": "...", ...}"}. Do not pass fields as separate arguments. Validate a job-posting JSON text against the JobPosting schema. Returns valid, a list of error lines ('field: problem (got: value)'), and the parsed posting when valid. Fix every line and call again: the duplicate-skills and intern/experience rules are reported only once every field is valid, so a fix can surface one more error. Pass the JSON as text; no post-processing is applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posting | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| errors | Yes | ||
| posting | Yes |