Typecast

v0.1.0
io.github.nilayp-codes/typecast Checked 4 days ago Published 29 days ago

Validates job-posting JSON against a strict schema; returns one fixable error line per problem.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_job_posting_schema

JSON Schema of a job posting. It does not contain every rule: duplicate skill names and the intern/experience rule are checked only by validate_job_posting.

validate_job_posting

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.

ParameterTypeDescription
posting *string