{
  "_endpoint": "/api/dr/departments/all",
  "_auth_required": false,
  "_collection": "RgtrDepartment — Registrar Department Registry",
  "fields": {
    "departmentId": {
      "type": "int64",
      "nullable": false,
      "description": "Primary key"
    },
    "departmentName": {
      "type": "string",
      "nullable": false,
      "description": "Department name / label",
      "example": "IT Department"
    },
    "departmentCode": {
      "type": "string",
      "nullable": true,
      "description": "Short code for the department"
    },
    "active": {
      "type": "string",
      "nullable": false,
      "description": "Status flag (Y/N/Active/Inactive string)",
      "example": "Active"
    },
    "createdDateTime": {
      "type": "ISO8601 datetime",
      "nullable": true,
      "description": "Record creation timestamp"
    },
    "modifiedDateTime": {
      "type": "ISO8601 datetime",
      "nullable": true,
      "description": "Last modification timestamp"
    },
    "createdBy": {
      "type": "string",
      "nullable": true,
      "description": "User who created the record"
    },
    "modifiedBy": {
      "type": "string",
      "nullable": true,
      "description": "User who last modified the record"
    },
    "createdByEmailId": {
      "type": "string",
      "nullable": true,
      "description": "Email of creator"
    },
    "modifiedByEmailId": {
      "type": "string",
      "nullable": true,
      "description": "Email of last modifier"
    }
  }
}
