Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions docs/schema-changes/eor/contract-details/countries/GBR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,35 @@ Schema versions for employee onboarding in United Kingdom.

## Current Version

**Contract Details:** v6
**Contract Details:** v7

## Contract Details

### v6 - Current
### v7 - Current

**What changed:**

- Use the [JSON schema comparison](https://remote-flows-eight.vercel.app/?demo=json-schema-comparison) tool (country `GBR`) to inspect field-level diffs between your current pin and v7. Prefer jumping straight from v3 to v7 when upgrading.
- Hourly wage type and the daily schedule are no longer hidden from Partners API (`remote_api`) consumers. `wage_type` and `hourly_gross_salary` are now returned, and the `daily_schedule` component (`daily_schedule`, `schedule_type`, `work_hours_per_week`, `shift_pattern`) replaces the plain `work_hours_per_week` field.
- `annual_gross_salary` is only required when `wage_type` is `salary`. Part-time contracts must still use `wage_type` `salary`.

**Migration:**

Render and submit `wage_type` (`salary` or `hourly`), `hourly_gross_salary` when `wage_type` is `hourly`, and the daily schedule fields instead of the plain `work_hours_per_week` field. Consumers staying on v6 or earlier are unaffected.

```tsx
<OnboardingFlow
options={{
jsonSchemaVersionByCountry: {
GBR: { contract_details: 7 },
},
}}
/>
```

---

### v6

**What changed:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ These countries have upgraded to different versions, check each guide to know ho
| Spain | ESP | v7 | September 2026 |
| Serbia | SRB | v2 | March 2026 |
| Sweden | SWE | v5 | October 2026 |
| United Kingdom | GBR | v6 | October 2026 |
| United Kingdom | GBR | v7 | October 2026 |
| United Arab Emirates | ARE | v3 | March 2026 |
| United States | USA | v8 | October 2026 |

Expand Down
2 changes: 1 addition & 1 deletion example/src/flows/Onboarding/jsonSchemaVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const ONBOARDING_JSON_SCHEMA_VERSION_BY_COUNTRY = {
},
GBR: {
// United Kingdom
contract_details: 6,
contract_details: 7,
},
GEO: {
// Georgia
Expand Down
Loading