Skip to content

Add Salary Range support & add to Google Schema #2629

@masteradhoc

Description

@masteradhoc

Is your feature request related to a problem? Please describe

As i saw on #2263 the salary schema was added. For now it only supports one salary amount but no range.
This was added in the PR as further enhancement but no task was created or followed up as far as i see, right @onubrooks?

Describe the solution you'd like

Ranges should also be supported asap. I would suppose the following. For all current installations we use the _job_salary Field same as it is right now. It will generate a schema like this:

"baseSalary": {
  "@type": "MonetaryAmount",
  "currency": "USD",
  "value": {
    "@type": "QuantitativeValue",
    "value": 40.00,
    "unitText": "HOUR"
  }
}

Additionally we'll add a second field for _job_salary_max. if this field is also filled out we'll generate schema like this:

"baseSalary": {
  "@type": "MonetaryAmount",
  "currency": "USD",
  "value": {
    "@type": "QuantitativeValue",
    "minValue": 40.00,
    "maxValue": 50.00,
    "unitText": "HOUR"
  }
}

It respects the Structure of google requested here: https://developers.google.com/search/docs/appearance/structured-data/job-posting

Describe alternatives you've considered

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions