{"openapi":"3.1.0","info":{"title":"classbank","version":"0.1.0"},"paths":{"/api/v1/teacher/login/access-token":{"post":{"tags":["teacher","teacher auth"],"summary":"Access Token","operationId":"access_token_api_v1_teacher_login_access_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/login/google":{"post":{"tags":["teacher","teacher auth"],"summary":"Google Access Token","operationId":"google_access_token_api_v1_teacher_login_google_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/login/apple":{"post":{"tags":["teacher","teacher auth"],"summary":"Apple Access Token","operationId":"apple_access_token_api_v1_teacher_login_apple_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/me":{"get":{"tags":["teacher"],"summary":"Me","operationId":"me_api_v1_teacher_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Teacher"}}}}},"deprecated":true,"security":[{"Teacher":[]}]},"delete":{"tags":["teacher","teacher auth"],"summary":"Delete Own Account","operationId":"delete_own_account_api_v1_teacher_me_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"Teacher":[]}]},"patch":{"tags":["teacher"],"summary":"Self Update","operationId":"self_update_api_v1_teacher_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherSelfUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherInDBBase"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/password-recovery":{"post":{"tags":["teacher","teacher auth"],"summary":"Recover Password","description":"Password Recovery.\nAlways returns the same response to not\ncompromise email addresses that are present in teachers table.","operationId":"recover_password_api_v1_teacher_password_recovery_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordRecoveryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Msg"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/reset-password":{"post":{"tags":["teacher","teacher auth"],"summary":"Reset Password","description":"Reset password","operationId":"reset_password_api_v1_teacher_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__TeacherPasswdReset-Input__1"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Msg"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/change-password":{"post":{"tags":["teacher"],"summary":"Change Password","operationId":"change_password_api_v1_teacher_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__TeacherChangePassword-Input__1"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Msg"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/finalization-data":{"get":{"tags":["teacher"],"summary":"Get Finalization Data","operationId":"get_finalization_data_api_v1_teacher_finalization_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherFinalizationDataOut"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/me/intercom-open":{"post":{"tags":["teacher"],"summary":"Set Intercom Open","operationId":"set_intercom_open_api_v1_teacher_me_intercom_open_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherInDBBase"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher":{"post":{"tags":["teacher"],"summary":"Create Teacher","description":"Create new teacher (register via email)","operationId":"create_teacher_api_v1_teacher_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__TeacherInitialize-Input__1"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/registration-data/{token}":{"get":{"tags":["teacher"],"summary":"Get Registration Data","operationId":"get_registration_data_api_v1_teacher_registration_data__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherRegistratinData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/finalize":{"post":{"tags":["teacher"],"summary":"Finalize Teacher","operationId":"finalize_teacher_api_v1_teacher_finalize_post","security":[{"Teacher":[]}],"parameters":[{"name":"utm_source","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Utm Source"}},{"name":"utm_medium","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Utm Medium"}},{"name":"utm_campaign","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Utm Campaign"}},{"name":"utm_term","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Utm Term"}},{"name":"utm_content","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Utm Content"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherFinalize"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Teacher"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/downgrade":{"post":{"tags":["teacher"],"summary":"Downgrade To Free Plan","operationId":"downgrade_to_free_plan_api_v1_teacher_downgrade_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/choose-school":{"post":{"tags":["teacher"],"summary":"Choose School","operationId":"choose_school_api_v1_teacher_choose_school_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_choose_school_api_v1_teacher_choose_school_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/me/clever-sync":{"post":{"tags":["teacher"],"summary":"Clever Sync Me","description":"Queues an on-demand sync of the authenticated teacher's data from Clever.","operationId":"clever_sync_me_api_v1_teacher_me_clever_sync_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleverSyncQueued"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/school/teachers/":{"get":{"tags":["teachers management"],"summary":"Get List Of Teacher Accesses","operationId":"get_list_of_teacher_accesses_api_v1_school_teachers__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeacherAccess"},"type":"array","title":"Response Get List Of Teacher Accesses Api V1 School Teachers  Get"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/school/teachers/{teacher_id}/accept":{"post":{"tags":["teachers management"],"summary":"Accept Pending Teacher","operationId":"accept_pending_teacher_api_v1_school_teachers__teacher_id__accept_post","security":[{"Teacher":[]}],"parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"integer","title":"Teacher Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school/teachers/{teacher_id}/reject":{"post":{"tags":["teachers management"],"summary":"Reject Pending Teacher","operationId":"reject_pending_teacher_api_v1_school_teachers__teacher_id__reject_post","security":[{"Teacher":[]}],"parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"integer","title":"Teacher Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school/invitations/":{"get":{"tags":["teachers management"],"summary":"Get Created Invitations","operationId":"get_created_invitations_api_v1_school_invitations__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeacherInvitationSchema"},"type":"array","title":"Response Get Created Invitations Api V1 School Invitations  Get"}}}}},"security":[{"Teacher":[]}]},"post":{"tags":["teachers management"],"summary":"Invite Teachers","operationId":"invite_teachers_api_v1_school_invitations__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherInvite"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeacherAccess"},"type":"array","title":"Response Invite Teachers Api V1 School Invitations  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/school/invitations/{invitation_id}":{"delete":{"tags":["teachers management"],"summary":"Delete Teacher Invitation","operationId":"delete_teacher_invitation_api_v1_school_invitations__invitation_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"integer","title":"Invitation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/schools":{"get":{"tags":["schools"],"summary":"Get Schools","operationId":"get_schools_api_v1_schools_get","security":[{"Teacher":[]}],"parameters":[{"name":"filter","in":"query","required":true,"schema":{"type":"string","title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_SchoolWithTeacherCount_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["schools"],"summary":"Create School","operationId":"create_school_api_v1_schools_post","security":[{"Teacher":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchoolCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/countries":{"get":{"tags":["countries"],"summary":"Get Countries","operationId":"get_countries_api_v1_countries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Country"},"type":"array","title":"Response Get Countries Api V1 Countries Get"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/classes":{"get":{"tags":["classes"],"summary":"Get Classes","operationId":"get_classes_api_v1_classes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeacherClassShort"},"type":"array","title":"Response Get Classes Api V1 Classes Get"}}}}},"security":[{"Teacher":[]}]},"post":{"tags":["classes"],"summary":"Create Class","operationId":"create_class_api_v1_classes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIClassCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassShort"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/classes/archived":{"get":{"tags":["classes"],"summary":"Get Archived Classes","operationId":"get_archived_classes_api_v1_classes_archived_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeacherClassShort"},"type":"array","title":"Response Get Archived Classes Api V1 Classes Archived Get"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/classes/copy-settings":{"post":{"tags":["classes"],"summary":"Copy Class Related Objects","operationId":"copy_class_related_objects_api_v1_classes_copy_settings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyClassObjsData"}}},"required":true},"responses":{"201":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/classes/copy-settings-check":{"post":{"tags":["classes"],"summary":"Check Overwritten Class Related Objects On Copying","description":"Get list of overwritten objects on copying settings. This is reading action. No DB changes would be applied.","operationId":"check_overwritten_class_related_objects_on_copying_api_v1_classes_copy_settings_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyClassObjsData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckCopyClassObjsDataOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/classes/{class_id}/archive":{"post":{"tags":["classes"],"summary":"Archive Class","operationId":"archive_class_api_v1_classes__class_id__archive_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/unarchive":{"post":{"tags":["classes"],"summary":"Unarchive Class","operationId":"unarchive_class_api_v1_classes__class_id__unarchive_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}":{"delete":{"tags":["classes"],"summary":"Delete Class","operationId":"delete_class_api_v1_classes__class_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["classes"],"summary":"Get Class ","operationId":"get_class__api_v1_classes__class_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassWithVisibility"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["classes"],"summary":"Update Class","operationId":"update_class_api_v1_classes__class_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassWithVisibility"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/candidates":{"get":{"tags":["classes"],"summary":"Get Student Candidates","operationId":"get_student_candidates_api_v1_classes__class_id__candidates_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentCandidate"},"title":"Response Get Student Candidates Api V1 Classes  Class Id  Candidates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/students":{"post":{"tags":["classes"],"summary":"Assign Students","operationId":"assign_students_api_v1_classes__class_id__students_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__student_assignment__StudentAssignmentBulk-Input__1"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["classes"],"summary":"Get Class Students","operationId":"get_class_students_api_v1_classes__class_id__students_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only students belonging to these groups.","title":"Group Ids"},"description":"Show only students belonging to these groups."},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name","balance","savings","pending_balance"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_StudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["classes"],"summary":"Bulk Delete Students","description":"Soft deletes students who are in specified class.","operationId":"bulk_delete_students_api_v1_classes__class_id__students_delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListBulkActionParams"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/students-short":{"get":{"tags":["classes"],"summary":"Get Class Students Short","operationId":"get_class_students_short_api_v1_classes__class_id__students_short_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_ShortStudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/class-students":{"delete":{"tags":["classes"],"summary":"Remove Students From Class","operationId":"remove_students_from_class_api_v1_classes__class_id__class_students_delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListBulkActionParams"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/students/export":{"get":{"tags":["classes"],"summary":"Export Students","operationId":"export_students_api_v1_classes__class_id__students_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/export":{"get":{"tags":["classes"],"summary":"Export Class Jobs","operationId":"export_class_jobs_api_v1_classes__class_id__jobs_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/students/import":{"post":{"tags":["classes"],"summary":"Import Students From Xlsx","operationId":"import_students_from_xlsx_api_v1_classes__class_id__students_import_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_students_from_xlsx_api_v1_classes__class_id__students_import_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/students/balances/reset":{"post":{"tags":["classes"],"summary":"Reset Students Balances","operationId":"reset_students_balances_api_v1_classes__class_id__students_balances_reset_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListBulkActionParams"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups":{"get":{"tags":["groups"],"summary":"List Groups","operationId":"list_groups_api_v1_classes__class_id__groups_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"},"title":"Response List Groups Api V1 Classes  Class Id  Groups Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["groups"],"summary":"Create Group","operationId":"create_group_api_v1_classes__class_id__groups_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Bulk Delete Groups","operationId":"bulk_delete_groups_api_v1_classes__class_id__groups_delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupsBulkDelete"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/import-template":{"get":{"tags":["groups"],"summary":"Download Import Template","description":"Template pre-filled with the class roster.\n\nThe teacher only fills in Group Names; identifiers are already there, so they\nnever need to know a login. One row per student - a student in several\ngroups gets them comma-separated in the one cell.","operationId":"download_import_template_api_v1_classes__class_id__groups_import_template_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/import":{"post":{"tags":["groups"],"summary":"Import Groups","description":"Imports groups from a filled-in template","operationId":"import_groups_api_v1_classes__class_id__groups_import_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"on_invalid_rows","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GroupImportMode","description":"skip - import the good rows and report the rest. abort - import nothing while has_blocking_errors is true, so the teacher can fix the file first.","default":"skip"},"description":"skip - import the good rows and report the rest. abort - import nothing while has_blocking_errors is true, so the teacher can fix the file first."},{"name":"add_missing_students","in":"query","required":false,"schema":{"type":"boolean","description":"Match the whole school and enrol students put into a group who are missing from the class. SCHOOL plan only.","default":false,"title":"Add Missing Students"},"description":"Match the whole school and enrol students put into a group who are missing from the class. SCHOOL plan only."},{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","description":"Report only, write nothing.","default":false,"title":"Dry Run"},"description":"Report only, write nothing."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_groups_api_v1_classes__class_id__groups_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/export":{"get":{"tags":["groups"],"summary":"Export Groups","operationId":"export_groups_api_v1_classes__class_id__groups_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Export only these groups - mirrors the active filter.","title":"Group Ids"},"description":"Export only these groups - mirrors the active filter."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/store-export":{"get":{"tags":["groups"],"summary":"Export Group Store Purchases","description":"Store purchases of this class's group members, one row per purchase.","operationId":"export_group_store_purchases_api_v1_classes__class_id__groups_store_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Export only these groups - mirrors the active filter.","title":"Group Ids"},"description":"Export only these groups - mirrors the active filter."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/filter":{"get":{"tags":["groups"],"summary":"Get Group Filter","operationId":"get_group_filter_api_v1_classes__class_id__groups_filter_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupFilter"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["groups"],"summary":"Save Group Filter","operationId":"save_group_filter_api_v1_classes__class_id__groups_filter_put","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupFilterUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupFilter"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/{group_id}":{"patch":{"tags":["groups"],"summary":"Update Group","operationId":"update_group_api_v1_classes__class_id__groups__group_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Delete Group","operationId":"delete_group_api_v1_classes__class_id__groups__group_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/{group_id}/members":{"get":{"tags":["groups"],"summary":"List Group Members","operationId":"list_group_members_api_v1_classes__class_id__groups__group_id__members_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/{group_id}/candidates":{"get":{"tags":["groups"],"summary":"List Group Candidates","operationId":"list_group_candidates_api_v1_classes__class_id__groups__group_id__candidates_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/groups/{group_id}/transactions":{"post":{"tags":["groups"],"summary":"Send Group Transactions","operationId":"send_group_transactions_api_v1_classes__class_id__groups__group_id__transactions_post","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupTransactionsCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups":{"get":{"tags":["groups"],"summary":"List School Groups","operationId":"list_school_groups_api_v1_teacher_admin_school_groups_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GroupResponse"},"type":"array","title":"Response List School Groups Api V1 Teacher Admin School Groups Get"}}}}},"security":[{"Teacher":[]}]},"post":{"tags":["groups"],"summary":"Create School Group","operationId":"create_school_group_api_v1_teacher_admin_school_groups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/school/groups/candidates":{"get":{"tags":["groups"],"summary":"List New School Group Candidates","description":"Students to pick from while creating a group, before it exists.","operationId":"list_new_school_group_candidates_api_v1_teacher_admin_school_groups_candidates_get","security":[{"Teacher":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/import-template":{"get":{"tags":["groups"],"summary":"Download School Import Template","description":"Template pre-filled with the whole school roster.","operationId":"download_school_import_template_api_v1_teacher_admin_school_groups_import_template_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/school/groups/import":{"post":{"tags":["groups"],"summary":"Import School Groups","description":"Creates school-wide groups from a filled-in school template.","operationId":"import_school_groups_api_v1_teacher_admin_school_groups_import_post","security":[{"Teacher":[]}],"parameters":[{"name":"on_invalid_rows","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GroupImportMode","default":"skip"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_school_groups_api_v1_teacher_admin_school_groups_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/export":{"get":{"tags":["groups"],"summary":"Export School Groups","operationId":"export_school_groups_api_v1_teacher_admin_school_groups_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Export only these groups - mirrors the active filter.","title":"Group Ids"},"description":"Export only these groups - mirrors the active filter."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/{group_id}":{"patch":{"tags":["groups"],"summary":"Update School Group","operationId":"update_school_group_api_v1_teacher_admin_school_groups__group_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Delete School Group","operationId":"delete_school_group_api_v1_teacher_admin_school_groups__group_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/{group_id}/members":{"get":{"tags":["groups"],"summary":"List School Group Members","operationId":"list_school_group_members_api_v1_teacher_admin_school_groups__group_id__members_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/{group_id}/candidates":{"get":{"tags":["groups"],"summary":"List School Group Candidates","operationId":"list_school_group_candidates_api_v1_teacher_admin_school_groups__group_id__candidates_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school/groups/{group_id}/transactions":{"post":{"tags":["groups"],"summary":"Send School Group Transactions","description":"Sends to every member of a school-wide group, across all its classes","operationId":"send_school_group_transactions_api_v1_teacher_admin_school_groups__group_id__transactions_post","security":[{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupTransactionsCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/groups":{"get":{"tags":["groups - banker role"],"summary":"List Groups","operationId":"list_groups_api_v1_classes__class_id__helper_banker_groups_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"},"title":"Response List Groups Api V1 Classes  Class Id  Helper Banker Groups Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/groups/{group_id}/members":{"get":{"tags":["groups - banker role"],"summary":"List Group Members","operationId":"list_group_members_api_v1_classes__class_id__helper_banker_groups__group_id__members_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_GroupMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/groups/{group_id}/transactions":{"post":{"tags":["groups - banker role"],"summary":"Send Group Transactions","operationId":"send_group_transactions_api_v1_classes__class_id__helper_banker_groups__group_id__transactions_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupTransactionsCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school/classes/{class_id}/co-teachers/":{"get":{"tags":["co-teachers"],"summary":"Get List Of Co Teachers","operationId":"get_list_of_co_teachers_api_v1_school_classes__class_id__co_teachers__get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CoTeacherOut"},"title":"Response Get List Of Co Teachers Api V1 School Classes  Class Id  Co Teachers  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["co-teachers"],"summary":"Add Co Teachers To Class","operationId":"add_co_teachers_to_class_api_v1_school_classes__class_id__co_teachers__post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCoteachersIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school/classes/{class_id}/co-teachers/possible":{"get":{"tags":["co-teachers"],"summary":"Get List Of Possible Co Teachers","operationId":"get_list_of_possible_co_teachers_api_v1_school_classes__class_id__co_teachers_possible_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PossibleCoTeacher"},"title":"Response Get List Of Possible Co Teachers Api V1 School Classes  Class Id  Co Teachers Possible Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school/classes/{class_id}/co-teachers/{teacher_id}":{"delete":{"tags":["co-teachers"],"summary":"Delete Co Teacher From Class","operationId":"delete_co_teacher_from_class_api_v1_school_classes__class_id__co_teachers__teacher_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"integer","title":"Teacher Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/fines":{"get":{"tags":["fines"],"summary":"Get Fines","operationId":"Get_Fines_api_v1_classes__class_id__fines_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Get Fines Api V1 Classes  Class Id  Fines Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["fines"],"summary":"Create Fine","operationId":"Create_Fine_api_v1_classes__class_id__fines_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItemCreate"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Create Fine Api V1 Classes  Class Id  Fines Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/fines/{fine_id}":{"delete":{"tags":["fines"],"summary":"Delete Fine","operationId":"Delete_Fine_api_v1_classes__class_id__fines__fine_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"fine_id","in":"path","required":true,"schema":{"type":"integer","title":"Fine Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["fines"],"summary":"Update Fine","operationId":"Update_Fine_api_v1_classes__class_id__fines__fine_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"fine_id","in":"path","required":true,"schema":{"type":"integer","title":"Fine Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/bonuses":{"get":{"tags":["bonuses"],"summary":"Get Bonuses","operationId":"Get_Bonuses_api_v1_classes__class_id__bonuses_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Get Bonuses Api V1 Classes  Class Id  Bonuses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bonuses"],"summary":"Create Bonus","operationId":"Create_Bonus_api_v1_classes__class_id__bonuses_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItemCreate"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Create Bonus Api V1 Classes  Class Id  Bonuses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/bonuses/{bonus_id}":{"delete":{"tags":["bonuses"],"summary":"Delete Bonus","operationId":"Delete_Bonus_api_v1_classes__class_id__bonuses__bonus_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"bonus_id","in":"path","required":true,"schema":{"type":"integer","title":"Bonus Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["bonuses"],"summary":"Update Bonus","operationId":"Update_Bonus_api_v1_classes__class_id__bonuses__bonus_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"bonus_id","in":"path","required":true,"schema":{"type":"integer","title":"Bonus Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/expenses":{"get":{"tags":["expenses"],"summary":"Get Expenses","operationId":"Get_Expenses_api_v1_classes__class_id__expenses_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Get Expenses Api V1 Classes  Class Id  Expenses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["expenses"],"summary":"Create Expense","operationId":"Create_Expense_api_v1_classes__class_id__expenses_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItemCreate"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionItem"},"title":"Response Create Expense Api V1 Classes  Class Id  Expenses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/expenses/{expense_id}":{"delete":{"tags":["expenses"],"summary":"Delete Expense","operationId":"Delete_Expense_api_v1_classes__class_id__expenses__expense_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","title":"Expense Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["expenses"],"summary":"Update Expense","operationId":"Update_Expense_api_v1_classes__class_id__expenses__expense_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","title":"Expense Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs":{"get":{"tags":["jobs"],"summary":"Get Jobs","operationId":"get_jobs_api_v1_classes__class_id__jobs_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobSimple"},"title":"Response Get Jobs Api V1 Classes  Class Id  Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["jobs"],"summary":"Create Job","operationId":"create_job_api_v1_classes__class_id__jobs_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobCreate"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"title":"Response Create Job Api V1 Classes  Class Id  Jobs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["jobs"],"summary":"Update Job","operationId":"update_job_api_v1_classes__class_id__jobs_patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobUpdate"},"title":"Objs In"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"title":"Response Update Job Api V1 Classes  Class Id  Jobs Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/{job_id}":{"delete":{"tags":["jobs"],"summary":"Delete Job","operationId":"delete_job_api_v1_classes__class_id__jobs__job_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["jobs"],"summary":"Get Job Details","operationId":"get_job_details_api_v1_classes__class_id__jobs__job_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetailed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/clean":{"post":{"tags":["jobs"],"summary":"Clean Employees And Application","operationId":"clean_employees_and_application_api_v1_classes__class_id__jobs_clean_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/{job_id}/hire":{"post":{"tags":["hiring"],"summary":"Hire","operationId":"hire_api_v1_classes__class_id__jobs__job_id__hire_post","security":[{"Teacher":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobHire"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/{job_id}/fire":{"post":{"tags":["hiring"],"summary":"Fire","operationId":"fire_api_v1_classes__class_id__jobs__job_id__fire_post","security":[{"Teacher":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobFire"},"title":"Objs In"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/jobs/{job_id}/reject":{"post":{"tags":["hiring"],"summary":"Reject","operationId":"reject_api_v1_classes__class_id__jobs__job_id__reject_post","security":[{"Teacher":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobApplicationDeny"},"title":"Objs In"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/transactions":{"post":{"tags":["transactions"],"summary":"Create Transactions","operationId":"create_transactions_api_v1_classes__class_id__transactions_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionsListCreateClass"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/transactions/{transaction_id}/book":{"post":{"tags":["transactions"],"summary":"Book Transaction","operationId":"book_transaction_api_v1_transactions__transaction_id__book_post","security":[{"Student":[]}],"parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Transaction Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookTransaction"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/transactions/pending":{"get":{"tags":["student transactions"],"summary":"Get Pending Transactions","operationId":"get_pending_transactions_api_v1_student_transactions_pending_get","deprecated":true,"security":[{"Student":[]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentPendingTransaction"},"title":"Response Get Pending Transactions Api V1 Student Transactions Pending Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/transactions/booked":{"get":{"tags":["student transactions"],"summary":"Get Booked Transactions","description":"Student transactions history endpoint","operationId":"get_booked_transactions_api_v1_student_transactions_booked_get","deprecated":true,"security":[{"Student":[]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Get Booked Transactions Api V1 Student Transactions Booked Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/transactions/all":{"get":{"tags":["student transactions"],"summary":"Get All Student Transactions On Student Side","operationId":"get_all_student_transactions_on_student_side_api_v1_student_transactions_all_get","security":[{"Student":[]}],"parameters":[{"name":"pending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Pending"}},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"title":"Type In"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Get All Student Transactions On Student Side Api V1 Student Transactions All Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/transactions/":{"get":{"tags":["teacher transactions"],"summary":"Get Teacher Transactions","operationId":"get_teacher_transactions_api_v1_teacher_transactions__get","security":[{"Teacher":[]}],"parameters":[{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"title_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title Filter"},"description":"Filter string to search by transaction title."},{"name":"student_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by student.","title":"Student Filter"},"description":"Filter string to search by student."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only transactions of members of these groups.","title":"Group Ids"},"description":"Show only transactions of members of these groups."},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeacherTransactionsHistoryEntry"},"title":"Response Get Teacher Transactions Api V1 Teacher Transactions  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher transactions"],"summary":"Delete Teacher Transactions","operationId":"delete_teacher_transactions_api_v1_teacher_transactions__delete","security":[{"Teacher":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteTeacherTransactionsDataIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/transactions/ids":{"get":{"tags":["teacher transactions"],"summary":"Get Deletable Teacher Transaction Ids","operationId":"get_deletable_teacher_transaction_ids_api_v1_teacher_transactions_ids_get","security":[{"Teacher":[]}],"parameters":[{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"title_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title Filter"},"description":"Filter string to search by transaction title."},{"name":"student_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by student.","title":"Student Filter"},"description":"Filter string to search by student."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only transactions of members of these groups.","title":"Group Ids"},"description":"Show only transactions of members of these groups."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Response Get Deletable Teacher Transaction Ids Api V1 Teacher Transactions Ids Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/transactions/filter-data":{"get":{"tags":["teacher transactions"],"summary":"Get Teacher Transactions Filter Data","description":"Classes with their groups, to render the transactions filter tree.","operationId":"get_teacher_transactions_filter_data_api_v1_teacher_transactions_filter_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherTransactionsFilterData"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher/transactions/export":{"get":{"tags":["teacher transactions"],"summary":"Export Teacher Transactions","operationId":"export_teacher_transactions_api_v1_teacher_transactions_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"title_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title Filter"},"description":"Filter string to search by transaction title."},{"name":"student_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by student.","title":"Student Filter"},"description":"Filter string to search by student."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only transactions of members of these groups.","title":"Group Ids"},"description":"Show only transactions of members of these groups."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/jobs":{"get":{"tags":["student jobs"],"summary":"Get Student Jobs","operationId":"get_student_jobs_api_v1_student_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/JobShort"},"type":"array","title":"Response Get Student Jobs Api V1 Student Jobs Get"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/jobs/{class_id}":{"get":{"tags":["student jobs"],"summary":"Get Student Possible Jobs In Class","operationId":"get_student_possible_jobs_in_class_api_v1_student_jobs__class_id__get","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentPossibleJob"},"title":"Response Get Student Possible Jobs In Class Api V1 Student Jobs  Class Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/balance":{"get":{"tags":["student balance"],"summary":"Get Student Balance","operationId":"get_student_balance_api_v1_student_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentBalance"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/classes":{"get":{"tags":["student classes"],"summary":"Get Student Classes","operationId":"get_student_classes_api_v1_student_classes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StudentClass"},"type":"array","title":"Response Get Student Classes Api V1 Student Classes Get"}}}}},"security":[{"Student":[]}]},"post":{"tags":["student classes"],"summary":"Join To Class","operationId":"join_to_class_api_v1_student_classes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassInvitationCode"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/classes/{class_id}":{"get":{"tags":["student classes"],"summary":"Get Student Class","operationId":"get_student_class_api_v1_student_classes__class_id__get","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentClassWithHelperRoles"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/me":{"patch":{"tags":["student"],"summary":"Self Update","operationId":"self_update_api_v1_student_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentSelfUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/has-transactions":{"get":{"tags":["student"],"summary":"Check Student Has Booked Transactions","description":"Check if student has any transactions.","operationId":"check_student_has_booked_transactions_api_v1_student_has_transactions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentHasTransactions"}}}}},"security":[{"Student":[]}]}},"/api/v1/classes/{class_id}/student-helpers":{"get":{"tags":["students helpers manage"],"summary":"Get Class Student Helpers","operationId":"get_class_student_helpers_api_v1_classes__class_id__student_helpers_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_ClassStudentHelper_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["students helpers manage"],"summary":"Assign Class Student Helpers","operationId":"assign_class_student_helpers_api_v1_classes__class_id__student_helpers_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClassStudentHelperUpdate"},"title":"Obj In"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClassStudentHelper"},"title":"Response Assign Class Student Helpers Api V1 Classes  Class Id  Student Helpers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/savings":{"get":{"tags":["savings"],"summary":"Get Saving Accounts","operationId":"get_saving_accounts_api_v1_student_savings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SavingAccount"},"type":"array","title":"Response Get Saving Accounts Api V1 Student Savings Get"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/account-transfer":{"post":{"tags":["savings"],"summary":"Transfer To Account","operationId":"transfer_to_account_api_v1_student_account_transfer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountTransfer"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/savings-snapshot":{"get":{"tags":["savings"],"summary":"Get Savings Snapshot","operationId":"get_savings_snapshot_api_v1_student_savings_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavingsSnapshot"}}}}},"security":[{"Student":[]}]}},"/api/v1/student/account-transactions":{"get":{"tags":["savings"],"summary":"Get Account Transactions","operationId":"get_account_transactions_api_v1_student_account_transactions_get","security":[{"Student":[]}],"parameters":[{"name":"saving_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Saving Account Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"transaction_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionType"},{"type":"null"}],"title":"Transaction Type"}},{"name":"transaction_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":10,"minimum":1},{"type":"null"}],"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountTransaction"},"title":"Response Get Account Transactions Api V1 Student Account Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/savings":{"get":{"tags":["savings"],"summary":"Get Saving Accounts","operationId":"get_saving_accounts_api_v1_students__student_id__savings_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SavingAccount"},"title":"Response Get Saving Accounts Api V1 Students  Student Id  Savings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{savings_account_id}/goals":{"get":{"tags":["goals"],"summary":"Get Student Goals In Savings Account","operationId":"get_student_goals_in_savings_account_api_v1_student__savings_account_id__goals_get","security":[{"Student":[]}],"parameters":[{"name":"savings_account_id","in":"path","required":true,"schema":{"type":"integer","title":"Savings Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Goal"},"title":"Response Get Student Goals In Savings Account Api V1 Student  Savings Account Id  Goals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["goals"],"summary":"Create Student Goal","operationId":"create_student_goal_api_v1_student__savings_account_id__goals_post","security":[{"Student":[]}],"parameters":[{"name":"savings_account_id","in":"path","required":true,"schema":{"type":"integer","title":"Savings Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Goal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{savings_account_id}/goals/{goal_id}":{"patch":{"tags":["goals"],"summary":"Update Student Goal","operationId":"update_student_goal_api_v1_student__savings_account_id__goals__goal_id__patch","security":[{"Student":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"integer","title":"Goal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalUpdate-Input"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalUpdate-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["goals"],"summary":"Delete Student Goal","operationId":"delete_student_goal_api_v1_student__savings_account_id__goals__goal_id__delete","security":[{"Student":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"integer","title":"Goal Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/goals/{goal_id}/add-funds":{"post":{"tags":["goals"],"summary":"Add Funds To Goal","operationId":"add_funds_to_goal_api_v1_student_goals__goal_id__add_funds_post","security":[{"Student":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"integer","title":"Goal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalAddFunds"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Goal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/goals/{goal_id}/withdraw-funds":{"post":{"tags":["goals"],"summary":"Withdraw Funds From Goal","operationId":"withdraw_funds_from_goal_api_v1_student_goals__goal_id__withdraw_funds_post","security":[{"Student":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"integer","title":"Goal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalWithdrawFunds"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Goal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/goals/completed":{"get":{"tags":["goals"],"summary":"Get Students Completed Goals","operationId":"get_students_completed_goals_api_v1_student_goals_completed_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Goal"},"type":"array","title":"Response Get Students Completed Goals Api V1 Student Goals Completed Get"}}}}},"security":[{"Student":[]}]}},"/api/v1/students/{student_id}/goals":{"get":{"tags":["goals"],"summary":"Get Student Goals","operationId":"get_student_goals_api_v1_students__student_id__goals_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Goal"},"title":"Response Get Student Goals Api V1 Students  Student Id  Goals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboard/overview":{"get":{"tags":["dashboard"],"summary":"Students Overview","operationId":"students_overview_api_v1_dashboard_overview_get","security":[{"Teacher":[]}],"parameters":[{"name":"time_range","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/StudentsOverviewTimeRange"},{"type":"null"}],"title":"Time Range"}},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/StudentsOverviewSort"},{"type":"null"}],"title":"Sort"}},{"name":"class_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentsOverviewStudnent"},"title":"Response Students Overview Api V1 Dashboard Overview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboard/todo":{"get":{"tags":["dashboard"],"summary":"Get Todo List","operationId":"get_todo_list_api_v1_dashboard_todo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TodoItem"},"type":"array","title":"Response Get Todo List Api V1 Dashboard Todo Get"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/dashboard/todo/store-updates":{"get":{"tags":["dashboard"],"summary":"Get Todo Store Updates","operationId":"get_todo_store_updates_api_v1_dashboard_todo_store_updates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TodoStoreItem"},"type":"array","title":"Response Get Todo Store Updates Api V1 Dashboard Todo Store Updates Get"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/dashboard/transactions":{"post":{"tags":["dashboard"],"summary":"Send Transacions","operationId":"send_transacions_api_v1_dashboard_transactions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionsListCreateStudent"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/students/search":{"get":{"tags":["students"],"summary":"Students Search","operationId":"students_search_api_v1_students_search_get","security":[{"Teacher":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentWithClasses"},"title":"Response Students Search Api V1 Students Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/transactions":{"get":{"tags":["students"],"summary":"Student Transactions","operationId":"student_transactions_api_v1_students__student_id__transactions_get","deprecated":true,"security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Student Transactions Api V1 Students  Student Id  Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/transactions/export":{"get":{"tags":["students"],"summary":"Export Student Transactions","operationId":"export_student_transactions_api_v1_students__student_id__transactions_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/transactions/pending":{"get":{"tags":["students"],"summary":"Get Student Pending Transactions On Teacher Side","operationId":"get_student_pending_transactions_on_teacher_side_api_v1_students__student_id__transactions_pending_get","deprecated":true,"security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Get Student Pending Transactions On Teacher Side Api V1 Students  Student Id  Transactions Pending Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/transactions/booked":{"get":{"tags":["students"],"summary":"Get Student Booked Transactions On Teacher Side","operationId":"get_student_booked_transactions_on_teacher_side_api_v1_students__student_id__transactions_booked_get","deprecated":true,"security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Get Student Booked Transactions On Teacher Side Api V1 Students  Student Id  Transactions Booked Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/classes":{"get":{"tags":["students"],"summary":"Get Students Classes","operationId":"get_students_classes_api_v1_students__student_id__classes_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentPossibleClass"},"title":"Response Get Students Classes Api V1 Students  Student Id  Classes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["students"],"summary":"Update Students Classes","operationId":"update_students_classes_api_v1_students__student_id__classes_post","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Classes Ids"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/jobs/export":{"get":{"tags":["students"],"summary":"Export Student Jobs","operationId":"export_student_jobs_api_v1_students__student_id__jobs_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/jobs/{class_id}":{"get":{"tags":["students"],"summary":"Get Student Possible Jobs","operationId":"get_student_possible_jobs_api_v1_students__student_id__jobs__class_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudentPossibleJob"},"title":"Response Get Student Possible Jobs Api V1 Students  Student Id  Jobs  Class Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["students"],"summary":"Update Student Jobs","operationId":"update_student_jobs_api_v1_students__student_id__jobs__class_id__post","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Jobs Ids"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/transactions/{transaction_id}":{"delete":{"tags":["students"],"summary":"Delete Transaction","operationId":"delete_transaction_api_v1_students__student_id__transactions__transaction_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Transaction Id"}},{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/{student_id}/all-transactions":{"get":{"tags":["students"],"summary":"Get Student Transactions On Teacher Side","operationId":"get_student_transactions_on_teacher_side_api_v1_students__student_id__all_transactions_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"pending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Pending"}},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"title":"Type In"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionLedgerItem"},"title":"Response Get Student Transactions On Teacher Side Api V1 Students  Student Id  All Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/sign-up":{"post":{"tags":["student auth"],"summary":"Sign Up","operationId":"sign_up_api_v1_students_sign_up_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__StudentSignUp-Input__1"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/login/access-token":{"post":{"tags":["student auth"],"summary":"Sign In","operationId":"sign_in_api_v1_students_login_access_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/finalize":{"get":{"tags":["student auth"],"summary":"Get Finalization Data","operationId":"get_finalization_data_api_v1_students_finalize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}}},"security":[{"Student":[]}]},"post":{"tags":["student auth"],"summary":"Finalize Student","operationId":"finalize_student_api_v1_students_finalize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentFinalizeData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/students/login/google":{"post":{"tags":["student auth"],"summary":"Google Access Token","operationId":"google_access_token_api_v1_students_login_google_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/login/apple":{"post":{"tags":["student auth"],"summary":"Apple Access Token","operationId":"apple_access_token_api_v1_students_login_apple_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfinalizedToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/assign-google-account":{"post":{"tags":["student auth"],"summary":"Assign Email To Student","operationId":"assign_email_to_student_api_v1_students_assign_google_account_post","security":[{"Student":[]}],"parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students":{"post":{"tags":["students"],"summary":"Create Student","operationId":"create_student_api_v1_students_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__StudentCreateInClass-Input__1"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/students/{student_id}":{"get":{"tags":["students"],"summary":"Retrieve Student","operationId":"retrieve_student_api_v1_students__student_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["students"],"summary":"Update Student","operationId":"update_student_api_v1_students__student_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__user__StudentUpdate-Input__1"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["students"],"summary":"Delete Student","operationId":"delete_student_api_v1_students__student_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/students/math-management":{"post":{"tags":["students"],"summary":"Manage Math Option","operationId":"manage_math_option_api_v1_students_math_management_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentsMathOption"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/students/{student_id}/balance-charts":{"get":{"tags":["students"],"summary":"Get Student Charts","operationId":"get_student_charts_api_v1_students__student_id__balance_charts_get","security":[{"Teacher":[]}],"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-01","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-31","title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentBalancesChart"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/balance-charts":{"get":{"tags":["students"],"summary":"Get Balance Chart","operationId":"get_balance_chart_api_v1_student_balance_charts_get","security":[{"Student":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-01","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-31","title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentBalanceChart"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/savings-charts/{saving_account_id}":{"get":{"tags":["students"],"summary":"Get Saving Account Chart","operationId":"get_saving_account_chart_api_v1_student_savings_charts__saving_account_id__get","security":[{"Student":[]}],"parameters":[{"name":"saving_account_id","in":"path","required":true,"schema":{"type":"integer","title":"Saving Account Id"}},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-01","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","format":"date","default":"2026-12-31","title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentSavingAccountChart"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/store_transactions":{"get":{"tags":["store transactions"],"summary":"Get Store Transactions","operationId":"get_store_transactions_api_v1_classes__class_id__store_transactions_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingStoreTransaction"},"title":"Response Get Store Transactions Api V1 Classes  Class Id  Store Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/store_transactions/export":{"get":{"tags":["store transactions"],"summary":"Export Class Store Transactions","operationId":"export_class_store_transactions_api_v1_classes__class_id__store_transactions_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/store_transactions/export/{student_id}":{"get":{"tags":["store transactions"],"summary":"Export Student Store Transactions","operationId":"export_student_store_transactions_api_v1_classes__class_id__store_transactions_export__student_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"student_id","in":"path","required":true,"schema":{"type":"integer","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/store_transactions/{store_transaction_id}/accept":{"post":{"tags":["store transactions"],"summary":"Accept Transaction","operationId":"accept_transaction_api_v1_store_transactions__store_transaction_id__accept_post","security":[{"Teacher":[]}],"parameters":[{"name":"store_transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Store Transaction Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/store_transactions/{store_transaction_id}/reject":{"post":{"tags":["store transactions"],"summary":"Reject Transaction","operationId":"reject_transaction_api_v1_store_transactions__store_transaction_id__reject_post","security":[{"Teacher":[]}],"parameters":[{"name":"store_transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Store Transaction Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/store_transactions/accept":{"post":{"tags":["store transactions"],"summary":"Transaction Bulk Accept","operationId":"transaction_bulk_accept_api_v1_store_transactions_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStoreTransactionId"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/store_transactions/reject":{"post":{"tags":["store transactions"],"summary":"Transaction Bulk Reject","operationId":"transaction_bulk_reject_api_v1_store_transactions_reject_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStoreTransactionId"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/images":{"post":{"tags":["files"],"summary":"Create Image","operationId":"create_image_api_v1_images_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_image_api_v1_images_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileCreationConfirmation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/{class_id}/helper/hr/images":{"post":{"tags":["files"],"summary":"Create Image","operationId":"create_image_api_v1__class_id__helper_hr_images_post","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_image_api_v1__class_id__helper_hr_images_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileCreationConfirmation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cv":{"post":{"tags":["files"],"summary":"Create Cv","operationId":"create_cv_api_v1_cv_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_cv_api_v1_cv_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileCreationConfirmation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/classes/{class_id}/store":{"post":{"tags":["teacher store"],"summary":"Open Close Store","operationId":"open_close_store_api_v1_classes__class_id__store_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Store"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher store"],"summary":"Get Store Status","operationId":"get_store_status_api_v1_classes__class_id__store_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Store"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/store/items":{"post":{"tags":["teacher store"],"summary":"Create Store Items","operationId":"create_store_items_api_v1_classes__class_id__store_items_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreItemRead"},"title":"Response Create Store Items Api V1 Classes  Class Id  Store Items Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["teacher store"],"summary":"Update Store Items","operationId":"update_store_items_api_v1_classes__class_id__store_items_patch","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkUpdate"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher store"],"summary":"Delete Store Items","operationId":"delete_store_items_api_v1_classes__class_id__store_items_delete","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkDelete"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher store"],"summary":"Get Store Items","operationId":"get_store_items_api_v1_classes__class_id__store_items_get","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreItemRead"},"title":"Response Get Store Items Api V1 Classes  Class Id  Store Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{class_id}/store/items":{"get":{"tags":["student store"],"summary":"Get Store Items","operationId":"get_store_items_api_v1_student__class_id__store_items_get","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWithItems"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{class_id}/store/purchase":{"post":{"tags":["student store"],"summary":"Purchase","operationId":"purchase_api_v1_student__class_id__store_purchase_post","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/store/purchase":{"post":{"tags":["teacher store"],"summary":"Send Store Charge","description":"Charges a cart of store items to many students, `quantity` units of each line per student. The cart is atomic per student: anyone who cannot afford the whole cart is skipped and returned in `skipped_student_ids`. Stock is checked per line against the students actually charged; if any line is short, nothing is charged (409).","operationId":"purchase_for_students_api_v1_classes__class_id__store_purchase_post","security":[{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherStorePurchaseCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherStorePurchaseResult"}}}},"400":{"description":"A student in `student_ids` is not in the class, the whole class was excluded and there is nobody to charge, or students times the summed `quantity` exceeds the per-request unit limit."},"403":{"description":"The caller is neither a teacher of the class nor a banker in it, or a banker calls it in a class not on a PRO or SCHOOL plan. A closed store does not block this route; `is_store_open` gates the student self-checkout only."},"409":{"description":"`reason: OUT_OF_STOCK` when a cart line is missing or flagged out of stock, `reason: INSUFFICIENT_STOCK` when a line has fewer units in stock than students to charge. Both send `items`, listing every blocking line at once (with `required` and `available` for the second reason). Nothing is charged in either case."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/job_applications/{job_application_id}":{"get":{"tags":["job_applications"],"summary":"Get Job Application","operationId":"get_job_application_api_v1_job_applications__job_application_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"job_application_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobApplicationWithStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/job_applications":{"post":{"tags":["job_applications"],"summary":"Apply For Job","operationId":"apply_for_job_api_v1_student_job_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__job_application__StudentJobApplicationCreate-Input__1"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Student":[]}]}},"/api/v1/user/me":{"get":{"tags":["user"],"summary":"User Me","operationId":"user_me_api_v1_user_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMe"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/checkout/sessions":{"post":{"tags":["payments"],"summary":"Create Session","operationId":"create_session_api_v1_payments_checkout_sessions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"Teacher":[]}]}},"/api/v1/payments/webhook/":{"post":{"tags":["payments"],"summary":"Stripe Webhook Received","operationId":"stripe_webhook_received_api_v1_payments_webhook__post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/async-tasks/{task_id}/state":{"get":{"tags":["tasks"],"summary":"Get Async Task State","operationId":"get_async_task_state_api_v1_async_tasks__task_id__state_get","security":[{"Teacher":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncTaskState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/export-reports/{export_report_id}":{"get":{"tags":["export-reports"],"summary":"Get Export Report","operationId":"get_export_report_api_v1_export_reports__export_report_id__get","security":[{"Teacher":[]}],"parameters":[{"name":"export_report_id","in":"path","required":true,"schema":{"type":"integer","title":"Export Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/export-reports/{export_report_id}/download":{"get":{"tags":["export-reports"],"summary":"Download Export Report","operationId":"download_export_report_api_v1_export_reports__export_report_id__download_get","security":[{"Teacher":[]}],"parameters":[{"name":"export_report_id","in":"path","required":true,"schema":{"type":"integer","title":"Export Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/healthcheck":{"get":{"tags":["healthcheck"],"summary":"Healthcheck","operationId":"healthcheck_api_v1_healthcheck_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/roster/token":{"post":{"tags":["roster","roster"],"summary":"Get Access Token","operationId":"get_access_token_api_v1_roster_token_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_get_access_token_api_v1_roster_token_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/roster/webhook":{"post":{"tags":["roster"],"summary":"Rosterstream Webhook Received","operationId":"rosterstream_webhook_received_api_v1_roster_webhook_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Roster":[]}]}},"/api/v1/classes/{class_id}/helper/hr/students":{"get":{"tags":["students helpers - banker role"],"summary":"Get Class Students","operationId":"get_class_students_api_v1_classes__class_id__helper_hr_students_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only students belonging to these groups.","title":"Group Ids"},"description":"Show only students belonging to these groups."},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name","balance","savings","pending_balance"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_StudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/students":{"get":{"tags":["students helpers - banker role"],"summary":"Get Class Students","operationId":"get_class_students_api_v1_classes__class_id__helper_banker_students_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"group_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Show only students belonging to these groups.","title":"Group Ids"},"description":"Show only students belonging to these groups."},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name","balance","savings","pending_balance"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_StudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/students-short":{"get":{"tags":["students helpers - banker role"],"summary":"Get Class Students Short","operationId":"get_class_students_short_api_v1_classes__class_id__helper_hr_students_short_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_ShortStudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/students-short":{"get":{"tags":["students helpers - banker role"],"summary":"Get Class Students Short","operationId":"get_class_students_short_api_v1_classes__class_id__helper_banker_students_short_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":200,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResultSchema_ShortStudentClassMember_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/banker/transactions":{"post":{"tags":["students helpers - banker role"],"summary":"Create Transactions","operationId":"create_transactions_api_v1_classes__class_id__helper_banker_transactions_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionsListCreateClass"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/store-clerk/store-transactions":{"get":{"tags":["students helpers - store clerk role"],"summary":"Get Store Transactions","operationId":"get_store_transactions_api_v1_classes__class_id__helper_store_clerk_store_transactions_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingStoreTransaction"},"title":"Response Get Store Transactions Api V1 Classes  Class Id  Helper Store Clerk Store Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/{class_id}/helper/store-clerk/store-transactions/accept":{"post":{"tags":["students helpers - store clerk role"],"summary":"Transaction Bulk Accept Helper Side","operationId":"transaction_bulk_accept_helper_side_api_v1__class_id__helper_store_clerk_store_transactions_accept_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStoreTransactionId"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/{class_id}/helper/store-clerk/store-transactions/reject":{"post":{"tags":["students helpers - store clerk role"],"summary":"Transaction Bulk Reject Helper Side","operationId":"transaction_bulk_reject_helper_side_api_v1__class_id__helper_store_clerk_store_transactions_reject_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStoreTransactionId"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/{class_id}/helper/store-clerk/store-transactions/{store_transaction_id}/reject":{"post":{"tags":["students helpers - store clerk role"],"summary":"Reject Transaction Helper Side","operationId":"reject_transaction_helper_side_api_v1__class_id__helper_store_clerk_store_transactions__store_transaction_id__reject_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"store_transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Store Transaction Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/store-clerk/store":{"post":{"tags":["students helpers - store clerk role"],"summary":"Open Close Store","operationId":"open_close_store_api_v1_classes__class_id__helper_store_clerk_store_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Store"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["students helpers - store clerk role"],"summary":"Get Store Status","operationId":"get_store_status_api_v1_classes__class_id__helper_store_clerk_store_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Store"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/store-clerk/store/items":{"post":{"tags":["students helpers - store clerk role"],"summary":"Create Store Items","operationId":"create_store_items_api_v1_classes__class_id__helper_store_clerk_store_items_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreItemRead"},"title":"Response Create Store Items Api V1 Classes  Class Id  Helper Store Clerk Store Items Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["students helpers - store clerk role"],"summary":"Get Store Items","operationId":"get_store_items_api_v1_classes__class_id__helper_store_clerk_store_items_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreItemRead"},"title":"Response Get Store Items Api V1 Classes  Class Id  Helper Store Clerk Store Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["students helpers - store clerk role"],"summary":"Update Store Items","operationId":"update_store_items_api_v1_classes__class_id__helper_store_clerk_store_items_patch","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkUpdate"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["students helpers - store clerk role"],"summary":"Delete Store Items","operationId":"delete_store_items_api_v1_classes__class_id__helper_store_clerk_store_items_delete","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreItemBulkDelete"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/jobs/{job_id}/hire":{"post":{"tags":["students helpers - HR role"],"summary":"Hire","operationId":"hire_api_v1_classes__class_id__helper_hr_jobs__job_id__hire_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobHire"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/jobs/{job_id}/fire":{"post":{"tags":["students helpers - HR role"],"summary":"Fire","operationId":"fire_api_v1_classes__class_id__helper_hr_jobs__job_id__fire_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobFire"},"title":"Objs In"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/jobs/{job_id}/reject":{"post":{"tags":["students helpers - HR role"],"summary":"Reject","operationId":"reject_api_v1_classes__class_id__helper_hr_jobs__job_id__reject_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobApplicationDeny"},"title":"Objs In"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/jobs":{"get":{"tags":["students helpers - HR role"],"summary":"Get Jobs","operationId":"get_jobs_api_v1_classes__class_id__helper_hr_jobs_get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobSimple"},"title":"Response Get Jobs Api V1 Classes  Class Id  Helper Hr Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["students helpers - HR role"],"summary":"Create Job","operationId":"create_job_api_v1_classes__class_id__helper_hr_jobs_post","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobCreate"},"title":"Objs In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"title":"Response Create Job Api V1 Classes  Class Id  Helper Hr Jobs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["students helpers - HR role"],"summary":"Update Job","operationId":"update_job_api_v1_classes__class_id__helper_hr_jobs_patch","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobUpdate"},"title":"Objs In"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"title":"Response Update Job Api V1 Classes  Class Id  Helper Hr Jobs Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/classes/{class_id}/helper/hr/jobs/{job_id}":{"delete":{"tags":["students helpers - HR role"],"summary":"Delete Job","operationId":"delete_job_api_v1_classes__class_id__helper_hr_jobs__job_id__delete","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["students helpers - HR role"],"summary":"Get Job Details","operationId":"get_job_details_api_v1_classes__class_id__helper_hr_jobs__job_id__get","security":[{"Student":[]},{"Teacher":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetailed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/{class_id}/helper/hr/{job_application_id}":{"get":{"tags":["students helpers - HR role"],"summary":"Get Job Application Helper Side","operationId":"get_job_application_helper_side_api_v1__class_id__helper_hr__job_application_id__get","security":[{"Student":[]}],"parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"integer","title":"Class Id"}},{"name":"job_application_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobApplicationWithStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school-transactions":{"get":{"tags":["teacher admin"],"summary":"Get School Transactions","operationId":"get_school_transactions_api_v1_teacher_admin_school_transactions_get","security":[{"Teacher":[]}],"parameters":[{"name":"students","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Students ids to filter by.","title":"Students"},"description":"Students ids to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"student_helpers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Student helpers ids to filter by.","title":"Student Helpers"},"description":"Student helpers ids to filter by."},{"name":"teachers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Teachers ids to filter by.","title":"Teachers"},"description":"Teachers ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"title","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title"},"description":"Filter string to search by transaction title."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeacherTransactionsHistoryEntry"},"title":"Response Get School Transactions Api V1 Teacher Admin School Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher admin"],"summary":"Delete School Transactions","operationId":"delete_school_transactions_api_v1_teacher_admin_school_transactions_delete","security":[{"Teacher":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteTeacherTransactionsDataIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledAsyncTaskData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school-transactions/school-data":{"get":{"tags":["teacher admin"],"summary":"Get School Users Data","operationId":"get_school_users_data_api_v1_teacher_admin_school_transactions_school_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherAdminSchoolData"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/school-transactions/ids":{"get":{"tags":["teacher admin"],"summary":"Get School Transaction Ids","operationId":"get_school_transaction_ids_api_v1_teacher_admin_school_transactions_ids_get","security":[{"Teacher":[]}],"parameters":[{"name":"students","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Students ids to filter by.","title":"Students"},"description":"Students ids to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"student_helpers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Student helpers ids to filter by.","title":"Student Helpers"},"description":"Student helpers ids to filter by."},{"name":"teachers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Teachers ids to filter by.","title":"Teachers"},"description":"Teachers ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"title","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title"},"description":"Filter string to search by transaction title."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Response Get School Transaction Ids Api V1 Teacher Admin School Transactions Ids Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school-transactions/export":{"get":{"tags":["teacher admin"],"summary":"Export School Transactions","operationId":"export_school_transactions_api_v1_teacher_admin_school_transactions_export_get","security":[{"Teacher":[]}],"parameters":[{"name":"students","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Students ids to filter by.","title":"Students"},"description":"Students ids to filter by."},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by min date of creation.","title":"Date From"},"description":"Date from to filter by min date of creation."},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Date from to filter by max date of creation.","title":"Date To"},"description":"Date from to filter by max date of creation."},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Classes ids to filter by.","title":"Classes"},"description":"Classes ids to filter by."},{"name":"student_helpers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Student helpers ids to filter by.","title":"Student Helpers"},"description":"Student helpers ids to filter by."},{"name":"teachers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Teachers ids to filter by.","title":"Teachers"},"description":"Teachers ids to filter by."},{"name":"type_in","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"}},{"type":"null"}],"description":"Transaction types to filter by.","title":"Type In"},"description":"Transaction types to filter by."},{"name":"title","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter string to search by transaction title.","title":"Title"},"description":"Filter string to search by transaction title."},{"name":"sender_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionSenderType"},{"type":"null"}],"description":"Filter by transaction sender type.","title":"Sender Type"},"description":"Filter by transaction sender type."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/teachers-management/create-teacher":{"post":{"tags":["teacher admin"],"summary":"Create Teacher By Admin","operationId":"create_teacher_by_admin_api_v1_teacher_admin_teachers_management_create_teacher_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherCreateByAdmin"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherCreatedByAdminResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/teachers-management":{"get":{"tags":["teacher admin"],"summary":"Get Teachers In School","operationId":"get_teachers_in_school_api_v1_teacher_admin_teachers_management_get","security":[{"Teacher":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeacherInSchoolResponse"},"title":"Response Get Teachers In School Api V1 Teacher Admin Teachers Management Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/teachers-management/{teacher_id}":{"delete":{"tags":["teacher admin"],"summary":"Delete Teacher","operationId":"delete_teacher_api_v1_teacher_admin_teachers_management__teacher_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"integer","title":"Teacher Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/teachers-management/{teacher_id}/set-admin":{"post":{"tags":["teacher admin"],"summary":"Set Teacher As Admin","operationId":"set_teacher_as_admin_api_v1_teacher_admin_teachers_management__teacher_id__set_admin_post","security":[{"Teacher":[]}],"parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"integer","title":"Teacher Id"}},{"name":"is_school_admin","in":"query","required":true,"schema":{"type":"boolean","title":"Is School Admin"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTeacherAdminResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/teachers-management/pending-teachers":{"get":{"tags":["teacher admin"],"summary":"Get Pending Teachers Invitations","operationId":"get_pending_teachers_invitations_api_v1_teacher_admin_teachers_management_pending_teachers_get","security":[{"Teacher":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name"],"default":"first_name","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"asc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeacherInSchoolResponse"},"title":"Response Get Pending Teachers Invitations Api V1 Teacher Admin Teachers Management Pending Teachers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/bonuses":{"get":{"tags":["teacher admin"],"summary":"Get Preset Bonuses","operationId":"Get_Preset_Bonuses_api_v1_teacher_admin_bonuses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItem"},"type":"array","title":"Response Get Preset Bonuses Api V1 Teacher Admin Bonuses Get"}}}}},"security":[{"Teacher":[]}]},"post":{"tags":["teacher admin"],"summary":"Create Preset Bonus","operationId":"Create_Preset_Bonus_api_v1_teacher_admin_bonuses_post","requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItemCreate"},"type":"array","title":"Objs In"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItem"},"type":"array","title":"Response Create Preset Bonus Api V1 Teacher Admin Bonuses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/bonuses/{bonus_id}":{"delete":{"tags":["teacher admin"],"summary":"Delete Preset Bonus","operationId":"Delete_Preset_Bonus_api_v1_teacher_admin_bonuses__bonus_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"bonus_id","in":"path","required":true,"schema":{"type":"integer","title":"Bonus Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["teacher admin"],"summary":"Update Preset Bonus","operationId":"Update_Preset_Bonus_api_v1_teacher_admin_bonuses__bonus_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"bonus_id","in":"path","required":true,"schema":{"type":"integer","title":"Bonus Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/fines":{"get":{"tags":["teacher admin"],"summary":"Get Preset Fines","operationId":"Get_Preset_Fines_api_v1_teacher_admin_fines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItem"},"type":"array","title":"Response Get Preset Fines Api V1 Teacher Admin Fines Get"}}}}},"security":[{"Teacher":[]}]},"post":{"tags":["teacher admin"],"summary":"Create Preset Fine","operationId":"Create_Preset_Fine_api_v1_teacher_admin_fines_post","requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItemCreate"},"type":"array","title":"Objs In"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransactionItem"},"type":"array","title":"Response Create Preset Fine Api V1 Teacher Admin Fines Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/fines/{fine_id}":{"delete":{"tags":["teacher admin"],"summary":"Delete Preset Fine","operationId":"Delete_Preset_Fine_api_v1_teacher_admin_fines__fine_id__delete","security":[{"Teacher":[]}],"parameters":[{"name":"fine_id","in":"path","required":true,"schema":{"type":"integer","title":"Fine Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["teacher admin"],"summary":"Update Preset Fine","operationId":"Update_Preset_Fine_api_v1_teacher_admin_fines__fine_id__patch","security":[{"Teacher":[]}],"parameters":[{"name":"fine_id","in":"path","required":true,"schema":{"type":"integer","title":"Fine Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher-admin/school-settings/attendance":{"get":{"tags":["teacher admin"],"summary":"Get Attendance Settings","operationId":"get_attendance_settings_api_v1_teacher_admin_school_settings_attendance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendanceSettingsResponse"}}}}},"security":[{"Teacher":[]}]},"patch":{"tags":["teacher admin"],"summary":"Update Attendance Settings","operationId":"update_attendance_settings_api_v1_teacher_admin_school_settings_attendance_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendanceSettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendanceSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"Teacher":[]}]}},"/api/v1/teacher-admin/dashboard/kpi":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Kpi","description":"Five headline metrics, each with a trend against the prior period.","operationId":"get_dashboard_kpi_api_v1_teacher_admin_dashboard_kpi_get","security":[{"Teacher":[]}],"parameters":[{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardKpiSummary"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/class-summary":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Class Summary","description":"Classes or grade levels ranked by what their students earned.","operationId":"get_dashboard_class_summary_api_v1_teacher_admin_dashboard_class_summary_get","security":[{"Teacher":[]}],"parameters":[{"name":"group_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ClassGroupBy","default":"class"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardClassSummary"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/behaviors":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Behaviors","description":"Ranked bonus or fine titles, with the prior period count per row.","operationId":"get_dashboard_behaviors_api_v1_teacher_admin_dashboard_behaviors_get","security":[{"Teacher":[]}],"parameters":[{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/BehaviorType","default":"bonus"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardBehaviors"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/behaviors/series":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Behavior Series","description":"Bonus and fine counts per bucket of whole weeks, for the line chart.","operationId":"get_dashboard_behavior_series_api_v1_teacher_admin_dashboard_behaviors_series_get","security":[{"Teacher":[]}],"parameters":[{"name":"title","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Title"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/BehaviorType"},{"type":"null"}],"title":"Type"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardBehaviorSeries"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/store-items":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Store Items","description":"Purchases ranked by quantity; pending counts, rejected does not.","operationId":"get_dashboard_store_items_api_v1_teacher_admin_dashboard_store_items_get","security":[{"Teacher":[]}],"parameters":[{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardStoreItems"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/teachers/kpi":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Teacher Kpi","description":"Active teachers, the share who sent a transaction, and the average.","operationId":"get_dashboard_teacher_kpi_api_v1_teacher_admin_dashboard_teachers_kpi_get","security":[{"Teacher":[]}],"parameters":[{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardTeacherKpi"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/teachers":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Teachers","description":"Every teacher in the school with their period totals; zeros when idle.","operationId":"get_dashboard_teachers_api_v1_teacher_admin_dashboard_teachers_get","security":[{"Teacher":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Search"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name","last_active","positivity","transaction_count","bonus_count","bonus_amount","fine_count","fine_amount","salary_count","salary_amount","expense_count","expense_amount"],"default":"transaction_count","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"desc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardTeachers"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/students/kpi":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Student Kpi","description":"Active students, the share who earned a bonus, and who earned none.","operationId":"get_dashboard_student_kpi_api_v1_teacher_admin_dashboard_students_kpi_get","security":[{"Teacher":[]}],"parameters":[{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardStudentKpi"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/students/attention":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Students Needing Attention","description":"Shortlist of students to open a conversation with, in one of three views.","operationId":"get_dashboard_students_needing_attention_api_v1_teacher_admin_dashboard_students_attention_get","security":[{"Teacher":[]}],"parameters":[{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/StudentAttentionView","default":"most_fined"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardStudentAttention"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher-admin/dashboard/students":{"get":{"tags":["teacher admin dashboard"],"summary":"Get Dashboard Students","description":"Every student in the school with their period totals; zeros when idle.","operationId":"get_dashboard_students_api_v1_teacher_admin_dashboard_students_get","security":[{"Teacher":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Search"}},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Classes"}},{"name":"preset","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DashboardPeriodPreset","default":"1m"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"default":20,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"enum":["first_name","last_name","last_active","positivity","transaction_count","bonus_count","bonus_amount","fine_count","fine_amount","salary_count","salary_amount","expense_count","expense_amount","attendance_count","attendance_amount"],"default":"transaction_count","title":"Sort By"}},{"name":"sorting","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortingOption"},{"type":"null"}],"default":"desc","title":"Sorting"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardStudents"}}}},"401":{"description":"The teacher's school account is not on the SCHOOL plan, or the account is not finalized."},"403":{"description":"The teacher does not have the is_school_admin flag."},"400":{"description":"A value the request parsed but this API rejects: a custom range that is incomplete, reversed, or before the 24-month retention horizon (rejected whole, never trimmed); an unknown sort column; or a behaviour title without its type."},"422":{"description":"A query parameter failed to parse, such as an unknown enum value or a malformed date. Same body shape as 400."}}}},"/api/v1/teacher/login/clever":{"get":{"tags":["teacher auth","clever"],"summary":"Login Clever","operationId":"login_clever_api_v1_teacher_login_clever_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/students/login/clever":{"get":{"tags":["student auth","clever"],"summary":"Login Clever Student","operationId":"login_clever_student_api_v1_students_login_clever_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sso/auth-callback":{"get":{"tags":["sso"],"summary":"Auth Callback","operationId":"auth_callback_api_v1_sso_auth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APIClassCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":3,"title":"Name"},"description":{"type":"string","title":"Description"},"grade":{"$ref":"#/components/schemas/ClassGrade"},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"paycheck_automatic":{"type":"boolean","title":"Paycheck Automatic"},"paycheck_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications","default":true},"expense_automatic":{"type":"boolean","title":"Expense Automatic"},"expense_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"savings_account_option":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Savings Account Option"},"interest_option":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Interest Option"},"saving_interest_rate":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Saving Interest Rate"},"round_interest_to_whole_number":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Round Interest To Whole Number"},"interest_granting_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"next_interest_payment":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Interest Payment"},"attendance_bonus_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Attendance Bonus Amount"},"copy_settings":{"type":"boolean","title":"Copy Settings","default":false},"copy_from_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Copy From Id"}},"type":"object","required":["name","description","grade","paycheck_automatic","expense_automatic"],"title":"APIClassCreate"},"APICreateTransactionType":{"type":"string","enum":["expense","bonus","fine","salary"],"title":"APICreateTransactionType"},"AccountTransaction":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"amount":{"type":"number","title":"Amount"},"type":{"$ref":"#/components/schemas/TransactionType"},"is_booked":{"type":"boolean","title":"Is Booked"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"booked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Booked At"},"balance":{"type":"number","title":"Balance"}},"type":"object","required":["id","title","amount","type","is_booked","created_at","balance"],"title":"AccountTransaction"},"AccountTransfer":{"properties":{"is_from_balance":{"type":"boolean","title":"Is From Balance","default":false},"is_to_balance":{"type":"boolean","title":"Is To Balance","default":false},"account_from_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Account From Id"},"account_to_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Account To Id"},"amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}],"title":"Amount"}},"type":"object","required":["amount"],"title":"AccountTransfer"},"AddCoteachersIn":{"properties":{"teachers_ids":{"items":{"type":"integer"},"type":"array","title":"Teachers Ids"}},"type":"object","required":["teachers_ids"],"title":"AddCoteachersIn"},"AppleLoginRequest":{"properties":{"identity_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Token"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"redirect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Uri"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"type":"object","title":"AppleLoginRequest"},"AsyncTaskState":{"properties":{"task_id":{"type":"string","title":"Task Id"},"status":{"$ref":"#/components/schemas/AsyncTaskStatus"},"progress":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress"},"result":{"title":"Result"}},"type":"object","required":["task_id","status"],"title":"AsyncTaskState"},"AsyncTaskStatus":{"type":"string","enum":["PENDING","IN_PROGRESS","SUCCESS","FAILURE"],"title":"AsyncTaskStatus"},"AttendanceEventData":{"properties":{"object":{"$ref":"#/components/schemas/AttendanceEventObject"}},"type":"object","required":["object"],"title":"AttendanceEventData"},"AttendanceEventDeleteData":{"properties":{"old":{"$ref":"#/components/schemas/AttendanceEventObject"}},"type":"object","required":["old"],"title":"AttendanceEventDeleteData"},"AttendanceEventObject":{"properties":{"id":{"type":"string","title":"Id"},"attendanceEventCategoryDescriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attendanceeventcategorydescriptor"},"eventDate":{"type":"string","format":"date","title":"Eventdate"},"studentReference":{"$ref":"#/components/schemas/AttendanceStudentReference"},"sectionReference":{"anyOf":[{"$ref":"#/components/schemas/AttendanceSectionReference"},{"type":"null"}]},"schoolReference":{"anyOf":[{"$ref":"#/components/schemas/AttendanceSchoolReference"},{"type":"null"}]},"sessionReference":{"anyOf":[{"$ref":"#/components/schemas/AttendanceSessionReference"},{"type":"null"}]},"eventDuration":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Eventduration"},"attendanceEventReason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attendanceeventreason"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"_rs_other_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/AttendanceSourceId"},"type":"array"},{"type":"null"}],"title":"Rs Other Ids"}},"type":"object","required":["id","eventDate","studentReference"],"title":"AttendanceEventObject","description":"Normalized Ed-Fi attendance event, shared by studentSchoolAttendanceEvent\nand studentSectionAttendanceEvent.\n\nExactly one of sectionReference / schoolReference is present, depending on\nthe entity type. eventDuration, attendanceEventReason, session_name and\nmetadata are persisted for audit only."},"AttendanceLevel":{"type":"string","enum":["school","section"],"title":"AttendanceLevel","description":"Level a school's attendance is tracked at. Doubles as the selector for\nwhich Ed-Fi entity we consume - SCHOOL takes studentSchoolAttendanceEvent,\nSECTION takes studentSectionAttendanceEvent."},"AttendanceSchoolReference":{"properties":{"schoolId":{"type":"string","title":"Schoolid"}},"type":"object","required":["schoolId"],"title":"AttendanceSchoolReference"},"AttendanceSectionReference":{"properties":{"sectionIdentifier":{"type":"string","title":"Sectionidentifier"}},"type":"object","required":["sectionIdentifier"],"title":"AttendanceSectionReference"},"AttendanceSessionReference":{"properties":{"sessionName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionname"}},"type":"object","title":"AttendanceSessionReference"},"AttendanceSettingsResponse":{"properties":{"has_attendance_integration":{"type":"boolean","title":"Has Attendance Integration"},"attendance_bonus_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Attendance Bonus Amount"},"attendance_level":{"$ref":"#/components/schemas/AttendanceLevel","default":"school"}},"type":"object","required":["has_attendance_integration"],"title":"AttendanceSettingsResponse"},"AttendanceSettingsUpdate":{"properties":{"attendance_bonus_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Attendance Bonus Amount"}},"type":"object","required":["attendance_bonus_amount"],"title":"AttendanceSettingsUpdate"},"AttendanceSourceId":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"chan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chan"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","title":"AttendanceSourceId"},"AttendanceStudentReference":{"properties":{"studentUniqueId":{"type":"string","title":"Studentuniqueid"}},"type":"object","required":["studentUniqueId"],"title":"AttendanceStudentReference"},"BasicObj":{"properties":{"href":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Href"},"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","title":"BasicObj"},"BehaviorType":{"type":"string","enum":["bonus","fine"],"title":"BehaviorType"},"Body_choose_school_api_v1_teacher_choose_school_post":{"properties":{"school_id":{"type":"integer","title":"School Id"}},"type":"object","required":["school_id"],"title":"Body_choose_school_api_v1_teacher_choose_school_post"},"Body_create_cv_api_v1_cv_post":{"properties":{"upload":{"type":"string","format":"binary","title":"Upload"}},"type":"object","required":["upload"],"title":"Body_create_cv_api_v1_cv_post"},"Body_create_image_api_v1__class_id__helper_hr_images_post":{"properties":{"upload":{"type":"string","format":"binary","title":"Upload"}},"type":"object","required":["upload"],"title":"Body_create_image_api_v1__class_id__helper_hr_images_post"},"Body_create_image_api_v1_images_post":{"properties":{"upload":{"type":"string","format":"binary","title":"Upload"}},"type":"object","required":["upload"],"title":"Body_create_image_api_v1_images_post"},"Body_get_access_token_api_v1_roster_token_post":{"properties":{"grant_type":{"type":"string","pattern":"^(client_credentials|refresh_token)$","title":"Grant Type"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"}},"type":"object","title":"Body_get_access_token_api_v1_roster_token_post"},"Body_import_groups_api_v1_classes__class_id__groups_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_groups_api_v1_classes__class_id__groups_import_post"},"Body_import_school_groups_api_v1_teacher_admin_school_groups_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_school_groups_api_v1_teacher_admin_school_groups_import_post"},"Body_import_students_from_xlsx_api_v1_classes__class_id__students_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_students_from_xlsx_api_v1_classes__class_id__students_import_post"},"BookTransaction":{"properties":{"amount":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"}},"type":"object","required":["amount"],"title":"BookTransaction"},"BulkStoreTransactionId":{"properties":{"transaction_ids":{"items":{"type":"integer"},"type":"array","maxItems":500,"title":"Transaction Ids"}},"type":"object","required":["transaction_ids"],"title":"BulkStoreTransactionId"},"Cart":{"properties":{"items_ids":{"items":{"type":"integer"},"type":"array","minItems":1,"title":"Items Ids"},"new_balance":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"New Balance"}},"type":"object","required":["items_ids","new_balance"],"title":"Cart"},"CheckCopyClassObjsDataOut":{"properties":{"students_with_jobs":{"items":{"$ref":"#/components/schemas/StudentWithJob"},"type":"array","title":"Students With Jobs"}},"type":"object","required":["students_with_jobs"],"title":"CheckCopyClassObjsDataOut"},"ClassGrade":{"type":"string","enum":["K","1","2","3","4","5","6","7","8","9","10","11","12"],"title":"ClassGrade"},"ClassGroupBy":{"type":"string","enum":["class","grade"],"title":"ClassGroupBy"},"ClassInfo":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"ClassInfo"},"ClassInvitationCode":{"properties":{"invitation_code":{"type":"string","title":"Invitation Code"}},"type":"object","required":["invitation_code"],"title":"ClassInvitationCode"},"ClassShort":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"invitation_code":{"type":"string","title":"Invitation Code"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["name","is_open_for_job_applications","invitation_code","id"],"title":"ClassShort"},"ClassStudentHelper":{"properties":{"is_store_clerk":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Store Clerk"},"is_hr_representative":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hr Representative"},"is_banker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Banker"},"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"}},"type":"object","required":["id"],"title":"ClassStudentHelper"},"ClassStudentHelperUpdate":{"properties":{"is_store_clerk":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Store Clerk"},"is_hr_representative":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hr Representative"},"is_banker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Banker"},"fk_student_id":{"type":"integer","title":"Fk Student Id"}},"type":"object","required":["fk_student_id"],"title":"ClassStudentHelperUpdate"},"ClassUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":3},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open For Job Applications"},"paycheck_automatic":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paycheck Automatic"},"paycheck_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"expense_automatic":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Expense Automatic"},"expense_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"savings_account_option":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Savings Account Option"},"interest_option":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Interest Option"},"saving_interest_rate":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Saving Interest Rate"},"round_interest_to_whole_number":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Round Interest To Whole Number"},"interest_granting_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"last_interest_payment":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Interest Payment"},"next_interest_payment":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Interest Payment"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"attendance_bonus_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Attendance Bonus Amount"}},"type":"object","title":"ClassUpdate"},"ClassWithGroups":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"groups":{"items":{"$ref":"#/components/schemas/GroupShort"},"type":"array","title":"Groups"}},"type":"object","required":["id","name"],"title":"ClassWithGroups","description":"Class plus its groups, for the transactions filter tree."},"ClassWithVisibility":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"invitation_code":{"type":"string","title":"Invitation Code"},"id":{"type":"integer","title":"Id"},"paycheck_automatic":{"type":"boolean","title":"Paycheck Automatic"},"paycheck_interval":{"$ref":"#/components/schemas/PaycheckInterval"},"expense_automatic":{"type":"boolean","title":"Expense Automatic"},"expense_interval":{"$ref":"#/components/schemas/PaycheckInterval"},"savings_account_option":{"type":"boolean","title":"Savings Account Option"},"interest_option":{"type":"boolean","title":"Interest Option"},"saving_interest_rate":{"type":"number","title":"Saving Interest Rate"},"round_interest_to_whole_number":{"type":"boolean","title":"Round Interest To Whole Number"},"interest_granting_interval":{"$ref":"#/components/schemas/PaycheckInterval"},"last_interest_payment":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Interest Payment"},"next_interest_payment":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Interest Payment"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"attendance_bonus_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attendance Bonus Amount"},"added_from_roster":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Added From Roster"},"roster_removed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Roster Removed At"},"is_synced":{"type":"boolean","title":"Is Synced","default":false},"is_archived":{"type":"boolean","title":"Is Archived","default":false}},"type":"object","required":["name","is_open_for_job_applications","invitation_code","id","paycheck_automatic","paycheck_interval","expense_automatic","expense_interval","savings_account_option","interest_option","saving_interest_rate","round_interest_to_whole_number","interest_granting_interval"],"title":"ClassWithVisibility"},"CleverSyncQueued":{"properties":{"queued":{"type":"boolean","title":"Queued"}},"type":"object","required":["queued"],"title":"CleverSyncQueued"},"CoTeacherOut":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"}},"type":"object","required":["id","first_name","last_name"],"title":"CoTeacherOut"},"CopyClassObjsCategory":{"type":"string","enum":["expenses","bonuses","fines","jobs","store_items"],"title":"CopyClassObjsCategory"},"CopyClassObjsData":{"properties":{"class_from_id":{"type":"integer","title":"Class From Id"},"class_to_id":{"type":"integer","title":"Class To Id"},"categories":{"items":{"$ref":"#/components/schemas/CopyClassObjsCategory"},"type":"array","minItems":1,"title":"Categories"}},"type":"object","required":["class_from_id","class_to_id","categories"],"title":"CopyClassObjsData"},"Country":{"properties":{"name":{"type":"string","title":"Name"},"code":{"type":"string","maxLength":2,"minLength":2,"title":"Code"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["name","code","id"],"title":"Country"},"DashboardBehaviorRow":{"properties":{"title":{"type":"string","title":"Title"},"item_count":{"type":"integer","title":"Item Count"},"item_amount":{"type":"number","title":"Item Amount"},"prior_item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Item Count"}},"type":"object","required":["title","item_count","item_amount"],"title":"DashboardBehaviorRow"},"DashboardBehaviorSeries":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"granularity":{"$ref":"#/components/schemas/SeriesGranularity"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"anyOf":[{"$ref":"#/components/schemas/BehaviorType"},{"type":"null"}]},"points":{"items":{"$ref":"#/components/schemas/DashboardBehaviorSeriesPoint"},"type":"array","title":"Points"}},"type":"object","required":["date_from","date_to","granularity","points"],"title":"DashboardBehaviorSeries"},"DashboardBehaviorSeriesPoint":{"properties":{"period_from":{"type":"string","format":"date","title":"Period From"},"period_to":{"type":"string","format":"date","title":"Period To"},"bonus_count":{"type":"integer","title":"Bonus Count"},"fine_count":{"type":"integer","title":"Fine Count"},"is_comparable":{"type":"boolean","title":"Is Comparable"}},"type":"object","required":["period_from","period_to","bonus_count","fine_count","is_comparable"],"title":"DashboardBehaviorSeriesPoint"},"DashboardBehaviors":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/DashboardBehaviorRow"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"type":{"$ref":"#/components/schemas/BehaviorType"}},"type":"object","required":["objects","date_from","date_to","type"],"title":"DashboardBehaviors"},"DashboardClassSummary":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"group_by":{"$ref":"#/components/schemas/ClassGroupBy"},"rows":{"items":{"$ref":"#/components/schemas/DashboardClassSummaryRow"},"type":"array","title":"Rows"}},"type":"object","required":["date_from","date_to","group_by","rows"],"title":"DashboardClassSummary"},"DashboardClassSummaryRow":{"properties":{"fk_class_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk Class Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"bonus_count":{"type":"integer","title":"Bonus Count"},"bonus_amount":{"type":"number","title":"Bonus Amount"},"fine_count":{"type":"integer","title":"Fine Count"},"fine_amount":{"type":"number","title":"Fine Amount"},"total_earned":{"type":"number","title":"Total Earned"},"positivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity"}},"type":"object","required":["bonus_count","bonus_amount","fine_count","fine_amount","total_earned"],"title":"DashboardClassSummaryRow"},"DashboardKpiSummary":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"positivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity"},"positivity_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity Trend"},"total_transactions":{"type":"integer","title":"Total Transactions"},"total_transactions_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Transactions Trend"},"total_bonuses":{"type":"integer","title":"Total Bonuses"},"total_fines":{"type":"integer","title":"Total Fines"},"total_earned":{"type":"number","title":"Total Earned"},"total_earned_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Earned Trend"},"active_teachers":{"type":"integer","title":"Active Teachers"},"active_teachers_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Active Teachers Trend"},"active_students":{"type":"integer","title":"Active Students"},"active_students_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Active Students Trend"},"has_attendance_integration":{"type":"boolean","title":"Has Attendance Integration"},"attendance_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attendance Ratio"},"attendance_ratio_trend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attendance Ratio Trend"}},"type":"object","required":["date_from","date_to","total_transactions","total_bonuses","total_fines","total_earned","active_teachers","active_students","has_attendance_integration"],"title":"DashboardKpiSummary"},"DashboardPeriodPreset":{"type":"string","enum":["1w","1m","3m","6m","school_year","custom"],"title":"DashboardPeriodPreset"},"DashboardStoreItemRow":{"properties":{"fk_store_item_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk Store Item Id"},"article_name":{"type":"string","title":"Article Name"},"purchase_count":{"type":"integer","title":"Purchase Count"},"purchase_amount":{"type":"number","title":"Purchase Amount"}},"type":"object","required":["article_name","purchase_count","purchase_amount"],"title":"DashboardStoreItemRow"},"DashboardStoreItems":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"rows":{"items":{"$ref":"#/components/schemas/DashboardStoreItemRow"},"type":"array","title":"Rows"}},"type":"object","required":["date_from","date_to","rows"],"title":"DashboardStoreItems"},"DashboardStudentAttention":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"view":{"$ref":"#/components/schemas/StudentAttentionView"},"has_attendance_integration":{"type":"boolean","title":"Has Attendance Integration"},"rows":{"items":{"$ref":"#/components/schemas/DashboardStudentAttentionRow"},"type":"array","title":"Rows"}},"type":"object","required":["date_from","date_to","view","has_attendance_integration","rows"],"title":"DashboardStudentAttention"},"DashboardStudentAttentionRow":{"properties":{"fk_student_id":{"type":"integer","title":"Fk Student Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"classes":{"items":{"$ref":"#/components/schemas/DashboardStudentClass"},"type":"array","title":"Classes"},"bonus_count":{"type":"integer","title":"Bonus Count"},"fine_count":{"type":"integer","title":"Fine Count"},"fine_amount":{"type":"number","title":"Fine Amount"},"positivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity"},"attendance_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attendance Count"}},"type":"object","required":["fk_student_id","classes","bonus_count","fine_count","fine_amount"],"title":"DashboardStudentAttentionRow"},"DashboardStudentClass":{"properties":{"fk_class_id":{"type":"integer","title":"Fk Class Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]}},"type":"object","required":["fk_class_id"],"title":"DashboardStudentClass"},"DashboardStudentKpi":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"active_students":{"type":"integer","title":"Active Students"},"earned_bonus_share":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Earned Bonus Share"},"students_without_bonuses":{"type":"integer","title":"Students Without Bonuses"}},"type":"object","required":["date_from","date_to","active_students","students_without_bonuses"],"title":"DashboardStudentKpi"},"DashboardStudentRow":{"properties":{"fk_student_id":{"type":"integer","title":"Fk Student Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"last_active":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Active"},"classes":{"items":{"$ref":"#/components/schemas/DashboardStudentClass"},"type":"array","title":"Classes"},"positivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity"},"transaction_count":{"type":"integer","title":"Transaction Count"},"bonus_count":{"type":"integer","title":"Bonus Count"},"bonus_amount":{"type":"number","title":"Bonus Amount"},"fine_count":{"type":"integer","title":"Fine Count"},"fine_amount":{"type":"number","title":"Fine Amount"},"salary_count":{"type":"integer","title":"Salary Count"},"salary_amount":{"type":"number","title":"Salary Amount"},"expense_count":{"type":"integer","title":"Expense Count"},"expense_amount":{"type":"number","title":"Expense Amount"},"attendance_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attendance Count"},"attendance_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attendance Amount"}},"type":"object","required":["fk_student_id","classes","transaction_count","bonus_count","bonus_amount","fine_count","fine_amount","salary_count","salary_amount","expense_count","expense_amount"],"title":"DashboardStudentRow"},"DashboardStudents":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/DashboardStudentRow"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"has_attendance_integration":{"type":"boolean","title":"Has Attendance Integration"}},"type":"object","required":["objects","date_from","date_to","has_attendance_integration"],"title":"DashboardStudents"},"DashboardTeacherKpi":{"properties":{"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"},"active_teachers":{"type":"integer","title":"Active Teachers"},"sent_transactions_share":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sent Transactions Share"},"avg_transactions_per_teacher":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Transactions Per Teacher"}},"type":"object","required":["date_from","date_to","active_teachers"],"title":"DashboardTeacherKpi"},"DashboardTeacherRow":{"properties":{"fk_teacher_id":{"type":"integer","title":"Fk Teacher Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"last_active":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Active"},"positivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positivity"},"transaction_count":{"type":"integer","title":"Transaction Count"},"bonus_count":{"type":"integer","title":"Bonus Count"},"bonus_amount":{"type":"number","title":"Bonus Amount"},"fine_count":{"type":"integer","title":"Fine Count"},"fine_amount":{"type":"number","title":"Fine Amount"},"salary_count":{"type":"integer","title":"Salary Count"},"salary_amount":{"type":"number","title":"Salary Amount"},"expense_count":{"type":"integer","title":"Expense Count"},"expense_amount":{"type":"number","title":"Expense Amount"},"prior_bonus_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Bonus Count"},"prior_fine_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Fine Count"}},"type":"object","required":["fk_teacher_id","transaction_count","bonus_count","bonus_amount","fine_count","fine_amount","salary_count","salary_amount","expense_count","expense_amount"],"title":"DashboardTeacherRow"},"DashboardTeachers":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/DashboardTeacherRow"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"prior_date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date From"},"prior_date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Prior Date To"}},"type":"object","required":["objects","date_from","date_to"],"title":"DashboardTeachers"},"DeleteTeacherTransactionsDataIn":{"properties":{"transaction_ids":{"items":{"type":"integer"},"type":"array","minItems":1,"title":"Transaction Ids"}},"type":"object","required":["transaction_ids"],"title":"DeleteTeacherTransactionsDataIn"},"ExportReportDownloadResponse":{"properties":{"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["download_url"],"title":"ExportReportDownloadResponse"},"ExportReportResponse":{"properties":{"id":{"type":"integer","title":"Id"},"export_type":{"$ref":"#/components/schemas/ExportReportType"},"status":{"$ref":"#/components/schemas/ReportStatus"},"filename":{"type":"string","title":"Filename"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Key"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["id","export_type","status","filename","created_at","updated_at"],"title":"ExportReportResponse"},"ExportReportType":{"type":"string","enum":["TEACHER_TRANSACTIONS","SCHOOL_TRANSACTIONS","STUDENT_TRANSACTIONS","CLASS_STORE_TRANSACTIONS","STUDENT_STORE_TRANSACTIONS","CLASS_STUDENTS","CLASS_JOBS","STUDENT_JOBS","CLASS_GROUPS","GROUP_STORE_TRANSACTIONS","SCHOOL_GROUPS"],"title":"ExportReportType"},"FileCreationConfirmation":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"FileCreationConfirmation"},"Goal":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Amount"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"current_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Amount"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"goal_progress":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Goal Progress"}},"type":"object","required":["id"],"title":"Goal"},"GoalAddFunds":{"properties":{"fk_savings_account_id":{"type":"integer","title":"Fk Savings Account Id"},"amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}],"title":"Amount"}},"type":"object","required":["fk_savings_account_id","amount"],"title":"GoalAddFunds"},"GoalCreate":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null"}],"title":"Total Amount"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"fk_student_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk Student Id"},"fk_savings_account_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk Savings Account Id"}},"type":"object","title":"GoalCreate"},"GoalUpdate-Input":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null"}],"title":"Total Amount"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"}},"type":"object","title":"GoalUpdate"},"GoalUpdate-Output":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Amount"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"}},"type":"object","title":"GoalUpdate"},"GoalWithdrawFunds":{"properties":{"fk_savings_account_id":{"type":"integer","title":"Fk Savings Account Id"},"amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}],"title":"Amount"}},"type":"object","required":["fk_savings_account_id","amount"],"title":"GoalWithdrawFunds"},"GroupCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"student_ids":{"items":{"type":"integer"},"type":"array","maxItems":5000,"title":"Student Ids"}},"type":"object","required":["name"],"title":"GroupCreate"},"GroupFilter":{"properties":{"groups_tab":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Groups Tab"},"students_tab":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Students Tab"}},"type":"object","title":"GroupFilter","description":"Which groups each filter shows, persisted per teacher and class.\n\nNone means no preference saved - the client shows everything. The two tabs\nare stored separately because the wireframes have two independent filters:\none narrowing the group cards, one narrowing the student list."},"GroupFilterUpdate":{"properties":{"groups_tab":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Groups Tab"},"students_tab":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Students Tab"}},"type":"object","title":"GroupFilterUpdate"},"GroupImportEnrolledStudent":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["id"],"title":"GroupImportEnrolledStudent"},"GroupImportIssue":{"properties":{"row":{"type":"integer","title":"Row","description":"Row number as the spreadsheet shows it - header is 1."},"column":{"type":"string","title":"Column","description":"Header text of the offending column."},"reason":{"$ref":"#/components/schemas/GroupImportIssueReason"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value","description":"The offending cell content, trimmed. None when the cell is empty."}},"type":"object","required":["row","column","reason"],"title":"GroupImportIssue","description":"One thing to fix, located precisely enough to act on."},"GroupImportIssueReason":{"type":"string","enum":["missing_identifier","group_name_too_long","student_not_found"],"title":"GroupImportIssueReason"},"GroupImportMode":{"type":"string","enum":["skip","abort"],"title":"GroupImportMode","description":"What to do when the file carries rows the teacher should fix."},"GroupImportResult":{"properties":{"imported":{"type":"integer","title":"Imported"},"dry_run":{"type":"boolean","title":"Dry Run","description":"Nothing was written - the counts are a preview.","default":false},"skipped_groups":{"items":{"type":"string"},"type":"array","title":"Skipped Groups","description":"Groups whose name already exists in this class."},"unmatched_students":{"type":"integer","title":"Unmatched Students","description":"How many rows matched no student. Same rows as unmatched_rows - kept as a count for compact summaries.","default":0},"unmatched_rows":{"items":{"$ref":"#/components/schemas/GroupImportIssue"},"type":"array","title":"Unmatched Rows","description":"Rows whose identifier matched no student in this class - or in the school with add_missing_students. Such rows are skipped - the import never creates student accounts."},"invalid_rows":{"items":{"$ref":"#/components/schemas/GroupImportIssue"},"type":"array","title":"Invalid Rows","description":"Rows the teacher should fix: missing identifier or a group name over the length limit."},"skipped_school_wide_rows":{"type":"integer","title":"Skipped School Wide Rows","description":"Rows marked School-wide, which a class import deliberately ignores. Not an error - typically a re-uploaded export.","default":0},"enrolled":{"items":{"$ref":"#/components/schemas/GroupImportEnrolledStudent"},"type":"array","title":"Enrolled","description":"School students added to the class by add_missing_students."},"has_blocking_errors":{"type":"boolean","title":"Has Blocking Errors","description":"Whether the file carries something the teacher can fix by editing it","readOnly":true}},"type":"object","required":["imported","has_blocking_errors"],"title":"GroupImportResult"},"GroupMember":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"}},"type":"object","required":["id"],"title":"GroupMember","description":"Minimal student data for group listings"},"GroupResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"scope":{"$ref":"#/components/schemas/GroupScope"},"members_preview":{"items":{"$ref":"#/components/schemas/GroupMember"},"type":"array","title":"Members Preview","description":"First 6 members. Full membership is served by the group members endpoint."},"members_count":{"type":"integer","title":"Members Count"}},"type":"object","required":["id","name","scope","members_count"],"title":"GroupResponse"},"GroupScope":{"type":"string","enum":["CLASS","SCHOOL"],"title":"GroupScope"},"GroupShort":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"scope":{"$ref":"#/components/schemas/GroupScope"}},"type":"object","required":["id","name","scope"],"title":"GroupShort","description":"Group reference used in the GROUP column of the student list."},"GroupTransactionsCreate":{"properties":{"transactions":{"items":{"$ref":"#/components/schemas/TransactionAPICreate"},"type":"array","maxItems":20,"minItems":1,"title":"Transactions"}},"type":"object","required":["transactions"],"title":"GroupTransactionsCreate"},"GroupUpdate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"student_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":5000},{"type":"null"}],"title":"Student Ids","description":"Full replacement of the membership. Omit the field to leave the membership untouched; send [] to empty the group."}},"type":"object","required":["name"],"title":"GroupUpdate"},"GroupsBulkDelete":{"properties":{"group_ids":{"items":{"type":"integer"},"type":"array","maxItems":1000,"minItems":1,"title":"Group Ids"}},"type":"object","required":["group_ids"],"title":"GroupsBulkDelete"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Job":{"properties":{"title":{"type":"string","maxLength":255,"title":"Title"},"open_for_all":{"type":"boolean","title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"type":"number","title":"Salary"},"id":{"type":"integer","title":"Id"},"responsibilities":{"type":"string","title":"Responsibilities"},"qualifications":{"type":"string","title":"Qualifications"}},"type":"object","required":["title","open_for_all","salary","id","responsibilities","qualifications"],"title":"Job"},"JobApplicationChoice":{"type":"string","enum":["first","second","third"],"title":"JobApplicationChoice"},"JobApplicationDeny":{"properties":{"student_id":{"type":"integer","title":"Student Id"}},"type":"object","required":["student_id"],"title":"JobApplicationDeny"},"JobApplicationStatus":{"type":"string","enum":["accepted","pending","archived","rejected"],"title":"JobApplicationStatus"},"JobApplicationWithStatus":{"properties":{"choice":{"$ref":"#/components/schemas/JobApplicationChoice"},"qualifications":{"type":"string","title":"Qualifications"},"motivation":{"type":"string","title":"Motivation"},"resume_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resume File"},"id":{"type":"integer","title":"Id"},"status":{"$ref":"#/components/schemas/JobApplicationStatus"}},"type":"object","required":["choice","qualifications","motivation","id","status"],"title":"JobApplicationWithStatus"},"JobCreate":{"properties":{"title":{"type":"string","maxLength":255,"minLength":3,"title":"Title"},"open_for_all":{"type":"boolean","title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"anyOf":[{"type":"number","maximum":100000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Salary"},"responsibilities":{"type":"string","title":"Responsibilities"},"qualifications":{"type":"string","title":"Qualifications"}},"type":"object","required":["title","open_for_all","salary","responsibilities","qualifications"],"title":"JobCreate"},"JobDetailed":{"properties":{"title":{"type":"string","maxLength":255,"title":"Title"},"open_for_all":{"type":"boolean","title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"type":"number","title":"Salary"},"id":{"type":"integer","title":"Id"},"responsibilities":{"type":"string","title":"Responsibilities"},"qualifications":{"type":"string","title":"Qualifications"},"employees":{"items":{"$ref":"#/components/schemas/StudentWithJobApplicationId"},"type":"array","title":"Employees"},"pending_applications_count":{"type":"integer","title":"Pending Applications Count","default":0},"pending_applications_students":{"items":{"$ref":"#/components/schemas/StudentWithJobApplicationId"},"type":"array","title":"Pending Applications Students"}},"type":"object","required":["title","open_for_all","salary","id","responsibilities","qualifications","employees","pending_applications_students"],"title":"JobDetailed"},"JobFire":{"properties":{"student_id":{"type":"integer","title":"Student Id"}},"type":"object","required":["student_id"],"title":"JobFire"},"JobHire":{"properties":{"student_id":{"type":"integer","title":"Student Id"},"fired_from_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fired From Id"}},"type":"object","required":["student_id"],"title":"JobHire"},"JobInfo":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"JobInfo"},"JobShort":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"salary":{"type":"number","title":"Salary"},"responsibilities":{"type":"string","title":"Responsibilities"},"class_":{"$ref":"#/components/schemas/ClassInfo"}},"type":"object","required":["id","title","salary","responsibilities","class_"],"title":"JobShort"},"JobSimple":{"properties":{"title":{"type":"string","maxLength":255,"title":"Title"},"open_for_all":{"type":"boolean","title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"type":"number","title":"Salary"},"id":{"type":"integer","title":"Id"},"employees":{"items":{"$ref":"#/components/schemas/StudentWithJobApplicationId"},"type":"array","title":"Employees"},"pending_applications_count":{"type":"integer","title":"Pending Applications Count","default":0},"pending_applications_students":{"items":{"$ref":"#/components/schemas/StudentWithJobApplicationId"},"type":"array","title":"Pending Applications Students"}},"type":"object","required":["title","open_for_all","salary","id","employees","pending_applications_students"],"title":"JobSimple"},"JobUpdate":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":3},{"type":"null"}],"title":"Title"},"open_for_all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"anyOf":[{"type":"number","maximum":100000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Salary"},"responsibilities":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Responsibilities"},"qualifications":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qualifications"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id"],"title":"JobUpdate"},"Msg":{"properties":{"msg":{"type":"string","title":"Msg"}},"type":"object","required":["msg"],"title":"Msg"},"PaginatedListBulkActionParams":{"properties":{"all_selected":{"type":"boolean","title":"All Selected","default":false},"selected_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","minItems":1},{"type":"null"}],"title":"Selected Ids"},"excluded_ids":{"items":{"type":"integer"},"type":"array","title":"Excluded Ids"}},"type":"object","title":"PaginatedListBulkActionParams"},"PaginatedResultSchema_ClassStudentHelper_":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/ClassStudentHelper"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"}},"type":"object","required":["objects"],"title":"PaginatedResultSchema[ClassStudentHelper]"},"PaginatedResultSchema_GroupMember_":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/GroupMember"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"}},"type":"object","required":["objects"],"title":"PaginatedResultSchema[GroupMember]"},"PaginatedResultSchema_SchoolWithTeacherCount_":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/SchoolWithTeacherCount"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"}},"type":"object","required":["objects"],"title":"PaginatedResultSchema[SchoolWithTeacherCount]"},"PaginatedResultSchema_ShortStudentClassMember_":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/ShortStudentClassMember"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"}},"type":"object","required":["objects"],"title":"PaginatedResultSchema[ShortStudentClassMember]"},"PaginatedResultSchema_StudentClassMember_":{"properties":{"objects":{"items":{"$ref":"#/components/schemas/StudentClassMember"},"type":"array","title":"Objects"},"all_objects_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"All Objects Count"}},"type":"object","required":["objects"],"title":"PaginatedResultSchema[StudentClassMember]"},"PasswordRecoveryRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"PasswordRecoveryRequest"},"PasswordRequest":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"PasswordRequest"},"PaycheckInterval":{"type":"string","enum":["weekly","biweekly","monthly"],"title":"PaycheckInterval"},"PendingStoreTransaction":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"student_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Avatar Url"},"title":{"type":"string","title":"Title"},"item_icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Icon Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"value":{"type":"number","title":"Value"}},"type":"object","required":["id","first_name","last_name","title","created_at","value"],"title":"PendingStoreTransaction"},"PossibleCoTeacher":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","title":"Email"},"school_account":{"$ref":"#/components/schemas/SchoolAccountShort"}},"type":"object","required":["id","first_name","last_name","email","school_account"],"title":"PossibleCoTeacher"},"ReportStatus":{"type":"string","enum":["PENDING","SUCCESS","FAILURE"],"title":"ReportStatus"},"RosterClassBasicData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"school":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"periods":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Periods"},"grades":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Grades"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"RosterClassBasicData"},"RosterClassCreateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterClassBasicData"}},"type":"object","required":["object"],"title":"RosterClassCreateData"},"RosterClassDeleteData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"school":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"periods":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Periods"},"grades":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Grades"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"old":{"$ref":"#/components/schemas/RosterClassBasicData"}},"type":"object","required":["old"],"title":"RosterClassDeleteData"},"RosterClassUpdateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterClassBasicData"},"old":{"$ref":"#/components/schemas/RosterClassBasicData"}},"type":"object","required":["object","old"],"title":"RosterClassUpdateData"},"RosterEnrollmentBasicData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"class":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"primary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Primary"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"school":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"user":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"endDate":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Enddate"}},"type":"object","title":"RosterEnrollmentBasicData"},"RosterEnrollmentCreateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterEnrollmentBasicData"}},"type":"object","required":["object"],"title":"RosterEnrollmentCreateData"},"RosterEnrollmentDeleteData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"class":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"primary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Primary"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"school":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"user":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"endDate":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Enddate"},"old":{"$ref":"#/components/schemas/RosterEnrollmentBasicData"}},"type":"object","required":["old"],"title":"RosterEnrollmentDeleteData"},"RosterEnrollmentUpdateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterEnrollmentBasicData"},"old":{"$ref":"#/components/schemas/RosterEnrollmentBasicData"}},"type":"object","required":["object","old"],"title":"RosterEnrollmentUpdateData"},"RosterOrgBasicData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"parent":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/BasicObj"},"type":"array"},{"type":"null"}],"title":"Children"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"RosterOrgBasicData"},"RosterOrgCreateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterOrgBasicData"}},"type":"object","required":["object"],"title":"RosterOrgCreateData"},"RosterOrgDeleteData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"parent":{"anyOf":[{"$ref":"#/components/schemas/BasicObj"},{"type":"null"}]},"entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/BasicObj"},"type":"array"},{"type":"null"}],"title":"Children"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"old":{"$ref":"#/components/schemas/RosterOrgBasicData"}},"type":"object","required":["old"],"title":"RosterOrgDeleteData"},"RosterOrgUpdateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterOrgBasicData"},"old":{"$ref":"#/components/schemas/RosterOrgBasicData"}},"type":"object","required":["object","old"],"title":"RosterOrgUpdateData"},"RosterUserBasicData":{"properties":{"sourcedId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcedid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"givenName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Givenname"},"familyName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Familyname"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"enabledUser":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Enableduser"},"dateLastModified":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Datelastmodified"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"grades":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Grades"},"orgs":{"anyOf":[{"items":{"$ref":"#/components/schemas/BasicObj"},"type":"array"},{"type":"null"}],"title":"Orgs"},"agents":{"anyOf":[{"items":{"$ref":"#/components/schemas/BasicObj"},"type":"array"},{"type":"null"}],"title":"Agents"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"type":"object","title":"RosterUserBasicData"},"RosterUserCreateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterUserBasicData"}},"type":"object","required":["object"],"title":"RosterUserCreateData"},"RosterUserDeleteData":{"properties":{"old":{"$ref":"#/components/schemas/RosterUserBasicData"}},"type":"object","required":["old"],"title":"RosterUserDeleteData"},"RosterUserUpdateData":{"properties":{"object":{"$ref":"#/components/schemas/RosterUserBasicData"},"old":{"anyOf":[{"$ref":"#/components/schemas/RosterUserBasicData"},{"type":"null"}]}},"type":"object","required":["object"],"title":"RosterUserUpdateData"},"SavingAccount":{"properties":{"id":{"type":"integer","title":"Id"},"balance":{"type":"number","title":"Balance"},"name":{"type":"string","title":"Name"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"fk_student_id":{"type":"integer","title":"Fk Student Id"},"fk_class_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk Class Id"},"available_amount_to_transfer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Available Amount To Transfer"},"number_of_goals":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Number Of Goals"},"interest_option":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Interest Option"},"saving_interest_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saving Interest Rate"},"interest_granting_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"checking_balance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checking Balance"}},"type":"object","required":["id","balance","name","fk_student_id"],"title":"SavingAccount"},"SavingsSnapshot":{"properties":{"total_interest_earned":{"type":"number","title":"Total Interest Earned"},"projected_monthly_interest":{"type":"number","title":"Projected Monthly Interest"},"goals":{"items":{"$ref":"#/components/schemas/Goal"},"type":"array","title":"Goals"}},"type":"object","required":["total_interest_earned","projected_monthly_interest","goals"],"title":"SavingsSnapshot"},"ScheduledAsyncTaskData":{"properties":{"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"}},"type":"object","title":"ScheduledAsyncTaskData"},"School":{"properties":{"name":{"type":"string","title":"Name"},"street_address":{"type":"string","title":"Street Address"},"district":{"type":"string","title":"District"},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State"},"timezone":{"type":"string","title":"Timezone"},"id":{"type":"integer","title":"Id"},"nces_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nces Id"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code"}},"type":"object","required":["name","street_address","district","city","state","timezone","id"],"title":"School"},"SchoolAccountPlan":{"type":"string","enum":["free","pro","school","demo"],"title":"SchoolAccountPlan"},"SchoolAccountShort":{"properties":{"id":{"type":"integer","title":"Id"},"plan":{"$ref":"#/components/schemas/SchoolAccountPlan"}},"type":"object","required":["id","plan"],"title":"SchoolAccountShort"},"SchoolAdminClassInfo":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"SchoolAdminClassInfo"},"SchoolAdminHelperInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"login":{"type":"string","title":"Login"}},"type":"object","required":["id","login"],"title":"SchoolAdminHelperInfo"},"SchoolAdminStudentInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"login":{"type":"string","title":"Login"}},"type":"object","required":["id","login"],"title":"SchoolAdminStudentInfo"},"SchoolAdminTeacherInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"SchoolAdminTeacherInfo"},"SchoolCreate":{"properties":{"name":{"type":"string","title":"Name"},"street_address":{"type":"string","title":"Street Address"},"district":{"type":"string","title":"District"},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State"},"timezone":{"type":"string","title":"Timezone"},"country_id":{"type":"integer","title":"Country Id"},"zip_code":{"type":"string","maxLength":100,"minLength":1,"title":"Zip Code"}},"type":"object","required":["name","street_address","district","city","state","timezone","country_id","zip_code"],"title":"SchoolCreate"},"SchoolShort":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"SchoolShort"},"SchoolTeacher":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"is_accepted":{"type":"boolean","title":"Is Accepted"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","first_name","last_name","is_accepted","email"],"title":"SchoolTeacher"},"SchoolWithTeacherCount":{"properties":{"name":{"type":"string","title":"Name"},"street_address":{"type":"string","title":"Street Address"},"district":{"type":"string","title":"District"},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State"},"timezone":{"type":"string","title":"Timezone"},"id":{"type":"integer","title":"Id"},"nces_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nces Id"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code"},"teachers_count":{"type":"integer","title":"Teachers Count"},"is_school_plan":{"type":"boolean","title":"Is School Plan"}},"type":"object","required":["name","street_address","district","city","state","timezone","id","teachers_count","is_school_plan"],"title":"SchoolWithTeacherCount"},"SeriesGranularity":{"type":"string","enum":["day","week"],"title":"SeriesGranularity"},"SetTeacherAdminResponse":{"properties":{"teacher_id":{"type":"integer","title":"Teacher Id"},"is_school_admin":{"type":"boolean","title":"Is School Admin"}},"type":"object","required":["teacher_id","is_school_admin"],"title":"SetTeacherAdminResponse"},"ShortStudentClassMember":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"id":{"type":"integer","title":"Id"},"jobs":{"items":{"type":"string"},"type":"array","title":"Jobs"},"is_math_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Math Enabled"}},"type":"object","required":["first_name","last_name","id","jobs"],"title":"ShortStudentClassMember"},"SortingOption":{"type":"string","enum":["asc","desc"],"title":"SortingOption"},"Store":{"properties":{"open":{"type":"boolean","title":"Open"}},"type":"object","required":["open"],"title":"Store"},"StoreItemBulkCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreItemCreate"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreItemBulkCreate"},"StoreItemBulkDelete":{"properties":{"item_ids":{"items":{"type":"integer"},"type":"array","title":"Item Ids"}},"type":"object","required":["item_ids"],"title":"StoreItemBulkDelete"},"StoreItemBulkUpdate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreItemUpdate"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreItemBulkUpdate"},"StoreItemCreate":{"properties":{"name":{"type":"string","title":"Name"},"price":{"anyOf":[{"type":"number","maximum":500000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Price"},"icon_url":{"type":"null","title":"Icon Url"},"quantity_in_stock":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Quantity In Stock"}},"type":"object","required":["name","price"],"title":"StoreItemCreate"},"StoreItemInStockRead":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"price":{"type":"number","title":"Price"},"icon_url":{"type":"null","title":"Icon Url"},"quantity_in_stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity In Stock"}},"type":"object","required":["id","name","price"],"title":"StoreItemInStockRead","description":"Flag out_of_stock is omitted as it's value should be always False"},"StoreItemRead":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"price":{"type":"number","title":"Price"},"icon_url":{"type":"null","title":"Icon Url"},"quantity_in_stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity In Stock"},"out_of_stock":{"type":"boolean","title":"Out Of Stock"}},"type":"object","required":["id","name","price","out_of_stock"],"title":"StoreItemRead"},"StoreItemUpdate":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"price":{"anyOf":[{"type":"number","maximum":500000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price"},"icon_url":{"type":"null","title":"Icon Url"},"out_of_stock":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Out Of Stock"},"quantity_in_stock":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Quantity In Stock"}},"type":"object","required":["id"],"title":"StoreItemUpdate"},"StoreWithItems":{"properties":{"open":{"type":"boolean","title":"Open"},"items":{"items":{"$ref":"#/components/schemas/StoreItemInStockRead"},"type":"array","title":"Items"}},"type":"object","required":["open","items"],"title":"StoreWithItems"},"Student":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"Student"},"StudentAttentionView":{"type":"string","enum":["most_fined","no_bonuses","lowest_positivity","fewest_bonuses_earned","lowest_attendance"],"title":"StudentAttentionView"},"StudentBalance":{"properties":{"balance":{"type":"number","title":"Balance"},"savings":{"type":"number","title":"Savings"},"total_balance":{"type":"number","title":"Total Balance"}},"type":"object","required":["balance","savings","total_balance"],"title":"StudentBalance"},"StudentBalanceChart":{"properties":{"student_balance_data":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"propertyNames":{"format":"date"},"type":"object","title":"Student Balance Data"}},"type":"object","required":["student_balance_data"],"title":"StudentBalanceChart"},"StudentBalancesChart":{"properties":{"student_balance_data":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"propertyNames":{"format":"date"},"type":"object","title":"Student Balance Data"},"student_savings_total_data":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"propertyNames":{"format":"date"},"type":"object","title":"Student Savings Total Data"},"student_total_balance_data":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"propertyNames":{"format":"date"},"type":"object","title":"Student Total Balance Data"}},"type":"object","required":["student_balance_data","student_savings_total_data","student_total_balance_data"],"title":"StudentBalancesChart"},"StudentCandidate":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["first_name","last_name","id"],"title":"StudentCandidate"},"StudentClass":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"paycheck_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]}},"type":"object","required":["id","is_open_for_job_applications"],"title":"StudentClass"},"StudentClassMember":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"balance":{"type":"number","title":"Balance","description":"Summed up booked and unbooked balance."},"booked_balance":{"type":"number","title":"Booked Balance","description":"Booked only balance."},"jobs":{"items":{"type":"string"},"type":"array","title":"Jobs"},"savings":{"type":"number","title":"Savings","description":"Summed up savings from all savings accounts."},"pending_balance":{"type":"number","title":"Pending Balance","description":"Summed up unbooked balance."},"goals":{"anyOf":[{"items":{"$ref":"#/components/schemas/Goal"},"type":"array"},{"type":"null"}],"title":"Goals"},"is_math_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Math Enabled"},"groups":{"items":{"$ref":"#/components/schemas/GroupShort"},"type":"array","title":"Groups","description":"Groups the student belongs to, class-level and school-wide."}},"type":"object","required":["id","first_name","last_name","balance","booked_balance","jobs","savings","pending_balance"],"title":"StudentClassMember"},"StudentClassWithHelperRoles":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"paycheck_interval":{"anyOf":[{"$ref":"#/components/schemas/PaycheckInterval"},{"type":"null"}]},"is_math_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Math Enabled"},"is_store_clerk":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Store Clerk"},"is_hr_representative":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hr Representative"},"is_banker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Banker"}},"type":"object","required":["id","is_open_for_job_applications"],"title":"StudentClassWithHelperRoles"},"StudentFinalizeData":{"properties":{"invitation_code":{"type":"string","title":"Invitation Code"},"first_name":{"type":"string","minLength":1,"title":"First Name"},"last_name":{"type":"string","minLength":1,"title":"Last Name"}},"type":"object","required":["invitation_code","first_name","last_name"],"title":"StudentFinalizeData"},"StudentHasTransactions":{"properties":{"has_transactions":{"type":"boolean","title":"Has Transactions"}},"type":"object","required":["has_transactions"],"title":"StudentHasTransactions"},"StudentMe":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"id":{"type":"integer","title":"Id"},"school_plan":{"$ref":"#/components/schemas/SchoolAccountPlan"},"has_savings_accounts":{"type":"boolean","title":"Has Savings Accounts"},"has_interest_option":{"type":"boolean","title":"Has Interest Option"}},"type":"object","required":["id","school_plan","has_savings_accounts","has_interest_option"],"title":"StudentMe"},"StudentPendingTransaction":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"class_":{"$ref":"#/components/schemas/TransactionClassInfo"},"teacher":{"anyOf":[{"$ref":"#/components/schemas/TransactionTeacherInfo"},{"type":"null"}]},"amount":{"type":"number","title":"Amount"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","type","title","class_","amount","created_at"],"title":"StudentPendingTransaction"},"StudentPossibleClass":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"invitation_code":{"type":"string","title":"Invitation Code"},"id":{"type":"integer","title":"Id"},"is_in_class":{"type":"boolean","title":"Is In Class"},"teachers":{"items":{"$ref":"#/components/schemas/UserShort"},"type":"array","title":"Teachers"}},"type":"object","required":["name","is_open_for_job_applications","invitation_code","id","is_in_class","teachers"],"title":"StudentPossibleClass"},"StudentPossibleJob":{"properties":{"title":{"type":"string","maxLength":255,"title":"Title"},"open_for_all":{"type":"boolean","title":"Open For All"},"positions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Positions"},"salary":{"type":"number","title":"Salary"},"id":{"type":"integer","title":"Id"},"is_hired":{"type":"boolean","title":"Is Hired"},"pending_application":{"type":"boolean","title":"Pending Application"},"employees_count":{"type":"integer","title":"Employees Count"},"teacher":{"anyOf":[{"$ref":"#/components/schemas/UserShort"},{"type":"null"}]},"responsibilities":{"type":"string","title":"Responsibilities"},"qualifications":{"type":"string","title":"Qualifications"}},"type":"object","required":["title","open_for_all","salary","id","is_hired","pending_application","employees_count","responsibilities","qualifications"],"title":"StudentPossibleJob"},"StudentSavingAccountChart":{"properties":{"saving_account_chart_data":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"propertyNames":{"format":"date"},"type":"object","title":"Saving Account Chart Data"},"total_interest_earned":{"type":"number","title":"Total Interest Earned"},"interest_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interest Rate"},"projected_monthly_interest":{"type":"number","title":"Projected Monthly Interest"}},"type":"object","required":["saving_account_chart_data","total_interest_earned","projected_monthly_interest"],"title":"StudentSavingAccountChart"},"StudentSelfUpdate":{"properties":{"avatar_url":{"anyOf":[],"title":"Avatar Url"}},"type":"object","required":["avatar_url"],"title":"StudentSelfUpdate"},"StudentWithClasses":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"id":{"type":"integer","title":"Id"},"classes":{"items":{"$ref":"#/components/schemas/ClassInfo"},"type":"array","title":"Classes"}},"type":"object","required":["id","classes"],"title":"StudentWithClasses"},"StudentWithJob":{"properties":{"student":{"$ref":"#/components/schemas/UserShort"},"job":{"$ref":"#/components/schemas/JobInfo"}},"type":"object","required":["student","job"],"title":"StudentWithJob"},"StudentWithJobApplicationId":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"id":{"type":"integer","title":"Id"},"job_application_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Application Id"}},"type":"object","required":["id"],"title":"StudentWithJobApplicationId"},"StudentsMathOption":{"properties":{"enable_math_in_whole_class":{"type":"boolean","title":"Enable Math In Whole Class","default":false},"disable_math_in_whole_class":{"type":"boolean","title":"Disable Math In Whole Class","default":false},"fk_class_id":{"type":"integer","title":"Fk Class Id"},"student_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":5000},{"type":"null"}],"title":"Student Ids"}},"type":"object","required":["fk_class_id"],"title":"StudentsMathOption"},"StudentsOverviewSort":{"type":"string","enum":["most_bonuses","least_bonuses"],"title":"StudentsOverviewSort"},"StudentsOverviewStudnent":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"value":{"type":"number","title":"Value"},"bonus_count":{"type":"integer","title":"Bonus Count"}},"type":"object","required":["id","first_name","last_name","value","bonus_count"],"title":"StudentsOverviewStudnent"},"StudentsOverviewTimeRange":{"type":"string","enum":["this_month","last_month","this_year"],"title":"StudentsOverviewTimeRange"},"SubscriptionStatus":{"type":"string","enum":["active","trialing","past_due","unpaid","cancelled"],"title":"SubscriptionStatus"},"Teacher":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"subscription_status":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionStatus"},{"type":"null"}]},"is_school_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is School Admin"},"intercom_opened":{"type":"boolean","title":"Intercom Opened"},"school_id":{"type":"integer","title":"School Id"},"school_plan":{"$ref":"#/components/schemas/SchoolAccountPlan"},"school_name":{"type":"string","title":"School Name"},"school_city":{"type":"string","title":"School City"},"school_zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"School Zip Code"},"classes_grades":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Classes Grades"},"school_confirmed":{"type":"boolean","title":"School Confirmed"}},"type":"object","required":["first_name","last_name","email","intercom_opened","school_id","school_plan","school_name","school_city","school_confirmed"],"title":"Teacher"},"TeacherAccess":{"properties":{"invitation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Invitation Id"},"teacher":{"anyOf":[{"$ref":"#/components/schemas/SchoolTeacher"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"TeacherAccess"},"TeacherAdminSchoolData":{"properties":{"classes":{"items":{"$ref":"#/components/schemas/SchoolAdminClassInfo"},"type":"array","title":"Classes"},"teachers":{"anyOf":[{"items":{"$ref":"#/components/schemas/SchoolAdminTeacherInfo"},"type":"array"},{"type":"null"}],"title":"Teachers"},"helpers":{"anyOf":[{"items":{"$ref":"#/components/schemas/SchoolAdminHelperInfo"},"type":"array"},{"type":"null"}],"title":"Helpers"},"students":{"items":{"$ref":"#/components/schemas/SchoolAdminStudentInfo"},"type":"array","title":"Students"}},"type":"object","required":["classes","students"],"title":"TeacherAdminSchoolData"},"TeacherClassShort":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"grade":{"anyOf":[{"$ref":"#/components/schemas/ClassGrade"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","maxLength":64,"minLength":3},{"type":"null"}],"title":"Icon"},"is_open_for_job_applications":{"type":"boolean","title":"Is Open For Job Applications"},"invitation_code":{"type":"string","title":"Invitation Code"},"id":{"type":"integer","title":"Id"},"added_from_roster":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Added From Roster"},"roster_removed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Roster Removed At"},"is_synced":{"type":"boolean","title":"Is Synced","default":false},"can_be_deleted":{"type":"boolean","title":"Can Be Deleted","default":true},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"is_archived":{"type":"boolean","title":"Is Archived","default":false}},"type":"object","required":["name","is_open_for_job_applications","invitation_code","id"],"title":"TeacherClassShort"},"TeacherCreateByAdmin":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","maxLength":255,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":255,"minLength":1,"title":"Last Name"},"survey":{"$ref":"#/components/schemas/UserSurveyOptions","default":"Other"},"survey_details":{"type":"string","title":"Survey Details","default":"by_admin"}},"type":"object","required":["email","first_name","last_name"],"title":"TeacherCreateByAdmin"},"TeacherCreatedByAdminResponse":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["id","email","first_name","last_name"],"title":"TeacherCreatedByAdminResponse"},"TeacherFinalizationDataOut":{"properties":{"invitation":{"anyOf":[{"$ref":"#/components/schemas/TeacherInvitationWithSchool"},{"type":"null"}]}},"type":"object","title":"TeacherFinalizationDataOut"},"TeacherFinalize":{"properties":{"first_name":{"type":"string","maxLength":255,"minLength":2,"title":"First Name"},"last_name":{"type":"string","maxLength":255,"minLength":2,"title":"Last Name"},"school_id":{"type":"integer","title":"School Id"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"survey":{"anyOf":[{"$ref":"#/components/schemas/UserSurveyOptions"},{"type":"null"}]},"survey_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Survey Details"}},"type":"object","required":["first_name","last_name","school_id"],"title":"TeacherFinalize"},"TeacherInDBBase":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"subscription_status":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionStatus"},{"type":"null"}]},"is_school_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is School Admin"},"intercom_opened":{"type":"boolean","title":"Intercom Opened"}},"type":"object","required":["first_name","last_name","email","intercom_opened"],"title":"TeacherInDBBase"},"TeacherInSchoolResponse":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"type":"string","title":"Email"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"fk_school_account_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fk School Account Id"},"is_school_admin":{"type":"boolean","title":"Is School Admin"}},"type":"object","required":["id","email","is_school_admin"],"title":"TeacherInSchoolResponse"},"TeacherInvitationSchema":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"TeacherInvitationSchema"},"TeacherInvitationWithSchool":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"school":{"anyOf":[{"$ref":"#/components/schemas/SchoolShort"},{"type":"null"}]}},"type":"object","required":["id","email"],"title":"TeacherInvitationWithSchool"},"TeacherInvite":{"properties":{"emails":{"items":{"type":"string","format":"email"},"type":"array","maxItems":5,"minItems":1,"title":"Emails"},"class_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Id"}},"type":"object","required":["emails"],"title":"TeacherInvite"},"TeacherMe":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"subscription_status":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionStatus"},{"type":"null"}]},"is_school_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is School Admin"},"intercom_opened":{"type":"boolean","title":"Intercom Opened"},"school_id":{"type":"integer","title":"School Id"},"school_plan":{"$ref":"#/components/schemas/SchoolAccountPlan"},"school_name":{"type":"string","title":"School Name"},"school_city":{"type":"string","title":"School City"},"school_zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"School Zip Code"},"classes_grades":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Classes Grades"},"school_confirmed":{"type":"boolean","title":"School Confirmed"},"school_country":{"$ref":"#/components/schemas/Country"}},"type":"object","required":["first_name","last_name","email","intercom_opened","school_id","school_plan","school_name","school_city","school_confirmed","school_country"],"title":"TeacherMe"},"TeacherRegistratinData":{"properties":{"school":{"$ref":"#/components/schemas/SchoolShort"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["school","email"],"title":"TeacherRegistratinData"},"TeacherSelfUpdate":{"properties":{"first_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":2},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":2},{"type":"null"}],"title":"Last Name"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"school_confirmed":{"anyOf":[{"type":"boolean","const":true},{"type":"null"}],"title":"School Confirmed"}},"type":"object","title":"TeacherSelfUpdate"},"TeacherStorePurchaseCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TeacherStorePurchaseItem"},"type":"array","maxItems":20,"minItems":1,"title":"Items"},"send_to_whole_class":{"type":"boolean","title":"Send To Whole Class","default":false},"student_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":500,"minItems":1},{"type":"null"}],"title":"Student Ids"},"excluded_student_ids":{"items":{"type":"integer"},"type":"array","title":"Excluded Student Ids"}},"type":"object","required":["items"],"title":"TeacherStorePurchaseCreate","description":"Several store items bought for many students at once."},"TeacherStorePurchaseItem":{"properties":{"store_item_id":{"type":"integer","title":"Store Item Id"},"quantity":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Quantity","default":1}},"type":"object","required":["store_item_id"],"title":"TeacherStorePurchaseItem","description":"One cart line: a store item and how many units each student gets."},"TeacherStorePurchaseItemResult":{"properties":{"store_item_id":{"type":"integer","title":"Store Item Id"},"quantity_in_stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity In Stock"}},"type":"object","required":["store_item_id"],"title":"TeacherStorePurchaseItemResult"},"TeacherStorePurchaseResult":{"properties":{"charged_student_ids":{"items":{"type":"integer"},"type":"array","title":"Charged Student Ids"},"skipped_student_ids":{"items":{"type":"integer"},"type":"array","title":"Skipped Student Ids"},"items":{"items":{"$ref":"#/components/schemas/TeacherStorePurchaseItemResult"},"type":"array","title":"Items"}},"type":"object","required":["charged_student_ids","skipped_student_ids","items"],"title":"TeacherStorePurchaseResult"},"TeacherTransactionsFilterData":{"properties":{"classes":{"items":{"$ref":"#/components/schemas/ClassWithGroups"},"type":"array","title":"Classes"}},"type":"object","required":["classes"],"title":"TeacherTransactionsFilterData"},"TeacherTransactionsHistoryEntry":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"$ref":"#/components/schemas/TransactionType"},"class_":{"$ref":"#/components/schemas/TransactionClassInfo"},"class_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Name"},"teacher":{"anyOf":[{"$ref":"#/components/schemas/TransactionTeacherInfo"},{"type":"null"}]},"helper":{"anyOf":[{"$ref":"#/components/schemas/TransactionHelperInfo"},{"type":"null"}]},"student":{"$ref":"#/components/schemas/TransactionStudentInfo"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"amount":{"type":"number","title":"Amount"},"balance_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balance After"},"is_booked":{"type":"boolean","title":"Is Booked"}},"type":"object","required":["id","title","type","class_","student","created_at","amount","is_booked"],"title":"TeacherTransactionsHistoryEntry"},"TodoItem":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"title":{"type":"string","title":"Title"},"value":{"type":"number","title":"Value"}},"type":"object","required":["id","first_name","last_name","title","value"],"title":"TodoItem"},"TodoStoreItem":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"price":{"type":"number","title":"Price"},"icon_url":{"type":"null","title":"Icon Url"},"quantity_in_stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity In Stock"},"out_of_stock":{"type":"boolean","title":"Out Of Stock"},"class_":{"$ref":"#/components/schemas/ClassInfo"}},"type":"object","required":["id","name","price","out_of_stock","class_"],"title":"TodoStoreItem"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token"],"title":"Token"},"TransactionAPICreate":{"properties":{"type":{"$ref":"#/components/schemas/APICreateTransactionType"},"title":{"anyOf":[{"type":"string","maxLength":100,"minLength":2},{"type":"null"}],"title":"Title"},"amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null"}],"title":"Amount"}},"type":"object","required":["type"],"title":"TransactionAPICreate"},"TransactionClassInfo":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"TransactionClassInfo"},"TransactionHelperInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"}},"type":"object","required":["id","first_name","last_name"],"title":"TransactionHelperInfo"},"TransactionItem":{"properties":{"title":{"type":"string","title":"Title"},"amount":{"type":"number","title":"Amount"},"id":{"type":"integer","title":"Id"},"is_preset":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Preset"}},"type":"object","required":["title","amount","id"],"title":"TransactionItem"},"TransactionItemCreate":{"properties":{"title":{"type":"string","maxLength":100,"title":"Title"},"amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"}},"type":"object","required":["title","amount"],"title":"TransactionItemCreate"},"TransactionItemUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Title"},"amount":{"anyOf":[{"type":"number","maximum":500000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount"}},"type":"object","title":"TransactionItemUpdate"},"TransactionLedgerItem":{"properties":{"type":{"$ref":"#/components/schemas/TransactionType"},"title":{"type":"string","title":"Title"},"amount":{"type":"number","title":"Amount"},"id":{"type":"integer","title":"Id"},"class":{"$ref":"#/components/schemas/TransactionClassInfo"},"teacher":{"anyOf":[{"$ref":"#/components/schemas/TransactionTeacherInfo"},{"type":"null"}]},"teacher_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Teacher Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"booked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Booked At"},"balance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balance"},"is_math_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Math Enabled"}},"type":"object","required":["type","title","amount","id","class","created_at"],"title":"TransactionLedgerItem"},"TransactionSenderType":{"type":"string","enum":["teacher","helper"],"title":"TransactionSenderType"},"TransactionStudentInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"login":{"type":"string","title":"Login"}},"type":"object","required":["id","first_name","last_name","login"],"title":"TransactionStudentInfo"},"TransactionTeacherInfo":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"}},"type":"object","required":["id","first_name","last_name"],"title":"TransactionTeacherInfo"},"TransactionType":{"type":"string","enum":["salary","expense","bonus","fine","purchase","reset","refund","transfer","interest"],"title":"TransactionType"},"TransactionsListCreateClass":{"properties":{"send_to_whole_class":{"type":"boolean","title":"Send To Whole Class","default":false},"student_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":5000,"minItems":1},{"type":"null"}],"title":"Student Ids"},"excluded_student_ids":{"items":{"type":"integer"},"type":"array","title":"Excluded Student Ids"},"transactions":{"items":{"$ref":"#/components/schemas/TransactionAPICreate"},"type":"array","maxItems":20,"minItems":1,"title":"Transactions"}},"type":"object","required":["transactions"],"title":"TransactionsListCreateClass"},"TransactionsListCreateStudent":{"properties":{"student_id":{"type":"integer","title":"Student Id"},"student_class_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Student Class Id"},"transactions":{"items":{"$ref":"#/components/schemas/TransactionAPICreate"},"type":"array","maxItems":1000,"minItems":1,"title":"Transactions"}},"type":"object","required":["student_id","transactions"],"title":"TransactionsListCreateStudent"},"UnfinalizedToken":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"finalization_required":{"type":"boolean","title":"Finalization Required"}},"type":"object","required":["access_token","finalization_required"],"title":"UnfinalizedToken"},"UserMe":{"properties":{"type":{"$ref":"#/components/schemas/UserType"},"user":{"anyOf":[{"$ref":"#/components/schemas/TeacherMe"},{"$ref":"#/components/schemas/StudentMe"}],"title":"User"}},"type":"object","required":["type","user"],"title":"UserMe"},"UserShort":{"properties":{"id":{"type":"integer","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"}},"type":"object","required":["id","first_name","last_name"],"title":"UserShort"},"UserSurveyOptions":{"type":"string","enum":["Colleague / Another Teacher","Online Search (Google, etc.)","Facebook","Instagram","TikTok","Webinar","Conference","Blog Post / Article","Email from ClassBank","A student","Other"],"title":"UserSurveyOptions"},"UserType":{"type":"string","enum":["teacher","student"],"title":"UserType"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookPayload":{"properties":{"id":{"type":"string","title":"Id"},"datasource_id":{"type":"string","title":"Datasource Id"},"entity":{"type":"string","title":"Entity"},"action":{"type":"string","title":"Action"},"data":{"anyOf":[{"$ref":"#/components/schemas/RosterUserCreateData"},{"$ref":"#/components/schemas/RosterUserUpdateData"},{"$ref":"#/components/schemas/RosterUserDeleteData"},{"$ref":"#/components/schemas/RosterOrgCreateData"},{"$ref":"#/components/schemas/RosterOrgUpdateData"},{"$ref":"#/components/schemas/RosterOrgDeleteData"},{"$ref":"#/components/schemas/RosterClassCreateData"},{"$ref":"#/components/schemas/RosterClassUpdateData"},{"$ref":"#/components/schemas/RosterClassDeleteData"},{"$ref":"#/components/schemas/RosterEnrollmentCreateData"},{"$ref":"#/components/schemas/RosterEnrollmentUpdateData"},{"$ref":"#/components/schemas/RosterEnrollmentDeleteData"},{"$ref":"#/components/schemas/AttendanceEventData"},{"$ref":"#/components/schemas/AttendanceEventDeleteData"},{"type":"null"}],"title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","datasource_id","entity","action","created_at"],"title":"WebhookPayload"}},"securitySchemes":{"Teacher":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/teacher/login/access-token-form"}}},"Student":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/students/login/access-token-form"}}},"Roster":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/roster/token"}}}}}}