{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scrubshifts-com/json-schema/scrubshifts-com-job-schema.json",
  "title": "Job",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scrubshifts-com-openapi.yml#/components/schemas/Job",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "summary": {
      "type": "string",
      "description": "One-line description suitable to show a person."
    },
    "title": {
      "type": "string"
    },
    "company": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "remote": {
      "type": "boolean"
    },
    "distance_miles": {
      "type": "number"
    },
    "role": {
      "type": "string"
    },
    "role_label": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [
        "new_grad",
        "staff",
        "charge",
        "educator",
        "leadership"
      ]
    },
    "specialties": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "setting": {
      "type": "string"
    },
    "employment_type": {
      "type": "string"
    },
    "shift": {
      "type": "string"
    },
    "shift_hours": {
      "type": "integer"
    },
    "pay": {
      "$ref": "#/$defs/Pay"
    },
    "sign_on_bonus_usd": {
      "type": "integer"
    },
    "requirements": {
      "type": "object",
      "properties": {
        "certifications_mentioned": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "compact_license_accepted": {
          "type": "boolean"
        },
        "min_years_experience": {
          "type": "integer"
        },
        "new_grad_ok": {
          "type": "boolean"
        },
        "bsn": {
          "type": "string",
          "enum": [
            "required",
            "preferred"
          ]
        }
      }
    },
    "posted_date": {
      "type": "string",
      "format": "date"
    },
    "first_seen": {
      "type": "string",
      "format": "date-time",
      "description": "When the job first appeared on ScrubShifts (published)."
    },
    "listing_url": {
      "type": "string",
      "format": "uri"
    },
    "apply_url": {
      "type": "string",
      "format": "uri"
    },
    "location_precision": {
      "type": "string",
      "enum": [
        "city",
        "zip"
      ],
      "description": "How exact the coordinates behind distance_miles are."
    },
    "last_verified": {
      "type": "string",
      "format": "date-time",
      "description": "When the posting was last confirmed open at its source."
    },
    "status": {
      "type": "string",
      "enum": [
        "active"
      ]
    },
    "sponsored": {
      "type": "boolean",
      "description": "True when an employer paid for placement. Sponsored listings may appear ahead of other results; everything with sponsored false follows the requested sort."
    },
    "also_listed_as": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ids of cross-posted copies merged into this result."
    }
  },
  "$defs": {
    "Pay": {
      "type": "object",
      "properties": {
        "hourly_min": {
          "type": "number"
        },
        "hourly_max": {
          "type": "number"
        },
        "annual_min": {
          "type": "number"
        },
        "annual_max": {
          "type": "number"
        },
        "display": {
          "type": "string"
        },
        "source": {
          "type": "string",
          "enum": [
            "employer_posting"
          ],
          "description": "Always the employer's own posted figure; never estimated."
        },
        "estimated": {
          "type": "boolean",
          "const": false
        }
      }
    }
  }
}