{
  "openapi": "3.0.4",
  "info": {
    "title": "ExamAnalytics API",
    "version": "v1"
  },
  "paths": {
    "/api/AcademicYears": {
      "get": {
        "tags": [
          "AcademicYears"
        ],
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AcademicYears"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAcademicYearRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAcademicYearRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAcademicYearRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicYearDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/AcademicYears/{id}": {
      "put": {
        "tags": [
          "AcademicYears"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAcademicYearRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAcademicYearRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAcademicYearRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/AcademicYears/{id}/deactivate": {
      "post": {
        "tags": [
          "AcademicYears"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/AcademicYears/{id}/set-current": {
      "post": {
        "tags": [
          "AcademicYears"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Attendance/classes": {
      "get": {
        "tags": [
          "Attendance"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceClassOptionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceClassOptionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceClassOptionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Attendance/sessions": {
      "get": {
        "tags": [
          "Attendance"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceSessionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceSessionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceSessionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Attendance/entry": {
      "get": {
        "tags": [
          "Attendance"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "sessionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceEntryRowDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceEntryRowDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttendanceEntryRowDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Attendance": {
      "post": {
        "tags": [
          "Attendance"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAttendanceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAttendanceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveAttendanceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/Attendance/sessions/{sessionId}/set-main": {
      "post": {
        "tags": [
          "Attendance"
        ],
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Attendance/notes": {
      "get": {
        "tags": [
          "Attendance"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studentUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttendanceNoteDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttendanceNoteDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttendanceNoteDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Attendance"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttendanceNoteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttendanceNoteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttendanceNoteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/Auth/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Auth/superadmin-login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SuperAdminLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SuperAdminLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SuperAdminLoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Auth/me": {
      "get": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentUserDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentUserDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentUserDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Auth/refresh": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Auth/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Classes": {
      "get": {
        "tags": [
          "Classes"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Classes"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClassRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClassRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClassRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Classes/{id}": {
      "put": {
        "tags": [
          "Classes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Classes/{id}/deactivate": {
      "post": {
        "tags": [
          "Classes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Classes/{id}/set-class-teacher": {
      "post": {
        "tags": [
          "Classes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetClassTeacherRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetClassTeacherRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetClassTeacherRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ClassSubjects": {
      "get": {
        "tags": [
          "ClassSubjects"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ClassSubjectDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassSubjectDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassSubjectDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ClassSubjects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSubjectToClassesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSubjectToClassesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSubjectToClassesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ClassSubjects/grade-summary": {
      "get": {
        "tags": [
          "ClassSubjects"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectSummaryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectSummaryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectSummaryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/ClassSubjects/grade/{gradeId}/matrix": {
      "get": {
        "tags": [
          "ClassSubjects"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectMatrixDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectMatrixDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectMatrixDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ClassSubjects/class/{classId}/baskets": {
      "get": {
        "tags": [
          "ClassSubjects"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassStudentBasketDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassStudentBasketDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassStudentBasketDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/ClassSubjects/{id}/remove": {
      "post": {
        "tags": [
          "ClassSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Dashboard/student": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/student/home": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "termId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/parent/child/{studentId}": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "termId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentHomeDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/parent": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDashboardDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDashboardDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDashboardDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/school": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/teacher": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/for-student/{studentId}/exam/{examId}": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Dashboard/for-student/{studentId}/history": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentExamSummaryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentExamSummaryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentExamSummaryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/incidents/preview": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "studentUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "disciplinaryItemId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentPreviewDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentPreviewDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentPreviewDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/incidents": {
      "post": {
        "tags": [
          "Discipline"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIncidentResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIncidentResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIncidentResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/incidents/{id}/override": {
      "post": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideIncidentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideIncidentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideIncidentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Discipline/incidents/{id}": {
      "delete": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Discipline/students/{studentUserId}/summary": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "studentUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDisciplineSummaryDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDisciplineSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDisciplineSummaryDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/students/{studentUserId}/history": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "studentUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DisciplinaryType"
            }
          },
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "actionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDisciplinaryRecordDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDisciplinaryRecordDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDisciplinaryRecordDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/notifications": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryNotificationDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryNotificationDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryNotificationDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/notifications/{id}/acknowledge": {
      "post": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Discipline/dashboard": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineDashboardDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineDashboardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineDashboardDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/reports/class/{classId}": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDisciplineReportRowDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDisciplineReportRowDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDisciplineReportRowDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/reports/grade/{gradeId}": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDisciplineReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDisciplineReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDisciplineReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/reports/category": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDisciplineReportRowDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDisciplineReportRowDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDisciplineReportRowDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Discipline/reports/trend": {
      "get": {
        "tags": [
          "Discipline"
        ],
        "parameters": [
          {
            "name": "groupBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DisciplineTrendGroupBy"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplineTrendPointDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplineTrendPointDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplineTrendPointDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/categories": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DisciplinaryType"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryCategoryDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryCategoryDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryCategoryDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryCategoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/categories/{id}": {
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryCategoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/categories/{id}/deactivate": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/actions": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryActionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryActionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryActionDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/actions/{id}": {
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/actions/{id}/deactivate": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/items": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DisciplinaryType"
            }
          },
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryItemDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryItemDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryItemDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/items/{id}": {
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/items/{id}/deactivate": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/items/{itemId}/rules": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryRuleDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryRuleDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryRuleDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/rules": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryRuleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/rules/{id}": {
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryRuleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/rules/{id}/deactivate": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/escalation-rules": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryEscalationRuleDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryEscalationRuleDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisciplinaryEscalationRuleDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryEscalationRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryEscalationRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDisciplinaryEscalationRuleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/discipline-config/escalation-rules/{id}": {
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryEscalationRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryEscalationRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplinaryEscalationRuleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/escalation-rules/{id}/deactivate": {
      "post": {
        "tags": [
          "DisciplineConfig"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/discipline-config/settings": {
      "get": {
        "tags": [
          "DisciplineConfig"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DisciplineConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplineSettingsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplineSettingsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDisciplineSettingsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamPapers": {
      "get": {
        "tags": [
          "ExamPapers"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ExamPapers"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ExamPapers/{id}": {
      "put": {
        "tags": [
          "ExamPapers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamPapers/{id}/remove": {
      "post": {
        "tags": [
          "ExamPapers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamPaperStructure": {
      "get": {
        "tags": [
          "ExamPaperStructure"
        ],
        "parameters": [
          {
            "name": "examPaperId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ExamPaperStructure"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperStructureItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperStructureItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamPaperStructureItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperStructureItemDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ExamPaperStructure/{id}": {
      "put": {
        "tags": [
          "ExamPaperStructure"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperStructureItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperStructureItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamPaperStructureItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamPaperStructure/{id}/remove": {
      "post": {
        "tags": [
          "ExamPaperStructure"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams": {
      "get": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Exams"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Exams/{id}": {
      "put": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams/{id}/deactivate": {
      "post": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams/{id}/lock": {
      "post": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams/{id}/unlock": {
      "post": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams/{id}/publish-results": {
      "post": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Exams/{id}/unpublish-results": {
      "post": {
        "tags": [
          "Exams"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects": {
      "get": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamSubjectDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ExamSubjects/{id}": {
      "put": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects/{id}/remove": {
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects/{id}/publish": {
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects/{id}/unpublish": {
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects/{id}/exam-paper": {
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamSubjects/{id}/answer-paper": {
      "post": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamPaperFileDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ExamSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamTypes": {
      "get": {
        "tags": [
          "ExamTypes"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ExamTypes"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamTypeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamTypeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExamTypeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExamTypeDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ExamTypes/{id}": {
      "put": {
        "tags": [
          "ExamTypes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamTypeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamTypeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExamTypeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExamTypes/{id}/deactivate": {
      "post": {
        "tags": [
          "ExamTypes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExcelImport/template": {
      "get": {
        "tags": [
          "ExcelImport"
        ],
        "parameters": [
          {
            "name": "dataType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ExcelDataType"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ExcelImport/upload": {
      "post": {
        "tags": [
          "ExcelImport"
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "DataType": {
                    "$ref": "#/components/schemas/ExcelDataType"
                  },
                  "AcademicYearId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "GradeId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "DataType": {
                  "style": "form"
                },
                "AcademicYearId": {
                  "style": "form"
                },
                "GradeId": {
                  "style": "form"
                },
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExcelUploadResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExcelUploadResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExcelUploadResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Grades": {
      "get": {
        "tags": [
          "Grades"
        ],
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Grades"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Grades/{id}": {
      "put": {
        "tags": [
          "Grades"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Grades/{id}/deactivate": {
      "post": {
        "tags": [
          "Grades"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Grades/{id}/set-head-teacher": {
      "post": {
        "tags": [
          "Grades"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetGradeHeadTeacherRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetGradeHeadTeacherRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetGradeHeadTeacherRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons": {
      "get": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectLessonDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectLessonDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeSubjectLessonDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectLessonRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectLessonRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectLessonRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectLessonDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectLessonDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectLessonDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/GradeSubjectLessons/{id}": {
      "put": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectLessonRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectLessonRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectLessonRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons/topics": {
      "post": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonTopicRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonTopicRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonTopicRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LessonTopicDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LessonTopicDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LessonTopicDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/GradeSubjectLessons/topics/{id}": {
      "put": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonTopicRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonTopicRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonTopicRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons/topics/{id}/coverage": {
      "put": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "isCovered",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons/subtopics": {
      "post": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonSubTopicRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonSubTopicRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLessonSubTopicRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LessonSubTopicDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LessonSubTopicDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LessonSubTopicDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/GradeSubjectLessons/subtopics/{id}": {
      "put": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonSubTopicRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonSubTopicRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLessonSubTopicRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons/subtopics/{id}/coverage": {
      "put": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "isCovered",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjectLessons/copy-from-previous-year": {
      "post": {
        "tags": [
          "GradeSubjectLessons"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CopyGradeSubjectLessonsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CopyGradeSubjectLessonsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CopyGradeSubjectLessonsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/api/GradeSubjects": {
      "get": {
        "tags": [
          "GradeSubjects"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "GradeSubjects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradeSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeSubjectDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/GradeSubjects/{id}": {
      "put": {
        "tags": [
          "GradeSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGradeSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjects/order": {
      "put": {
        "tags": [
          "GradeSubjects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReorderGradeSubjectsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReorderGradeSubjectsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReorderGradeSubjectsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/GradeSubjects/{id}/deactivate": {
      "post": {
        "tags": [
          "GradeSubjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Marks/entry": {
      "get": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MarksEntryRowDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MarksEntryRowDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MarksEntryRowDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Marks/{examSubjectId}/save": {
      "post": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveMarksRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveMarksRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveMarksRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Marks/{examSubjectId}/targets/generate": {
      "post": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateTargetScoresRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateTargetScoresRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateTargetScoresRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateTargetScoresResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateTargetScoresResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateTargetScoresResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Marks/{examSubjectId}/targets/adjust": {
      "post": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveTargetAdjustmentsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveTargetAdjustmentsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveTargetAdjustmentsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Marks/{examId}/extras": {
      "post": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveExamExtrasRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveExamExtrasRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveExamExtrasRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Marks/class-results": {
      "get": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassResultRowDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassResultRowDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassResultRowDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Marks/{examSubjectId}/{classId}/template": {
      "get": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Marks/upload/identify": {
      "post": {
        "tags": [
          "Marks"
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelTemplateIdentityDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelTemplateIdentityDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelTemplateIdentityDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Marks/{examSubjectId}/{classId}/upload": {
      "post": {
        "tags": [
          "Marks"
        ],
        "parameters": [
          {
            "name": "examSubjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelUploadResultDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelUploadResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarksExcelUploadResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/ParentGuardians": {
      "get": {
        "tags": [
          "ParentGuardians"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ParentGuardianDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParentGuardianDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParentGuardianDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ParentGuardians"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParentGuardianRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParentGuardianRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateParentGuardianRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateParentGuardianResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateParentGuardianResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateParentGuardianResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/ParentGuardians/{id}/deactivate": {
      "post": {
        "tags": [
          "ParentGuardians"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ParentGuardians/link": {
      "post": {
        "tags": [
          "ParentGuardians"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGuardianToStudentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGuardianToStudentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGuardianToStudentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ParentGuardians/by-student/{studentId}": {
      "get": {
        "tags": [
          "ParentGuardians"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ParentGuardianDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ParentGuardianDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ParentGuardianDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/ParentGuardians/{guardianId}/students": {
      "get": {
        "tags": [
          "ParentGuardians"
        ],
        "parameters": [
          {
            "name": "guardianId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/ParentGuardians/my-students": {
      "get": {
        "tags": [
          "ParentGuardians"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StudentDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/student-report-card": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/student-available-exams": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/student-academic-transcript": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/student-progress-trend": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/student-strengths-weaknesses": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/student-absentee-notice": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "studentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-result-sheet/pdf": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-result-sheet/excel": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/students-export": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-subjects": {
      "get": {
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeacherSubjectOptionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeacherSubjectOptionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeacherSubjectOptionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/teacher-subject-exams": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/teacher-subject-performance": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-item-level-analysis": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-weak-students": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-elective-roster": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeSubjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-teacher-classes": {
      "get": {
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/class-teacher-exams": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/class-merit-list": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-performance-analysis": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-at-risk-students": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "threshold",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-remarks-report": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/subject-head-subjects": {
      "get": {
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubjectDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubjectDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubjectDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/school-wide-subject-performance": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-comparison-within-subject": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/school-wide-item-analysis": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/syllabus-coverage-report": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/subject-exam-trend": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/grade-head-grades": {
      "get": {
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GradeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/grade-head-exams": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/grade-merit-list": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "topN",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/grade-performance-analysis": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/class-comparison-within-grade": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/grade-at-risk-students": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "threshold",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/elective-distribution": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/school-exam-summary": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/grade-comparison-report": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/school-year-trend": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-workload-report": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/principal-exams": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExamDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Reports/consolidated-mark-register": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "examId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/head-of-department-summary": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Reports/teacher-effectiveness": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "examTypeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherEffectivenessDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherEffectivenessDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherEffectivenessDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/SchoolSettings": {
      "get": {
        "tags": [
          "SchoolSettings"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SchoolSettings"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSchoolSettingsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSchoolSettingsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSchoolSettingsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/SchoolSettings/logo": {
      "post": {
        "tags": [
          "SchoolSettings"
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolLogoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolLogoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolLogoDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SchoolSettings"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/SchoolSettings/student-dashboard": {
      "get": {
        "tags": [
          "SchoolSettings"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardSettingsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDashboardSettingsDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SchoolSettings"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StudentDashboardSettingsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StudentDashboardSettingsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StudentDashboardSettingsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students": {
      "get": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Students"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterStudentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterStudentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterStudentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterStudentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterStudentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterStudentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Students/check-username": {
      "get": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "userName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "excludeUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Students/{id}": {
      "get": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStudentProfileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStudentProfileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStudentProfileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students/by-class/{classId}": {
      "get": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "classId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StudentDtoPagedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/Students/{id}/deactivate": {
      "post": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students/{id}/enroll": {
      "post": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignStudentToClassRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignStudentToClassRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignStudentToClassRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students/{classStudentId}/transfer": {
      "post": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "classStudentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferStudentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferStudentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferStudentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students/{classStudentId}/remove-class": {
      "post": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "classStudentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Students/{classStudentId}/subjects": {
      "get": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "classStudentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ClassStudentSubjectListDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassStudentSubjectListDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassStudentSubjectListDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Students/{classStudentId}/subjects/elective": {
      "put": {
        "tags": [
          "Students"
        ],
        "parameters": [
          {
            "name": "classStudentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassStudentElectiveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassStudentElectiveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClassStudentElectiveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Subjects": {
      "get": {
        "tags": [
          "Subjects"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Subjects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubjectDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Subjects/{id}": {
      "put": {
        "tags": [
          "Subjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Subjects/{id}/deactivate": {
      "post": {
        "tags": [
          "Subjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Subjects/{id}/set-head-teacher": {
      "post": {
        "tags": [
          "Subjects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSubjectHeadTeacherRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSubjectHeadTeacherRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSubjectHeadTeacherRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/TeacherAssignments/grade/{gradeId}/matrix": {
      "get": {
        "tags": [
          "TeacherAssignments"
        ],
        "parameters": [
          {
            "name": "gradeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GradeTeacherAllocationMatrixDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeTeacherAllocationMatrixDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GradeTeacherAllocationMatrixDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/TeacherAssignments": {
      "get": {
        "tags": [
          "TeacherAssignments"
        ],
        "parameters": [
          {
            "name": "teacherId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "gradeId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TeacherAssignments"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherAssignmentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherAssignmentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherAssignmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherAssignmentDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/TeacherAssignments/{id}/deactivate": {
      "post": {
        "tags": [
          "TeacherAssignments"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Teachers": {
      "get": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teachers"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeacherRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTeacherResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTeacherResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTeacherResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Teachers/check-username": {
      "get": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "userName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "excludeTeacherId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserNameAvailabilityDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Teachers/{id}": {
      "put": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeacherRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeacherRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeacherRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Teachers/{id}/deactivate": {
      "post": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Teachers/{id}/photo": {
      "post": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherPhotoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherPhotoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeacherPhotoDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Teachers"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Tenants": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Tenants"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDtoPagedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/Terms": {
      "get": {
        "tags": [
          "Terms"
        ],
        "parameters": [
          {
            "name": "academicYearId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TermDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TermDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TermDtoPagedResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Terms"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTermRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTermRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTermRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TermDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TermDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TermDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Terms/{id}": {
      "put": {
        "tags": [
          "Terms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Terms/{id}/deactivate": {
      "post": {
        "tags": [
          "Terms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserDtoPagedResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDtoPagedResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDtoPagedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/Users/{id}": {
      "put": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Users/{id}/reset-password": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResetPasswordResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResetPasswordResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResetPasswordResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcademicYearDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AcademicYearDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AcademicYearDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AssignStudentToClassRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "electiveGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssignSubjectToClassesRequest": {
        "type": "object",
        "properties": {
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "classIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttendanceClassOptionDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "accessReason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttendanceEntryItem": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "$ref": "#/components/schemas/AttendanceStatus"
          },
          "remarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttendanceEntryRowDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AttendanceStatus"
          },
          "remarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttendanceNoteDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "guardianName": {
            "type": "string",
            "nullable": true
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "submittedAtUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AttendanceNoteDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttendanceNoteDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AttendanceSessionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "takeNumber": {
            "type": "integer",
            "format": "int32"
          },
          "isMain": {
            "type": "boolean"
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "markedByName": {
            "type": "string",
            "nullable": true
          },
          "markedAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "presentCount": {
            "type": "integer",
            "format": "int32"
          },
          "absentCount": {
            "type": "integer",
            "format": "int32"
          },
          "lateCount": {
            "type": "integer",
            "format": "int32"
          },
          "halfDayCount": {
            "type": "integer",
            "format": "int32"
          },
          "excusedCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AttendanceStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "AuthResponse": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "expiresAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "schoolCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryDisciplineReportRowDto": {
        "type": "object",
        "properties": {
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "incidentCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPoints": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ClassDisciplineReportRowDto": {
        "type": "object",
        "properties": {
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "classTeacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "classTeacherName": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClassDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ClassEffectivenessDto": {
        "type": "object",
        "properties": {
          "className": {
            "type": "string",
            "nullable": true
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "rawAverage": {
            "type": "number",
            "format": "double"
          },
          "progressScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "progressStudents": {
            "type": "integer",
            "format": "int32"
          },
          "relativeScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassResultRowDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassResultSubjectDto"
            },
            "nullable": true
          },
          "totalObtained": {
            "type": "number",
            "format": "double"
          },
          "totalMax": {
            "type": "integer",
            "format": "int32"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "rank": {
            "type": "integer",
            "format": "int32"
          },
          "overallPassed": {
            "type": "boolean"
          },
          "remarks": {
            "type": "string",
            "nullable": true
          },
          "average": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ClassResultSubjectDto": {
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "marksObtained": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          },
          "passMarks": {
            "type": "integer",
            "format": "int32"
          },
          "isAbsent": {
            "type": "boolean"
          },
          "passed": {
            "type": "boolean"
          },
          "isApplicable": {
            "type": "boolean"
          },
          "band": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassStudentBasketDto": {
        "type": "object",
        "properties": {
          "parentGradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "basketName": {
            "type": "string",
            "nullable": true
          },
          "availableElectives": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassStudentSubjectItemDto"
            },
            "nullable": true
          },
          "chosenGradeSubjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "chosenSubjectName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassStudentSubjectItemDto": {
        "type": "object",
        "properties": {
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassStudentSubjectListDto": {
        "type": "object",
        "properties": {
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "mandatory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassStudentSubjectItemDto"
            },
            "nullable": true
          },
          "baskets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassStudentBasketDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClassSubjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "classId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClassSubjectDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassSubjectDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CopyGradeSubjectLessonsRequest": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "sourceAcademicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "targetAcademicYearId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateAcademicYearRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "CreateClassRequest": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateDisciplinaryActionRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/DisciplinarySeverity"
          }
        },
        "additionalProperties": false
      },
      "CreateDisciplinaryCategoryRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateDisciplinaryEscalationRuleRequest": {
        "type": "object",
        "properties": {
          "minimumDemeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notifyPrincipal": {
            "type": "boolean"
          },
          "notifyVicePrincipal": {
            "type": "boolean"
          },
          "notifyGradeHead": {
            "type": "boolean"
          },
          "notifyClassTeacher": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateDisciplinaryItemRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateDisciplinaryRuleRequest": {
        "type": "object",
        "properties": {
          "disciplinaryItemId": {
            "type": "string",
            "format": "uuid"
          },
          "occurrenceFrom": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "disciplinaryActionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "points": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateExamPaperRequest": {
        "type": "object",
        "properties": {
          "examSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "paperType": {
            "$ref": "#/components/schemas/ExamPaperType"
          },
          "scoreCaptureLevel": {
            "$ref": "#/components/schemas/ScoreCaptureLevel"
          },
          "totalMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateExamPaperStructureItemRequest": {
        "type": "object",
        "properties": {
          "examPaperId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectLessonId": {
            "type": "string",
            "format": "uuid"
          },
          "lessonTopicId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "questionType": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateExamRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "examTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "CreateExamSubjectRequest": {
        "type": "object",
        "properties": {
          "examId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "passMarks": {
            "type": "integer",
            "format": "int32"
          },
          "examDate": {
            "type": "string",
            "format": "date"
          },
          "startTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateExamTypeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateGradeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateGradeSubjectLessonRequest": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateGradeSubjectRequest": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "isElective": {
            "type": "boolean"
          },
          "parentGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIncidentRequest": {
        "type": "object",
        "properties": {
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "disciplinaryItemId": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "remarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIncidentResultDto": {
        "type": "object",
        "properties": {
          "recordId": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "occurrenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "actionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "netPoints": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "thresholdExceeded": {
            "type": "boolean"
          },
          "exceededBy": {
            "type": "integer",
            "format": "int32"
          },
          "notificationSent": {
            "type": "boolean"
          },
          "notifyPrincipal": {
            "type": "boolean"
          },
          "notifyVicePrincipal": {
            "type": "boolean"
          },
          "notifyGradeHead": {
            "type": "boolean"
          },
          "notifyClassTeacher": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateLessonSubTopicRequest": {
        "type": "object",
        "properties": {
          "topicId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateLessonTopicRequest": {
        "type": "object",
        "properties": {
          "lessonId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateParentGuardianRequest": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "createPortalLogin": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateParentGuardianResponse": {
        "type": "object",
        "properties": {
          "parentGuardianId": {
            "type": "string",
            "format": "uuid"
          },
          "temporaryPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSubjectRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTeacherAssignmentRequest": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid"
          },
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTeacherRequest": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "employeeNo": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/TeacherTitle"
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "nicId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TeacherStatus"
          },
          "subjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTeacherResponse": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid"
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "temporaryPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTenantRequest": {
        "type": "object",
        "properties": {
          "schoolCode": {
            "type": "string",
            "nullable": true
          },
          "schoolName": {
            "type": "string",
            "nullable": true
          },
          "subscriptionFee": {
            "type": "number",
            "format": "double"
          },
          "adminEmail": {
            "type": "string",
            "nullable": true
          },
          "adminDisplayName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTenantResponse": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "schoolCode": {
            "type": "string",
            "nullable": true
          },
          "schoolAdminUserId": {
            "type": "string",
            "format": "uuid"
          },
          "temporaryPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTermRequest": {
        "type": "object",
        "properties": {
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "CurrentUserDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "schoolCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DashboardAcademicYearOptionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DashboardTermOptionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryActionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/DisciplinarySeverity"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryCategoryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryEscalationRuleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "minimumDemeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notifyPrincipal": {
            "type": "boolean"
          },
          "notifyVicePrincipal": {
            "type": "boolean"
          },
          "notifyGradeHead": {
            "type": "boolean"
          },
          "notifyClassTeacher": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryItemDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "ruleCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryNotificationDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "thresholdPoints": {
            "type": "integer",
            "format": "int32"
          },
          "currentPoints": {
            "type": "integer",
            "format": "int32"
          },
          "exceededBy": {
            "type": "integer",
            "format": "int32"
          },
          "latestItemName": {
            "type": "string",
            "nullable": true
          },
          "latestActionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "triggeredAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "isAcknowledged": {
            "type": "boolean"
          },
          "acknowledgedByName": {
            "type": "string",
            "nullable": true
          },
          "acknowledgedAtUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DisciplinaryOccurrencePeriod": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisciplinaryRuleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "disciplinaryItemId": {
            "type": "string",
            "format": "uuid"
          },
          "occurrenceFrom": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "disciplinaryActionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "disciplinaryActionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DisciplinarySeverity": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisciplinaryType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisciplineDashboardDto": {
        "type": "object",
        "properties": {
          "totalMeritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "totalDemeritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "totalMeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "totalDemeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "studentsOverThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "studentsNearThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "mostCommonDemeritCategory": {
            "type": "string",
            "nullable": true
          },
          "mostCommonDisciplinaryItem": {
            "type": "string",
            "nullable": true
          },
          "studentsRequiringAttention": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentAttentionRowDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DisciplineSettingsDto": {
        "type": "object",
        "properties": {
          "maximumDemeritTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "occurrencePeriod": {
            "$ref": "#/components/schemas/DisciplinaryOccurrencePeriod"
          },
          "allowMeritOffsetInThreshold": {
            "type": "boolean"
          },
          "nearThresholdPercentage": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DisciplineTrendGroupBy": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisciplineTrendPointDto": {
        "type": "object",
        "properties": {
          "periodLabel": {
            "type": "string",
            "nullable": true
          },
          "periodStart": {
            "type": "string",
            "format": "date"
          },
          "meritCount": {
            "type": "integer",
            "format": "int32"
          },
          "demeritCount": {
            "type": "integer",
            "format": "int32"
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "EffectivenessBand": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "EffectivenessBasis": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "EffectivenessHistoryPointDto": {
        "type": "object",
        "properties": {
          "examCycleName": {
            "type": "string",
            "nullable": true
          },
          "score": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "basis": {
            "$ref": "#/components/schemas/EffectivenessBasis"
          },
          "band": {
            "$ref": "#/components/schemas/EffectivenessBand"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EffectivenessOptionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExamDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "examTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "examTypeName": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isCompleted": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "isLocked": {
            "type": "boolean"
          },
          "isResultsPublished": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ExamDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExamDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExamPaperDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "examSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "paperType": {
            "$ref": "#/components/schemas/ExamPaperType"
          },
          "scoreCaptureLevel": {
            "$ref": "#/components/schemas/ScoreCaptureLevel"
          },
          "totalMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ExamPaperFileDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExamPaperStructureItemDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "examPaperId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectLessonId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeSubjectLessonName": {
            "type": "string",
            "nullable": true
          },
          "lessonTopicId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "lessonTopicName": {
            "type": "string",
            "nullable": true
          },
          "questionType": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ExamPaperType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "ExamSubjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "examId": {
            "type": "string",
            "format": "uuid"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          },
          "passMarks": {
            "type": "integer",
            "format": "int32"
          },
          "examDate": {
            "type": "string",
            "format": "date"
          },
          "startTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "examPaperUrl": {
            "type": "string",
            "nullable": true
          },
          "answerPaperUrl": {
            "type": "string",
            "nullable": true
          },
          "isPublished": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ExamSubjectDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExamSubjectDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExamTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ExamTypeDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExamTypeDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExcelDataType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "ExcelUploadResultDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "totalRows": {
            "type": "integer",
            "format": "int32"
          },
          "createdCount": {
            "type": "integer",
            "format": "int32"
          },
          "updatedCount": {
            "type": "integer",
            "format": "int32"
          },
          "issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExcelValidationIssueDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExcelValidationIssueDto": {
        "type": "object",
        "properties": {
          "sheet": {
            "type": "string",
            "nullable": true
          },
          "rowNumber": {
            "type": "integer",
            "format": "int32"
          },
          "column": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Gender": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "GenerateTargetScoresRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "overwriteAdjusted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GenerateTargetScoresResultDto": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string",
            "nullable": true
          },
          "trainingSampleCount": {
            "type": "integer",
            "format": "int32"
          },
          "modelMae": {
            "type": "number",
            "format": "double"
          },
          "baselineMae": {
            "type": "number",
            "format": "double"
          },
          "generatedCount": {
            "type": "integer",
            "format": "int32"
          },
          "preservedAdjustedCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GradeDisciplineReportDto": {
        "type": "object",
        "properties": {
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "totalStudents": {
            "type": "integer",
            "format": "int32"
          },
          "totalMeritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "totalDemeritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "totalMeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "totalDemeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "studentsOverThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "students": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassDisciplineReportRowDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GradeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "headTeacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "headTeacherName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GradeDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GradeDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "GradeSubjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "subjectCode": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "isElective": {
            "type": "boolean"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "parentGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "parentGradeSubjectNames": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GradeSubjectDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GradeSubjectDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "GradeSubjectLessonDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "topics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LessonTopicDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GradeSubjectMatrixDto": {
        "type": "object",
        "properties": {
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatrixClassDto"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatrixSubjectRowDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GradeSubjectSummaryDto": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "integer",
            "format": "int32"
          },
          "classCount": {
            "type": "integer",
            "format": "int32"
          },
          "assignedSubjects": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GradeTeacherAllocationMatrixDto": {
        "type": "object",
        "properties": {
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatrixClassDto"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherAllocationSubjectRowDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IncidentPreviewDto": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "previousOccurrences": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "ruleFound": {
            "type": "boolean"
          },
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "disciplinaryActionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "actionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ItemMarkValueDto": {
        "type": "object",
        "properties": {
          "structureItemId": {
            "type": "string",
            "format": "uuid"
          },
          "marksObtained": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LessonSubTopicDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "topicId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isCovered": {
            "type": "boolean"
          },
          "coveredAtUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LessonTopicDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "lessonId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isCovered": {
            "type": "boolean"
          },
          "coveredAtUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "subTopics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LessonSubTopicDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkGuardianToStudentRequest": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "parentGuardianId": {
            "type": "string",
            "format": "uuid"
          },
          "relationship": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginRequest": {
        "type": "object",
        "properties": {
          "schoolCode": {
            "type": "string",
            "nullable": true
          },
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogoutRequest": {
        "type": "object",
        "properties": {
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MarksEntryRowDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "isAbsent": {
            "type": "boolean"
          },
          "paperMarks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaperMarkValueDto"
            },
            "nullable": true
          },
          "itemMarks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemMarkValueDto"
            },
            "nullable": true
          },
          "target": {
            "$ref": "#/components/schemas/TargetScoreDto"
          }
        },
        "additionalProperties": false
      },
      "MarksExcelPaperMarkDto": {
        "type": "object",
        "properties": {
          "examPaperId": {
            "type": "string",
            "format": "uuid"
          },
          "mark": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "MarksExcelRowDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "isAbsent": {
            "type": "boolean"
          },
          "paperMarks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarksExcelPaperMarkDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MarksExcelTemplateIdentityDto": {
        "type": "object",
        "properties": {
          "examId": {
            "type": "string",
            "format": "uuid"
          },
          "examSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "classId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "MarksExcelUploadResultDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarksExcelRowDto"
            },
            "nullable": true
          },
          "issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExcelValidationIssueDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MatrixCellDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "classSubjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MatrixClassDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "className": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MatrixSubjectRowDto": {
        "type": "object",
        "properties": {
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatrixCellDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OverrideIncidentRequest": {
        "type": "object",
        "properties": {
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "disciplinaryActionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaperMarkValueDto": {
        "type": "object",
        "properties": {
          "examPaperId": {
            "type": "string",
            "format": "uuid"
          },
          "marksObtained": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ParentGuardianDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "userId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ParentGuardianDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParentGuardianDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "QuestionType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "RefreshTokenRequest": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterStudentRequest": {
        "type": "object",
        "properties": {
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "classId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "guardianName": {
            "type": "string",
            "nullable": true
          },
          "guardianContact": {
            "type": "string",
            "nullable": true
          },
          "enrollmentDate": {
            "type": "string",
            "format": "date"
          },
          "electiveGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterStudentResponse": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "generatedPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReorderGradeSubjectsRequest": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "orderedGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordResponse": {
        "type": "object",
        "properties": {
          "temporaryPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveAttendanceRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "sessionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttendanceEntryItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveExamExtrasRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentExtraEntryDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveMarksRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentMarksEntryDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaveTargetAdjustmentsRequest": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "adjustments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TargetAdjustmentDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolAcademicDto": {
        "type": "object",
        "properties": {
          "hasResults": {
            "type": "boolean"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "isLocked": {
            "type": "boolean"
          },
          "isPublished": {
            "type": "boolean"
          },
          "markEntryCompletion": {
            "type": "number",
            "format": "double"
          },
          "studentsAssessed": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "studentsPassed": {
            "type": "integer",
            "format": "int32"
          },
          "previousCycleName": {
            "type": "string",
            "nullable": true
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRateChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "trend": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolTrendPointDto"
            },
            "nullable": true
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolClassPerformanceDto"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolSubjectPerformanceDto"
            },
            "nullable": true
          },
          "bandDistribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolBandCountDto"
            },
            "nullable": true
          },
          "topStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolStudentHighlightDto"
            },
            "nullable": true
          },
          "atRiskFailThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "atRiskCount": {
            "type": "integer",
            "format": "int32"
          },
          "atRiskStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolStudentHighlightDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolAttendanceDto": {
        "type": "object",
        "properties": {
          "hasData": {
            "type": "boolean"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "presentDays": {
            "type": "integer",
            "format": "int32"
          },
          "lateDays": {
            "type": "integer",
            "format": "int32"
          },
          "halfDays": {
            "type": "integer",
            "format": "int32"
          },
          "absentDays": {
            "type": "integer",
            "format": "int32"
          },
          "excusedDays": {
            "type": "integer",
            "format": "int32"
          },
          "totalRecords": {
            "type": "integer",
            "format": "int32"
          },
          "latestMonthLabel": {
            "type": "string",
            "nullable": true
          },
          "changeVsPreviousMonth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "monthly": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentMonthlyAttendanceDto"
            },
            "nullable": true
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolClassAttendanceDto"
            },
            "nullable": true
          },
          "lowAttendanceThreshold": {
            "type": "number",
            "format": "double"
          },
          "lowAttendanceCount": {
            "type": "integer",
            "format": "int32"
          },
          "lowAttendanceStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolLowAttendanceStudentDto"
            },
            "nullable": true
          },
          "classesMarkedToday": {
            "type": "integer",
            "format": "int32"
          },
          "totalClasses": {
            "type": "integer",
            "format": "int32"
          },
          "todayPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolBandCountDto": {
        "type": "object",
        "properties": {
          "band": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "share": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SchoolClassAttendanceDto": {
        "type": "object",
        "properties": {
          "className": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SchoolClassPerformanceDto": {
        "type": "object",
        "properties": {
          "className": {
            "type": "string",
            "nullable": true
          },
          "classTeacherName": {
            "type": "string",
            "nullable": true
          },
          "studentsAssessed": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rank": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolDashboardDto": {
        "type": "object",
        "properties": {
          "schoolName": {
            "type": "string",
            "nullable": true
          },
          "academicYears": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardAcademicYearOptionDto"
            },
            "nullable": true
          },
          "examCycles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolExamCycleOptionDto"
            },
            "nullable": true
          },
          "selectedAcademicYearId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "selectedExamTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "examCycleName": {
            "type": "string",
            "nullable": true
          },
          "grades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolGradeSummaryDto"
            },
            "nullable": true
          },
          "selectedGradeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "overview": {
            "$ref": "#/components/schemas/SchoolOverviewDto"
          },
          "academic": {
            "$ref": "#/components/schemas/SchoolAcademicDto"
          },
          "attendance": {
            "$ref": "#/components/schemas/SchoolAttendanceDto"
          },
          "discipline": {
            "$ref": "#/components/schemas/SchoolDisciplineDto"
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentInsightDto"
            },
            "nullable": true
          },
          "failedSections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolDisciplineCategoryDto": {
        "type": "object",
        "properties": {
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "incidents": {
            "type": "integer",
            "format": "int32"
          },
          "points": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolDisciplineClassDto": {
        "type": "object",
        "properties": {
          "className": {
            "type": "string",
            "nullable": true
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolDisciplineDto": {
        "type": "object",
        "properties": {
          "hasRecords": {
            "type": "boolean"
          },
          "meritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "demeritIncidents": {
            "type": "integer",
            "format": "int32"
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "studentsOverThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "studentsNearThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "topDemeritCategories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolDisciplineCategoryDto"
            },
            "nullable": true
          },
          "monthly": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolDisciplineMonthDto"
            },
            "nullable": true
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolDisciplineClassDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolDisciplineMonthDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolExamCycleOptionDto": {
        "type": "object",
        "properties": {
          "examTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "SchoolGradeSummaryDto": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "integer",
            "format": "int32"
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "classes": {
            "type": "integer",
            "format": "int32"
          },
          "hasExam": {
            "type": "boolean"
          },
          "hasResults": {
            "type": "boolean"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolLogoDto": {
        "type": "object",
        "properties": {
          "logoUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolLowAttendanceStudentDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "absentDays": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolOverviewDto": {
        "type": "object",
        "properties": {
          "totalStudents": {
            "type": "integer",
            "format": "int32"
          },
          "totalClasses": {
            "type": "integer",
            "format": "int32"
          },
          "teachers": {
            "type": "integer",
            "format": "int32"
          },
          "classesWithoutClassTeacher": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolSettingsDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SchoolType"
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchoolStudentHighlightDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "rank": {
            "type": "integer",
            "format": "int32"
          },
          "failedSubjects": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SchoolSubjectPerformanceDto": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "candidates": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SchoolTrendPointDto": {
        "type": "object",
        "properties": {
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "examTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "averagePercentage": {
            "type": "number",
            "format": "double"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          },
          "studentsAssessed": {
            "type": "integer",
            "format": "int32"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SchoolType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "ScoreCaptureLevel": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SetClassTeacherRequest": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetGradeHeadTeacherRequest": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetSubjectHeadTeacherRequest": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentAcademicOverviewDto": {
        "type": "object",
        "properties": {
          "hasResults": {
            "type": "boolean"
          },
          "currentExamName": {
            "type": "string",
            "nullable": true
          },
          "currentAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "overallPassed": {
            "type": "boolean",
            "nullable": true
          },
          "previousExamName": {
            "type": "string",
            "nullable": true
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rank": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "classSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "rankChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "trend": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentTrendPointDto"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentSubjectPerformanceDto"
            },
            "nullable": true
          },
          "improving": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentSubjectChangeDto"
            },
            "nullable": true
          },
          "needsAttention": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentSubjectChangeDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentAttendanceOverviewDto": {
        "type": "object",
        "properties": {
          "hasData": {
            "type": "boolean"
          },
          "totalDays": {
            "type": "integer",
            "format": "int32"
          },
          "presentDays": {
            "type": "integer",
            "format": "int32"
          },
          "lateDays": {
            "type": "integer",
            "format": "int32"
          },
          "halfDays": {
            "type": "integer",
            "format": "int32"
          },
          "absentDays": {
            "type": "integer",
            "format": "int32"
          },
          "excusedDays": {
            "type": "integer",
            "format": "int32"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "latestMonthLabel": {
            "type": "string",
            "nullable": true
          },
          "changeVsPreviousMonth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "monthly": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentMonthlyAttendanceDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentAttentionRowDto": {
        "type": "object",
        "properties": {
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentDashboardDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "latestExamName": {
            "type": "string",
            "nullable": true
          },
          "latestExamPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "latestExamRank": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "latestExamClassSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "latestExamPassed": {
            "type": "boolean",
            "nullable": true
          },
          "attendanceTotalDays": {
            "type": "integer",
            "format": "int32"
          },
          "attendancePresentDays": {
            "type": "integer",
            "format": "int32"
          },
          "attendanceAbsentDays": {
            "type": "integer",
            "format": "int32"
          },
          "attendancePercentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "StudentDashboardSettingsDto": {
        "type": "object",
        "properties": {
          "showClassRankToStudents": {
            "type": "boolean"
          },
          "showClassAverageToStudents": {
            "type": "boolean"
          },
          "significantChangePercentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "StudentDisciplinaryRecordDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "itemName": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "occurrenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "actionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "remarks": {
            "type": "string",
            "nullable": true
          },
          "recordedByName": {
            "type": "string",
            "nullable": true
          },
          "isOverridden": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StudentDisciplineEntryDto": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "itemName": {
            "type": "string",
            "nullable": true
          },
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "points": {
            "type": "integer",
            "format": "int32"
          },
          "actionNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentDisciplineOverviewDto": {
        "type": "object",
        "properties": {
          "hasRecords": {
            "type": "boolean"
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "balance": {
            "type": "integer",
            "format": "int32"
          },
          "comparisonLabel": {
            "type": "string",
            "nullable": true
          },
          "meritChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "demeritChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "balanceChange": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "recentRecords": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentDisciplineEntryDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentDisciplineSummaryDto": {
        "type": "object",
        "properties": {
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "netPoints": {
            "type": "integer",
            "format": "int32"
          },
          "maximumTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "thresholdExceeded": {
            "type": "boolean"
          },
          "remaining": {
            "type": "integer",
            "format": "int32"
          },
          "exceededBy": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "classStudentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "classId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "guardianName": {
            "type": "string",
            "nullable": true
          },
          "guardianContact": {
            "type": "string",
            "nullable": true
          },
          "enrollmentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StudentDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "StudentExamSubjectDto": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "marksObtained": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          },
          "isAbsent": {
            "type": "boolean"
          },
          "passed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StudentExamSummaryDto": {
        "type": "object",
        "properties": {
          "examId": {
            "type": "string",
            "format": "uuid"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "rank": {
            "type": "integer",
            "format": "int32"
          },
          "classSize": {
            "type": "integer",
            "format": "int32"
          },
          "overallPassed": {
            "type": "boolean"
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentExamSubjectDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentExtraEntryDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "remarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentHomeDashboardDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "student": {
            "$ref": "#/components/schemas/StudentHomeProfileDto"
          },
          "academicYears": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardAcademicYearOptionDto"
            },
            "nullable": true
          },
          "terms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardTermOptionDto"
            },
            "nullable": true
          },
          "selectedAcademicYearId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "selectedTermId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "periodLabel": {
            "type": "string",
            "nullable": true
          },
          "showClassRank": {
            "type": "boolean"
          },
          "showClassAverage": {
            "type": "boolean"
          },
          "significantChangePercentage": {
            "type": "number",
            "format": "double"
          },
          "academic": {
            "$ref": "#/components/schemas/StudentAcademicOverviewDto"
          },
          "attendance": {
            "$ref": "#/components/schemas/StudentAttendanceOverviewDto"
          },
          "discipline": {
            "$ref": "#/components/schemas/StudentDisciplineOverviewDto"
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentInsightDto"
            },
            "nullable": true
          },
          "failedSections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentHomeProfileDto": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "currentTermName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentInsightDto": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/StudentInsightType"
          },
          "severity": {
            "$ref": "#/components/schemas/StudentInsightSeverity"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "period": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentInsightSeverity": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "StudentInsightType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "StudentMarksEntryDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "isAbsent": {
            "type": "boolean"
          },
          "paperMarks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaperMarkValueDto"
            },
            "nullable": true
          },
          "itemMarks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemMarkValueDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StudentMonthlyAttendanceDto": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "totalDays": {
            "type": "integer",
            "format": "int32"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "StudentSubjectChangeDto": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "currentPercentage": {
            "type": "number",
            "format": "double"
          },
          "change": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "StudentSubjectPerformanceDto": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "myPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "isAbsent": {
            "type": "boolean"
          },
          "band": {
            "type": "string",
            "nullable": true
          },
          "classAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "previousPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "previousExamName": {
            "type": "string",
            "nullable": true
          },
          "change": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "trend": {
            "$ref": "#/components/schemas/SubjectTrend"
          }
        },
        "additionalProperties": false
      },
      "StudentTrendPointDto": {
        "type": "object",
        "properties": {
          "examId": {
            "type": "string",
            "format": "uuid"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SubjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "headTeacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "headTeacherName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubjectDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubjectDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SubjectEffectivenessDto": {
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "gradeAverage": {
            "type": "number",
            "format": "double"
          },
          "gradePassRate": {
            "type": "number",
            "format": "double"
          },
          "studentsWithBaseline": {
            "type": "integer",
            "format": "int32"
          },
          "progressModel": {
            "type": "string",
            "nullable": true
          },
          "singleTeacher": {
            "type": "boolean"
          },
          "teachers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherEffectivenessRowDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubjectTrend": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SubmitAttendanceNoteRequest": {
        "type": "object",
        "properties": {
          "studentUserId": {
            "type": "string",
            "format": "uuid"
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SuperAdminLoginRequest": {
        "type": "object",
        "properties": {
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetAdjustmentDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "adjustedTarget": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetFactorDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "impact": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TargetScoreConfidence": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "TargetScoreDto": {
        "type": "object",
        "properties": {
          "generatedTarget": {
            "type": "number",
            "format": "double"
          },
          "rangeLow": {
            "type": "number",
            "format": "double"
          },
          "rangeHigh": {
            "type": "number",
            "format": "double"
          },
          "adjustedTarget": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "adjustmentReason": {
            "type": "string",
            "nullable": true
          },
          "finalTarget": {
            "type": "number",
            "format": "double"
          },
          "isAdjusted": {
            "type": "boolean",
            "readOnly": true
          },
          "confidence": {
            "$ref": "#/components/schemas/TargetScoreConfidence"
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "modelMae": {
            "type": "number",
            "format": "double"
          },
          "trainingSampleCount": {
            "type": "integer",
            "format": "int32"
          },
          "generatedAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "factors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TargetFactorDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherAllocationCellDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectTaughtInClass": {
            "type": "boolean"
          },
          "assignmentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "teacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherAllocationOptionDto": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid"
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherAllocationSubjectRowDto": {
        "type": "object",
        "properties": {
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "eligibleTeachers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherAllocationOptionDto"
            },
            "nullable": true
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherAllocationCellDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherAssignmentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "teacherId": {
            "type": "string",
            "format": "uuid"
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeacherAssignmentDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherAssignmentDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TeacherAttentionStudentDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "isAbsent": {
            "type": "boolean"
          },
          "failed": {
            "type": "boolean"
          },
          "change": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherClassDisciplineStudentDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "demeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "meritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "isOverLimit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeacherClassSubjectDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "isLocked": {
            "type": "boolean"
          },
          "isPublished": {
            "type": "boolean"
          },
          "entryStatus": {
            "$ref": "#/components/schemas/TeacherMarkEntryStatus"
          },
          "marksEntered": {
            "type": "integer",
            "format": "int32"
          },
          "marksExpected": {
            "type": "integer",
            "format": "int32"
          },
          "hasResults": {
            "type": "boolean"
          },
          "sat": {
            "type": "integer",
            "format": "int32"
          },
          "absent": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradeAveragePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradePassRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradeClasses": {
            "type": "integer",
            "format": "int32"
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRateChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "topStudent": {
            "$ref": "#/components/schemas/TeacherTopStudentDto"
          },
          "trend": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherTrendPointDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherClassTrendPointDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "averagePercentage": {
            "type": "number",
            "format": "double"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          },
          "gradeAveragePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "studentsAssessed": {
            "type": "integer",
            "format": "int32"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeacherDashboardDto": {
        "type": "object",
        "properties": {
          "teacherName": {
            "type": "string",
            "nullable": true
          },
          "academicYears": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardAcademicYearOptionDto"
            },
            "nullable": true
          },
          "examCycles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolExamCycleOptionDto"
            },
            "nullable": true
          },
          "selectedAcademicYearId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "selectedExamTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "examCycleName": {
            "type": "string",
            "nullable": true
          },
          "previousCycleName": {
            "type": "string",
            "nullable": true
          },
          "myClass": {
            "$ref": "#/components/schemas/TeacherHomeClassDto"
          },
          "headedGrades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherHeadedGradeDto"
            },
            "nullable": true
          },
          "headedSubjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherHeadedSubjectDto"
            },
            "nullable": true
          },
          "hasTeacherProfile": {
            "type": "boolean"
          },
          "classCount": {
            "type": "integer",
            "format": "int32"
          },
          "subjectCount": {
            "type": "integer",
            "format": "int32"
          },
          "gradeCount": {
            "type": "integer",
            "format": "int32"
          },
          "studentCount": {
            "type": "integer",
            "format": "int32"
          },
          "significantChange": {
            "type": "number",
            "format": "double"
          },
          "studentDropThreshold": {
            "type": "number",
            "format": "double"
          },
          "classSubjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherClassSubjectDto"
            },
            "nullable": true
          },
          "attentionStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherAttentionStudentDto"
            },
            "nullable": true
          },
          "attentionCount": {
            "type": "integer",
            "format": "int32"
          },
          "syllabus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherSyllabusCoverageDto"
            },
            "nullable": true
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentInsightDto"
            },
            "nullable": true
          },
          "failedSections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "employeeNo": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/TeacherTitle"
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "nicId": {
            "type": "string",
            "nullable": true
          },
          "photoUrl": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TeacherStatus"
          },
          "isActive": {
            "type": "boolean"
          },
          "subjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TeacherEffectivenessDto": {
        "type": "object",
        "properties": {
          "academicYears": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashboardAcademicYearOptionDto"
            },
            "nullable": true
          },
          "examCycles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolExamCycleOptionDto"
            },
            "nullable": true
          },
          "grades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EffectivenessOptionDto"
            },
            "nullable": true
          },
          "subjectOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EffectivenessOptionDto"
            },
            "nullable": true
          },
          "selectedAcademicYearId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "selectedExamTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "selectedGradeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "selectedSubjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "examCycleName": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "minimumStudents": {
            "type": "integer",
            "format": "int32"
          },
          "practicalDifference": {
            "type": "number",
            "format": "double"
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubjectEffectivenessDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherEffectivenessRowDto": {
        "type": "object",
        "properties": {
          "teacherId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          },
          "classNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "rawAverage": {
            "type": "number",
            "format": "double"
          },
          "rawPassRate": {
            "type": "number",
            "format": "double"
          },
          "progressScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "progressLow": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "progressHigh": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "progressStudents": {
            "type": "integer",
            "format": "int32"
          },
          "relativeScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "relativeLow": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "relativeHigh": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "relativeStudents": {
            "type": "integer",
            "format": "int32"
          },
          "band": {
            "$ref": "#/components/schemas/EffectivenessBand"
          },
          "basis": {
            "$ref": "#/components/schemas/EffectivenessBasis"
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClassEffectivenessDto"
            },
            "nullable": true
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EffectivenessHistoryPointDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherHeadedGradeDto": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherHeadedSubjectDto": {
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "previousCycleName": {
            "type": "string",
            "nullable": true
          },
          "grades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherHeadedSubjectGradeDto"
            },
            "nullable": true
          },
          "syllabus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherSyllabusCoverageDto"
            },
            "nullable": true
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentInsightDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherHeadedSubjectGradeDto": {
        "type": "object",
        "properties": {
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "isLocked": {
            "type": "boolean"
          },
          "sat": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marksEntered": {
            "type": "integer",
            "format": "int32"
          },
          "marksExpected": {
            "type": "integer",
            "format": "int32"
          },
          "trend": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherTrendPointDto"
            },
            "nullable": true
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherClassSubjectDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherHomeClassDto": {
        "type": "object",
        "properties": {
          "classId": {
            "type": "string",
            "format": "uuid"
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "students": {
            "type": "integer",
            "format": "int32"
          },
          "examName": {
            "type": "string",
            "nullable": true
          },
          "isLocked": {
            "type": "boolean"
          },
          "isPublished": {
            "type": "boolean"
          },
          "markEntryCompletion": {
            "type": "number",
            "format": "double"
          },
          "hasResults": {
            "type": "boolean"
          },
          "studentsAssessed": {
            "type": "integer",
            "format": "int32"
          },
          "studentsPassed": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "previousCycleName": {
            "type": "string",
            "nullable": true
          },
          "averageChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRateChange": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradeAveragePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradePassRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "classRank": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "classesInGrade": {
            "type": "integer",
            "format": "int32"
          },
          "trend": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherClassTrendPointDto"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherHomeClassSubjectDto"
            },
            "nullable": true
          },
          "topStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolStudentHighlightDto"
            },
            "nullable": true
          },
          "atRiskFailThreshold": {
            "type": "integer",
            "format": "int32"
          },
          "atRiskCount": {
            "type": "integer",
            "format": "int32"
          },
          "atRiskStudents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchoolStudentHighlightDto"
            },
            "nullable": true
          },
          "attendance": {
            "$ref": "#/components/schemas/SchoolAttendanceDto"
          },
          "discipline": {
            "$ref": "#/components/schemas/SchoolDisciplineDto"
          },
          "disciplineWatch": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeacherClassDisciplineStudentDto"
            },
            "nullable": true
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StudentInsightDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherHomeClassSubjectDto": {
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "teacherName": {
            "type": "string",
            "nullable": true
          },
          "marksEntered": {
            "type": "integer",
            "format": "int32"
          },
          "marksExpected": {
            "type": "integer",
            "format": "int32"
          },
          "candidates": {
            "type": "integer",
            "format": "int32"
          },
          "averagePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "passRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradeAveragePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherMarkEntryStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "TeacherPhotoDto": {
        "type": "object",
        "properties": {
          "photoUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "TeacherSubjectOptionDto": {
        "type": "object",
        "properties": {
          "gradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "gradeId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "academicYearName": {
            "type": "string",
            "nullable": true
          },
          "isElective": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TeacherSyllabusCoverageDto": {
        "type": "object",
        "properties": {
          "gradeName": {
            "type": "string",
            "nullable": true
          },
          "subjectName": {
            "type": "string",
            "nullable": true
          },
          "lessons": {
            "type": "integer",
            "format": "int32"
          },
          "coveredUnits": {
            "type": "integer",
            "format": "int32"
          },
          "totalUnits": {
            "type": "integer",
            "format": "int32"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          },
          "yearElapsedPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lastCoveredAtUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TeacherTitle": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "TeacherTopStudentDto": {
        "type": "object",
        "properties": {
          "studentId": {
            "type": "string",
            "format": "uuid"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "admissionNo": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TeacherTrendPointDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "averagePercentage": {
            "type": "number",
            "format": "double"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          },
          "gradeAveragePercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gradePassRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "sat": {
            "type": "integer",
            "format": "int32"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TenantDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "schoolCode": {
            "type": "string",
            "nullable": true
          },
          "schoolName": {
            "type": "string",
            "nullable": true
          },
          "subscriptionFee": {
            "type": "number",
            "format": "double"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAtUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TenantDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TermDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "academicYearId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TermDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TransferStudentRequest": {
        "type": "object",
        "properties": {
          "newClassId": {
            "type": "string",
            "format": "uuid"
          },
          "electiveGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAcademicYearRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "UpdateClassRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateClassStudentElectiveRequest": {
        "type": "object",
        "properties": {
          "parentGradeSubjectId": {
            "type": "string",
            "format": "uuid"
          },
          "newElectiveGradeSubjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplinaryActionRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "$ref": "#/components/schemas/DisciplinarySeverity"
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplinaryCategoryRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplinaryEscalationRuleRequest": {
        "type": "object",
        "properties": {
          "minimumDemeritPoints": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notifyPrincipal": {
            "type": "boolean"
          },
          "notifyVicePrincipal": {
            "type": "boolean"
          },
          "notifyGradeHead": {
            "type": "boolean"
          },
          "notifyClassTeacher": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplinaryItemRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DisciplinaryType"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplinaryRuleRequest": {
        "type": "object",
        "properties": {
          "occurrenceFrom": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "disciplinaryActionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "points": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateDisciplineSettingsRequest": {
        "type": "object",
        "properties": {
          "maximumDemeritTolerancePoints": {
            "type": "integer",
            "format": "int32"
          },
          "occurrencePeriod": {
            "$ref": "#/components/schemas/DisciplinaryOccurrencePeriod"
          },
          "allowMeritOffsetInThreshold": {
            "type": "boolean"
          },
          "nearThresholdPercentage": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateExamPaperRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "scoreCaptureLevel": {
            "$ref": "#/components/schemas/ScoreCaptureLevel"
          },
          "totalMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateExamPaperStructureItemRequest": {
        "type": "object",
        "properties": {
          "questionType": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "maxMarks": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateExamRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "UpdateExamSubjectRequest": {
        "type": "object",
        "properties": {
          "passMarks": {
            "type": "integer",
            "format": "int32"
          },
          "examDate": {
            "type": "string",
            "format": "date"
          },
          "startTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateExamTypeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateGradeRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateGradeSubjectLessonRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateGradeSubjectRequest": {
        "type": "object",
        "properties": {
          "isElective": {
            "type": "boolean"
          },
          "parentGradeSubjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateLessonSubTopicRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateLessonTopicRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateSchoolSettingsRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SchoolType"
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateStudentProfileRequest": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "guardianName": {
            "type": "string",
            "nullable": true
          },
          "guardianContact": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateSubjectRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTeacherRequest": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "type": "string",
            "nullable": true
          },
          "employeeNo": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/TeacherTitle"
          },
          "gender": {
            "$ref": "#/components/schemas/Gender"
          },
          "nicId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TeacherStatus"
          },
          "subjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTermRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "UpdateUserRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "profileType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserDtoPagedResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDto"
            },
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UserNameAvailabilityDto": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Enter a valid JWT with the 'Bearer ' prefix.",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    { }
  ],
  "tags": [
    {
      "name": "AcademicYears"
    },
    {
      "name": "Attendance"
    },
    {
      "name": "Auth"
    },
    {
      "name": "Classes"
    },
    {
      "name": "ClassSubjects"
    },
    {
      "name": "Dashboard"
    },
    {
      "name": "Discipline"
    },
    {
      "name": "DisciplineConfig"
    },
    {
      "name": "ExamPapers"
    },
    {
      "name": "ExamPaperStructure"
    },
    {
      "name": "Exams"
    },
    {
      "name": "ExamSubjects"
    },
    {
      "name": "ExamTypes"
    },
    {
      "name": "ExcelImport"
    },
    {
      "name": "Grades"
    },
    {
      "name": "GradeSubjectLessons"
    },
    {
      "name": "GradeSubjects"
    },
    {
      "name": "Marks"
    },
    {
      "name": "ParentGuardians"
    },
    {
      "name": "Reports"
    },
    {
      "name": "SchoolSettings"
    },
    {
      "name": "Students"
    },
    {
      "name": "Subjects"
    },
    {
      "name": "TeacherAssignments"
    },
    {
      "name": "Teachers"
    },
    {
      "name": "Tenants"
    },
    {
      "name": "Terms"
    },
    {
      "name": "Users"
    }
  ]
}