{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/remote-com/json-schema/remote-com-offboarding-create-request-schema.json",
  "title": "OffboardingCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/remote-com-offboarding-api-openapi.yml#/components/schemas/OffboardingCreateRequest",
  "type": "object",
  "required": [
    "employment_id",
    "offboarding_type",
    "last_day_of_work"
  ],
  "properties": {
    "employment_id": {
      "type": "string",
      "format": "uuid"
    },
    "offboarding_type": {
      "type": "string",
      "enum": [
        "resignation",
        "termination",
        "end_of_contract"
      ]
    },
    "last_day_of_work": {
      "type": "string",
      "format": "date"
    },
    "reason_for_offboarding": {
      "type": "string"
    },
    "additional_information": {
      "type": "object",
      "additionalProperties": true
    }
  }
}