A job in Sweden doesn't give your salary parser permission to assume SEK.
You add pay comparisons to your job assistant. It sees countryCode , finds a salary range, and supplies the currency itself. The converted amount looks reasonable. That's the annoying part: ordinary numeric validation can accept a perfectly calculated answer to the wrong question.
Lab note 190: which fields should reach the model so it can compare advertised pay without inventing the denomination? The catch comes early: structured compensation can be absent, and advertised salary alone can't establish take-home pay.
Where does salary currency actually come from?
For this Actor, salary comparisons must use salaryCurrency : its derivation prefers the company's home-market currency and falls back to the job market code.
That crosses an entity boundary.β¦