{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-career-navigator-search-response-schema-schema.json",
  "title": "CareerNavigatorSearchResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-career-navigator-api-openapi.yml#/components/schemas/CareerNavigatorSearchResponseSchema",
  "type": "object",
  "properties": {
    "careerPaths": {
      "readOnly": true,
      "description": "List of career paths",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CareerNavigatorPath"
      }
    },
    "userAdditionalData": {
      "readOnly": true,
      "description": "User additional data",
      "allOf": [
        {
          "$ref": "#/$defs/CareerNavigatorUserAdditionalData"
        }
      ]
    }
  },
  "required": [
    "careerPaths",
    "userAdditionalData"
  ],
  "$defs": {
    "CareerNavigatorAssociatedEmployee": {
      "type": "object",
      "properties": {
        "currentTitle": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Current title of the employee"
        },
        "imageUrl": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "URL for the avatar of the employee"
        },
        "encId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Encoded profile id of the employee"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Name of the employee"
        }
      }
    },
    "CareerNavigatorPath": {
      "type": "object",
      "properties": {
        "pathHighlights": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Highlights of the career path",
          "items": {
            "type": "string"
          }
        },
        "roleList": {
          "readOnly": true,
          "description": "List of roles in the career path",
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CareerNavigatorRole"
          }
        }
      },
      "required": [
        "pathHighlights",
        "roleList"
      ]
    },
    "CareerNavigatorRole": {
      "type": "object",
      "properties": {
        "entityId": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "Unique identifier for the role"
        },
        "associatedEmployeesData": {
          "readOnly": true,
          "description": "Associated employees data",
          "allOf": [
            {
              "$ref": "#/$defs/CareerNavigatorRoleEmployee"
            }
          ]
        },
        "isCareerInterest": {
          "type": [
            "boolean",
            "null"
          ],
          "readOnly": true,
          "description": "It indicates if the role is added as career interest"
        },
        "encEntityId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Hashids-encoded role id (matches `Role.get_encoded_employee_role_id()`); use this when constructing role-detail URLs."
        },
        "highlights": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Highlights of the role",
          "items": {
            "type": "string"
          }
        },
        "recommendedPositionsCount": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "Number of recommended positions for the role"
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Title of the role"
        },
        "skillData": {
          "readOnly": true,
          "description": "Skill data",
          "allOf": [
            {
              "$ref": "#/$defs/CareerNavigatorSkillData"
            }
          ]
        }
      },
      "required": [
        "entityId",
        "title"
      ]
    },
    "CareerNavigatorRoleEmployee": {
      "type": "object",
      "properties": {
        "associatedEmployeesCount": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "Number of associated employees for the role"
        },
        "associatedEmployeesProfiles": {
          "readOnly": true,
          "description": "Associated employees profiles limited to 10",
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CareerNavigatorAssociatedEmployee"
          }
        }
      }
    },
    "CareerNavigatorSkillData": {
      "type": "object",
      "properties": {
        "requiredSkills": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Skills marked as required in talent design for the role",
          "items": {
            "type": "string"
          }
        },
        "roleSkills": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Skills defined in talent design for the role",
          "items": {
            "type": "string"
          }
        },
        "matchingSkills": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Profile skills expanded with synonyms from skills engine, matching role skills",
          "items": {
            "type": "string"
          }
        },
        "matchingRequiredSkills": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "Matching required skills for the role",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "CareerNavigatorUserAdditionalData": {
      "type": "object",
      "properties": {
        "currentRole": {
          "readOnly": true,
          "description": "Current role",
          "allOf": [
            {
              "$ref": "#/$defs/CareerNavigatorRole"
            }
          ]
        },
        "currentTenure": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Tenure in current role, fallsback to company tenure"
        }
      },
      "required": [
        "currentRole"
      ]
    }
  }
}