{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getmattered/json-schema/getmattered-application-result-list-response-schema.json",
  "title": "ApplicationResultListResponse",
  "description": "Successful API response",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getmattered-applications-api-openapi.yml#/components/schemas/ApplicationResultListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApplicationResultData"
          }
        },
        "pagination": {
          "type": "object",
          "properties": {
            "hasNext": {
              "type": "boolean"
            },
            "hasPrev": {
              "type": "boolean"
            },
            "limit": {
              "type": "integer",
              "exclusiveMinimum": 0
            },
            "page": {
              "type": "integer",
              "exclusiveMinimum": 0
            },
            "totalCount": {
              "type": "integer",
              "minimum": 0
            },
            "totalPages": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "hasNext",
            "hasPrev",
            "limit",
            "page",
            "totalCount",
            "totalPages"
          ],
          "additionalProperties": false
        },
        "staleCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Count of this user's pending_review applications older than the stale window (7d). Drives the FE bulk-approve nudge."
        }
      },
      "required": [
        "items",
        "pagination",
        "staleCount"
      ],
      "additionalProperties": false
    },
    "meta": {
      "$ref": "#/$defs/ResponseMetadata"
    },
    "success": {
      "type": "boolean",
      "enum": [
        true
      ]
    }
  },
  "required": [
    "data",
    "success"
  ],
  "additionalProperties": false,
  "$defs": {
    "AIResumeData": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "certifications": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "education": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EducationEntry"
          }
        },
        "experience": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExperienceEntry"
          }
        },
        "personalInfo": {
          "$ref": "#/$defs/PersonalInfo"
        },
        "skills": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "summary": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "ApplicationResultData": {
      "type": "object",
      "properties": {
        "applicationStage": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "applied",
            "callback",
            "phone_screen",
            "interview",
            "offered",
            "rejected",
            "no_response",
            null
          ],
          "description": "Stage of the job application pipeline"
        },
        "appliedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "applyMode": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "copilot",
            "auto_approve",
            null
          ],
          "description": "What the user asked for on this job, recorded at ingress and never rewritten: auto_approve (we submit) or copilot (they review first). NULL on legacy rows. Read this in preference to `status` when deciding whether a row is waiting on the user - `status` is mutated by recovery lanes."
        },
        "submittingStartedAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "When a browser actually began this run (application_result.submitting_started_at). NULL means the row is dispatched but no browser has claimed it yet — never read preparation_status=submitting as a run having started."
        },
        "autoRetryStopped": {
          "type": "boolean",
          "description": "True when no automatic lane will ever retry this application again (submit evidence, spent retry budget, an unowned terminal error code, hourly browser cap, cancelled, an unwatched pending_review, or an orphaned job match). False whenever any lane could still claim the row or it cannot be evaluated."
        },
        "autoRetryStoppedReason": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "submit_evidence",
            "attempts_spent",
            "not_retryable",
            "cancelled",
            "needs_review",
            "orphaned",
            "never_ran",
            null
          ],
          "description": "Which permanent-abandonment lane stopped this row (submit_evidence / attempts_spent / not_retryable / cancelled / needs_review / orphaned). Null when the row is not stopped OR could not be evaluated - never render null as \"still going\"."
        },
        "nextAutoRetryAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "Earliest ISO timestamp an automatic attempt can re-claim this row, from the hourly stuck-sweep selection rounded up to the next cron tick. A floor, not a guarantee. Null means we are not naming a time - NOT that no retry exists."
        },
        "updatedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "submitEvidenceTier": {
          "type": "string",
          "enum": [
            "other_side_confirmed",
            "our_click_only",
            "no_submit_evidence"
          ],
          "description": "Whose observation backs this row: other_side_confirmed (the employer produced a receipt), our_click_only (we clicked Submit but could not read a receipt - an absence, never proof it landed), or no_submit_evidence (we never clicked)."
        },
        "employerReceiptConfirmed": {
          "type": "boolean",
          "description": "Receipt proof from the employer exists for this application. Screenshot or confirmation-page proof is represented separately in landingProofs. Outranks our own status."
        },
        "employerConfirmation": {
          "type": "string",
          "enum": [
            "none",
            "employer_confirmed",
            "receipt_confirmed"
          ],
          "description": "How much of the employer's own confirmation this application holds. `employer_confirmed` = their server answered our submit with a success body, their DOM-corroborated confirmation page, or a reviewed confirmation screenshot. `receipt_confirmed` = their confirmation email is linked to this application. `none` = no employer-authored evidence yet. Our own click or status never counts. The tick count is separate: one tick per fact held, two only when `employerPageConfirmed` is also true."
        },
        "employerPageConfirmed": {
          "type": "boolean",
          "description": "Their server or confirmation page answered our submit, independent of any linked email. Two ticks need this AND a linked employer email."
        },
        "landingProofs": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "receipt",
              "screenshot"
            ],
            "description": "Who authored the evidence that this application reached the employer. `receipt` = the employer emailed a confirmation linked to this row. `screenshot` = a review of the stored post-submit screenshot read the employer's OWN confirmation page. Both are the other side's answer and both count as a proven landing; a row may hold either or both."
          },
          "description": "Employer-authored proof this application landed: `receipt` (their confirmation email, linked) and/or `screenshot` (a review read their own confirmation page). Empty = no such proof, which is NOT a failure."
        },
        "statusDisplay": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Legacy English badge text for rolling compatibility. V2 clients localize from code and params instead of rendering this field."
                },
                "noCreditUsed": {
                  "type": "boolean",
                  "description": "True only when no billable AI or browser work ran for this row (the skipped short-circuits). An errored apply is never \"free\"."
                },
                "pendingRetryAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "description": "Earliest ISO timestamp an automatic attempt can re-claim this row, echoed only with matching V2 scheduledAttempt params. Null means we are not naming a time, never that no retry exists."
                },
                "tone": {
                  "type": "string",
                  "enum": [
                    "success",
                    "warning",
                    "info",
                    "destructive",
                    "settled",
                    "neutral",
                    "muted"
                  ],
                  "description": "Platform-agnostic colour verdict for a derived application status badge. Web maps it to a Tailwind bg-* class, mobile to a theme hex. Never a class name on the wire."
                },
                "code": {
                  "type": "string",
                  "enum": [
                    "queued",
                    "preparing",
                    "queued_to_apply",
                    "waiting_for_browser",
                    "submitting",
                    "action_needed",
                    "waiting_for_review",
                    "applied",
                    "applied_confirming_landing",
                    "employer_receipt_confirmed",
                    "sent_no_receipt_read",
                    "submitted_verifying",
                    "already_applied",
                    "retrying_our_hiccup",
                    "retrying_soon",
                    "employer_rejected_retrying",
                    "failed_retrying",
                    "form_not_finished",
                    "resumes_when_funded",
                    "signing_in",
                    "paused",
                    "resuming",
                    "resume_required",
                    "not_through",
                    "no_form",
                    "not_ready_to_send",
                    "not_submitted",
                    "linkedin_easy_apply",
                    "job_unavailable",
                    "aggregator_skipped",
                    "result_submitted",
                    "result_submitted_awaiting_receipt",
                    "cancelled",
                    "result_error",
                    "result_preparing",
                    "result_pending_approval",
                    "result_ready_to_submit",
                    "result_skipped",
                    "stopped_generic",
                    "stopped_submit_evidence",
                    "stopped_attempts_spent",
                    "stopped_not_retryable",
                    "stopped_cancelled",
                    "stopped_needs_review",
                    "stopped_orphaned",
                    "stopped_never_ran",
                    "stopped_our_click_only",
                    "unknown"
                  ],
                  "description": "Stable semantic code for a derived application status display. Clients localize this code and use the legacy label only for rolling compatibility."
                },
                "params": {
                  "type": "object",
                  "properties": {
                    "attemptsMade": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "exclusiveMinimum": 0
                    },
                    "retryBudget": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "remaining": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "total": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        }
                      },
                      "required": [
                        "remaining",
                        "total"
                      ],
                      "additionalProperties": false
                    },
                    "scheduledAttempt": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "current": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        "total": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        }
                      },
                      "required": [
                        "current",
                        "total"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "attemptsMade",
                    "retryBudget",
                    "scheduledAttempt"
                  ],
                  "additionalProperties": false
                },
                "schemaVersion": {
                  "type": "number",
                  "enum": [
                    2
                  ]
                }
              },
              "required": [
                "label",
                "noCreditUsed",
                "pendingRetryAt",
                "tone",
                "code",
                "params",
                "schemaVersion"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Legacy English badge text for rolling compatibility. V2 clients localize from code and params instead of rendering this field."
                },
                "noCreditUsed": {
                  "type": "boolean",
                  "description": "True only when no billable AI or browser work ran for this row (the skipped short-circuits). An errored apply is never \"free\"."
                },
                "pendingRetryAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "description": "Earliest ISO timestamp an automatic attempt can re-claim this row, echoed only with matching V2 scheduledAttempt params. Null means we are not naming a time, never that no retry exists."
                },
                "tone": {
                  "type": "string",
                  "enum": [
                    "success",
                    "warning",
                    "info",
                    "destructive",
                    "settled",
                    "neutral",
                    "muted"
                  ],
                  "description": "Platform-agnostic colour verdict for a derived application status badge. Web maps it to a Tailwind bg-* class, mobile to a theme hex. Never a class name on the wire."
                }
              },
              "required": [
                "label",
                "noCreditUsed",
                "pendingRetryAt",
                "tone"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ],
          "description": "The server-derived status verdict. V2 clients localize its stable code and typed params, then map the semantic tone to platform tokens. The English label remains only for rolling compatibility. Null means the row has no apply-pipeline state, so clients fall back to the listing status."
        },
        "browserbaseDebugUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "browserbaseSessionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "browserbaseSessionUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "Parsed city from the parent job match, when available."
        },
        "company": {
          "type": [
            "string",
            "null"
          ]
        },
        "companyLogoUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "companyDomain": {
          "type": [
            "string",
            "null"
          ],
          "description": "Trusted company-intel domain (company.domain) from the parent job match for the card logo fallback. Null when the row has no linked company record or the company has no domain."
        },
        "country": {
          "type": [
            "string",
            "null"
          ],
          "description": "Canonical country code from the parent job match."
        },
        "contentLocked": {
          "type": "boolean",
          "description": "True when the generated content on this row is truncated because it was prepared without a paid plan."
        },
        "revealPreviewChars": {
          "type": "integer",
          "description": "Character budget of the preview when contentLocked is true. Lets the client size the fade without hardcoding the server constant."
        },
        "coverLetterContent": {
          "type": [
            "string",
            "null"
          ]
        },
        "coverLetterDocId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "coverLetterPdfR2Key": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "documentsOutdatedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "errorCode": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "access_blocked",
            "agent_stuck",
            "agent_stuck_dom_unchanged",
            "agent_stuck_no_cdp_progress",
            "agent_stuck_no_progress_after_warmup",
            "aggregator_preflight",
            "aggregator_redirect",
            "already_applied",
            "apply_button_not_found",
            "ashby_autofill_banner_failed",
            "auth_wall_blocking",
            "auth_wall_detected",
            "account_door_unsupported",
            "account_created_reapply",
            "auto_retries_exhausted",
            "dispatch_refused",
            "browser_session_lost",
            "browser_timeout",
            "captcha_blocked",
            "captcha_requires_human",
            "captcha_unsolvable",
            "cloudflare_challenge",
            "credits_exhausted",
            "d1_unavailable_at_claim",
            "daily_spend_cap",
            "auth_required",
            "do_reset",
            "duplicate",
            "duplicate_fence_held",
            "emailed_code_never_arrived",
            "element_stale",
            "employer_eligibility_knockout",
            "false_positive_blocked",
            "field_unfillable",
            "form_not_found",
            "hourly_browser_cap",
            "html_content_guard",
            "insufficient_tokens",
            "invalid_apply_url",
            "job_closed",
            "job_not_found",
            "job_removed",
            "job_unsaved",
            "kill_switch_active",
            "manual_test_no_run",
            "max_steps_reached",
            "multi_step_stalled",
            "network_error",
            "no_form_present",
            "no_resume_uploaded",
            "oauth_session_expired",
            "oauth_wall_detected",
            "page_navigated_away",
            "page_too_complex",
            "page_unreachable",
            "page_unreadable",
            "post_submit_unconfirmed",
            "preparation_incomplete",
            "proxy_exhausted",
            "proxy_tunnel_dead",
            "quota_exhausted",
            "rate_limited",
            "redirect_blocked",
            "requires_human_review",
            "service_unavailable",
            "session_expired",
            "session_stale",
            "spam_flagged",
            "stuck_in_loop",
            "submission_error",
            "submit_deadline_exhausted",
            "submit_did_not_take",
            "submit_transport_failed",
            "submit_validation_rejected",
            "submit_withheld_form_refused",
            "two_factor_required",
            "universal_fill_zero_match",
            "validation_error",
            "worker_died",
            "wrong_landing_page",
            "unknown",
            null
          ],
          "description": "Classification of submission failure for strategy-aware retry"
        },
        "errorMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "failurePhase": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "prepare",
            "navigate",
            "login",
            "fill",
            "submit",
            "verify",
            "aggregate",
            "unknown",
            null
          ],
          "description": "Coarse-grained phase where a submission failure occurred"
        },
        "id": {
          "type": "integer"
        },
        "improvementSuggestions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "jobListingId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "jobMatchId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "jobTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "jobType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Job type (full_time, contract, etc.) from the parent job match."
        },
        "jobUrl": {
          "type": "string"
        },
        "location": {
          "type": [
            "string",
            "null"
          ],
          "description": "Free-text location string from the parent job match."
        },
        "matchConfidence": {
          "type": [
            "integer",
            "null"
          ]
        },
        "outreachMessages": {
          "type": [
            "string",
            "null"
          ]
        },
        "postedAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "Original posting date from the parent job match."
        },
        "salary": {
          "type": [
            "string",
            "null"
          ],
          "description": "Salary string from the parent job match."
        },
        "source": {
          "type": [
            "string",
            "null"
          ],
          "description": "Aggregator / source of the parent job match (greenhouse, lever, linkedin, etc.)."
        },
        "workArrangement": {
          "type": [
            "string",
            "null"
          ],
          "description": "Canonical work-arrangement (remote_global / remote_country / remote_region / hybrid / onsite / unknown) from the parent job match."
        },
        "phase": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "processing",
            "idle",
            "paused",
            null
          ],
          "description": "Server-truth lifecycle phase for a single auto-apply run row. `processing` = worker actively running a step. `idle` = between steps, waiting for next pickup. `paused` = rate-limit backoff, captcha wait, or explicit user pause."
        },
        "preparationStatus": {
          "type": "string",
          "enum": [
            "pending",
            "preparing",
            "ready",
            "submitting",
            "submitted",
            "failed",
            "cancelled"
          ],
          "description": "Status of application preparation (resume tailoring + cover letter)"
        },
        "retryCount": {
          "type": "integer",
          "minimum": 0
        },
        "qualityGateAction": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "approved",
            "flagged",
            "blocked",
            null
          ],
          "description": "Outcome of the quality gate check: approved (proceed), flagged (needs review), blocked (rejected)"
        },
        "screenshotAfterUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "screenshotBeforeUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "screenshotKey": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionLiveViewUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "pending_review",
            "ready_to_submit",
            "applied",
            "applied_unconfirmed",
            "skipped",
            "error",
            "cancelled"
          ],
          "description": "Status of an individual application result"
        },
        "submissionPlatform": {
          "type": [
            "string",
            "null"
          ]
        },
        "submittedVia": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "direct_api",
            "form_post",
            "linkedin_easy_apply",
            "indeed_apply",
            "glassdoor_apply",
            "ziprecruiter_apply",
            "authenticated_browser",
            "workday_navigator",
            "ai_browser_agent",
            "email_fallback",
            null
          ],
          "description": "Strategy used to submit a job application"
        },
        "tailoredResumeContent": {
          "type": [
            "string",
            "null"
          ]
        },
        "tailoredResumeDocId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "tailoredResumePdfR2Key": {
          "type": [
            "string",
            "null"
          ]
        },
        "tailoredResumeStructured": {
          "$ref": "#/$defs/AIResumeData"
        },
        "tokensRefunded": {
          "type": [
            "integer",
            "null"
          ]
        },
        "refundReason": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "job_closed",
            "service_unavailable",
            "credits_exhausted",
            "session_expired",
            "session_stale",
            "infra_error",
            null
          ],
          "description": "Why a token reservation was refunded in full after a non-user-fault submission failure"
        },
        "legitimacyTier": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "high_confidence",
            "proceed_with_caution",
            "suspicious",
            null
          ],
          "description": "Deterministic posting-legitimacy verdict from the parent job match. Null when not yet evaluated."
        },
        "legitimacySignals": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Serialized LegitimacySignals payload (score + signals[] + tier) from the parent job match. Null when not yet evaluated."
        },
        "freshnessStatus": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "fresh",
            "aging",
            "stale",
            "unknown",
            null
          ],
          "description": "Posting age bucket (fresh / aging / stale / unknown) from the scraped_job snapshot."
        },
        "repostedCount": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0,
          "description": "Number of prior live scraped_job rows for this URL family. 0 when no repost history."
        },
        "lastRepostDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "posted_date of the most-recent prior repost. Null when no prior posting exists."
        },
        "linkedinApplyMethod": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "easy_apply",
            "offsite",
            "unknown",
            null
          ],
          "description": "Resolved LinkedIn apply target from the parent job match. `offsite` → applies on a company ATS (suppress \"Reconnect LinkedIn\" copy); `easy_apply` → in-platform LinkedIn Easy Apply; `unknown` → not yet resolved / not a LinkedIn posting. Null when the row has no linked job match."
        },
        "submissionInfo": {
          "$ref": "#/$defs/SubmissionInfo"
        }
      },
      "required": [
        "applicationStage",
        "appliedAt",
        "autoRetryStopped",
        "autoRetryStoppedReason",
        "nextAutoRetryAt",
        "updatedAt",
        "submitEvidenceTier",
        "employerReceiptConfirmed",
        "statusDisplay",
        "city",
        "company",
        "companyLogoUrl",
        "country",
        "coverLetterContent",
        "coverLetterDocId",
        "coverLetterPdfR2Key",
        "createdAt",
        "documentsOutdatedAt",
        "errorCode",
        "errorMessage",
        "id",
        "improvementSuggestions",
        "jobListingId",
        "jobMatchId",
        "jobTitle",
        "jobType",
        "jobUrl",
        "location",
        "matchConfidence",
        "outreachMessages",
        "postedAt",
        "salary",
        "source",
        "workArrangement",
        "phase",
        "preparationStatus",
        "retryCount",
        "qualityGateAction",
        "screenshotAfterUrl",
        "screenshotBeforeUrl",
        "screenshotKey",
        "sessionLiveViewUrl",
        "status",
        "submissionPlatform",
        "submittedVia",
        "tailoredResumeContent",
        "tailoredResumeDocId",
        "tailoredResumePdfR2Key",
        "tokensRefunded",
        "refundReason"
      ],
      "additionalProperties": false
    },
    "EducationEntry": {
      "type": "object",
      "properties": {
        "degree": {
          "type": "string"
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ]
        },
        "gpa": {
          "type": [
            "string",
            "null"
          ]
        },
        "highlights": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "institution": {
          "type": "string"
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "degree",
        "institution"
      ],
      "additionalProperties": false
    },
    "ExperienceEntry": {
      "type": "object",
      "properties": {
        "bullets": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "company": {
          "type": "string"
        },
        "current": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "startDate": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "bullets",
        "company",
        "startDate",
        "title"
      ],
      "additionalProperties": false
    },
    "PersonalInfo": {
      "type": "object",
      "properties": {
        "email": {
          "anyOf": [
            {
              "type": "string",
              "format": "email"
            },
            {
              "type": "string",
              "enum": [
                ""
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "fullName": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ResponseMetadata": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "number",
          "minimum": 0,
          "description": "Request duration in milliseconds"
        },
        "performance": {
          "type": "object",
          "properties": {
            "dbQueries": {
              "type": "integer",
              "minimum": 0
            },
            "totalDbTime": {
              "type": "number",
              "minimum": 0
            }
          },
          "description": "Performance metrics (preview/local only)"
        },
        "requestId": {
          "type": "string",
          "description": "Unique request identifier"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp"
        },
        "version": {
          "type": "string",
          "description": "API version"
        }
      }
    },
    "SubmissionInfo": {
      "type": "object",
      "properties": {
        "authPlatform": {
          "type": "string",
          "description": "Which platform needs auth credentials (e.g. linkedin)"
        },
        "canSubmit": {
          "type": "boolean",
          "description": "Whether the application can be submitted to this platform"
        },
        "hasCredentials": {
          "type": "boolean",
          "description": "Whether the user has stored credentials for the required platform"
        },
        "platformType": {
          "type": "string",
          "description": "Detected submission platform type"
        },
        "reason": {
          "type": "string",
          "description": "Reason submission is blocked or limited"
        },
        "requiresAuth": {
          "type": "boolean",
          "description": "Whether the platform requires user authentication credentials"
        }
      },
      "required": [
        "canSubmit",
        "platformType"
      ],
      "additionalProperties": false,
      "description": "Pre-flight submission requirements and credential status"
    }
  }
}