Download seal_openapi.json from minhhungg/AutoRestTest-TrackA: direct link, hf CLI and curl.
- Browser
- Download file 196 kB
-
https://huggingface.co/datasets/minhhungg/AutoRestTest-TrackA/resolve/main/seal_openapi.json
- Command line
-
hf download hf://datasets/minhhungg/AutoRestTest-TrackA/seal_openapi.json
-
curl -L -o seal_openapi.json https://huggingface.co/datasets/minhhungg/AutoRestTest-TrackA/resolve/main/seal_openapi.json
196 kB
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "OpenAPI definition", | |
| "version": "v0" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "http://localhost:8080/api" | |
| } | |
| ], | |
| "tags": [ | |
| { | |
| "name": "Events", | |
| "description": "Hackathon event management" | |
| }, | |
| { | |
| "name": "Submissions", | |
| "description": "Round project submissions" | |
| }, | |
| { | |
| "name": "Reports", | |
| "description": "Ranking export, anonymized dataset, and judge-variance analytics" | |
| }, | |
| { | |
| "name": "Rounds", | |
| "description": "Competition rounds within a track" | |
| }, | |
| { | |
| "name": "Teams", | |
| "description": "Hackathon teams and team members" | |
| }, | |
| { | |
| "name": "Auth", | |
| "description": "Authentication endpoints" | |
| }, | |
| { | |
| "name": "Tracks", | |
| "description": "Competition tracks (categories) within an event" | |
| } | |
| ], | |
| "paths": { | |
| "/users/{id}/roles": { | |
| "put": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "updateRoles", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateUserRolesRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/users": { | |
| "get": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "list", | |
| "parameters": [ | |
| { | |
| "name": "status", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "approved", | |
| "rejected" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "email", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| { | |
| "name": "role", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageUserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "create", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateUserRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/universities": { | |
| "get": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "universities", | |
| "parameters": [ | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageUniversityResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "createUniversity", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UniversityRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UniversityResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/tracks": { | |
| "get": { | |
| "tags": [ | |
| "Tracks" | |
| ], | |
| "summary": "List tracks by event", | |
| "operationId": "listByEvent", | |
| "parameters": [ | |
| { | |
| "name": "eventId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageTrackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Tracks" | |
| ], | |
| "summary": "Create track (coordinator only)", | |
| "operationId": "create_1", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateTrackRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TrackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/track-mentors": { | |
| "get": { | |
| "tags": [ | |
| "Track Mentors" | |
| ], | |
| "operationId": "list_1", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageTrackMentorResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Track Mentors" | |
| ], | |
| "operationId": "assign", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AssignTrackMentorRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TrackMentorResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Track Mentors" | |
| ], | |
| "operationId": "removeByTrackAndUser", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/track-judges": { | |
| "get": { | |
| "tags": [ | |
| "Track Judges" | |
| ], | |
| "operationId": "list_2", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageTrackJudgeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Track Judges" | |
| ], | |
| "operationId": "assign_1", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AssignTrackJudgeRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TrackJudgeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Track Judges" | |
| ], | |
| "operationId": "removeByTrackAndUser_1", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/teams": { | |
| "get": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "List teams by track", | |
| "operationId": "listByTrack", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageTeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Create team (coordinator, or a team leader self-creating)", | |
| "operationId": "create_2", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateTeamRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}/reactivate": { | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Reactivate team", | |
| "operationId": "reactivate", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}/move-track": { | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Move team to another track in the same event", | |
| "operationId": "moveTrack", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/MoveTeamTrackRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}/members": { | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Add member", | |
| "operationId": "addMember", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AddTeamMemberRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}/disqualify": { | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Disqualify team", | |
| "operationId": "disqualify", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/DisqualifyTeamRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/join": { | |
| "post": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Join team by invite code", | |
| "operationId": "join", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/JoinTeamRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/team-chat": { | |
| "get": { | |
| "tags": [ | |
| "team-chat-controller" | |
| ], | |
| "operationId": "list_3", | |
| "parameters": [ | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TeamChatMessageResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "team-chat-controller" | |
| ], | |
| "operationId": "create_3", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateTeamChatMessageRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamChatMessageResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/support-tickets": { | |
| "get": { | |
| "tags": [ | |
| "support-ticket-controller" | |
| ], | |
| "operationId": "list_4", | |
| "parameters": [ | |
| { | |
| "name": "requesterId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SupportTicketResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "support-ticket-controller" | |
| ], | |
| "operationId": "create_4", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateSupportTicketRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SupportTicketResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/submissions": { | |
| "get": { | |
| "tags": [ | |
| "Submissions" | |
| ], | |
| "summary": "List submissions", | |
| "operationId": "list_5", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageSubmissionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Submissions" | |
| ], | |
| "summary": "Create or update submission", | |
| "operationId": "submit", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpsertSubmissionRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SubmissionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/scores": { | |
| "get": { | |
| "tags": [ | |
| "Scores" | |
| ], | |
| "operationId": "list_6", | |
| "parameters": [ | |
| { | |
| "name": "submissionId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "judgeId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageScoreResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Scores" | |
| ], | |
| "operationId": "upsert", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpsertScoreRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ScoreResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/rounds": { | |
| "get": { | |
| "tags": [ | |
| "Rounds" | |
| ], | |
| "summary": "List rounds by track", | |
| "operationId": "listByTrack_1", | |
| "parameters": [ | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageRoundResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Rounds" | |
| ], | |
| "summary": "Create round (coordinator only)", | |
| "operationId": "create_5", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateRoundRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-rankings/rounds/{roundId}/recalculate": { | |
| "post": { | |
| "tags": [ | |
| "Round Rankings" | |
| ], | |
| "operationId": "recalculate", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RecalculateRankingsRequest" | |
| } | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundRankingResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-participants": { | |
| "get": { | |
| "tags": [ | |
| "round-participant-controller" | |
| ], | |
| "operationId": "list_8", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "status", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "active", | |
| "promoted", | |
| "eliminated", | |
| "disqualified" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageRoundParticipantResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "round-participant-controller" | |
| ], | |
| "operationId": "add", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AddRoundParticipantRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundParticipantResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-judges": { | |
| "get": { | |
| "tags": [ | |
| "Round Judges" | |
| ], | |
| "operationId": "list_9", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageRoundJudgeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Round Judges" | |
| ], | |
| "operationId": "assign_2", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AssignRoundJudgeRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundJudgeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Round Judges" | |
| ], | |
| "operationId": "removeByRoundAndUser", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/round-criteria": { | |
| "get": { | |
| "tags": [ | |
| "Round Criteria" | |
| ], | |
| "summary": "List criteria by round", | |
| "operationId": "list_10", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageRoundCriterionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Round Criteria" | |
| ], | |
| "operationId": "create_6", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateRoundCriterionRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundCriterionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/prizes": { | |
| "get": { | |
| "tags": [ | |
| "prize-controller" | |
| ], | |
| "operationId": "list_11", | |
| "parameters": [ | |
| { | |
| "name": "eventId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PagePrizeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "prize-controller" | |
| ], | |
| "operationId": "create_7", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreatePrizeRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PrizeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/notices": { | |
| "get": { | |
| "tags": [ | |
| "notice-controller" | |
| ], | |
| "operationId": "list_12", | |
| "parameters": [ | |
| { | |
| "name": "targetRole", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| { | |
| "name": "eventId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "trackId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageNoticeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "notice-controller" | |
| ], | |
| "operationId": "create_8", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateNoticeRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/NoticeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/mentor-feedbacks": { | |
| "get": { | |
| "tags": [ | |
| "mentor-feedback-controller" | |
| ], | |
| "operationId": "list_13", | |
| "parameters": [ | |
| { | |
| "name": "trackMentorId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageMentorFeedbackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "mentor-feedback-controller" | |
| ], | |
| "operationId": "create_9", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateMentorFeedbackRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/MentorFeedbackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/join-requests": { | |
| "get": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "listForTeam", | |
| "parameters": [ | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "status", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/JoinRequestResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "create_10", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateJoinRequestRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/JoinRequestResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/join-requests/{id}/reject": { | |
| "post": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "reject", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/JoinRequestResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/join-requests/{id}/accept": { | |
| "post": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "accept", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/JoinRequestResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/incidents": { | |
| "get": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "list_14", | |
| "parameters": [ | |
| { | |
| "name": "eventId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "reporterId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "status", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "enum": [ | |
| "reported", | |
| "under_review", | |
| "resolved", | |
| "rejected" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageIncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "create_11", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateIncidentRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/incidents/{id}/evidences": { | |
| "post": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "addEvidence", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AddIncidentEvidenceRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/incidents/{id}/actions": { | |
| "post": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "addAction", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AddIncidentActionRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events": { | |
| "get": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "List events (optional filter by status)", | |
| "operationId": "list_15", | |
| "parameters": [ | |
| { | |
| "name": "status", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "enum": [ | |
| "draft", | |
| "published", | |
| "ongoing", | |
| "completed", | |
| "cancelled" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageEventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Create new event (coordinator only)", | |
| "operationId": "create_12", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateEventRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events/{id}/status": { | |
| "post": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Change event status (coordinator only)", | |
| "operationId": "changeStatus", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ChangeEventStatusRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events/{id}/setup-competition": { | |
| "post": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Build tracks + rounds and distribute teams after registration closes (coordinator only)", | |
| "operationId": "setupCompetition", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SetupCompetitionRequest" | |
| } | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SetupCompetitionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events/{id}/open-registration": { | |
| "post": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Open registration: draft -> published; auto-creates a General track (coordinator only)", | |
| "operationId": "openRegistration", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events/{id}/close-registration": { | |
| "post": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Close registration: published -> ongoing (coordinator only)", | |
| "operationId": "closeRegistration", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/criteria-templates": { | |
| "get": { | |
| "tags": [ | |
| "Criteria Templates" | |
| ], | |
| "operationId": "list_16", | |
| "parameters": [ | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageCriteriaTemplateResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "Criteria Templates" | |
| ], | |
| "operationId": "create_13", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateCriteriaTemplateRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CriteriaTemplateResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/campuses": { | |
| "get": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "campuses", | |
| "parameters": [ | |
| { | |
| "name": "universityId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageCampusResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "createCampus", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CampusRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CampusResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/auth/register": { | |
| "post": { | |
| "tags": [ | |
| "Auth" | |
| ], | |
| "summary": "Register new account (pending approval)", | |
| "operationId": "register", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RegisterRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AuthResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/auth/refresh": { | |
| "post": { | |
| "tags": [ | |
| "Auth" | |
| ], | |
| "summary": "Refresh access token", | |
| "operationId": "refresh", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RefreshRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AuthResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/auth/login": { | |
| "post": { | |
| "tags": [ | |
| "Auth" | |
| ], | |
| "summary": "Login with email + password", | |
| "operationId": "login", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/LoginRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AuthResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/audit-logs": { | |
| "get": { | |
| "tags": [ | |
| "audit-log-controller" | |
| ], | |
| "operationId": "list_17", | |
| "parameters": [ | |
| { | |
| "name": "userId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "teamId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "incidentId", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "action", | |
| "in": "query", | |
| "required": false, | |
| "schema": { | |
| "type": "string", | |
| "enum": [ | |
| "CREATE", | |
| "UPDATE", | |
| "DELETE", | |
| "APPROVE_USER", | |
| "REJECT_USER", | |
| "SUBMIT_PROJECT", | |
| "SCORE_SUBMISSION", | |
| "UPDATE_SCORE", | |
| "DISQUALIFY_TEAM", | |
| "PROMOTE_TEAM", | |
| "ELIMINATE_TEAM", | |
| "CREATE_INCIDENT", | |
| "PROCESS_INCIDENT", | |
| "RESOLVE_INCIDENT", | |
| "REJECT_INCIDENT" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "p", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageAuditLogResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "post": { | |
| "tags": [ | |
| "audit-log-controller" | |
| ], | |
| "operationId": "create_14", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CreateAuditLogRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AuditLogResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/users/{id}/status": { | |
| "patch": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "updateStatus", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateUserStatusRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/users/{id}/profile": { | |
| "patch": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "updateProfile", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateCurrentUserRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/users/me": { | |
| "get": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "me", | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "updateMe", | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateCurrentUserRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/universities/{id}": { | |
| "get": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "getUniversity", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UniversityResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "deleteUniversity", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "updateUniversity", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UniversityRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UniversityResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/tracks/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Tracks" | |
| ], | |
| "summary": "Get track by id", | |
| "operationId": "get_1", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TrackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Tracks" | |
| ], | |
| "summary": "Delete track (event must still be draft)", | |
| "operationId": "delete", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Tracks" | |
| ], | |
| "summary": "Update track (coordinator only)", | |
| "operationId": "update", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateTrackRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TrackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Get team by id", | |
| "operationId": "get_2", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Delete team", | |
| "operationId": "delete_1", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Update team", | |
| "operationId": "update_1", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateTeamRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/submissions/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Submissions" | |
| ], | |
| "summary": "Get submission", | |
| "operationId": "get_3", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SubmissionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Submissions" | |
| ], | |
| "summary": "Delete submission", | |
| "operationId": "delete_2", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Submissions" | |
| ], | |
| "summary": "Update submission", | |
| "operationId": "update_2", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateSubmissionRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/SubmissionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/rounds/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Rounds" | |
| ], | |
| "summary": "Get round by id", | |
| "operationId": "get_5", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Rounds" | |
| ], | |
| "summary": "Delete round (event must still be draft)", | |
| "operationId": "delete_4", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Rounds" | |
| ], | |
| "summary": "Update round (coordinator only)", | |
| "operationId": "update_3", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateRoundRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-participants/{id}": { | |
| "get": { | |
| "tags": [ | |
| "round-participant-controller" | |
| ], | |
| "operationId": "get_6", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundParticipantResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "round-participant-controller" | |
| ], | |
| "operationId": "delete_5", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "round-participant-controller" | |
| ], | |
| "operationId": "update_4", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateRoundParticipantRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundParticipantResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-criteria/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Round Criteria" | |
| ], | |
| "operationId": "get_7", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundCriterionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Round Criteria" | |
| ], | |
| "operationId": "delete_6", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Round Criteria" | |
| ], | |
| "operationId": "update_5", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateRoundCriterionRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/RoundCriterionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/prizes/{id}": { | |
| "get": { | |
| "tags": [ | |
| "prize-controller" | |
| ], | |
| "operationId": "get_8", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PrizeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "prize-controller" | |
| ], | |
| "operationId": "delete_7", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "prize-controller" | |
| ], | |
| "operationId": "update_6", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdatePrizeRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PrizeResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/mentor-feedbacks/{id}": { | |
| "get": { | |
| "tags": [ | |
| "mentor-feedback-controller" | |
| ], | |
| "operationId": "get_9", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/MentorFeedbackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "mentor-feedback-controller" | |
| ], | |
| "operationId": "delete_8", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "mentor-feedback-controller" | |
| ], | |
| "operationId": "update_7", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateMentorFeedbackRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/MentorFeedbackResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/incidents/{id}/status": { | |
| "patch": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "updateStatus_1", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateIncidentStatusRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/events/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Get event by id", | |
| "operationId": "get_11", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Delete event (only when status=draft)", | |
| "operationId": "delete_9", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Events" | |
| ], | |
| "summary": "Update event metadata (coordinator only)", | |
| "operationId": "update_8", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateEventRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/criteria-templates/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Criteria Templates" | |
| ], | |
| "operationId": "get_12", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CriteriaTemplateResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Criteria Templates" | |
| ], | |
| "operationId": "delete_10", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "Criteria Templates" | |
| ], | |
| "operationId": "update_9", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UpdateCriteriaTemplateRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CriteriaTemplateResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/campuses/{id}": { | |
| "get": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "getCampus", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CampusResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "deleteCampus", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| }, | |
| "patch": { | |
| "tags": [ | |
| "university-controller" | |
| ], | |
| "operationId": "updateCampus", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CampusRequest" | |
| } | |
| } | |
| }, | |
| "required": true | |
| }, | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CampusResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/users/{id}": { | |
| "get": { | |
| "tags": [ | |
| "user-controller" | |
| ], | |
| "operationId": "get", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/track-mentors/mentors/{mentorId}/teams": { | |
| "get": { | |
| "tags": [ | |
| "Track Mentors" | |
| ], | |
| "operationId": "teams", | |
| "parameters": [ | |
| { | |
| "name": "mentorId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/MentorTeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/me": { | |
| "get": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "List teams for current user", | |
| "operationId": "myTeams", | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/scores/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Scores" | |
| ], | |
| "operationId": "get_4", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ScoreResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "delete": { | |
| "tags": [ | |
| "Scores" | |
| ], | |
| "operationId": "delete_3", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/round-rankings": { | |
| "get": { | |
| "tags": [ | |
| "Round Rankings" | |
| ], | |
| "operationId": "list_7", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "pageable", | |
| "in": "query", | |
| "required": true, | |
| "schema": { | |
| "$ref": "#/components/schemas/Pageable" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/PageRoundRankingResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/round-judges/judges/{judgeId}/submissions": { | |
| "get": { | |
| "tags": [ | |
| "Round Judges" | |
| ], | |
| "operationId": "submissions", | |
| "parameters": [ | |
| { | |
| "name": "judgeId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/JudgeSubmissionResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/reports/rounds/{roundId}/ranking.csv": { | |
| "get": { | |
| "tags": [ | |
| "Reports" | |
| ], | |
| "summary": "Export round rankings as CSV (#11)", | |
| "operationId": "rankingCsv", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "text/csv": { | |
| "schema": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/reports/rounds/{roundId}/judge-variance": { | |
| "get": { | |
| "tags": [ | |
| "Reports" | |
| ], | |
| "summary": "Inter-judge variance per team/criterion for a round (#13)", | |
| "operationId": "judgeVariance", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/JudgeVarianceResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/reports/rounds/{roundId}/anonymized-dataset": { | |
| "get": { | |
| "tags": [ | |
| "Reports" | |
| ], | |
| "summary": "Anonymized scoring dataset for a round (#12)", | |
| "operationId": "anonymizedDataset", | |
| "parameters": [ | |
| { | |
| "name": "roundId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AnonymizedDatasetResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/join-requests/mine": { | |
| "get": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "listMine", | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/JoinRequestResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/incidents/{id}": { | |
| "get": { | |
| "tags": [ | |
| "Incidents" | |
| ], | |
| "operationId": "get_10", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/auth/me": { | |
| "get": { | |
| "tags": [ | |
| "Auth" | |
| ], | |
| "summary": "Get current user info from token", | |
| "operationId": "me_1", | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "type": "object", | |
| "additionalProperties": { | |
| "type": "object" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/audit-logs/{id}": { | |
| "get": { | |
| "tags": [ | |
| "audit-log-controller" | |
| ], | |
| "operationId": "get_13", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK", | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/AuditLogResponse" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/track-mentors/{id}": { | |
| "delete": { | |
| "tags": [ | |
| "Track Mentors" | |
| ], | |
| "operationId": "remove", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/track-judges/{id}": { | |
| "delete": { | |
| "tags": [ | |
| "Track Judges" | |
| ], | |
| "operationId": "remove_1", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/teams/{id}/members/{userId}": { | |
| "delete": { | |
| "tags": [ | |
| "Teams" | |
| ], | |
| "summary": "Remove member", | |
| "operationId": "removeMember", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| { | |
| "name": "userId", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/round-judges/{id}": { | |
| "delete": { | |
| "tags": [ | |
| "Round Judges" | |
| ], | |
| "operationId": "remove_2", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| }, | |
| "/join-requests/{id}": { | |
| "delete": { | |
| "tags": [ | |
| "Team Join Requests" | |
| ], | |
| "operationId": "cancel", | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "OK" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "components": { | |
| "schemas": { | |
| "UpdateUserRolesRequest": { | |
| "required": [ | |
| "roles" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "roles": { | |
| "maxItems": 2147483647, | |
| "minItems": 1, | |
| "uniqueItems": true, | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "UserResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "studentType": { | |
| "type": "string", | |
| "enum": [ | |
| "fpt", | |
| "external", | |
| "none" | |
| ] | |
| }, | |
| "studentId": { | |
| "type": "string" | |
| }, | |
| "phone": { | |
| "type": "string" | |
| }, | |
| "department": { | |
| "type": "string" | |
| }, | |
| "position": { | |
| "type": "string" | |
| }, | |
| "company": { | |
| "type": "string" | |
| }, | |
| "expertise": { | |
| "type": "string" | |
| }, | |
| "bio": { | |
| "type": "string" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "universityName": { | |
| "type": "string" | |
| }, | |
| "campusId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "campusName": { | |
| "type": "string" | |
| }, | |
| "isGuest": { | |
| "type": "boolean" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "approved", | |
| "rejected" | |
| ] | |
| }, | |
| "roles": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateUserRequest": { | |
| "required": [ | |
| "email", | |
| "fullName", | |
| "password" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| }, | |
| "password": { | |
| "maxLength": 128, | |
| "minLength": 8, | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "studentType": { | |
| "type": "string", | |
| "enum": [ | |
| "fpt", | |
| "external", | |
| "none" | |
| ] | |
| }, | |
| "studentId": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "phone": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "department": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "position": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "company": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "expertise": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "bio": { | |
| "maxLength": 2000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "campusId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "approved", | |
| "rejected" | |
| ] | |
| }, | |
| "roles": { | |
| "uniqueItems": true, | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "UniversityRequest": { | |
| "required": [ | |
| "name" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "shortName": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "country": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UniversityResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "shortName": { | |
| "type": "string" | |
| }, | |
| "country": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateTrackRequest": { | |
| "required": [ | |
| "eventId", | |
| "name" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "TrackResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "AssignTrackMentorRequest": { | |
| "required": [ | |
| "trackId", | |
| "userId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "TrackMentorResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackName": { | |
| "type": "string" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "assignedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "AssignTrackJudgeRequest": { | |
| "required": [ | |
| "trackId", | |
| "userId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "TrackJudgeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackName": { | |
| "type": "string" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "assignedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateTeamRequest": { | |
| "required": [ | |
| "name", | |
| "trackId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "leaderUserId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "memberUserIds": { | |
| "type": "array", | |
| "items": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| }, | |
| "memberEmails": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "TeamMemberResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "role": { | |
| "type": "string", | |
| "enum": [ | |
| "leader", | |
| "member" | |
| ] | |
| }, | |
| "joinedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "TeamResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "inviteCode": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "active", | |
| "disqualified" | |
| ] | |
| }, | |
| "disqualifiedReason": { | |
| "type": "string" | |
| }, | |
| "members": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TeamMemberResponse" | |
| } | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "MoveTeamTrackRequest": { | |
| "required": [ | |
| "trackId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "AddTeamMemberRequest": { | |
| "required": [ | |
| "userId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "role": { | |
| "type": "string", | |
| "enum": [ | |
| "leader", | |
| "member" | |
| ] | |
| } | |
| } | |
| }, | |
| "DisqualifyTeamRequest": { | |
| "required": [ | |
| "reason" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "reason": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "JoinTeamRequest": { | |
| "required": [ | |
| "inviteCode" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "inviteCode": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CreateTeamChatMessageRequest": { | |
| "required": [ | |
| "message", | |
| "teamId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "message": { | |
| "maxLength": 5000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "TeamChatMessageResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "senderId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "senderName": { | |
| "type": "string" | |
| }, | |
| "senderEmail": { | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateSupportTicketRequest": { | |
| "required": [ | |
| "category", | |
| "description", | |
| "priority", | |
| "subject" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "category": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "priority": { | |
| "maxLength": 20, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "subject": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "SupportTicketResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "requesterId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "requesterName": { | |
| "type": "string" | |
| }, | |
| "requesterEmail": { | |
| "type": "string" | |
| }, | |
| "category": { | |
| "type": "string" | |
| }, | |
| "priority": { | |
| "type": "string" | |
| }, | |
| "subject": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "UpsertSubmissionRequest": { | |
| "required": [ | |
| "roundId", | |
| "teamId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "repoUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "demoUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "slideUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "reportUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "apiMetadata": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "projectName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "version": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "reviewStatus": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "SubmissionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "repoUrl": { | |
| "type": "string" | |
| }, | |
| "demoUrl": { | |
| "type": "string" | |
| }, | |
| "slideUrl": { | |
| "type": "string" | |
| }, | |
| "reportUrl": { | |
| "type": "string" | |
| }, | |
| "apiMetadata": { | |
| "type": "string" | |
| }, | |
| "projectName": { | |
| "type": "string" | |
| }, | |
| "version": { | |
| "type": "string" | |
| }, | |
| "reviewStatus": { | |
| "type": "string" | |
| }, | |
| "submittedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "UpsertScoreRequest": { | |
| "required": [ | |
| "criterionId", | |
| "score", | |
| "submissionId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "submissionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "criterionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "score": { | |
| "maximum": 100.0, | |
| "exclusiveMaximum": false, | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| }, | |
| "comment": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "ScoreResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "submissionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "judgeId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "judgeEmail": { | |
| "type": "string" | |
| }, | |
| "criterionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "criterionName": { | |
| "type": "string" | |
| }, | |
| "score": { | |
| "type": "number" | |
| }, | |
| "weightedScore": { | |
| "type": "number" | |
| }, | |
| "comment": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateRoundRequest": { | |
| "required": [ | |
| "name", | |
| "submissionDeadline", | |
| "topNToPromote", | |
| "trackId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "sequenceNumber": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "submissionDeadline": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "topNToPromote": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| } | |
| } | |
| }, | |
| "RoundResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "sequenceNumber": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "submissionDeadline": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "topNToPromote": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "RecalculateRankingsRequest": { | |
| "type": "object", | |
| "properties": { | |
| "applyPromotion": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "RoundRankingResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "totalScore": { | |
| "type": "number" | |
| }, | |
| "rank": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "promoted", | |
| "eliminated", | |
| "disqualified" | |
| ] | |
| }, | |
| "tieBreakerCriterionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "tieBreakerScore": { | |
| "type": "number" | |
| }, | |
| "tieBreakerReason": { | |
| "type": "string" | |
| }, | |
| "calculatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "AddRoundParticipantRequest": { | |
| "required": [ | |
| "roundId", | |
| "teamId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "active", | |
| "promoted", | |
| "eliminated", | |
| "disqualified" | |
| ] | |
| }, | |
| "note": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "RoundParticipantResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundName": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "active", | |
| "promoted", | |
| "eliminated", | |
| "disqualified" | |
| ] | |
| }, | |
| "note": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "AssignRoundJudgeRequest": { | |
| "required": [ | |
| "roundId", | |
| "userId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "RoundJudgeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundName": { | |
| "type": "string" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "assignedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateRoundCriterionRequest": { | |
| "required": [ | |
| "name", | |
| "roundId", | |
| "weight" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "templateId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "weight": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "status": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "RoundCriterionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "templateId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "weight": { | |
| "type": "number" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreatePrizeRequest": { | |
| "required": [ | |
| "eventId", | |
| "name" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "prizeAmount": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "awardedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "PrizeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackName": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "prizeAmount": { | |
| "type": "number" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "awardedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateNoticeRequest": { | |
| "required": [ | |
| "content", | |
| "title" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "title": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "content": { | |
| "type": "string" | |
| }, | |
| "priority": { | |
| "maxLength": 20, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "targetRole": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "targetEventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "targetTrackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "targetTeamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "NoticeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "title": { | |
| "type": "string" | |
| }, | |
| "content": { | |
| "type": "string" | |
| }, | |
| "priority": { | |
| "type": "string" | |
| }, | |
| "targetRole": { | |
| "type": "string" | |
| }, | |
| "targetEventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "targetTrackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "targetTeamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "authorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "authorEmail": { | |
| "type": "string" | |
| }, | |
| "authorName": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateMentorFeedbackRequest": { | |
| "required": [ | |
| "content", | |
| "teamId", | |
| "trackMentorId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "trackMentorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "content": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "MentorFeedbackResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackMentorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "mentorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "mentorEmail": { | |
| "type": "string" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackName": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundName": { | |
| "type": "string" | |
| }, | |
| "content": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateJoinRequestRequest": { | |
| "required": [ | |
| "teamId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "message": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "JoinRequestResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userEmail": { | |
| "type": "string" | |
| }, | |
| "userFullName": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "respondedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CreateIncidentRequest": { | |
| "required": [ | |
| "description", | |
| "eventId", | |
| "title", | |
| "type" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "submissionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "type": { | |
| "type": "string", | |
| "enum": [ | |
| "cheating", | |
| "plagiarism", | |
| "invalid_submission", | |
| "rule_violation", | |
| "technical_issue", | |
| "other" | |
| ] | |
| }, | |
| "severity": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "category": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "title": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "IncidentActionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "incidentId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "actionBy": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "actionByEmail": { | |
| "type": "string" | |
| }, | |
| "actionType": { | |
| "type": "string", | |
| "enum": [ | |
| "warning", | |
| "require_resubmission", | |
| "score_adjustment", | |
| "disqualify_team", | |
| "reject_report", | |
| "other" | |
| ] | |
| }, | |
| "targetType": { | |
| "type": "string" | |
| }, | |
| "targetId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "oldValue": { | |
| "type": "string" | |
| }, | |
| "newValue": { | |
| "type": "string" | |
| }, | |
| "note": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "IncidentEvidenceResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "incidentId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "fileUrl": { | |
| "type": "string" | |
| }, | |
| "externalUrl": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "uploadedBy": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "uploadedByEmail": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "IncidentResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "submissionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "reporterId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "reporterEmail": { | |
| "type": "string" | |
| }, | |
| "assignedCoordinatorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "assignedCoordinatorEmail": { | |
| "type": "string" | |
| }, | |
| "type": { | |
| "type": "string", | |
| "enum": [ | |
| "cheating", | |
| "plagiarism", | |
| "invalid_submission", | |
| "rule_violation", | |
| "technical_issue", | |
| "other" | |
| ] | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "reported", | |
| "under_review", | |
| "resolved", | |
| "rejected" | |
| ] | |
| }, | |
| "severity": { | |
| "type": "string" | |
| }, | |
| "category": { | |
| "type": "string" | |
| }, | |
| "title": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "resolvedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "evidences": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/IncidentEvidenceResponse" | |
| } | |
| }, | |
| "actions": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/IncidentActionResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "AddIncidentEvidenceRequest": { | |
| "type": "object", | |
| "properties": { | |
| "fileUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "externalUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "AddIncidentActionRequest": { | |
| "required": [ | |
| "actionType" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "actionType": { | |
| "type": "string", | |
| "enum": [ | |
| "warning", | |
| "require_resubmission", | |
| "score_adjustment", | |
| "disqualify_team", | |
| "reject_report", | |
| "other" | |
| ] | |
| }, | |
| "targetType": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "targetId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "oldValue": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "newValue": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "note": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CreateEventRequest": { | |
| "required": [ | |
| "title" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "title": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "term": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "prizePool": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "registrationStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "registrationEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "EventResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "title": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "draft", | |
| "published", | |
| "ongoing", | |
| "completed", | |
| "cancelled" | |
| ] | |
| }, | |
| "term": { | |
| "type": "string" | |
| }, | |
| "prizePool": { | |
| "type": "string" | |
| }, | |
| "registrationStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "registrationEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "roundsCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "tracksCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "participantsCount": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "ChangeEventStatusRequest": { | |
| "required": [ | |
| "status" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "draft", | |
| "published", | |
| "ongoing", | |
| "completed", | |
| "cancelled" | |
| ] | |
| } | |
| } | |
| }, | |
| "SetupCompetitionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "tracks": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TrackSpec" | |
| } | |
| }, | |
| "finalistCount": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "roundCount": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| } | |
| } | |
| }, | |
| "TrackSpec": { | |
| "required": [ | |
| "name" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "RoundPlan": { | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "sequenceNumber": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "topNToPromote": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "seededParticipants": { | |
| "type": "integer", | |
| "format": "int32" | |
| } | |
| } | |
| }, | |
| "SetupCompetitionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "eventId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "totalTeams": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "trackCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "roundsPerTrack": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "tracks": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TrackPlan" | |
| } | |
| } | |
| } | |
| }, | |
| "TrackPlan": { | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "teamCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "rounds": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundPlan" | |
| } | |
| } | |
| } | |
| }, | |
| "CreateCriteriaTemplateRequest": { | |
| "required": [ | |
| "defaultWeight", | |
| "name" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "defaultWeight": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "CriteriaTemplateResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "defaultWeight": { | |
| "type": "number" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "CampusRequest": { | |
| "required": [ | |
| "name", | |
| "universityId" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "address": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "city": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CampusResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "universityName": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "address": { | |
| "type": "string" | |
| }, | |
| "city": { | |
| "type": "string" | |
| }, | |
| "createdAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "updatedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "RegisterRequest": { | |
| "required": [ | |
| "email", | |
| "fullName", | |
| "password" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| }, | |
| "password": { | |
| "maxLength": 128, | |
| "minLength": 8, | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "studentType": { | |
| "type": "string", | |
| "enum": [ | |
| "fpt", | |
| "external", | |
| "none" | |
| ] | |
| }, | |
| "studentId": { | |
| "type": "string" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "universityName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "campusId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "AuthResponse": { | |
| "type": "object", | |
| "properties": { | |
| "accessToken": { | |
| "type": "string" | |
| }, | |
| "refreshToken": { | |
| "type": "string" | |
| }, | |
| "user": { | |
| "$ref": "#/components/schemas/UserSummary" | |
| } | |
| } | |
| }, | |
| "UserSummary": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullName": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string" | |
| }, | |
| "studentType": { | |
| "type": "string" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "universityName": { | |
| "type": "string" | |
| }, | |
| "campusId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "campusName": { | |
| "type": "string" | |
| }, | |
| "isGuest": { | |
| "type": "boolean" | |
| }, | |
| "roles": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "RefreshRequest": { | |
| "required": [ | |
| "refreshToken" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "refreshToken": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "LoginRequest": { | |
| "required": [ | |
| "email", | |
| "password" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| }, | |
| "password": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CreateAuditLogRequest": { | |
| "required": [ | |
| "action", | |
| "targetId", | |
| "targetType" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "incidentId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "CREATE", | |
| "UPDATE", | |
| "DELETE", | |
| "APPROVE_USER", | |
| "REJECT_USER", | |
| "SUBMIT_PROJECT", | |
| "SCORE_SUBMISSION", | |
| "UPDATE_SCORE", | |
| "DISQUALIFY_TEAM", | |
| "PROMOTE_TEAM", | |
| "ELIMINATE_TEAM", | |
| "CREATE_INCIDENT", | |
| "PROCESS_INCIDENT", | |
| "RESOLVE_INCIDENT", | |
| "REJECT_INCIDENT" | |
| ] | |
| }, | |
| "targetType": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "targetId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "oldValue": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "newValue": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "details": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "AuditLogResponse": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "userEmail": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "incidentId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "CREATE", | |
| "UPDATE", | |
| "DELETE", | |
| "APPROVE_USER", | |
| "REJECT_USER", | |
| "SUBMIT_PROJECT", | |
| "SCORE_SUBMISSION", | |
| "UPDATE_SCORE", | |
| "DISQUALIFY_TEAM", | |
| "PROMOTE_TEAM", | |
| "ELIMINATE_TEAM", | |
| "CREATE_INCIDENT", | |
| "PROCESS_INCIDENT", | |
| "RESOLVE_INCIDENT", | |
| "REJECT_INCIDENT" | |
| ] | |
| }, | |
| "targetType": { | |
| "type": "string" | |
| }, | |
| "targetId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "oldValue": { | |
| "type": "string" | |
| }, | |
| "newValue": { | |
| "type": "string" | |
| }, | |
| "details": { | |
| "type": "string" | |
| }, | |
| "occurredAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "UpdateUserStatusRequest": { | |
| "required": [ | |
| "status" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "approved", | |
| "rejected" | |
| ] | |
| } | |
| } | |
| }, | |
| "UpdateCurrentUserRequest": { | |
| "type": "object", | |
| "properties": { | |
| "fullName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "studentId": { | |
| "maxLength": 100, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "phone": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "department": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "position": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "company": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "expertise": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "bio": { | |
| "maxLength": 2000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "universityId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "campusId": { | |
| "type": "string", | |
| "format": "uuid" | |
| } | |
| } | |
| }, | |
| "UpdateTrackRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateTeamRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateSubmissionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "repoUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "demoUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "slideUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "reportUrl": { | |
| "maxLength": 500, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "apiMetadata": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "projectName": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "version": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "reviewStatus": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateRoundRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "sequenceNumber": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "submissionDeadline": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "topNToPromote": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| } | |
| } | |
| }, | |
| "UpdateRoundParticipantRequest": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "pending", | |
| "active", | |
| "promoted", | |
| "eliminated", | |
| "disqualified" | |
| ] | |
| }, | |
| "note": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateRoundCriterionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "weight": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "status": { | |
| "maxLength": 50, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdatePrizeRequest": { | |
| "type": "object", | |
| "properties": { | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "prizeAmount": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "awardedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "UpdateMentorFeedbackRequest": { | |
| "required": [ | |
| "content" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "content": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateIncidentStatusRequest": { | |
| "required": [ | |
| "status" | |
| ], | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "reported", | |
| "under_review", | |
| "resolved", | |
| "rejected" | |
| ] | |
| }, | |
| "assignedCoordinatorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "note": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UpdateEventRequest": { | |
| "type": "object", | |
| "properties": { | |
| "title": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "term": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "prizePool": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "registrationStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "registrationEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventStart": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "eventEnd": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "UpdateCriteriaTemplateRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "description": { | |
| "maxLength": 10000, | |
| "minLength": 0, | |
| "type": "string" | |
| }, | |
| "defaultWeight": { | |
| "minimum": 0.0, | |
| "exclusiveMinimum": false, | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "Pageable": { | |
| "type": "object", | |
| "properties": { | |
| "page": { | |
| "minimum": 0, | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "minimum": 1, | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "PageUserResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/UserResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageableObject": { | |
| "type": "object", | |
| "properties": { | |
| "offset": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "unpaged": { | |
| "type": "boolean" | |
| }, | |
| "pageNumber": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "paged": { | |
| "type": "boolean" | |
| }, | |
| "pageSize": { | |
| "type": "integer", | |
| "format": "int32" | |
| } | |
| } | |
| }, | |
| "SortObject": { | |
| "type": "object", | |
| "properties": { | |
| "direction": { | |
| "type": "string" | |
| }, | |
| "nullHandling": { | |
| "type": "string" | |
| }, | |
| "ascending": { | |
| "type": "boolean" | |
| }, | |
| "property": { | |
| "type": "string" | |
| }, | |
| "ignoreCase": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageUniversityResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/UniversityResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageTrackResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TrackResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageTrackMentorResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TrackMentorResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "MentorTeamResponse": { | |
| "type": "object", | |
| "properties": { | |
| "trackMentorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "mentorId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "trackName": { | |
| "type": "string" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundName": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "teamStatus": { | |
| "type": "string", | |
| "enum": [ | |
| "active", | |
| "disqualified" | |
| ] | |
| } | |
| } | |
| }, | |
| "PageTrackJudgeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TrackJudgeResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageTeamResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TeamResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageSubmissionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SubmissionResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageScoreResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/ScoreResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageRoundResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageRoundRankingResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundRankingResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageRoundParticipantResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundParticipantResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageRoundJudgeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundJudgeResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "JudgeSubmissionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "roundJudgeId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "judgeId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "roundName": { | |
| "type": "string" | |
| }, | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "submissionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "submittedAt": { | |
| "type": "string", | |
| "format": "date-time" | |
| } | |
| } | |
| }, | |
| "PageRoundCriterionResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/RoundCriterionResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "JudgeVarianceResponse": { | |
| "type": "object", | |
| "properties": { | |
| "teamId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamName": { | |
| "type": "string" | |
| }, | |
| "criterionId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "criterionName": { | |
| "type": "string" | |
| }, | |
| "judgeCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "scores": { | |
| "type": "array", | |
| "items": { | |
| "type": "number" | |
| } | |
| }, | |
| "meanScore": { | |
| "type": "number" | |
| }, | |
| "variance": { | |
| "type": "number" | |
| }, | |
| "stddev": { | |
| "type": "number" | |
| }, | |
| "minScore": { | |
| "type": "number" | |
| }, | |
| "maxScore": { | |
| "type": "number" | |
| }, | |
| "spread": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "AnonymizedDatasetResponse": { | |
| "type": "object", | |
| "properties": { | |
| "roundId": { | |
| "type": "string", | |
| "format": "uuid" | |
| }, | |
| "teamCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "judgeCount": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "rows": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/Row" | |
| } | |
| } | |
| } | |
| }, | |
| "Row": { | |
| "type": "object", | |
| "properties": { | |
| "teamAlias": { | |
| "type": "string" | |
| }, | |
| "judgeAlias": { | |
| "type": "string" | |
| }, | |
| "criterionName": { | |
| "type": "string" | |
| }, | |
| "criterionWeight": { | |
| "type": "number" | |
| }, | |
| "score": { | |
| "type": "number" | |
| }, | |
| "weightedScore": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "PagePrizeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/PrizeResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageNoticeResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/NoticeResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageMentorFeedbackResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/MentorFeedbackResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageIncidentResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/IncidentResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageEventResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/EventResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageCriteriaTemplateResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/CriteriaTemplateResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageCampusResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/CampusResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "PageAuditLogResponse": { | |
| "type": "object", | |
| "properties": { | |
| "totalElements": { | |
| "type": "integer", | |
| "format": "int64" | |
| }, | |
| "totalPages": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "size": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "content": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/AuditLogResponse" | |
| } | |
| }, | |
| "number": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "sort": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/SortObject" | |
| } | |
| }, | |
| "numberOfElements": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "pageable": { | |
| "$ref": "#/components/schemas/PageableObject" | |
| }, | |
| "first": { | |
| "type": "boolean" | |
| }, | |
| "last": { | |
| "type": "boolean" | |
| }, | |
| "empty": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |