All posts
Product

One field for where a job is done

Where a job is done is one field, work_arrangement, with four answers. How to filter on it, what null means, and how remote_location differs.

HyperJobs Team3 min read

"Is this job remote?" sounds like a yes-or-no question. Postings don't answer it that way. A location line reads "Remote" while the body asks for three days a week in the office. A title says "(Hybrid)" and the location names a city. A board's remote flag says one thing and the description another. Read any one of those signals alone and you get a confident answer that the rest of the posting contradicts.

So a job carries one answer, read from the whole posting: work_arrangement. Two fields for one fact is one field too many, because two fields can disagree, and then every consumer has to pick a winner.

Four values, not three

work_arrangementMeans
remoteThe posting says the work can be done remotely.
hybridPart remote, part office. office_days has the count when the posting states it.
on_siteThe posting says the work happens at a place.
nullThe posting doesn't say.

null means the posting didn't say

null is not "on-site by default". It's unknown. If you want only jobs known to be on-site, ask for work_arrangement=on_site; if you're computing a remote share, decide where the silent ones go and say so. How to measure remote hiring share works through that choice.

How to ask

You wantAsk for
Remote jobs?work_arrangement=remote (or the shortcut ?remote=true)
Remote or hybrid?work_arrangement=remote,hybrid: a comma is OR
Jobs known to be on-site?work_arrangement=on_site
Everything not known to be remote?remote=false: on-site, hybrid, and not stated
The split, for a sidebar?include_facets=work_arrangement

remote=true is exactly work_arrangement=remote, so keep it if you like it. The explicit form costs nothing and makes the query say what it means. A value off the list (Anywhere, wfh) is a 400 that names the allowed ones, not a silent empty result.

The facet is the one to reach for first in a UI: remote, hybrid and on-site counts in one request, and the count minus their sum is how many postings stayed silent.

Remote from where

work_arrangement answers whether a job is remote. It doesn't answer from where, and for a candidate that's often the question that matters.

remote_location is the remote-from restriction, when the posting declares one: ["United States"] on a role that's remote within the US. It's where you must live to take the job, distinct from the countries in locations, which is where the role is based. A US company's "remote" role open only to US residents is not a job for someone in Lisbon, however remote it is.

JS
const openTo = (job, country) =>
  job.work_arrangement === "remote" &&
  (job.remote_location == null || job.remote_location.includes(country));

A null remote_location means the posting stated no restriction, which is not the same as stating there is none. Show it as "location not specified" rather than "work from anywhere".

The Job object has every field in full.