{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/akeda-ru/json-schema/akeda-ru-core-employee-lifecycle-template-schema.json",
  "title": "CoreEmployeeLifecycleTemplate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/akeda-ru-core-employee-operations-api-openapi.yml#/components/schemas/CoreEmployeeLifecycleTemplate",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "kind",
    "name",
    "checklist",
    "is_active",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "$ref": "#/$defs/UUID"
    },
    "kind": {
      "$ref": "#/$defs/CoreEmployeeLifecycleKind"
    },
    "name": {
      "type": "string"
    },
    "checklist": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "type": "string"
      }
    },
    "is_active": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "CoreEmployeeLifecycleKind": {
      "type": "string",
      "enum": [
        "onboarding",
        "offboarding"
      ]
    },
    "UUID": {
      "type": "string",
      "format": "uuid"
    }
  }
}