{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ApiError",
"title": "ApiError",
"type": "object",
"description": "An error returned by the Indeed API.",
"properties": {
"code": {
"type": "string",
"description": "A machine-readable error code.",
"example": "INVALID_INPUT"
},
"message": {
"type": "string",
"description": "A human-readable description of the error.",
"example": "The employer name field is required."
},
"field": {
"type": "string",
"description": "The field that caused the error, if applicable.",
"example": "employerName"
}
}
}