diff --git a/docs/schema-changes/eor/contract-details/countries/GBR.md b/docs/schema-changes/eor/contract-details/countries/GBR.md index f09c30fa1..ff087d59b 100644 --- a/docs/schema-changes/eor/contract-details/countries/GBR.md +++ b/docs/schema-changes/eor/contract-details/countries/GBR.md @@ -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 + +``` + +--- + +### v6 **What changed:** diff --git a/docs/schema-changes/eor/contract-details/countries/README.md b/docs/schema-changes/eor/contract-details/countries/README.md index 5ba184858..8bde35adf 100644 --- a/docs/schema-changes/eor/contract-details/countries/README.md +++ b/docs/schema-changes/eor/contract-details/countries/README.md @@ -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 | diff --git a/example/src/flows/Onboarding/jsonSchemaVersions.ts b/example/src/flows/Onboarding/jsonSchemaVersions.ts index 9fac5d6ea..2e83263fd 100644 --- a/example/src/flows/Onboarding/jsonSchemaVersions.ts +++ b/example/src/flows/Onboarding/jsonSchemaVersions.ts @@ -121,7 +121,7 @@ export const ONBOARDING_JSON_SCHEMA_VERSION_BY_COUNTRY = { }, GBR: { // United Kingdom - contract_details: 6, + contract_details: 7, }, GEO: { // Georgia