{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indeed/json-schema/indeed-candidate-list-schema.json",
  "title": "CandidateList",
  "description": "A paginated list of candidates.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/indeed-candidates-api-openapi.yml#/components/schemas/CandidateList",
  "type": "object",
  "properties": {
    "candidates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Candidate"
      }
    },
    "totalCount": {
      "type": "integer",
      "description": "Total number of candidates matching the query."
    },
    "pageInfo": {
      "$ref": "#/$defs/PageInfo"
    }
  },
  "$defs": {
    "Candidate": {
      "type": "object",
      "description": "A job candidate with personal details, resume information, and application data retrieved from Indeed.",
      "required": [
        "id",
        "name",
        "email"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "A unique candidate identifier. For Indeed Apply applications, this corresponds to the apply_id, a unique 64-character identifier linking the employer, candidate, and job posting."
        },
        "name": {
          "type": "string",
          "description": "The candidate's full name."
        },
        "firstName": {
          "type": "string",
          "description": "The candidate's first name."
        },
        "lastName": {
          "type": "string",
          "description": "The candidate's last name."
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "The candidate's email address."
        },
        "phoneNumber": {
          "type": "string",
          "description": "The candidate's phone number."
        },
        "location": {
          "type": "string",
          "description": "The candidate's location as a freeform string."
        },
        "resume": {
          "$ref": "#/$defs/Resume"
        },
        "coverLetter": {
          "type": "string",
          "description": "The candidate's cover letter text, if provided."
        },
        "applicationStatus": {
          "type": "string",
          "description": "The current status of the candidate's application. Must map to one of Indeed's predefined disposition categories.",
          "enum": [
            "NEW",
            "CONTACTED",
            "INTERVIEWED",
            "OFFERED",
            "HIRED",
            "REJECTED"
          ]
        },
        "screenerQuestionResponses": {
          "type": "array",
          "description": "Responses to screener questions configured on the job posting.",
          "items": {
            "$ref": "#/$defs/ScreenerQuestionResponse"
          }
        },
        "eeoResponses": {
          "$ref": "#/$defs/EeoResponses"
        },
        "appliedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the candidate submitted the application."
        },
        "source": {
          "type": "string",
          "description": "The source of the application, such as Indeed Apply, organic application, or other channels."
        },
        "jobPostingId": {
          "type": "string",
          "description": "The identifier of the job posting the candidate applied to."
        }
      }
    },
    "EeoResponses": {
      "type": "object",
      "description": "Equal Employment Opportunity (EEO) compliance responses provided by the candidate. Available only for US employers with EEO questions enabled.",
      "properties": {
        "gender": {
          "type": "string",
          "description": "The candidate's self-reported gender identity."
        },
        "race": {
          "type": "string",
          "description": "The candidate's self-reported race or ethnicity."
        },
        "veteranStatus": {
          "type": "string",
          "description": "The candidate's veteran status."
        },
        "disabilityStatus": {
          "type": "string",
          "description": "The candidate's disability status."
        }
      }
    },
    "PageInfo": {
      "type": "object",
      "description": "Pagination information for list responses.",
      "properties": {
        "hasNextPage": {
          "type": "boolean",
          "description": "Whether there are more results available."
        },
        "hasPreviousPage": {
          "type": "boolean",
          "description": "Whether there are previous results available."
        },
        "startCursor": {
          "type": "string",
          "description": "Cursor for the first item in the current page."
        },
        "endCursor": {
          "type": "string",
          "description": "Cursor for the last item in the current page."
        }
      }
    },
    "Resume": {
      "type": "object",
      "description": "A candidate's resume in multiple formats. The file field contains the uploaded resume document, while text, html, and json fields provide parsed representations.",
      "properties": {
        "file": {
          "$ref": "#/$defs/ResumeFile"
        },
        "text": {
          "type": "string",
          "description": "Plain text representation of the resume content."
        },
        "html": {
          "type": "string",
          "description": "HTML-formatted representation of the resume content."
        },
        "json": {
          "type": "object",
          "description": "Structured JSON representation of the parsed resume, including sections for work experience, education, skills, and other fields.",
          "additionalProperties": true
        }
      }
    },
    "ResumeFile": {
      "type": "object",
      "description": "An uploaded resume file.",
      "properties": {
        "fileName": {
          "type": "string",
          "description": "The original filename of the uploaded resume."
        },
        "contentType": {
          "type": "string",
          "description": "The MIME type of the resume file."
        },
        "data": {
          "type": "string",
          "format": "byte",
          "description": "The raw binary content of the resume file, Base64-encoded."
        }
      }
    },
    "ScreenerQuestionResponse": {
      "type": "object",
      "description": "A candidate's response to a screener question on the job posting.",
      "properties": {
        "questionId": {
          "type": "string",
          "description": "The unique identifier of the screener question."
        },
        "question": {
          "type": "string",
          "description": "The text of the screener question."
        },
        "answer": {
          "type": "string",
          "description": "The candidate's answer to the question."
        }
      }
    }
  }
}