{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/ats-api-candidate-structure.json",
  "name": "Candidate",
  "description": "A candidate in the recruiting pipeline from a connected ATS integration.",
  "type": "object",
  "properties": {
    "id": { "type": "uuid" },
    "remote_id": { "type": "string" },
    "first_name": { "type": "string" },
    "last_name": { "type": "string" },
    "company": { "type": "string" },
    "title": { "type": "string" },
    "is_private": { "type": "boolean" },
    "can_email": { "type": "boolean" },
    "tags": { "type": "array", "items": { "type": "string" } },
    "applications": { "type": "array", "items": { "type": "uuid" } },
    "attachments": { "type": "array", "items": { "type": "uuid" } },
    "remote_was_deleted": { "type": "boolean" },
    "created_at": { "type": "datetime" },
    "modified_at": { "type": "datetime" }
  }
}
