{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-job-posting-task-response-schema.json",
  "title": "JobPostingTaskResponse",
  "description": "Response for job posting task status",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-job-lifecycle-management-api-openapi.yml#/components/schemas/JobPostingTaskResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/JobPostingTaskResult"
      }
    }
  },
  "$defs": {
    "JobPostingTaskResult": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "SUCCEEDED",
            "FAILED"
          ]
        },
        "jobPostingUrn": {
          "type": "string",
          "description": "URN of the created job posting"
        },
        "errorMessage": {
          "type": "string",
          "description": "Error message if task failed"
        }
      }
    }
  }
}