{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-candidate-data-schema.json",
  "title": "CandidateData",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-candidate-synchronization-api-openapi.yml#/components/schemas/CandidateData",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "middleInitial": {
      "type": "string"
    },
    "prefix": {
      "type": "string"
    },
    "suffix": {
      "type": "string"
    },
    "emailAddresses": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "phoneNumbers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PhoneNumber"
      }
    },
    "addresses": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Address"
      }
    },
    "currentCompanyName": {
      "type": "string"
    },
    "currentJobTitle": {
      "type": "string"
    },
    "externalProfileUrl": {
      "type": "string",
      "format": "uri"
    },
    "atsCreatedAt": {
      "type": "integer",
      "format": "int64"
    },
    "atsLastModifiedAt": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "geographicArea": {
          "type": "string"
        },
        "geographicAreaType": {
          "type": "string",
          "enum": [
            "STATE",
            "PROVINCE"
          ]
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "PhoneNumber": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string"
        },
        "extension": {
          "type": "string"
        }
      }
    }
  }
}