{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JobPostingTaskResult",
  "title": "JobPostingTaskResult",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "SUCCEEDED",
        "FAILED"
      ],
      "example": "SUCCEEDED"
    },
    "jobPostingUrn": {
      "type": "string",
      "description": "URN of the created job posting",
      "example": "urn:li:jobPosting:2722131308"
    },
    "errorMessage": {
      "type": "string",
      "description": "Error message if task failed",
      "example": "example_value"
    }
  }
}