{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indeed/json-schema/indeed-job-posting-schema.json",
  "title": "JobPosting",
  "description": "A job posting on Indeed with all associated metadata including title, description, location, salary, benefits, qualifications, and application configuration.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/indeed-jobs-api-openapi.yml#/components/schemas/JobPosting",
  "type": "object",
  "required": [
    "jobPostingId",
    "title",
    "description",
    "location"
  ],
  "properties": {
    "jobPostingId": {
      "type": "string",
      "description": "A unique identifier for the job posting within the source system. Used in combination with sourceName for upsert operations."
    },
    "title": {
      "type": "string",
      "description": "The title of the job posting. Maximum length of 75 characters.",
      "maxLength": 75
    },
    "description": {
      "type": "string",
      "description": "The full description of the job posting including responsibilities, requirements, and other details. Must be between 30 and 20,000 characters.",
      "minLength": 30,
      "maxLength": 20000
    },
    "location": {
      "$ref": "#/$defs/JobLocation"
    },
    "salary": {
      "$ref": "#/$defs/Salary"
    },
    "benefits": {
      "type": "array",
      "description": "Benefits offered with the position.",
      "items": {
        "$ref": "#/$defs/Benefit"
      }
    },
    "qualifications": {
      "type": "array",
      "description": "Required or preferred qualifications for the position.",
      "items": {
        "$ref": "#/$defs/Qualification"
      }
    },
    "workingHours": {
      "$ref": "#/$defs/WorkingHours"
    },
    "employmentType": {
      "type": "string",
      "description": "The type of employment.",
      "enum": [
        "FULL_TIME",
        "PART_TIME",
        "CONTRACT",
        "TEMPORARY",
        "INTERNSHIP",
        "VOLUNTEER"
      ]
    },
    "remoteWorkPolicy": {
      "type": "string",
      "description": "The remote work policy for the position.",
      "enum": [
        "ON_SITE",
        "REMOTE",
        "HYBRID"
      ]
    },
    "employer": {
      "type": "object",
      "description": "Reference to the employer posting this job.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The employer's unique identifier on Indeed."
        },
        "employerName": {
          "type": "string",
          "description": "The employer's display name."
        }
      }
    },
    "source": {
      "$ref": "#/$defs/JobSource"
    },
    "indeedApply": {
      "$ref": "#/$defs/IndeedApplyConfig"
    },
    "status": {
      "type": "string",
      "description": "The current status of the job posting on Indeed.",
      "enum": [
        "ACTIVE",
        "PAUSED",
        "EXPIRED",
        "CLOSED"
      ]
    },
    "applicationUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL where candidates can apply for the position."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the job posting was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the job posting was last updated."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the job posting expires."
    }
  },
  "$defs": {
    "Benefit": {
      "type": "object",
      "description": "A benefit offered with the job position.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of benefit.",
          "enum": [
            "HEALTH_INSURANCE",
            "DENTAL_INSURANCE",
            "VISION_INSURANCE",
            "RETIREMENT_401K",
            "PAID_TIME_OFF",
            "PARENTAL_LEAVE",
            "TUITION_REIMBURSEMENT",
            "LIFE_INSURANCE",
            "DISABILITY_INSURANCE",
            "FLEXIBLE_SCHEDULE",
            "REMOTE_WORK",
            "RELOCATION_ASSISTANCE",
            "EMPLOYEE_DISCOUNT",
            "COMMUTER_BENEFITS",
            "OTHER"
          ]
        },
        "description": {
          "type": "string",
          "description": "Additional details about the benefit."
        }
      }
    },
    "IndeedApplyConfig": {
      "type": "object",
      "description": "Configuration for Indeed Apply integration on the job posting.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether Indeed Apply is enabled for this job posting."
        },
        "postUrl": {
          "type": "string",
          "format": "uri",
          "description": "The URL where Indeed sends application data when a candidate applies through Indeed Apply."
        },
        "screenerQuestions": {
          "type": "array",
          "description": "Screener questions to present to candidates during application.",
          "items": {
            "$ref": "#/$defs/ScreenerQuestion"
          }
        },
        "eeoEnabled": {
          "type": "boolean",
          "description": "Whether EEO compliance questions are enabled. Available for US employers only."
        }
      }
    },
    "JobLocation": {
      "type": "object",
      "description": "The location of the job.",
      "properties": {
        "streetAddress": {
          "type": "string",
          "description": "Street address of the job location."
        },
        "city": {
          "type": "string",
          "description": "City where the job is located."
        },
        "state": {
          "type": "string",
          "description": "State, province, or region."
        },
        "postalCode": {
          "type": "string",
          "description": "Postal or ZIP code."
        },
        "country": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code."
        },
        "formattedAddress": {
          "type": "string",
          "description": "A human-readable formatted address string."
        }
      }
    },
    "JobSource": {
      "type": "object",
      "description": "Information about the source system for the job posting, used to identify the originating ATS or job board.",
      "required": [
        "sourceName"
      ],
      "properties": {
        "sourceName": {
          "type": "string",
          "description": "The name of the source system. Must remain consistent across all job postings from the same source."
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri",
          "description": "The URL of the original job posting on the source system."
        }
      }
    },
    "Qualification": {
      "type": "object",
      "description": "A qualification required or preferred for the job position, such as education level, years of experience, certifications, or skills.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The category of the qualification.",
          "enum": [
            "EDUCATION",
            "EXPERIENCE",
            "CERTIFICATION",
            "SKILL",
            "LICENSE"
          ]
        },
        "description": {
          "type": "string",
          "description": "Description of the qualification."
        },
        "required": {
          "type": "boolean",
          "description": "Whether this qualification is required or preferred."
        }
      }
    },
    "Salary": {
      "type": "object",
      "description": "Salary or compensation details for the job posting.",
      "properties": {
        "minimumAmount": {
          "type": "number",
          "format": "double",
          "description": "The minimum salary amount."
        },
        "maximumAmount": {
          "type": "number",
          "format": "double",
          "description": "The maximum salary amount."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code."
        },
        "period": {
          "type": "string",
          "description": "The pay period for the salary.",
          "enum": [
            "HOURLY",
            "DAILY",
            "WEEKLY",
            "BIWEEKLY",
            "MONTHLY",
            "YEARLY"
          ]
        }
      }
    },
    "ScreenerQuestion": {
      "type": "object",
      "description": "A screener question configured on a job posting.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the screener question."
        },
        "question": {
          "type": "string",
          "description": "The text of the question."
        },
        "type": {
          "type": "string",
          "description": "The type of expected response.",
          "enum": [
            "TEXT",
            "BOOLEAN",
            "SINGLE_SELECT",
            "MULTI_SELECT",
            "NUMERIC"
          ]
        },
        "required": {
          "type": "boolean",
          "description": "Whether the candidate must answer this question."
        },
        "options": {
          "type": "array",
          "description": "Available options for select-type questions.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "WorkingHours": {
      "type": "object",
      "description": "Working hours and schedule information for the position.",
      "properties": {
        "hoursPerWeek": {
          "type": "number",
          "format": "double",
          "description": "Expected number of hours per week."
        },
        "schedule": {
          "type": "string",
          "description": "Description of the work schedule."
        },
        "shiftType": {
          "type": "string",
          "description": "The type of shift.",
          "enum": [
            "DAY",
            "NIGHT",
            "EVENING",
            "ROTATING",
            "FLEXIBLE"
          ]
        }
      }
    }
  }
}