{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/probbai-com/json-schema/probbai-com-post-api-v1-candidates-request-schema.json",
  "title": "PostApiV1CandidatesRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/probbai-com-openapi-generated.yml#/components/schemas/PostApiV1CandidatesRequest",
  "type": "object",
  "properties": {
    "externalId": {
      "type": "string",
      "description": "Your ATS identifier for the candidate"
    },
    "contactDetails": {
      "type": "object",
      "description": "Candidate contact information"
    },
    "resume": {
      "type": "object",
      "description": "Resume data, either {\"fileId\": \"…\"} or {\"text\": \"…\"}"
    },
    "allowDuplicate": {
      "type": "boolean",
      "description": "Set true to allow duplicate email addresses"
    }
  },
  "required": [
    "externalId",
    "contactDetails",
    "resume"
  ]
}