Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salary min max #104

Open
ste101 opened this issue Aug 4, 2023 · 1 comment
Open

Salary min max #104

ste101 opened this issue Aug 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ste101
Copy link
Contributor

ste101 commented Aug 4, 2023

It is possible to have a min and max baseSalary like this:

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

https://developers.google.com/search/docs/appearance/structured-data/job-posting#basesalary

What do you think would be the best way to make this possible?

  • Two fields
  • Test in controller if there is a '-' like '2500-3500'
@ghost ghost added the enhancement New feature or request label Aug 8, 2023
@ghost
Copy link

ghost commented Aug 8, 2023

Let's go with the fields, but let's reuse the existing base_salary field and have it represent both "value" and "minValue" Google Jobs fields. That would make it backward compatible. While we are touching this area, we could also consider making the unit selectable (default Year).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant