{"format":"jobhunt.support.operation/v1","revision":"f77de0f4803debf8c5aaac1702865d976a380e994ea7f572d4e571c044d5495f","contract_sha256":"acfda93724db1a3f53160a30bc5891f447ad14601f26b02ff4cacd7c17d0812e","documentation_only":true,"operation":{"name":"save_application_answers","description":"Save the complete reviewed set of up to 30 screening questions for this role at its expected revision. Employer limits count Unicode code points. The normalized answer set is limited to 300,000 UTF-8 bytes. Unknown answers remain unanswered; do not invent facts. Only mark confirmed after the user confirms, with user_statement provenance. Owned document/import references need their current revision and read:documents. Do not draft legal attestations or demographic self-identification; leave them unanswered for the employer site. Reuse request_id after interruptions.","http":"POST /api/v1/journey/save_application_answers","readOnly":false,"scopes":["write:applications"],"availability":"connected-journey","destructive":true,"implementation_sha256":"1a6319bcb1ff13976972da3ae847333828d7efe4567ff3abe621b328bec3c684","input_schema_ref":"/support/contracts.json#/tools/save_application_answers/inputSchema","output_schema_ref":"/support/contracts.json#/tools/save_application_answers/outputSchema","required_fields":["request_id","application_id","expected_revision","answers"]},"contract":{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Save application answers"},"description":"Save the complete reviewed set of up to 30 screening questions for this role at its expected revision. Employer limits count Unicode code points. The normalized answer set is limited to 300,000 UTF-8 bytes. Unknown answers remain unanswered; do not invent facts. Only mark confirmed after the user confirms, with user_statement provenance. Owned document/import references need their current revision and read:documents. Do not draft legal attestations or demographic self-identification; leave them unanswered for the employer site. Reuse request_id after interruptions.","inputSchema":{"$defs":{"Answer":{"additionalProperties":false,"properties":{"answer":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Answer"},"employer_limit":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Employer Limit"},"question_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Question Id","type":"string"},"question_text":{"maxLength":2000,"minLength":1,"title":"Question Text","type":"string"},"source_refs":{"items":{"$ref":"#/$defs/AnswerSource"},"maxItems":20,"title":"Source Refs","type":"array"},"state":{"enum":["draft","confirmed","unanswered"],"title":"State","type":"string"}},"required":["question_id","question_text","employer_limit","answer","state","source_refs"],"title":"Answer","type":"object"},"AnswerSource":{"additionalProperties":false,"properties":{"field":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"default":null,"title":"Field"},"kind":{"enum":["user_statement","import","posting","document","written_offer","verbal_offer","estimate","unknown"],"title":"Kind","type":"string"},"note":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"record_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Revision"}},"required":["kind"],"title":"AnswerSource","type":"object"}},"additionalProperties":false,"properties":{"answers":{"items":{"$ref":"#/$defs/Answer"},"maxItems":30,"title":"Answers","type":"array"},"application_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Application Id","type":"string"},"expected_account_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"description":"Use the verified get_connected_account ID for this intent. A changed connection is rejected before any action; never replace it automatically on retry.","title":"Expected Account Id"},"expected_revision":{"maximum":2147483647,"minimum":1,"title":"Expected Revision","type":"integer"},"request_id":{"maxLength":36,"minLength":36,"title":"Request Id","type":"string"}},"required":["request_id","application_id","expected_revision","answers"],"title":"AnswersSave","type":"object"},"name":"save_application_answers","outputSchema":{"$defs":{"AnswerSource":{"additionalProperties":false,"properties":{"field":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"default":null,"title":"Field"},"kind":{"enum":["user_statement","import","posting","document","written_offer","verbal_offer","estimate","unknown"],"title":"Kind","type":"string"},"note":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"record_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Revision"}},"required":["kind"],"title":"AnswerSource","type":"object"},"AnswerView":{"additionalProperties":false,"properties":{"answer":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Answer"},"character_count":{"maximum":10000,"minimum":0,"title":"Character Count","type":"integer"},"employer_limit":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Employer Limit"},"manual_on_employer_site":{"default":false,"title":"Manual On Employer Site","type":"boolean"},"question_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Question Id","type":"string"},"question_text":{"maxLength":2000,"minLength":1,"title":"Question Text","type":"string"},"source_refs":{"items":{"$ref":"#/$defs/AnswerSource"},"maxItems":20,"title":"Source Refs","type":"array"},"sources_changed":{"default":false,"title":"Sources Changed","type":"boolean"},"state":{"enum":["draft","confirmed","unanswered"],"title":"State","type":"string"}},"required":["question_id","question_text","employer_limit","answer","state","source_refs","character_count"],"title":"AnswerView","type":"object"},"Answers":{"additionalProperties":false,"properties":{"answers":{"items":{"$ref":"#/$defs/AnswerView"},"maxItems":30,"title":"Answers","type":"array"},"application_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Application Id","type":"string"},"revision":{"maximum":2147483647,"minimum":1,"title":"Revision","type":"integer"}},"required":["application_id","revision","answers"],"title":"Answers","type":"object"},"Failure":{"additionalProperties":false,"properties":{"code":{"enum":["authentication_required","account_changed","insufficient_scope","access_unavailable","not_found","invalid_input","revision_conflict","request_id_conflict","source_unavailable","processing_failed","rate_limited","retry_expired"],"title":"Code","type":"string"},"message":{"maxLength":1000,"minLength":1,"title":"Message","type":"string"},"retry_after_seconds":{"anyOf":[{"maximum":900,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Retry After Seconds"}},"required":["code","message"],"title":"Failure","type":"object"},"NextAction":{"additionalProperties":false,"properties":{"kind":{"enum":["read","edit","select","retry","reconnect","consent","open_website","open_employer","support","none"],"title":"Kind","type":"string"},"label":{"maxLength":255,"title":"Label","type":"string"},"record_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Record Id"}},"required":["kind","label"],"title":"NextAction","type":"object"},"Operation":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"maxLength":100,"minLength":1,"title":"Kind","type":"string"},"resource":{"anyOf":[{"$ref":"#/$defs/Summary"},{"type":"null"}],"default":null},"retry_after_seconds":{"maximum":900,"minimum":0,"title":"Retry After Seconds","type":"integer"},"retry_expires_at":{"maxLength":40,"minLength":20,"title":"Retry Expires At","type":"string"},"status":{"enum":["pending","running","succeeded","failed"],"title":"Status","type":"string"}},"required":["id","status","kind","retry_after_seconds","retry_expires_at"],"title":"Operation","type":"object"},"Summary":{"additionalProperties":false,"properties":{"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"enum":["application","search","document","task","interview","contact","company","note","profile","package","notification","highlight"],"title":"Kind","type":"string"},"label":{"maxLength":255,"minLength":1,"title":"Label","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["id","kind","label","revision"],"title":"Summary","type":"object"}},"additionalProperties":false,"properties":{"data":{"anyOf":[{"$ref":"#/$defs/Answers"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"next_action":{"$ref":"#/$defs/NextAction"},"operation":{"anyOf":[{"$ref":"#/$defs/Operation"},{"type":"null"}],"default":null},"outcome":{"enum":["ready","pending","needs_input","conflict","failed"],"title":"Outcome","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["outcome","data","next_action"],"title":"Result[Answers]","type":"object"},"title":"Save application answers"}}