{"id":"form-response-check","version":"1.0.0","description":"Report missing required answers, nulls, type failures, and choice failures.","supported_operations":["check form completeness","check form answers"],"unsupported_operations":["general json schema","fuzzy answers","medical or legal judgment","inferred defaults"],"semantics":["Provide exactly one of answers or responses. The definition is the only accepted shape.","required means the key is present and the value matches the type. An empty string or empty multi-select satisfies it.","JSON null is never valid. Optional absence is counted and is not an issue.","Issue codes are missing_required, null_not_allowed, type_mismatch, choice_not_allowed, and duplicate_multi.","Unknown answer keys are listed. complete is true only when issues and unknown keys are both empty.","The field counts partition every defined field exactly once."],"limits":{"max_input_bytes":262144,"max_output_bytes":262144,"max_input_depth":16,"max_input_nodes":20000,"max_fields":100,"max_choices":50,"max_respondents":100,"max_id_bytes":128,"max_label_bytes":256,"max_choice_bytes":128,"max_answer_string_bytes":4096,"max_answer_depth":6,"max_answer_nodes":50,"max_changes":500,"max_mapping":100},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["definition"],"properties":{"definition":{"type":"object","additionalProperties":false,"required":["fields"],"properties":{"fields":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["id","label","type","required"],"properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"type":{"type":"string","enum":["string","number","integer","boolean","choice","multi","json"]},"required":{"type":"boolean"},"choices":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":50}}}}}},"answers":{"type":"object"},"responses":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["respondent_id","answers"],"properties":{"respondent_id":{"type":"string","minLength":1},"answers":{"type":"object"}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["mode","counts"],"properties":{"mode":{"type":"string","enum":["answers","responses"]},"complete":{"type":"boolean"},"issues":{"type":"array"},"unknown_fields":{"type":"array"},"respondents":{"type":"array"},"counts":{"type":"object"}}},"examples":[{"input":{"definition":{"fields":[{"id":"email","label":"Email","type":"string","required":true},{"id":"nickname","label":"Nickname","type":"string","required":false}]},"answers":{"nickname":""}},"output":{"mode":"answers","complete":false,"issues":[{"field_id":"email","code":"missing_required"}],"unknown_fields":[],"counts":{"fields":2,"valid":1,"missing_required":1,"missing_optional":0,"null_not_allowed":0,"type_mismatch":0,"choice_not_allowed":0,"duplicate_multi":0,"unknown_fields":0,"empty":1}}}],"execute_url":"/v1/tools/form-response-check/versions/1.0.0/execute"}