{"format":"jobhunt.support.operation/v1","revision":"f77de0f4803debf8c5aaac1702865d976a380e994ea7f572d4e571c044d5495f","contract_sha256":"acfda93724db1a3f53160a30bc5891f447ad14601f26b02ff4cacd7c17d0812e","documentation_only":true,"operation":{"name":"get_task_description_chunk","description":"Read one complete task-note chunk at its reviewed revision and checksum, with an exact optional application binding. Each response is bounded to 32000 Unicode characters. Verify every chunk and the whole file before private output; source changes fail instead of mixing text.","http":"GET /api/v1/journey/get_task_description_chunk","readOnly":true,"scopes":["read:tasks"],"availability":"connected-journey","destructive":false,"implementation_sha256":"a8658f69aa2b660e2c882271b3c851b1314cf1c21fd1c8cb5549c55d9df1f52d","input_schema_ref":"/support/contracts.json#/tools/get_task_description_chunk/inputSchema","output_schema_ref":"/support/contracts.json#/tools/get_task_description_chunk/outputSchema","required_fields":["task_id","expected_revision","expected_sha256","chunk_index"]},"contract":{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Get task description chunk"},"description":"Read one complete task-note chunk at its reviewed revision and checksum, with an exact optional application binding. Each response is bounded to 32000 Unicode characters. Verify every chunk and the whole file before private output; source changes fail instead of mixing text.","inputSchema":{"additionalProperties":false,"properties":{"chunk_index":{"minimum":1,"title":"Chunk Index","type":"integer"},"expected_application_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Expected Application Id"},"expected_revision":{"maximum":2147483647,"minimum":1,"title":"Expected Revision","type":"integer"},"expected_sha256":{"pattern":"^[a-f0-9]{64}$","title":"Expected Sha256","type":"string"},"task_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Task Id","type":"string"}},"required":["task_id","expected_revision","expected_sha256","chunk_index"],"title":"TaskDescriptionChunkRead","type":"object"},"name":"get_task_description_chunk","outputSchema":{"$defs":{"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"},"TaskDescriptionChunk":{"additionalProperties":false,"properties":{"account_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Account Id","type":"string"},"application_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"title":"Application Id"},"chunk_chars":{"const":32000,"title":"Chunk Chars","type":"integer"},"chunk_count":{"minimum":0,"title":"Chunk Count","type":"integer"},"chunk_index":{"minimum":1,"title":"Chunk Index","type":"integer"},"chunk_sha256":{"pattern":"^[a-f0-9]{64}$","title":"Chunk Sha256","type":"string"},"filename":{"title":"Filename","type":"string"},"is_null":{"title":"Is Null","type":"boolean"},"is_stage_template":{"title":"Is Stage Template","type":"boolean"},"mime":{"const":"text/plain","title":"Mime","type":"string"},"revision":{"maximum":2147483647,"minimum":1,"title":"Revision","type":"integer"},"sha256":{"pattern":"^[a-f0-9]{64}$","title":"Sha256","type":"string"},"size_bytes":{"minimum":0,"title":"Size Bytes","type":"integer"},"size_chars":{"minimum":0,"title":"Size Chars","type":"integer"},"task_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Task Id","type":"string"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type"},"text":{"maxLength":32000,"minLength":1,"title":"Text","type":"string"}},"required":["account_id","task_id","application_id","revision","task_type","is_stage_template","is_null","filename","mime","size_bytes","size_chars","chunk_chars","chunk_count","sha256","chunk_index","text","chunk_sha256"],"title":"TaskDescriptionChunk","type":"object"}},"additionalProperties":false,"properties":{"data":{"anyOf":[{"$ref":"#/$defs/TaskDescriptionChunk"},{"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[TaskDescriptionChunk]","type":"object"},"title":"Get task description chunk"}}