{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PostAiApplyPostingsPostingIdInquirePositiveResponse", "title": "PostAiApplyPostingsPostingIdInquirePositiveResponse", "type": "object", "properties": { "status": { "type": "string", "const": "success" }, "data": { "type": "object", "properties": { "application_form": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "block_type": { "type": "string", "const": "QUESTION" }, "question_id": { "type": "string", "description": "The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing." }, "label": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "required": { "type": "boolean" }, "category": { "type": [ "string", "null" ], "enum": [ "EEO" ] }, "question_type": { "type": "string", "enum": [ "TEXT", "NUMBER", "BOOLEAN", "FILE", "DATE", "SINGLE_SELECT", "MULTI_SELECT" ] }, "unified_key": { "type": [ "string", "null" ], "enum": [ "EMAIL", "RESIDENCE_TYPE", "RESIDENCE_FULL_STRING", "RESIDENCE_COUNTRY", "RESIDENCE_CITY", "RESIDENCE_STATE", "RESIDENCE_LINE_1", "RESIDENCE_LINE_2", "RESIDENCE_ZIP_CODE", "APPLICANT_POOL_CONSENT", "TERMS_AND_CONDITIONS", "FIRST_NAME", "LAST_NAME", "FULL_NAME", "GENDER", "EXPECTED_START_DATE", "RESUME", "BIRTH_DATE", "PHONE_NUMBER_TYPE", "FULL_PHONE_NUMBER", "PHONE_COUNTRY_CODE", "PHONE_NATIONAL_NUMBER", "PHONE_EXTENSION" ] }, "options": { "type": [ "array", "null" ], "items": { "type": "object", "properties": { "id": { "type": "string", "description": "The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing." }, "label": { "type": "string" }, "unified_key": { "type": [ "string", "null" ], "enum": [ "HOME", "WORK", "MAILING", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW", "MALE", "FEMALE", "NON_BINARY", "NOT_SPECIFIED", "MOBILE", "LANDLINE", "SOURCE_OTHER", "SOURCE_OTHER_JOB_BOARD" ] } }, "required": [ "id", "label", "unified_key" ] } }, "display_when": { "type": [ "object", "null" ], "properties": { "question_id": { "type": "string", "description": "The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing." }, "answer_equals": { "oneOf": [ { "type": "string", "description": "Answer to a `TEXT` question, the option ID of the answer to a `SINGLE_SELECT` question, or the answer to a `DATE` question as an ISO 8601 date string (e.g. \"2021-12-31T23:59:59.000Z\")." }, { "type": "array", "items": { "type": "string" }, "description": "Answer to a `MULTI_SELECT` question, contains the IDs of the selected options." }, { "type": "number", "format": "double", "minimum": -1.7976931348623157e+308, "description": "Answer to a `NUMBER` question." }, { "type": "boolean", "description": "Answer to a `BOOLEAN` question." }, { "type": "object", "properties": { "name": { "type": "string", "description": "The original name (e.g., \"resume.pdf\")" }, "content_type": { "type": "string", "description": "The MIME type of the file (e.g., \"application/pdf\", \"image/jpeg\")" }, "data": { "description": "The file content encoded as a base64 string" } }, "required": [ "name", "content_type", "data" ], "description": "Answer to a `FILE` question." } ] } }, "required": [ "question_id", "answer_equals" ] } }, "required": [ "block_type", "question_id", "label", "description", "required", "category", "question_type", "unified_key", "options", "display_when" ] }, { "type": "object", "properties": { "block_type": { "type": "string", "const": "SECTION" }, "label": { "type": "string" }, "children": { "type": "array", "items": { "type": "object" } } }, "required": [ "block_type", "label", "children" ] } ] } }, "submission_token": { "type": "string", "description": "JWT token for submitting the application. Valid for 12 hours from generation." } }, "required": [ "application_form", "submission_token" ], "examples": [ { "application_form": [ { "block_type": "SECTION", "label": "Personal Information", "children": [ { "block_type": "QUESTION", "question_id": "6VrjehyBk685vubNydiR1hSn", "label": "First name", "description": null, "required": true, "category": null, "question_type": "TEXT", "unified_key": "FIRST_NAME", "options": null, "display_when": null }, { "block_type": "QUESTION", "question_id": "Hjsapofs69cx2iAu6MtTfhoh", "label": "Last name", "description": null, "required": true, "category": null, "question_type": "TEXT", "unified_key": "LAST_NAME", "options": null, "display_when": null } ] }, { "block_type": "QUESTION", "question_id": "EKaumKPGjeA97cb8ystMmkCe", "label": "What is your desired working location?", "description": "Select your preferred work arrangement", "required": true, "category": null, "question_type": "SINGLE_SELECT", "unified_key": null, "options": [ { "id": "BsnL4pAhNQc26uSc4JopTP3P", "label": "Remote", "unified_key": null }, { "id": "8T4fcKgzLxbKFUo4saXaoMTG", "label": "On-site", "unified_key": null }, { "id": "2cJDK3dq4WNjovohSG7dSpfd", "label": "Hybrid", "unified_key": null } ], "display_when": null }, { "block_type": "QUESTION", "question_id": "2H26BKTbDn2ygN2GfEcCsUP8", "label": "What timezone are you in?", "description": "This helps us schedule meetings at convenient times", "required": true, "category": null, "question_type": "TEXT", "unified_key": null, "options": null, "display_when": { "question_id": "EKaumKPGjeA97cb8ystMmkCe", "answer_equals": "BsnL4pAhNQc26uSc4JopTP3P" } }, { "block_type": "QUESTION", "question_id": "AdM1EuwBKE4pz94SSRHMgmba", "label": "Which office would you prefer?", "description": null, "required": true, "category": null, "question_type": "SINGLE_SELECT", "unified_key": null, "options": [ { "id": "EHCqUb5E6xzfjnfHT2LEgmM7", "label": "San Francisco", "unified_key": null }, { "id": "5RbHT73StFM5tHdF3aVr4do1", "label": "New York", "unified_key": null }, { "id": "F4rRwGTNeLQZV5VLwstERpsT", "label": "London", "unified_key": null } ], "display_when": { "question_id": "EKaumKPGjeA97cb8ystMmkCe", "answer_equals": "8T4fcKgzLxbKFUo4saXaoMTG" } }, { "block_type": "QUESTION", "question_id": "FuVZvF26NueKcN46o5euHeGx", "label": "How many days per week would you like to work in the office?", "description": null, "required": true, "category": null, "question_type": "NUMBER", "unified_key": null, "options": null, "display_when": { "question_id": "EKaumKPGjeA97cb8ystMmkCe", "answer_equals": "2cJDK3dq4WNjovohSG7dSpfd" } } ], "submission_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." } ] } }, "required": [ "status", "data" ] }