{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entur/json-schema/entur-employment-end-cause-schema.json",
  "title": "EmploymentEndCause",
  "description": "The reason for an employment to end",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-codes-api-openapi.yml#/components/schemas/EmploymentEndCause",
  "required": [
    "code",
    "description"
  ],
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "The code used for input",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "description": "A description of the particular code's meaning",
      "readOnly": true
    }
  }
}