{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JobPosting",
  "title": "JobPosting",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "abc123"
    },
    "descriptor": {
      "type": "string",
      "example": "example_value"
    },
    "title": {
      "type": "string",
      "description": "The title of the job posting.",
      "example": "Example Title"
    },
    "jobRequisition": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "jobDescription": {
      "type": "string",
      "example": "example_value"
    },
    "location": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "isInternal": {
      "type": "boolean",
      "example": true
    },
    "isExternal": {
      "type": "boolean",
      "example": true
    },
    "postedOn": {
      "type": "string",
      "format": "date-time",
      "example": "2026-01-15T10:30:00Z"
    }
  }
}