{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jobopportunitiesapi-org/json-schema/jobopportunitiesapi-org-job-status-schema.json",
  "title": "JobStatus",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jobopportunitiesapi-org-meta-api-openapi.yml#/components/schemas/JobStatus",
  "properties": {
    "closed_at": {
      "format": "date-time",
      "type": "string"
    },
    "closed_reason": {
      "type": "string"
    },
    "content_changed_at": {
      "format": "date-time",
      "type": "string"
    },
    "content_version": {
      "description": "See Job.content_version. Absent when the row has no version.",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "last_verified_at": {
      "format": "date-time",
      "type": "string"
    },
    "status": {
      "enum": [
        "live",
        "closed",
        "withdrawn",
        "unknown"
      ],
      "type": "string"
    },
    "withdrawn_at": {
      "format": "date-time",
      "type": "string"
    },
    "withdrawn_reason": {
      "$ref": "#/$defs/WithdrawnReason"
    }
  },
  "required": [
    "id",
    "status"
  ],
  "type": "object",
  "$defs": {
    "WithdrawnReason": {
      "description": "Why a role left the served set, as a public category (computed when you ask): `employer` (the employer\nwithdrew it or opted out), `duplicate` (a duplicate of another listing), `unverified` (JOA could not\nconfirm it recently; usually comes back), `apply_link` (its apply link stopped working), `quality` (it no\nlonger meets a serving rule), `policy` (the source may no longer be shown, or the row was removed),\n`closed` (it has closed since; also in /v1/jobs/expired), `other` (in transition), `country_corrected`\n(we corrected the job's country, so it no longer belongs to the country you filter by; it may still be\nserved under its new country; listed only when you pass `country` or your key has a country lock, once,\nat the correction).\n",
      "enum": [
        "employer",
        "duplicate",
        "unverified",
        "apply_link",
        "quality",
        "policy",
        "closed",
        "other",
        "country_corrected"
      ],
      "type": "string"
    }
  }
}