Skip to content
Open
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
27 changes: 25 additions & 2 deletions docs/schema-changes/eor/contract-details/countries/BGD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,34 @@ Schema versions for employee onboarding in Bangladesh.

## Current Version

**Contract Details:** v8
**Contract Details:** v9

## Contract Details

### v8 - Current
### v9 - Current

**Type of change:** compliance

**What changed:**

- The probation period is blocked for employments with a recognized seniority date, the same way fixed-term contracts already are (see v7). For such an employment, `has_probation_period` only accepts `"no"` (or can be omitted) and `probation_length` only accepts `0` (or can be omitted); any other submitted value is rejected, unless the request is made by a Remote Admin. This applies to indefinite and fixed-term contracts.
- `has_probation_period` is now a radio (`"yes"` / `"no"`) without the `N/A` option, and `probation_length` is a plain number input. Partners with a custom UI should send `has_probation_period: "no"` for employees with a recognized seniority date.

**Migration:**

```tsx
<OnboardingFlow
options={{
jsonSchemaVersionByCountry: {
BGD: { contract_details: 9 },
},
}}
/>
```

---

### v8

**Type of change:** compliance

Expand Down
28 changes: 26 additions & 2 deletions docs/schema-changes/eor/contract-details/countries/COL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,35 @@ Schema versions for employee onboarding in Colombia.

## Current Version

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

## Contract Details

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

**Type of change:** compliance, product

**What changed:**

- The probation period is blocked for employments with a recognized seniority date, the same way fixed-term contracts already are. For such an employment, `probation_length` is locked to `0` and any other submitted value is rejected, unless the request is made by a Remote Admin. Partners with a custom UI should send `probation_length: 0` for employees with a recognized seniority date.
- The custom "Must be smaller or equal to 2 months" error message on `probation_length` is replaced by the default maximum message. The maximum itself is unchanged.
- `probation_length` gains a help center link about probation periods in `x-jsf-presentation.meta.helpCenter`.

**Migration:**

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

---

### v6

**What changed:**

Expand Down
4 changes: 2 additions & 2 deletions docs/schema-changes/eor/contract-details/countries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Click a country name to open its migration guide. Countries without a link are o
| [Armenia](./ARM.md) | ARM | v4 | v4 | Yes | November 2026 |
| [Australia](./AUS.md) | AUS | v6 | v7 | No | October 2026 |
| [Austria](./AUT.md) | AUT | v8 | v9 | No | October 2026 |
| [Bangladesh](./BGD.md) | BGD | v8 | v8 | Yes | October 2026 |
| [Bangladesh](./BGD.md) | BGD | v9 | v9 | Yes | November 2026 |
| [Belgium](./BEL.md) | BEL | v8 | v8 | Yes | October 2026 |
| Bolivia | BOL | v1 | v5 | No | - |
| [Bosnia and Herzegovina](./BIH.md) | BIH | v7 | v6 | Yes | November 2026 |
Expand All @@ -47,7 +47,7 @@ Click a country name to open its migration guide. Countries without a link are o
| [Canada](./CAN.md) | CAN | v8 | v8 | Yes | October 2026 |
| [Chile](./CHL.md) | CHL | v7 | v7 | Yes | October 2026 |
| [China](./CHN.md) | CHN | v9 | v9 | Yes | November 2026 |
| [Colombia](./COL.md) | COL | v6 | v6 | Yes | October 2026 |
| [Colombia](./COL.md) | COL | v7 | v7 | Yes | November 2026 |
| [Costa Rica](./CRI.md) | CRI | v5 | v5 | Yes | October 2026 |
| Croatia | HRV | v1 | v6 | No | - |
| [Cyprus](./CYP.md) | CYP | v7 | v7 | Yes | October 2026 |
Expand Down
4 changes: 2 additions & 2 deletions example/src/flows/Onboarding/jsonSchemaVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const ONBOARDING_JSON_SCHEMA_VERSION_BY_COUNTRY = {
},
BGD: {
// Bangladesh
contract_details: 8,
contract_details: 9,
},
BGR: {
// Bulgaria
Expand Down Expand Up @@ -69,7 +69,7 @@ export const ONBOARDING_JSON_SCHEMA_VERSION_BY_COUNTRY = {
},
COL: {
// Colombia
contract_details: 6,
contract_details: 7,
},
CRI: {
// Costa Rica
Expand Down
244 changes: 244 additions & 0 deletions snapshots/contract-details/BGD.v9.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading