{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/akeda-ru/json-schema/akeda-ru-core-employee-equipment-schema.json",
  "title": "CoreEmployeeEquipment",
  "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/CoreEmployeeEquipment",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "employee_id",
    "employee_name",
    "name",
    "inventory_no",
    "status",
    "assigned_at",
    "returned_at",
    "notes",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "$ref": "#/$defs/UUID"
    },
    "employee_id": {
      "$ref": "#/$defs/UUID"
    },
    "employee_name": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "inventory_no": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "assigned",
        "returned"
      ]
    },
    "assigned_at": {
      "type": "string",
      "description": "Date or empty string"
    },
    "returned_at": {
      "type": "string",
      "description": "Date or empty string"
    },
    "notes": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "UUID": {
      "type": "string",
      "format": "uuid"
    }
  }
}