{"swagger": "2.0", "info": {"title": "FCApp ver 2 API", "description": "FCApp API new version", "termsOfService": "we use ur data, deal with it", "contact": {"email": "contact@akanza.pl"}, "license": {"name": "BSD License"}, "version": "v1"}, "host": "api.footballchallengeapp.com", "schemes": ["http"], "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Basic": {"type": "basic"}}, "security": [{"Basic": []}], "paths": {"/academy-codes/activate/": {"post": {"operationId": "academy-codes_activate_code", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/AcademyCodeActivate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/AcademyCodeActivate"}}}, "tags": ["academy-codes"]}, "parameters": []}, "/academy-codes/last-code/": {"get": {"operationId": "academy-codes_last_code", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/AcademyCode"}}}, "tags": ["academy-codes"]}, "parameters": []}, "/api-token-refresh/": {"post": {"operationId": "api-token-refresh_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomRefreshJSONWebToken"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CustomRefreshJSONWebToken"}}}, "tags": ["api-token-refresh"]}, "parameters": []}, "/api-token-verify/": {"post": {"operationId": "api-token-verify_create", "description": "API View that checks the veracity of a token, returning the token if it\nis valid.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/VerifyJSONWebToken"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/VerifyJSONWebToken"}}}, "tags": ["api-token-verify"]}, "parameters": []}, "/api-token/": {"post": {"operationId": "api-token_create", "summary": "API View that receives a POST with a user's username and password.", "description": "Returns a JSON Web Token that can be used for authenticated requests.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/JSONWebToken"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/JSONWebToken"}}}, "tags": ["api-token"]}, "parameters": []}, "/api/auth/login/": {"post": {"operationId": "api_auth_login_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomLogin"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CustomLogin"}}}, "tags": ["api"]}, "parameters": []}, "/auth/apple/": {"post": {"operationId": "auth_apple_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Apple"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Apple"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/facebook/": {"post": {"operationId": "auth_facebook_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SocialLogin"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SocialLogin"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/google/": {"post": {"operationId": "auth_google_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SocialLogin"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SocialLogin"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/login/": {"post": {"operationId": "auth_login_create", "description": "Check the credentials and return the REST Token\nif the credentials are valid and authenticated.\nCalls Django Auth login method to register User ID\nin Django session framework\n\nAccept the following POST parameters: username, password\nReturn the REST Framework Token Object's key.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomLogin"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CustomLogin"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/logout/": {"get": {"operationId": "auth_logout_list", "summary": "Calls Django logout method and delete the Token object\nassigned to the current User object.", "description": "Accepts/Returns nothing.", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["auth"]}, "post": {"operationId": "auth_logout_create", "summary": "Calls Django logout method and delete the Token object\nassigned to the current User object.", "description": "Accepts/Returns nothing.", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["auth"]}, "parameters": []}, "/auth/password/change/": {"post": {"operationId": "auth_password_change_create", "summary": "Calls Django Auth SetPasswordForm save method.", "description": "Accepts the following POST parameters: new_password1, new_password2\nReturns the success/fail message.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/PasswordChange"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/PasswordChange"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/password/reset/": {"post": {"operationId": "auth_password_reset_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomPasswordReset"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CustomPasswordReset"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/password/reset/confirm/": {"post": {"operationId": "auth_password_reset_confirm_create", "summary": "Password reset e-mail link is confirmed, therefore\nthis resets the user's password.", "description": "Accepts the following POST parameters: token, uid,\n    new_password1, new_password2\nReturns the success/fail message.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/PasswordResetConfirm"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/PasswordResetConfirm"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/registration/": {"post": {"operationId": "auth_registration_create", "description": "At this moment, it is exclusively done to add a value user_id to the POST response.\nThis value is used by the front to send logs.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomRegister"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CustomRegister"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/registration/verify-email/": {"post": {"operationId": "auth_registration_verify-email_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/VerifyEmail"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/VerifyEmail"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/resend-verification-email/": {"post": {"operationId": "auth_resend-verification-email_create", "description": "", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["auth"]}, "parameters": []}, "/auth/user/": {"get": {"operationId": "auth_user_read", "summary": "Reads and updates UserModel fields\nAccepts GET, PUT, PATCH methods.", "description": "Default accepted fields: username, first_name, last_name\nDefault display fields: pk, username, email, first_name, last_name\nRead-only fields: pk, email\n\nReturns UserModel fields.", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/CustomUserDetails"}}}, "tags": ["auth"]}, "put": {"operationId": "auth_user_update", "summary": "Reads and updates UserModel fields\nAccepts GET, PUT, PATCH methods.", "description": "Default accepted fields: username, first_name, last_name\nDefault display fields: pk, username, email, first_name, last_name\nRead-only fields: pk, email\n\nReturns UserModel fields.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomUserDetails"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/CustomUserDetails"}}}, "tags": ["auth"]}, "patch": {"operationId": "auth_user_partial_update", "summary": "Reads and updates UserModel fields\nAccepts GET, PUT, PATCH methods.", "description": "Default accepted fields: username, first_name, last_name\nDefault display fields: pk, username, email, first_name, last_name\nRead-only fields: pk, email\n\nReturns UserModel fields.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CustomUserDetails"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/CustomUserDetails"}}}, "tags": ["auth"]}, "parameters": []}, "/banner/": {"get": {"operationId": "banner_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/BannerList"}}}}, "tags": ["banner"]}, "parameters": []}, "/config/about/": {"get": {"operationId": "config_about_read", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["config"]}, "parameters": []}, "/config/help/": {"get": {"operationId": "config_help_read", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["config"]}, "parameters": []}, "/config/policy/": {"get": {"operationId": "config_policy", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["config"]}, "parameters": []}, "/config/regulation/": {"get": {"operationId": "config_regulation", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["config"]}, "parameters": []}, "/config/version/": {"get": {"operationId": "config_version_read", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["config"]}, "parameters": []}, "/download-report/{public_id}/": {"get": {"operationId": "download-report_read", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["download-report"]}, "parameters": [{"name": "public_id", "in": "path", "required": true, "type": "string"}]}, "/event_invitation/": {"get": {"operationId": "event_invitation_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "event", "in": "query", "required": true, "type": "number"}, {"name": "team", "in": "query", "required": true, "type": "number"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventInvitationList"}}}}}}, "tags": ["event_invitation"]}, "post": {"operationId": "event_invitation_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RequestCreateEventInvitation"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/RequestCreateEventInvitation"}}}, "tags": ["event_invitation"]}, "parameters": []}, "/event_invitation/{id}/": {"put": {"operationId": "event_invitation_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventInvitationUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventInvitationUpdate"}}}, "tags": ["event_invitation"]}, "patch": {"operationId": "event_invitation_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventInvitationUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventInvitationUpdate"}}}, "tags": ["event_invitation"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event invitation.", "required": true, "type": "integer"}]}, "/event_organizers/{id}/status/": {"post": {"operationId": "event_organizers_update_status", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/OrganizerStatusRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/OrganizerStatusRequest"}}}, "tags": ["event_organizers"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event organizer.", "required": true, "type": "integer"}]}, "/event_request/": {"get": {"operationId": "event_request_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "event", "in": "query", "type": "number"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventRequestList"}}}}}}, "tags": ["event_request"]}, "post": {"operationId": "event_request_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventRequestSave"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/EventRequestSave"}}}, "tags": ["event_request"]}, "parameters": []}, "/event_request/{id}/": {"put": {"operationId": "event_request_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventRequestSave"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventRequestSave"}}}, "tags": ["event_request"]}, "patch": {"operationId": "event_request_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventRequestSave"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventRequestSave"}}}, "tags": ["event_request"]}, "delete": {"operationId": "event_request_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["event_request"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event request.", "required": true, "type": "integer"}]}, "/events/": {"get": {"operationId": "events_list", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/dashboard/": {"get": {"operationId": "events_dashboard", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/end/": {"get": {"operationId": "events_end_read", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/liked/": {"get": {"operationId": "events_liked_read", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/my/": {"get": {"operationId": "events_my_read", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/popular/": {"get": {"operationId": "events_popular", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/teams_observed_by_scout/": {"get": {"operationId": "events_teams_observed_by_scout_read", "description": "", "parameters": [{"name": "start_date", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "cities_radius", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_league", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "no_entry_fee_game", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/EventWithRequestCounter"}}}}}}, "tags": ["events"]}, "parameters": []}, "/events/{id}/": {"put": {"operationId": "events_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "patch": {"operationId": "events_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/like/": {"post": {"operationId": "events_like_create", "description": "", "parameters": [], "responses": {"201": {"description": "Successfully liked event"}}, "tags": ["events"]}, "delete": {"operationId": "events_like_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/my_invitation/": {"get": {"operationId": "events_my_invitation_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/my_reported_teams/": {"get": {"operationId": "events_my_reported_teams_read", "description": "", "parameters": [{"name": "status", "in": "query", "type": "number"}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/my_teams/": {"get": {"operationId": "events_my_teams_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/organizer_upcoming/": {"get": {"operationId": "events_organizer_upcoming_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/player_finished/": {"get": {"operationId": "events_player_finished_events", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/events/{id}/player_ongoing/": {"get": {"operationId": "events_player_ongoing_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EventWithRequestCounter"}}}, "tags": ["events"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/gcm_device/": {"post": {"operationId": "gcm_device_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GCMDeviceCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/GCMDeviceCreate"}}}, "tags": ["gcm_device"]}, "parameters": []}, "/goal_scorer/": {"post": {"operationId": "goal_scorer_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GoalScorerCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/GoalScorerCreate"}}}, "tags": ["goal_scorer"]}, "parameters": []}, "/goal_scorer/best_event_scorers/": {"get": {"operationId": "goal_scorer_best_event_scorers_read", "description": "", "parameters": [{"name": "tournament_match", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "league_match", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "sparring", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_own_goal", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "tournament", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "league", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/RetrieveGoalScorer"}}}}, "tags": ["goal_scorer"]}, "parameters": []}, "/goal_scorer/update_many/": {"post": {"operationId": "goal_scorer_update_many", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"type": "array", "items": {"$ref": "#/definitions/GoalScorerUpdateMany"}}}], "responses": {"201": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/GoalScorerUpdateMany"}}}}, "tags": ["goal_scorer"]}, "parameters": []}, "/goal_scorer/{id}/remove_goal/": {"patch": {"operationId": "goal_scorer_remove_goal", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GoalScorerCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/GoalScorerCreate"}}}, "tags": ["goal_scorer"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this goal scorer.", "required": true, "type": "integer"}]}, "/group_result/tournament_table/": {"patch": {"operationId": "group_result_tournament_table", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditGroupResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditGroupResult"}}}, "tags": ["group_result"]}, "parameters": []}, "/group_result/{id}/": {"put": {"operationId": "group_result_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditGroupResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditGroupResult"}}}, "tags": ["group_result"]}, "patch": {"operationId": "group_result_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditGroupResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditGroupResult"}}}, "tags": ["group_result"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this group result.", "required": true, "type": "integer"}]}, "/groups/mix_teams_into_groups/": {"patch": {"operationId": "groups_mix_teams_into_groups", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GroupInTournamentBase"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/GroupInTournamentBase"}}}, "tags": ["groups"]}, "parameters": []}, "/groups/update_many/": {"post": {"operationId": "groups_update_many", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"type": "array", "items": {"$ref": "#/definitions/GroupInTournamentUpdateMany"}}}], "responses": {"201": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/GroupInTournamentUpdateMany"}}}}, "tags": ["groups"]}, "parameters": []}, "/groups/{id}/": {"put": {"operationId": "groups_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GroupInTournamentUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/GroupInTournamentUpdate"}}}, "tags": ["groups"]}, "patch": {"operationId": "groups_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/GroupInTournamentUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/GroupInTournamentUpdate"}}}, "tags": ["groups"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this group in tournament.", "required": true, "type": "integer"}]}, "/individual_training/": {"get": {"operationId": "individual_training_list", "description": "", "parameters": [{"name": "search_by", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/IndividualTrainingList"}}}}}}, "tags": ["individual_training"]}, "parameters": []}, "/individual_training/{id}/": {"get": {"operationId": "individual_training_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/IndividualTraining"}}}, "tags": ["individual_training"]}, "put": {"operationId": "individual_training_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/IndividualTrainingUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/IndividualTrainingUpdate"}}}, "tags": ["individual_training"]}, "patch": {"operationId": "individual_training_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/IndividualTrainingUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/IndividualTrainingUpdate"}}}, "tags": ["individual_training"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/league/": {"post": {"operationId": "league_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueCreate"}}}, "tags": ["league"]}, "parameters": []}, "/league/duration/": {"post": {"operationId": "league_duration", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueDuration"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueDuration"}}}, "tags": ["league"]}, "parameters": []}, "/league/duration_validate/": {"post": {"operationId": "league_duration_validate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueDurationValidation"}}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/LeagueDurationValidationResponse"}}}}, "tags": ["league"]}, "parameters": []}, "/league/number_of_matches/": {"post": {"operationId": "league_number_of_matches", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchNumber"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchNumber"}}}, "tags": ["league"]}, "parameters": []}, "/league/simulation/": {"post": {"operationId": "league_simulation", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueSimulationRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueSimulationRequest"}}}, "tags": ["league"]}, "parameters": []}, "/league/{id}/": {"get": {"operationId": "league_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "put": {"operationId": "league_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueUpdate"}}}, "tags": ["league"]}, "patch": {"operationId": "league_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueUpdate"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/confirm/": {"post": {"operationId": "league_confirm", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueRetrieve"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/download_timetable/": {"get": {"operationId": "league_download_timetable", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/generate/": {"post": {"operationId": "league_generate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueRetrieve"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/invite_team/": {"post": {"operationId": "league_invite_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/InviteManyTeamsToEvent"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/InviteManyTeamsToEvent"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/matches/": {"get": {"operationId": "league_matches", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/remove_all_matches/": {"delete": {"operationId": "league_remove_all_matches", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/replace_team/": {"post": {"operationId": "league_replace_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReplaceTeamInLeague"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReplaceTeamInLeague"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/results/": {"get": {"operationId": "league_results_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/sponsors/": {"post": {"operationId": "league_sponsors", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditEventSponsor"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/EditEventSponsor"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league/{id}/timetable/": {"get": {"operationId": "league_timetable", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueRetrieve"}}}, "tags": ["league"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league.", "required": true, "type": "integer"}]}, "/league_matches/{id}/": {"put": {"operationId": "league_matches_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchUpdate"}}}, "tags": ["league_matches"]}, "patch": {"operationId": "league_matches_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchUpdate"}}}, "tags": ["league_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league match.", "required": true, "type": "integer"}]}, "/league_matches/{id}/break_before/": {"post": {"operationId": "league_matches_break_before_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/BreakBetweenLeagueMatches"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/BreakBetweenLeagueMatches"}}}, "tags": ["league_matches"]}, "patch": {"operationId": "league_matches_break_before_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/BreakBetweenLeagueMatches"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/BreakBetweenLeagueMatches"}}}, "tags": ["league_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league match.", "required": true, "type": "integer"}]}, "/league_matches/{id}/finish/": {"post": {"operationId": "league_matches_finish", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchWithResultTimetable"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchWithResultTimetable"}}}, "tags": ["league_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league match.", "required": true, "type": "integer"}]}, "/league_matches/{id}/result/": {"patch": {"operationId": "league_matches_set_result", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchSetResultRequest"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchSetResultRequest"}}}, "tags": ["league_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league match.", "required": true, "type": "integer"}]}, "/league_matches/{id}/walkover/": {"patch": {"operationId": "league_matches_walkover", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/LeagueMatchWalkoverRequest"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/LeagueMatchWalkoverRequest"}}}, "tags": ["league_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league match.", "required": true, "type": "integer"}]}, "/league_result/league_table/": {"patch": {"operationId": "league_result_league_table", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditLeagueResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditLeagueResult"}}}, "tags": ["league_result"]}, "parameters": []}, "/league_result/{id}/": {"put": {"operationId": "league_result_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditLeagueResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditLeagueResult"}}}, "tags": ["league_result"]}, "patch": {"operationId": "league_result_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditLeagueResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditLeagueResult"}}}, "tags": ["league_result"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this league result.", "required": true, "type": "integer"}]}, "/match_statistics/": {"post": {"operationId": "match_statistics_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerCreate"}}}, "tags": ["match_statistics"]}, "parameters": []}, "/match_statistics/{id}/": {"put": {"operationId": "match_statistics_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerUpdate"}}}, "tags": ["match_statistics"]}, "patch": {"operationId": "match_statistics_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsEnteredByTrainerUpdate"}}}, "tags": ["match_statistics"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this statistic entered by trainer.", "required": true, "type": "integer"}]}, "/match_statistics_goalkeeper_by_fan/": {"post": {"operationId": "match_statistics_goalkeeper_by_fan_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanCreate"}}}, "tags": ["match_statistics_goalkeeper_by_fan"]}, "parameters": []}, "/match_statistics_goalkeeper_by_fan/{id}/": {"get": {"operationId": "match_statistics_goalkeeper_by_fan_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanCreate"}}}, "tags": ["match_statistics_goalkeeper_by_fan"]}, "put": {"operationId": "match_statistics_goalkeeper_by_fan_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanUpdate"}}}, "tags": ["match_statistics_goalkeeper_by_fan"]}, "patch": {"operationId": "match_statistics_goalkeeper_by_fan_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForGoalKeeperEnteredByFanUpdate"}}}, "tags": ["match_statistics_goalkeeper_by_fan"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this statistic for goalkeeper entered by fan.", "required": true, "type": "integer"}]}, "/match_statistics_player_by_fan/": {"post": {"operationId": "match_statistics_player_by_fan_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanCreate"}}}, "tags": ["match_statistics_player_by_fan"]}, "parameters": []}, "/match_statistics_player_by_fan/{id}/": {"get": {"operationId": "match_statistics_player_by_fan_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanCreate"}}}, "tags": ["match_statistics_player_by_fan"]}, "put": {"operationId": "match_statistics_player_by_fan_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanUpdate"}}}, "tags": ["match_statistics_player_by_fan"]}, "patch": {"operationId": "match_statistics_player_by_fan_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/StatisticsForPlayerInFieldEnteredByFanUpdate"}}}, "tags": ["match_statistics_player_by_fan"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this statistic for player in field entered by fan.", "required": true, "type": "integer"}]}, "/motivation/": {"get": {"operationId": "motivation_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": ""}}, "tags": ["motivation"]}, "parameters": []}, "/motivation/proteges/": {"get": {"operationId": "motivation_proteges_read", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": ""}}, "tags": ["motivation"]}, "parameters": []}, "/motivation/team_members/": {"get": {"operationId": "motivation_team_members_read", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "team", "in": "query", "type": "number"}], "responses": {"200": {"description": ""}}, "tags": ["motivation"]}, "parameters": []}, "/motivation_badges/": {"post": {"operationId": "motivation_badges_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CreateBadges"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CreateBadges"}}}, "tags": ["motivation_badges"]}, "parameters": []}, "/motivation_info/": {"get": {"operationId": "motivation_info_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/LevelInformation"}}}}}}, "tags": ["motivation_info"]}, "parameters": []}, "/motivation_info/{id}/": {"delete": {"operationId": "motivation_info_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["motivation_info"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this level information.", "required": true, "type": "integer"}]}, "/notification/": {"get": {"operationId": "notification_list", "description": "", "parameters": [{"name": "is_read", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "state", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Notification"}}}}}}, "tags": ["notification"]}, "parameters": []}, "/notification/count/": {"get": {"operationId": "notification_count_read", "description": "", "parameters": [{"name": "is_read", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "state", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Notification"}}}}}}, "tags": ["notification"]}, "parameters": []}, "/notification/read_all/": {"post": {"operationId": "notification_read_all", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Notification"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Notification"}}}, "tags": ["notification"]}, "parameters": []}, "/notification/read_many/": {"post": {"operationId": "notification_read_many", "description": "Marks the given notifications of the current user as read, other users' ids are skipped.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Notification"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Notification"}}}, "tags": ["notification"]}, "parameters": []}, "/notification/{id}/read/": {"post": {"operationId": "notification_read", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Notification"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Notification"}}}, "tags": ["notification"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this notification.", "required": true, "type": "integer"}]}, "/notification_preferences/me/": {"get": {"operationId": "notification_preferences_me_read", "description": "Settings of the \"new event\" notification of the current trainer (869ff43ev).", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/NotificationPreferences"}}}}}}, "tags": ["notification_preferences"]}, "put": {"operationId": "notification_preferences_me_update", "description": "Settings of the \"new event\" notification of the current trainer (869ff43ev).", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/NotificationPreferences"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/NotificationPreferences"}}}, "tags": ["notification_preferences"]}, "parameters": []}, "/notification_preferences/me/dismiss_banner/": {"post": {"operationId": "notification_preferences_me_dismiss_banner", "description": "Settings of the \"new event\" notification of the current trainer (869ff43ev).", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/NotificationPreferences"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/NotificationPreferences"}}}, "tags": ["notification_preferences"]}, "parameters": []}, "/onboarding/": {"get": {"operationId": "onboarding_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Onboarding"}}}}}}, "tags": ["onboarding"]}, "parameters": []}, "/payment/": {"get": {"operationId": "payment_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Payment"}}}}}}, "tags": ["payment"]}, "post": {"operationId": "payment_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Payment"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Payment"}}}, "tags": ["payment"]}, "parameters": []}, "/payment/{id}/": {"get": {"operationId": "payment_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Payment"}}}, "tags": ["payment"]}, "put": {"operationId": "payment_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Payment"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Payment"}}}, "tags": ["payment"]}, "patch": {"operationId": "payment_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Payment"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Payment"}}}, "tags": ["payment"]}, "delete": {"operationId": "payment_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["payment"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this payment.", "required": true, "type": "integer"}]}, "/players/{id}/profile/": {"get": {"operationId": "players_profile_read", "description": "Player profile v2 (869fm5dtu): profile, trophies list, \"Recent\" seen marker.", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["players"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this player user.", "required": true, "type": "integer"}]}, "/players/{id}/profile/recent_seen/": {"post": {"operationId": "players_profile_recent_seen", "description": "Player profile v2 (869fm5dtu): profile, trophies list, \"Recent\" seen marker.", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["players"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this player user.", "required": true, "type": "integer"}]}, "/players/{id}/trophies/": {"get": {"operationId": "players_trophies_read", "description": "Player profile v2 (869fm5dtu): profile, trophies list, \"Recent\" seen marker.", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["players"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this player user.", "required": true, "type": "integer"}]}, "/protege/": {"get": {"operationId": "protege_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ListProtege"}}}}}}, "tags": ["protege"]}, "post": {"operationId": "protege_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CreateProtege"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CreateProtege"}}}, "tags": ["protege"]}, "parameters": []}, "/protege/{id}/": {"put": {"operationId": "protege_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CreateProtege"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/CreateProtege"}}}, "tags": ["protege"]}, "patch": {"operationId": "protege_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CreateProtege"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/CreateProtege"}}}, "tags": ["protege"]}, "delete": {"operationId": "protege_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["protege"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/ranking_organizers/": {"get": {"operationId": "ranking_organizers_list", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/OrganizerRanking"}}}}}}, "tags": ["ranking_organizers"]}, "parameters": []}, "/ranking_organizers/initial-offset/": {"get": {"operationId": "ranking_organizers_initial-offset_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["ranking_organizers"]}, "parameters": []}, "/ranking_organizers/top-positions/": {"get": {"operationId": "ranking_organizers_top-positions_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/OrganizerRanking"}}}}}}, "tags": ["ranking_organizers"]}, "parameters": []}, "/ranking_organizers/waiting-ratings/": {"get": {"operationId": "ranking_organizers_waiting-ratings_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/OrganizerRanking"}}}}}}, "tags": ["ranking_organizers"]}, "parameters": []}, "/ranking_organizers/{id}/rate/": {"post": {"operationId": "ranking_organizers_rate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["stars"], "type": "object", "properties": {"stars": {"description": "Rating in stars (1\u20135)", "type": "integer"}}}}], "responses": {"200": {"description": "Returns success and rating"}, "403": {"description": "Permission denied"}}, "tags": ["ranking_organizers"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this organizer rating.", "required": true, "type": "integer"}]}, "/ranking_organizers/{id}/reject-rating/": {"post": {"operationId": "ranking_organizers_reject_rating", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/OrganizerRanking"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/OrganizerRanking"}}}, "tags": ["ranking_organizers"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this organizer rating.", "required": true, "type": "integer"}]}, "/ranking_organizers/{id}/user-tournaments/": {"get": {"operationId": "ranking_organizers_user-tournaments_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/OrganizerRanking"}}}, "tags": ["ranking_organizers"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this organizer rating.", "required": true, "type": "integer"}]}, "/ranking_players/": {"get": {"operationId": "ranking_players_list", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "month", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/PlayerRanking"}}}}}}, "tags": ["ranking_players"]}, "parameters": []}, "/ranking_players/initial-offset/": {"get": {"operationId": "ranking_players_initial-offset_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "month", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["ranking_players"]}, "parameters": []}, "/ranking_players/season-choices/": {"get": {"operationId": "ranking_players_season-choices_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "month", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["ranking_players"]}, "parameters": []}, "/ranking_players/top-positions/": {"get": {"operationId": "ranking_players_top-positions_read", "description": "", "parameters": [{"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "month", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/PlayerRanking"}}}}}}, "tags": ["ranking_players"]}, "parameters": []}, "/ranking_teams/": {"get": {"operationId": "ranking_teams_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "period", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamRanking"}}}}}}, "tags": ["ranking_teams"]}, "parameters": []}, "/ranking_teams/events/": {"get": {"operationId": "ranking_teams_events_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": ""}}, "tags": ["ranking_teams"]}, "parameters": []}, "/ranking_teams/events/{id}/calculate-rankings/": {"post": {"operationId": "ranking_teams_events_calculate_rankings", "description": "", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["ranking_teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this event.", "required": true, "type": "integer"}]}, "/ranking_teams/initial-offset/": {"get": {"operationId": "ranking_teams_initial-offset_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "period", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["ranking_teams"]}, "parameters": []}, "/ranking_teams/season-choices/": {"get": {"operationId": "ranking_teams_season-choices_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "period", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["ranking_teams"]}, "parameters": []}, "/ranking_teams/top-positions/": {"get": {"operationId": "ranking_teams_top-positions_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "preset", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "location", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "season_year", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "period", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamRanking"}}}}}}, "tags": ["ranking_teams"]}, "parameters": []}, "/rate_rival/": {"post": {"operationId": "rate_rival_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamRatingInEventCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TeamRatingInEventCreate"}}}, "tags": ["rate_rival"]}, "parameters": []}, "/referee/": {"get": {"operationId": "referee_list", "description": "", "parameters": [{"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "event", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "referee", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/RefereeList"}}}}}}, "tags": ["referee"]}, "post": {"operationId": "referee_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RefereeCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/RefereeCreate"}}}, "tags": ["referee"]}, "parameters": []}, "/referee/my/": {"get": {"operationId": "referee_my_read", "description": "", "parameters": [{"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "event", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "referee", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/RefereeList"}}}}}}, "tags": ["referee"]}, "parameters": []}, "/referee/{id}/": {"put": {"operationId": "referee_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RefereeUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/RefereeUpdate"}}}, "tags": ["referee"]}, "patch": {"operationId": "referee_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RefereeUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/RefereeUpdate"}}}, "tags": ["referee"]}, "delete": {"operationId": "referee_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["referee"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this referee.", "required": true, "type": "integer"}]}, "/referral_prize/": {"get": {"operationId": "referral_prize_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReferralPrize"}}}}, "tags": ["referral_prize"]}, "parameters": []}, "/referral_prize_order/": {"post": {"operationId": "referral_prize_order_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReferralOrderCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReferralOrderCreate"}}}, "tags": ["referral_prize_order"]}, "parameters": []}, "/report/": {"post": {"operationId": "report_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CreateReport"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CreateReport"}}}, "tags": ["report"]}, "parameters": []}, "/report_type/": {"get": {"operationId": "report_type_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/ReportTypeList"}}}}, "tags": ["report_type"]}, "parameters": []}, "/reports_scout/": {"get": {"operationId": "reports_scout_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ScoutReportList"}}}}}}, "tags": ["reports_scout"]}, "post": {"operationId": "reports_scout_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ScoutReportCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ScoutReportCreate"}}}, "tags": ["reports_scout"]}, "parameters": []}, "/reports_scout/available_players/": {"get": {"operationId": "reports_scout_available_players", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ScoutReport"}}}}}}, "tags": ["reports_scout"]}, "parameters": []}, "/reports_scout/available_teams/": {"get": {"operationId": "reports_scout_available_teams", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ScoutReport"}}}}}}, "tags": ["reports_scout"]}, "parameters": []}, "/reports_scout/preview/": {"post": {"operationId": "reports_scout_preview", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ScoutReportCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ScoutReportCreate"}}}, "tags": ["reports_scout"]}, "parameters": []}, "/reports_scout/{id}/": {"get": {"operationId": "reports_scout_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ScoutReportRetrieve"}}}, "tags": ["reports_scout"]}, "put": {"operationId": "reports_scout_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ScoutReportCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ScoutReportCreate"}}}, "tags": ["reports_scout"]}, "patch": {"operationId": "reports_scout_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ScoutReportCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ScoutReportCreate"}}}, "tags": ["reports_scout"]}, "delete": {"operationId": "reports_scout_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["reports_scout"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Scout Report.", "required": true, "type": "integer"}]}, "/scout_observed_teams/": {"get": {"operationId": "scout_observed_teams_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ObservedTeamList"}}}}}}, "tags": ["scout_observed_teams"]}, "post": {"operationId": "scout_observed_teams_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ObservedTeam"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ObservedTeam"}}}, "tags": ["scout_observed_teams"]}, "parameters": []}, "/share/": {"post": {"operationId": "share_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SharedImage"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SharedImage"}}}, "tags": ["share"]}, "parameters": []}, "/sparring/": {"post": {"operationId": "sparring_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SparringCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SparringCreate"}}}, "tags": ["sparring"]}, "parameters": []}, "/sparring/away_game/": {"post": {"operationId": "sparring_create_away_game", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/AwaySparringCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/AwaySparringCreate"}}}, "tags": ["sparring"]}, "parameters": []}, "/sparring/{id}/": {"get": {"operationId": "sparring_read", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["sparring"]}, "put": {"operationId": "sparring_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SparringUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/SparringUpdate"}}}, "tags": ["sparring"]}, "patch": {"operationId": "sparring_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SparringCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/SparringCreate"}}}, "tags": ["sparring"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this friendly.", "required": true, "type": "integer"}]}, "/sparring/{id}/invite_team/": {"post": {"operationId": "sparring_invite_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/InviteTeamToEvent"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/InviteTeamToEvent"}}}, "tags": ["sparring"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this friendly.", "required": true, "type": "integer"}]}, "/sparring/{id}/remove_temporary_team/": {"post": {"operationId": "sparring_remove_temporary_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SparringRemoveTemporaryTeams"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SparringRemoveTemporaryTeams"}}}, "tags": ["sparring"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this friendly.", "required": true, "type": "integer"}]}, "/sparring/{id}/result/": {"patch": {"operationId": "sparring_set_result", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SetSparringResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/SetSparringResult"}}}, "tags": ["sparring"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this friendly.", "required": true, "type": "integer"}]}, "/sponsors/": {"get": {"operationId": "sponsors_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/application/": {"get": {"operationId": "sponsors_application_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/event_list/": {"get": {"operationId": "sponsors_event_list_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/main/": {"get": {"operationId": "sponsors_main_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/notification_list/": {"get": {"operationId": "sponsors_notification_list_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/organizer_ranking/": {"get": {"operationId": "sponsors_organizer_ranking_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/player_ranking/": {"get": {"operationId": "sponsors_player_ranking_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/team_list/": {"get": {"operationId": "sponsors_team_list_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/sponsors/team_ranking/": {"get": {"operationId": "sponsors_team_ranking_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/Sponsor"}}}}, "tags": ["sponsors"]}, "parameters": []}, "/subscription-action/event-payment/": {"post": {"operationId": "subscription-action_payment_event", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/free/": {"post": {"operationId": "subscription-action_update_to_free", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/paid/": {"post": {"operationId": "subscription-action_update_to_pro", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/payment-parent-pro/": {"post": {"operationId": "subscription-action_payment_parent_pro", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/scout-report-payment/": {"post": {"operationId": "subscription-action_payment_scout_report", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/send_code/": {"post": {"operationId": "subscription-action_send_code", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/trainer-payment/": {"post": {"operationId": "subscription-action_payment_trainer", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/subscription-action/tutlo-pro/": {"post": {"operationId": "subscription-action_tutlo_pro", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserBasicWithAvatar"}}}, "tags": ["subscription-action"]}, "parameters": []}, "/team_members/": {"get": {"operationId": "team_members_list", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "team", "in": "query", "type": "number"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamMemberList"}}}}}}, "tags": ["team_members"]}, "post": {"operationId": "team_members_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RequestCreateTeamInvitation"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/RequestCreateTeamInvitation"}}}, "tags": ["team_members"]}, "parameters": []}, "/team_members/event_invitation/": {"get": {"operationId": "team_members_event_invitation_read", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "team", "in": "query", "required": true, "type": "number"}, {"name": "event", "in": "query", "required": true, "type": "number"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamMemberStatus"}}}}}}, "tags": ["team_members"]}, "parameters": []}, "/team_members/my_added_statistics/": {"get": {"operationId": "team_members_my_added_statistics", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamMemberStatus"}}}}}}, "tags": ["team_members"]}, "parameters": []}, "/team_members/{id}/": {"put": {"operationId": "team_members_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamMemberStatus"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamMemberStatus"}}}, "tags": ["team_members"]}, "patch": {"operationId": "team_members_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamMemberStatus"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamMemberStatus"}}}, "tags": ["team_members"]}, "delete": {"operationId": "team_members_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["team_members"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team member.", "required": true, "type": "integer"}]}, "/team_members/{id}/statistics/": {"get": {"operationId": "team_members_statistics", "description": "", "parameters": [{"name": "event", "in": "query", "required": true, "type": "number"}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamMemberStatus"}}}, "tags": ["team_members"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team member.", "required": true, "type": "integer"}]}, "/team_trainers/{id}/status/": {"post": {"operationId": "team_trainers_update_status", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TrainerStatusRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TrainerStatusRequest"}}}, "tags": ["team_trainers"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team trainer.", "required": true, "type": "integer"}]}, "/teams/": {"get": {"operationId": "teams_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamListSerializerWithLike"}}}}}}, "tags": ["teams"]}, "post": {"operationId": "teams_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamSave"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TeamSave"}}}, "tags": ["teams"]}, "parameters": []}, "/teams/invite_to_tournament/": {"get": {"operationId": "teams_invite_to_tournament_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}, {"name": "event", "in": "query", "type": "number"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Team"}}}}}}, "tags": ["teams"]}, "parameters": []}, "/teams/liked/": {"get": {"operationId": "teams_liked_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamList"}}}}}}, "tags": ["teams"]}, "parameters": []}, "/teams/list_with_trainers/": {"get": {"operationId": "teams_list_with_trainers_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamWithTrainersListSerializerWithLike"}}}}}}, "tags": ["teams"]}, "parameters": []}, "/teams/my_teams/": {"get": {"operationId": "teams_my_teams_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TeamListSerializerWithLike"}}}}}}, "tags": ["teams"]}, "parameters": []}, "/teams/trained_teams/": {"get": {"operationId": "teams_trained_teams_read", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Team"}}}}}}, "tags": ["teams"]}, "parameters": []}, "/teams/{id}/": {"get": {"operationId": "teams_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Team"}}}, "tags": ["teams"]}, "put": {"operationId": "teams_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamUpdate"}}}, "tags": ["teams"]}, "patch": {"operationId": "teams_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamUpdate"}}}, "tags": ["teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/teams/{id}/delete_by_user/": {"post": {"operationId": "teams_delete_by_user", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Team"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Team"}}}, "tags": ["teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/teams/{id}/invite_trainers/": {"post": {"operationId": "teams_invite_trainers", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/InviteTrainersRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/InviteTrainersRequest"}}}, "tags": ["teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/teams/{id}/like/": {"post": {"operationId": "teams_like_create", "description": "", "parameters": [], "responses": {"201": {"description": "Successfully liked team"}}, "tags": ["teams"]}, "delete": {"operationId": "teams_like_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/teams/{id}/members/": {"get": {"operationId": "teams_members", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TeamMemberShort"}}}, "tags": ["teams"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/temporary_team/": {"get": {"operationId": "temporary_team_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "category", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "place_address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "points", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/TemporaryTeam"}}}}}}, "tags": ["temporary_team"]}, "post": {"operationId": "temporary_team_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TemporaryTeamSave"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TemporaryTeamSave"}}}, "tags": ["temporary_team"]}, "parameters": []}, "/temporary_team/{id}/": {"put": {"operationId": "temporary_team_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TemporaryTeamSave"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TemporaryTeamSave"}}}, "tags": ["temporary_team"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this team.", "required": true, "type": "integer"}]}, "/tournament/": {"post": {"operationId": "tournament_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentCreate"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/check_date/": {"post": {"operationId": "tournament_check_date", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentDateandBreakes"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentDateandBreakes"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/check_team_per_group/": {"post": {"operationId": "tournament_check_team_per_group", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TeamNumberandGroup"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TeamNumberandGroup"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/cup_list/": {"post": {"operationId": "tournament_cup_list", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/CupTypeList"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/CupTypeList"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/get_tournament_ladder_simulation/": {"post": {"operationId": "tournament_get_tournament_ladder_simulation", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/PlayoffSimulationRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/PlayoffSimulationRequest"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/organizer_tournaments/": {"get": {"operationId": "tournament_organizer_tournaments", "description": "", "parameters": [{"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Tournament"}}}}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/tournament_duration/": {"post": {"operationId": "tournament_tournament_duration", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentDuration"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentDuration"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/tournament_duration_validate/": {"post": {"operationId": "tournament_tournament_duration_validate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentDurationValidate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentDurationValidate"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/tournament_match_number/": {"post": {"operationId": "tournament_tournament_match_number", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentMatchNumber"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentMatchNumber"}}}, "tags": ["tournament"]}, "parameters": []}, "/tournament/{id}/": {"get": {"operationId": "tournament_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentRetrieve"}}}, "tags": ["tournament"]}, "put": {"operationId": "tournament_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentUpdate"}}}, "tags": ["tournament"]}, "patch": {"operationId": "tournament_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentUpdate"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/download_timetable/": {"get": {"operationId": "tournament_download_timetable_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/draft_matches/": {"get": {"operationId": "tournament_draft_matches", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/draft_timetable/": {"get": {"operationId": "tournament_draft_timetable_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/duration_of_second_stage/": {"post": {"operationId": "tournament_duration_of_second_stage", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentSecondStageDurationRequest"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentSecondStageDurationRequest"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/duration_of_second_stage_validate/": {"post": {"operationId": "tournament_duration_of_second_stage_validate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentSecondStageDurationValidate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentSecondStageDurationValidate"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/editability_of_goal_scorers/": {"get": {"operationId": "tournament_editability_of_goal_scorers_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/finish_after_first_stage/": {"post": {"operationId": "tournament_finish_after_first_stage", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Tournament"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/generate/": {"post": {"operationId": "tournament_generate", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StageGenerate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/StageGenerate"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/generate_second_group_stage/": {"post": {"operationId": "tournament_generate_second_group_stage", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SecondStageTime"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SecondStageTime"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/generate_second_playoff_stage/": {"post": {"operationId": "tournament_generate_second_playoff_stage", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SecondStageTime"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SecondStageTime"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/generate_second_stage_schedule/": {"post": {"operationId": "tournament_generate_second_stage_schedule", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/StageGenerate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/StageGenerate"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/groups/": {"get": {"operationId": "tournament_groups", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/invite_organizers/": {"post": {"operationId": "tournament_invite_organizers", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/InviteEventOrganizers"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/InviteEventOrganizers"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/invite_team/": {"post": {"operationId": "tournament_invite_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/InviteManyTeamsToEvent"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/InviteManyTeamsToEvent"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/matches/": {"get": {"operationId": "tournament_matches_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/matches_optimised/": {"get": {"operationId": "tournament_matches_optimised_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/move_team_to_group/": {"post": {"operationId": "tournament_move_team_to_group", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SwapTeamsBetweenGroups"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SwapTeamsBetweenGroups"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/pitches/": {"get": {"operationId": "tournament_pitches", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/recalculate_results/": {"post": {"operationId": "tournament_recalculate_results", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Tournament"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/remove_all_matches/": {"delete": {"operationId": "tournament_remove_all_matches", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/replace_team/": {"post": {"operationId": "tournament_replace_team", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReplaceTeamInEvent"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReplaceTeamInEvent"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/results/": {"get": {"operationId": "tournament_results_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/TournamentResults"}}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/results_by_stage/": {"get": {"operationId": "tournament_results_by_stage_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/rollback_to_first_stage/": {"post": {"operationId": "tournament_rollback_to_first_stage", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Tournament"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/sponsors/": {"post": {"operationId": "tournament_sponsors", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditEventSponsor"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/EditEventSponsor"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/swap_matches/": {"post": {"operationId": "tournament_swap_matches", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Tournament"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/swap_teams_between_groups/": {"post": {"operationId": "tournament_swap_teams_between_groups", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SwapTeamsBetweenGroups"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SwapTeamsBetweenGroups"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/timetable/": {"get": {"operationId": "tournament_timetable", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament/{id}/timetable_optimised/": {"get": {"operationId": "tournament_timetable_optimised_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Tournament"}}}, "tags": ["tournament"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament.", "required": true, "type": "integer"}]}, "/tournament_additional_break/{id}/": {"put": {"operationId": "tournament_additional_break_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentAdditionalBreak"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentAdditionalBreak"}}}, "tags": ["tournament_additional_break"]}, "patch": {"operationId": "tournament_additional_break_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentAdditionalBreak"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentAdditionalBreak"}}}, "tags": ["tournament_additional_break"]}, "delete": {"operationId": "tournament_additional_break_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["tournament_additional_break"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament additional break.", "required": true, "type": "integer"}]}, "/tournament_day/{id}/": {"put": {"operationId": "tournament_day_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentDay"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentDay"}}}, "tags": ["tournament_day"]}, "patch": {"operationId": "tournament_day_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentDay"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentDay"}}}, "tags": ["tournament_day"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament day.", "required": true, "type": "integer"}]}, "/tournament_matches/": {"get": {"operationId": "tournament_matches_list", "description": "", "parameters": [{"name": "group", "in": "query", "description": "", "required": false, "type": "string"}], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"$ref": "#/definitions/TournamentsMatches"}}}}, "tags": ["tournament_matches"]}, "post": {"operationId": "tournament_matches_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentMatchCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentMatchCreate"}}}, "tags": ["tournament_matches"]}, "parameters": []}, "/tournament_matches/{id}/": {"put": {"operationId": "tournament_matches_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentsMatches"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentsMatches"}}}, "tags": ["tournament_matches"]}, "patch": {"operationId": "tournament_matches_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentMatchUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentMatchUpdate"}}}, "tags": ["tournament_matches"]}, "delete": {"operationId": "tournament_matches_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/break_before/": {"post": {"operationId": "tournament_matches_break_before_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/BreakBeforeMatch"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/BreakBeforeMatch"}}}, "tags": ["tournament_matches"]}, "patch": {"operationId": "tournament_matches_break_before_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/BreakBeforeMatch"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/BreakBeforeMatch"}}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/draft_match_team_choices/": {"get": {"operationId": "tournament_matches_draft_match_team_choices", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentsMatches"}}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/finish/": {"post": {"operationId": "tournament_matches_finish", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentsMatches"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TournamentsMatches"}}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/playoff_match/": {"delete": {"operationId": "tournament_matches_playoff_match", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/result/": {"patch": {"operationId": "tournament_matches_set_result", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TournamentMatchSetResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/TournamentMatchSetResult"}}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_matches/{id}/walkover/": {"patch": {"operationId": "tournament_matches_walkover", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/WalkoverMatchTournament"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/WalkoverMatchTournament"}}}, "tags": ["tournament_matches"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament match.", "required": true, "type": "integer"}]}, "/tournament_result/tournament_table/": {"patch": {"operationId": "tournament_result_tournament_table", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditTournamentResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditTournamentResult"}}}, "tags": ["tournament_result"]}, "parameters": []}, "/tournament_result/{id}/": {"put": {"operationId": "tournament_result_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditTournamentResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditTournamentResult"}}}, "tags": ["tournament_result"]}, "patch": {"operationId": "tournament_result_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/EditTournamentResult"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/EditTournamentResult"}}}, "tags": ["tournament_result"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this tournament result.", "required": true, "type": "integer"}]}, "/tournament_stage/{id}/close/": {"patch": {"operationId": "tournament_stage_close_stage", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["tournament_stage"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this playoff stage in ladder.", "required": true, "type": "integer"}]}, "/users/": {"get": {"operationId": "users_list", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/UserList"}}}}}}, "tags": ["users"]}, "parameters": []}, "/users/delete/": {"delete": {"operationId": "users_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["users"]}, "parameters": []}, "/users/player_pro_list/": {"get": {"operationId": "users_player_pro_list_read", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/UserDetail"}}}}}}, "tags": ["users"]}, "parameters": []}, "/users/referral/": {"get": {"operationId": "users_referral_read", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/UserDetail"}}}}}}, "tags": ["users"]}, "parameters": []}, "/users/referral_exists/": {"get": {"operationId": "users_referral_exists", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/UserDetail"}}}}}}, "tags": ["users"]}, "parameters": []}, "/users/user_pro_single_payment/": {"get": {"operationId": "users_user_pro_single_payment_read", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["users"]}, "parameters": []}, "/users/user_subscription_type/": {"get": {"operationId": "users_user_subscription_type_read", "description": "", "parameters": [{"name": "first_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_trainer", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_player", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_fan", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "address", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "type", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "has_guardian", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "excluded_team", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "search_field", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"type": "number"}}}, "tags": ["users"]}, "parameters": []}, "/users/{id}/": {"get": {"operationId": "users_read", "description": "", "parameters": [{"name": "team", "in": "query", "type": "number"}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/UserRetrieve"}}}, "tags": ["users"]}, "put": {"operationId": "users_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/UserUpdate"}}}, "tags": ["users"]}, "patch": {"operationId": "users_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserUpdate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/UserUpdate"}}}, "tags": ["users"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/users/{id}/like/": {"post": {"operationId": "users_like_create", "description": "", "parameters": [], "responses": {"201": {"description": "Successfully liked user"}}, "tags": ["users"]}, "delete": {"operationId": "users_like_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["users"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/users/{id}/player_teams/": {"get": {"operationId": "users_player_teams_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/UserDetail"}}}, "tags": ["users"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/users/{id}/trained_teams/": {"get": {"operationId": "users_trained_teams_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/UserDetail"}}}, "tags": ["users"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}}, "definitions": {"AcademyCodeActivate": {"required": ["code"], "type": "object", "properties": {"code": {"title": "Code", "type": "string", "minLength": 1}}}, "AcademyCode": {"type": "object", "properties": {"code": {"title": "Code", "type": "string", "maxLength": 20, "x-nullable": true}, "used_at": {"title": "Used at", "type": "string", "format": "date-time", "x-nullable": true}, "expiration_date": {"title": "Expiration date", "type": "string", "format": "date-time", "x-nullable": true}}}, "CustomRefreshJSONWebToken": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "VerifyJSONWebToken": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "JSONWebToken": {"required": ["email", "password"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "minLength": 1}, "password": {"title": "Password", "type": "string", "minLength": 1}}}, "CustomLogin": {"required": ["email", "password"], "type": "object", "properties": {"username": {"title": "Username", "type": "string"}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "password": {"title": "Password", "type": "string", "minLength": 1}}}, "AppleUserData": {"type": "object", "properties": {"first_name": {"title": "First name", "type": "string", "x-nullable": true}, "last_name": {"title": "Last name", "type": "string", "x-nullable": true}}}, "Apple": {"required": ["id_token"], "type": "object", "properties": {"access_token": {"title": "Access token", "type": "string", "minLength": 1}, "code": {"title": "Code", "type": "string", "minLength": 1}, "state": {"title": "State", "type": "string", "minLength": 1}, "id_token": {"title": "Id token", "type": "string", "minLength": 1}, "user_data": {"$ref": "#/definitions/AppleUserData"}}}, "SocialLogin": {"type": "object", "properties": {"access_token": {"title": "Access token", "type": "string"}, "code": {"title": "Code", "type": "string"}}}, "PasswordChange": {"required": ["old_password", "new_password1", "new_password2"], "type": "object", "properties": {"old_password": {"title": "Old password", "type": "string", "maxLength": 128, "minLength": 1}, "new_password1": {"title": "New password1", "type": "string", "maxLength": 128, "minLength": 1}, "new_password2": {"title": "New password2", "type": "string", "maxLength": 128, "minLength": 1}}}, "CustomPasswordReset": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}}}, "PasswordResetConfirm": {"required": ["new_password1", "new_password2", "uid", "token"], "type": "object", "properties": {"new_password1": {"title": "New password1", "type": "string", "maxLength": 128, "minLength": 1}, "new_password2": {"title": "New password2", "type": "string", "maxLength": 128, "minLength": 1}, "uid": {"title": "Uid", "type": "string", "minLength": 1}, "token": {"title": "Token", "type": "string", "minLength": 1}}}, "CustomRegister": {"required": ["email", "password1", "password2", "first_name", "last_name"], "type": "object", "properties": {"username": {"title": "Username", "type": "string", "maxLength": 150, "minLength": 1}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "password1": {"title": "Password1", "type": "string", "minLength": 1}, "password2": {"title": "Password2", "type": "string", "minLength": 1}, "first_name": {"title": "First name", "type": "string", "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "minLength": 1}, "is_fan": {"title": "Is fan", "type": "boolean"}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "phone": {"title": "Phone", "type": "string", "minLength": 1}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date"}, "birth_year": {"title": "Birth year", "type": "integer"}, "referral_code_from": {"title": "Referral code from", "type": "string", "minLength": 1}, "language": {"title": "Language", "type": "integer"}, "auto_update_lang": {"title": "Auto update lang", "type": "boolean"}, "agreed_to_marketing": {"title": "Agreed to marketing", "type": "boolean"}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean"}}}, "VerifyEmail": {"required": ["key"], "type": "object", "properties": {"key": {"title": "Key", "type": "string", "minLength": 1}}}, "User": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}}}, "CustomUserDetails": {"required": ["location", "proteges"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "username": {"title": "Username", "type": "string", "maxLength": 150, "x-nullable": true}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean", "readOnly": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "phone": {"title": "Phone number", "type": "string", "maxLength": 128, "x-nullable": true}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "is_social": {"title": "Is social", "type": "boolean", "readOnly": true}, "location": {"title": "Location", "type": "string"}, "language": {"title": "Language", "type": "integer", "enum": [10, 20, 30, 40, 50, 60, 70, 80]}, "auto_update_lang": {"title": "Auto update language", "type": "boolean"}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "one_signal_updated": {"title": "One signal updated", "type": "boolean"}, "saw_trainer_onboarding": {"title": "Saw trainer onboarding", "type": "boolean"}, "saw_player_onboarding": {"title": "Saw player onboarding", "type": "boolean"}, "saw_fan_onboarding": {"title": "Saw parent onboarding", "type": "boolean"}, "saw_scout_onboarding": {"title": "Saw scout onboarding", "type": "boolean"}, "proteges": {"type": "array", "items": {"$ref": "#/definitions/User"}}}}, "BannerList": {"type": "object", "properties": {"image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "partner_page_url": {"title": "Partner page URL", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}}}, "UserDetailWithScore": {"required": ["legal_guardian"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "first_login": {"title": "First login", "type": "boolean"}, "legal_guardian": {"$ref": "#/definitions/User"}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}, "player_score": {"title": "Player score", "type": "integer", "readOnly": true}}}, "TeamMemberList": {"required": ["member", "team", "positions"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "member": {"$ref": "#/definitions/UserDetailWithScore"}, "team": {"title": "Team", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 5, 10, 20]}, "positions": {"type": "array", "items": {"type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190]}}, "avg_matches_score": {"title": "Avg matches score", "type": "string", "readOnly": true}, "is_member_or_legal_guardian_or_trainer": {"title": "Is member or legal guardian or trainer", "type": "string", "readOnly": true}, "request_user_is_scout": {"title": "Request user is scout", "type": "string", "readOnly": true}, "is_goalkeeper": {"title": "Is goalkeeper", "type": "string", "readOnly": true}}}, "EventInvitationList": {"required": ["team_member", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "team_member": {"$ref": "#/definitions/TeamMemberList"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20]}, "sparring": {"title": "Sparring", "type": "string", "readOnly": true}, "tournament": {"title": "Tournament", "type": "string", "readOnly": true}, "status_name": {"title": "Status name", "type": "string", "readOnly": true}, "event": {"title": "Event", "type": "integer"}}}, "RequestCreateEventInvitation": {"required": ["event", "team", "user"], "type": "object", "properties": {"event": {"title": "Event", "type": "integer"}, "team": {"title": "Team", "type": "integer"}, "user": {"title": "User", "type": "integer"}}}, "EventInvitationUpdate": {"required": ["team_member", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "team_member": {"title": "Member of team", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20]}, "event": {"title": "Event", "type": "integer"}}}, "OrganizerStatusRequest": {"required": ["status"], "type": "object", "properties": {"status": {"title": "Status", "type": "integer", "enum": [10, 20, 30, 40, 50]}}}, "UserPkOnly": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}}}, "EventRequestTeamSimple": {"required": ["name", "main_trainer", "trainers"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "main_trainer": {"$ref": "#/definitions/UserPkOnly"}, "trainers": {"type": "array", "items": {"$ref": "#/definitions/UserPkOnly"}}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "AwayGameProposal": {"required": ["location_place", "place_address", "place_name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "maxLength": 160, "minLength": 1}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}}}, "EventRequestList": {"required": ["team", "status", "away_game_proposal"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "team": {"$ref": "#/definitions/EventRequestTeamSimple"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20, 30, 40]}, "status_name": {"title": "Status name", "type": "string", "readOnly": true}, "away_game_proposal": {"$ref": "#/definitions/AwayGameProposal"}, "resignation_requested": {"title": "Resignation requested", "type": "boolean", "readOnly": true}}}, "EventRequestSave": {"required": ["event", "team"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "event": {"title": "Event", "type": "integer"}, "team": {"title": "Team", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20, 30, 40]}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}}}, "SimpleTeam": {"required": ["name", "location_place"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}}}, "SparringInEventList": {"required": ["home_team", "away_team"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "home_team": {"$ref": "#/definitions/SimpleTeam"}, "away_team": {"$ref": "#/definitions/SimpleTeam"}, "home_team_goals": {"title": "Home team goals", "type": "string", "readOnly": true}, "away_team_goals": {"title": "Away team goals", "type": "string", "readOnly": true}, "allow_to_cancel_sparring": {"title": "Allow to cancel sparring", "type": "string", "readOnly": true}, "is_away_game": {"title": "Is away game", "type": "boolean"}, "status_for_home_team_trainers": {"title": "Status for home team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}, "status_for_away_team_trainers": {"title": "Status for away team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}}}, "TournamentInEvent": {"required": ["name", "category", "number_of_teams"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "count_accepted_teams": {"title": "Count accepted teams", "type": "string", "readOnly": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}}}, "LeagueInEvent": {"required": ["name", "category", "number_of_teams", "number_of_rounds", "duration_of_match"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "number_of_rounds": {"title": "Rounds", "type": "integer", "maximum": 2, "minimum": 1}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "count_accepted_teams": {"title": "Count accepted teams", "type": "string", "readOnly": true}}}, "EventWithRequestCounter": {"required": ["sparring", "tournament", "league", "reported_team", "location_place", "game_system"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "sparring": {"$ref": "#/definitions/SparringInEventList"}, "tournament": {"$ref": "#/definitions/TournamentInEvent"}, "league": {"$ref": "#/definitions/LeagueInEvent"}, "reported_team": {"title": "Reported team", "type": "integer"}, "await_for_organizer_reaction": {"title": "Waiting for organizer reaction", "type": "boolean", "x-nullable": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "end_date": {"title": "End date", "type": "string", "format": "date-time", "x-nullable": true}, "status": {"title": "Status", "type": "string", "readOnly": true}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "place_name": {"title": "Place name", "type": "string", "maxLength": 160, "x-nullable": true}, "game_system": {"title": "Game system", "type": "integer", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "results_type": {"title": "Results type", "type": "integer", "enum": [10, 20, 21, 30]}, "is_deleted": {"title": "Is deleted", "type": "boolean"}, "like_count": {"title": "Like count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "is_liked_by_me": {"title": "Is liked by me", "type": "boolean", "readOnly": true}, "status_for_organizer": {"title": "Status for organizer", "type": "string", "readOnly": true}, "is_event_organizer": {"title": "Is event organizer", "type": "boolean", "readOnly": true}, "is_promoted": {"title": "Is promoted", "type": "string", "readOnly": true}, "status_for_user": {"title": "Status for user", "type": "string", "readOnly": true}, "is_referee": {"title": "Is referee", "type": "boolean", "readOnly": true}}}, "GCMDeviceCreate": {"required": ["registration_id"], "type": "object", "properties": {"registration_id": {"title": "Registration ID", "type": "string", "minLength": 1}}}, "GoalScorerCreate": {"required": ["team"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "player_number": {"title": "Player number", "type": "integer", "maximum": 999, "minimum": 1, "x-nullable": true}, "team_member": {"title": "Team member", "type": "integer", "x-nullable": true}, "team": {"title": "Team", "type": "integer"}, "tournament_match": {"title": "Tournament match", "type": "integer", "x-nullable": true}, "league_match": {"title": "League match", "type": "integer", "x-nullable": true}, "sparring": {"title": "Sparring", "type": "integer", "x-nullable": true}, "is_own_goal": {"title": "Is own goal", "type": "boolean"}, "is_penalty": {"title": "Is penalty", "type": "boolean"}}}, "TeamMemberShort": {"required": ["full_name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "full_name": {"title": "Full name", "type": "string", "minLength": 1}, "positions": {"title": "Positions", "type": "string", "readOnly": true}}}, "RetrieveGoalScorer": {"required": ["team_member", "team"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "player_number": {"title": "Player number", "type": "integer", "maximum": 999, "minimum": 1, "x-nullable": true}, "team_member": {"$ref": "#/definitions/TeamMemberShort"}, "team": {"$ref": "#/definitions/SimpleTeam"}, "tournament_match": {"title": "Tournament match", "type": "integer", "x-nullable": true}, "sparring": {"title": "Sparring", "type": "integer", "x-nullable": true}, "is_own_goal": {"title": "Is own goal", "type": "boolean"}, "is_penalty": {"title": "Is penalty", "type": "boolean"}, "goals_in_match": {"title": "Goals in match", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "GoalScorerUpdateMany": {"required": ["pk"], "type": "object", "properties": {"pk": {"title": "Pk", "type": "integer"}, "player_number": {"title": "Player number", "type": "integer", "maximum": 999, "minimum": 1, "x-nullable": true}, "team_member": {"title": "Team member", "type": "integer", "x-nullable": true}}}, "EditGroupResult": {"required": ["position"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "position": {"title": "Position", "type": "integer", "maximum": 2147483647, "minimum": 0}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "GroupInTournamentBase": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 1, "minLength": 1}, "custom_name": {"title": "Custom name", "type": "string", "maxLength": 20, "x-nullable": true}}}, "GroupInTournamentUpdateMany": {"required": ["pk"], "type": "object", "properties": {"pk": {"title": "Pk", "type": "integer"}, "custom_name": {"title": "Custom name", "type": "string", "maxLength": 20, "x-nullable": true}}}, "GroupInTournamentUpdate": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "custom_name": {"title": "Custom name", "type": "string", "maxLength": 20, "x-nullable": true}}}, "IndividualTrainingList": {"required": ["email"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "email": {"title": "Email address", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "phone": {"title": "Phone number", "type": "string", "maxLength": 128, "x-nullable": true}}}, "IndividualTraining": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "readOnly": true}}}, "IndividualTrainingUpdate": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "minLength": 1}}}, "LeagueDay": {"required": ["weekday_number", "start_hour", "end_hour"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "weekday_number": {"title": "Weekday number", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "start_hour": {"title": "Start hour", "type": "string"}, "end_hour": {"title": "End hour", "type": "string"}}}, "EditEventSponsor": {"type": "object", "properties": {"pk": {"title": "Pk", "type": "integer"}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "events": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "LeagueCreate": {"required": ["name", "category", "number_of_teams", "number_of_rounds", "duration_of_match", "start_date", "end_date", "game_system", "league_days"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "number_of_rounds": {"title": "Rounds", "type": "integer", "maximum": 2, "minimum": 1}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "results_type": {"title": "Results type", "type": "integer", "x-nullable": true}, "league_days": {"type": "array", "items": {"$ref": "#/definitions/LeagueDay"}}, "teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "sponsors": {"type": "array", "items": {"$ref": "#/definitions/EditEventSponsor"}}}}, "LeagueDuration": {"required": ["number_of_matches", "duration_of_match"], "type": "object", "properties": {"number_of_matches": {"title": "Number of matches", "type": "integer", "minimum": 1}, "duration_of_match": {"title": "Duration of match", "type": "integer", "minimum": 1}, "duration_of_break": {"title": "Duration of break", "type": "integer", "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "type": "integer", "minimum": 0}}}, "LeagueDurationValidation": {"required": ["number_of_matches", "duration_of_match", "start_date", "end_date", "league_days"], "type": "object", "properties": {"number_of_matches": {"title": "Number of matches", "type": "integer", "minimum": 1}, "duration_of_match": {"title": "Duration of match", "type": "integer", "minimum": 1}, "duration_of_break": {"title": "Duration of break", "type": "integer", "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "type": "integer", "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "league_days": {"type": "array", "items": {"$ref": "#/definitions/LeagueDay"}}}}, "LeagueDurationValidationResponse": {"required": ["is_valid", "current_duration", "errors"], "type": "object", "properties": {"is_valid": {"title": "Is valid", "type": "boolean"}, "current_duration": {"title": "Current duration", "type": "integer"}, "errors": {"title": "Errors", "type": "object"}}}, "LeagueMatchNumber": {"required": ["number_of_teams", "number_of_rounds"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 1}, "number_of_rounds": {"title": "Number of rounds", "type": "integer", "maximum": 2, "minimum": 1}}}, "LeagueSimulationRequest": {"required": ["number_of_teams", "number_of_rounds", "duration_of_match", "duration_of_break", "duration_of_break_between_matches", "start_date", "end_date", "league_days"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 3}, "number_of_rounds": {"title": "Number of rounds", "type": "integer", "maximum": 2, "minimum": 1}, "duration_of_match": {"title": "Duration of match", "type": "integer", "minimum": 1}, "duration_of_break": {"title": "Duration of break", "type": "integer", "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "type": "integer", "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "league_days": {"type": "array", "items": {"$ref": "#/definitions/LeagueDay"}}, "is_simulation": {"title": "Is simulation", "type": "boolean", "default": true}}}, "UserTrainer": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "phone": {"title": "Phone", "type": "string", "readOnly": true}}}, "Event": {"required": ["organizer", "location_place", "game_system"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "await_for_organizer_reaction": {"title": "Waiting for organizer reaction", "type": "boolean", "x-nullable": true}, "organizer": {"$ref": "#/definitions/UserTrainer"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "end_date": {"title": "End date", "type": "string", "format": "date-time", "x-nullable": true}, "is_event_organizer": {"title": "Is event organizer", "type": "string", "readOnly": true}, "results_type": {"title": "Results type", "type": "integer", "enum": [10, 20, 21, 30]}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "x-nullable": true}, "status_for_organizer": {"title": "Status for organizer", "type": "string", "readOnly": true}, "my_waiting_to_approval_requests": {"title": "My waiting to approval requests", "type": "string", "readOnly": true}, "is_active": {"title": "Is active", "type": "string", "readOnly": true}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "place_name": {"title": "Place name", "type": "string", "maxLength": 160, "x-nullable": true}, "game_system": {"title": "Game system", "type": "integer", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "like_count": {"title": "Like count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "is_liked_by_me": {"title": "Is liked by me", "type": "string", "readOnly": true}, "is_promoted": {"title": "Is promoted", "type": "string", "readOnly": true}, "is_referee": {"title": "Is referee", "type": "boolean", "readOnly": true}, "number_of_paid_teams": {"title": "Number of paid teams", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "payment_status": {"title": "Payment status", "type": "integer", "enum": [10, 20, 30], "x-nullable": true}, "results_visible_to_all": {"title": "Results visible to all", "type": "boolean"}}}, "LeagueRetrieve": {"required": ["name", "category", "number_of_teams", "number_of_rounds", "duration_of_match", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "number_of_rounds": {"title": "Rounds", "type": "integer", "maximum": 2, "minimum": 1}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "ready_for_confirmed": {"title": "Ready for confirmed", "type": "string", "readOnly": true}, "allow_to_join": {"title": "Allow to join", "type": "boolean", "readOnly": true}, "event": {"$ref": "#/definitions/Event"}, "event_request": {"title": "Event request", "type": "string", "readOnly": true}, "league_days": {"type": "array", "items": {"$ref": "#/definitions/LeagueDay"}, "readOnly": true}, "sponsors": {"title": "Sponsors", "type": "string", "readOnly": true}}}, "LeagueUpdate": {"required": ["name", "category", "number_of_teams", "number_of_rounds", "duration_of_match", "start_date", "end_date", "game_system", "league_days"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "number_of_rounds": {"title": "Rounds", "type": "integer", "maximum": 2, "minimum": 1}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "results_type": {"title": "Results type", "type": "integer", "x-nullable": true}, "league_days": {"type": "array", "items": {"$ref": "#/definitions/LeagueDay"}}}}, "InviteManyTeamsToEvent": {"required": ["teams"], "type": "object", "properties": {"teams": {"type": "array", "items": {"type": "integer", "minimum": 1}}}}, "NewTemporaryTeam": {"type": "object", "properties": {"team": {"title": "Team", "type": "integer"}, "name": {"title": "Name", "type": "string", "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}}}, "ReplaceTeamInLeague": {"required": ["old_team", "new_team"], "type": "object", "properties": {"old_team": {"title": "Old team", "type": "integer"}, "new_team": {"$ref": "#/definitions/NewTemporaryTeam"}}}, "LeagueMatchUpdate": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "home_team": {"title": "Home team", "type": "integer", "x-nullable": true}, "away_team": {"title": "Away team", "type": "integer", "x-nullable": true}}}, "BreakBetweenLeagueMatches": {"required": ["duration"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "duration": {"title": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "TimetableTeam": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}}}, "LeagueMatchWithResultTimetable": {"required": ["match_number", "home_team", "away_team"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "match_number": {"title": "Match number", "type": "integer", "maximum": 2147483647, "minimum": 1}, "home_team": {"$ref": "#/definitions/TimetableTeam"}, "away_team": {"$ref": "#/definitions/TimetableTeam"}, "home_team_goals": {"title": "Home team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "started": {"title": "Started", "type": "boolean"}, "finished": {"title": "Finished", "type": "boolean"}, "home_team_walkover": {"title": "Home team walkover", "type": "boolean"}, "away_team_walkover": {"title": "Away team walkover", "type": "boolean"}, "draw_not_allowed": {"title": "Draw not allowed", "type": "boolean"}, "break_before_match": {"$ref": "#/definitions/BreakBetweenLeagueMatches"}, "goals_bulk_editing_available": {"title": "Goals bulk editing available", "type": "boolean", "readOnly": true, "x-nullable": true}, "goals": {"title": "Goals", "type": "string", "readOnly": true}}}, "LeagueMatchSetResultRequest": {"required": ["home_team_goals", "away_team_goals"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "home_team_goals": {"title": "Home team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "started": {"title": "Started", "type": "boolean"}}}, "LeagueMatchWalkoverRequest": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "home_team_walkover": {"title": "Home team walkover", "type": "boolean"}, "away_team_walkover": {"title": "Away team walkover", "type": "boolean"}, "edited": {"title": "Edited", "type": "boolean"}}}, "EditLeagueResult": {"required": ["position"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "position": {"title": "Position", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "StatisticsEnteredByTrainerCreate": {"required": ["team_member", "event", "match_score"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer"}, "event": {"title": "Event", "type": "integer"}, "match_score": {"title": "Match score", "type": "integer", "maximum": 10, "minimum": 0}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}}}, "StatisticsEnteredByTrainerUpdate": {"required": ["match_score"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer", "readOnly": true}, "event": {"title": "Event", "type": "integer", "readOnly": true}, "match_score": {"title": "Match score", "type": "integer", "maximum": 10, "minimum": 0}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}}}, "StatisticsForGoalKeeperEnteredByFanCreate": {"required": ["event", "team_member", "tournament_match"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "verified": {"title": "Verified", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "shots_defended": {"title": "Shots defended", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "defended_1_vs_1": {"title": "Defended 1 vs 1", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "good_passes": {"title": "Good passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "good_resume_passes": {"title": "Good resume passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "event": {"title": "Event", "type": "integer"}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer"}, "tournament_match": {"title": "Tournament match", "type": "integer", "x-nullable": true}}}, "StatisticsForGoalKeeperEnteredByFanUpdate": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "verified": {"title": "Verified", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "shots_defended": {"title": "Shots defended", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "defended_1_vs_1": {"title": "Defended 1 vs 1", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "good_passes": {"title": "Good passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "good_resume_passes": {"title": "Good resume passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "event": {"title": "Event", "type": "integer", "readOnly": true}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer", "readOnly": true}, "tournament_match": {"title": "Tournament match", "type": "integer", "readOnly": true}}}, "StatisticsForPlayerInFieldEnteredByFanCreate": {"required": ["event", "team_member", "tournament_match"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "verified": {"title": "Verified", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "goals": {"title": "Goals", "type": "integer", "readOnly": true}, "assists": {"title": "Assists", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "rebounds_interceptions": {"title": "Rebounds and interceptions", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "duels_won": {"title": "Duels won (including head)", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "passes": {"title": "Passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "shots_on_goal": {"title": "Shots on goal", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "dribbling": {"title": "Dribbling", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "event": {"title": "Event", "type": "integer"}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer"}, "tournament_match": {"title": "Tournament match", "type": "integer", "x-nullable": true}}}, "StatisticsForPlayerInFieldEnteredByFanUpdate": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "verified": {"title": "Verified", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "goals": {"title": "Goals", "type": "integer", "readOnly": true}, "assists": {"title": "Assists", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "rebounds_interceptions": {"title": "Rebounds and interceptions", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "duels_won": {"title": "Duels won (including head)", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "passes": {"title": "Passes", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "shots_on_goal": {"title": "Shots on goal", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "dribbling": {"title": "Dribbling", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "event": {"title": "Event", "type": "integer", "readOnly": true}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}, "team_member": {"title": "Team member", "type": "integer", "readOnly": true}, "tournament_match": {"title": "Tournament match", "type": "integer", "readOnly": true}}}, "BadgeWithMotivation": {"required": ["player", "badge_type", "motivation_data"], "type": "object", "properties": {"player": {"title": "Player", "type": "integer"}, "badge_type": {"title": "Badge type", "type": "string", "enum": ["progress", "engagement", "education", "behavior"]}, "team_member": {"title": "Team member", "type": "integer", "x-nullable": true}, "motivation_data": {"title": "Motivation data", "type": "integer"}}}, "CreateBadges": {"required": ["badges"], "type": "object", "properties": {"badges": {"type": "array", "items": {"$ref": "#/definitions/BadgeWithMotivation"}}}}, "TeamSponsor": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "banner_url": {"title": "Banner url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "background_image": {"title": "Background image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "player_background_image": {"title": "Player background image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "motivation_banner": {"title": "Motivation banner", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "color": {"title": "Color", "type": "string", "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$", "maxLength": 25, "x-nullable": true}}}, "LevelInformation": {"required": ["badge_type", "sponsor"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "badge_type": {"title": "Badge type", "type": "string", "enum": ["progress", "engagement", "education", "behavior"]}, "level": {"title": "Level", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "sponsor": {"$ref": "#/definitions/TeamSponsor"}, "text": {"title": "Text", "type": "string", "readOnly": true}}}, "Notification": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "text": {"title": "Text", "type": "string", "readOnly": true, "minLength": 1}, "user": {"title": "User", "type": "string", "readOnly": true}, "event": {"title": "Event", "type": "string", "readOnly": true}, "sparring": {"title": "Sparring", "type": "string", "readOnly": true}, "tournament": {"title": "Tournament", "type": "string", "readOnly": true}, "league": {"title": "League", "type": "string", "readOnly": true}, "redirect_user": {"title": "Redirect user", "type": "string", "readOnly": true}, "team": {"title": "Team", "type": "string", "readOnly": true}, "team_member": {"title": "Team member", "type": "string", "readOnly": true}, "is_read": {"title": "Is read", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "type": {"title": "Notification type", "type": "integer", "enum": [0, 10]}, "show_only_team_rate": {"title": "Show only team rate", "type": "boolean"}, "redirect_to": {"title": "Redirect to", "type": "integer", "enum": [10, 20, 30], "x-nullable": true}, "show_modal": {"title": "Show_modal", "type": "integer", "enum": [10, 20, 30, 40], "x-nullable": true}, "kind": {"title": "Kind", "type": "string", "readOnly": true}, "mood": {"title": "Mood", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "string", "readOnly": true}, "action": {"title": "Action", "type": "string", "readOnly": true}, "state": {"title": "State", "type": "string", "readOnly": true}, "highlights": {"title": "Highlights", "type": "string", "readOnly": true}}}, "NotificationRegion": {"required": ["label", "latitude", "longitude", "radius_km"], "type": "object", "properties": {"label": {"title": "Label", "type": "string", "maxLength": 255}, "latitude": {"title": "Latitude", "type": "number"}, "longitude": {"title": "Longitude", "type": "number"}, "radius_km": {"title": "Radius km", "type": "integer"}}}, "NotificationPreferences": {"required": ["new_events_enabled", "new_event_types", "new_event_categories", "regions"], "type": "object", "properties": {"new_events_enabled": {"title": "New events enabled", "type": "boolean"}, "new_event_types": {"type": "array", "items": {"type": "string", "enum": ["tournament", "league", "sparring"]}}, "new_event_categories": {"type": "array", "items": {"type": "integer"}}, "regions": {"type": "array", "items": {"$ref": "#/definitions/NotificationRegion"}}}}, "Onboarding": {"type": "object", "properties": {"page": {"title": "Page", "type": "string", "enum": ["LoginPage", "RegisterPage", "ChooseUserAccountTypePage", "ChooseUserAccountTypeDuringRegisterPage", "RegisterEmailPage", "PasswordResetPage", "PasswordResetTokenPage", "OnboardingPage", "AddTeamPage", "TeamDetailsPage", "EditTeamPage", "AddSparringDetailsPage", "AddSparringSelectTeamPage", "TournamentDetailsPage", "SparringDetailsPage", "EditSparringPage", "AddProtegePage", "EditProtegePage", "ProtegesListPage", "BecomeScoutPage", "UserDetailsPage", "NotificationsListPage", "NotFoundPage", "AddTournamentBasicDataPage", "AddTournamentPlacePage", "AddTournamentFinalStepPage", "ChooseEventTypePage", "AddTournamentTeamChoosePage", "EditProfilePage", "ChangeUserAccountTypePage", "EditTournamentBasicDataPage", "EditTournamentPlacePage", "EditTournamentFinalStepPage", "TermsAndPolicyPage", "HelpAboutPage", "AddTeamManuallyPage", "RatePlayerPage", "FanStatisticsPage", "ReferralPage", "OrderAwardPage", "RegisterReferralPage", "SocialRegisterReferralPage", "AddTournamentSettingsPage", "EditTournamentSettingsPage", "TournamentTimetablePage", "TimetableGroupPage", "DashboardPage", "EventsPage", "TeamsListPage", "RanksPage", "UsersPage"], "readOnly": true}, "videos": {"title": "Videos", "type": "string", "readOnly": true}}}, "Payment": {"required": ["payment_id", "event"], "type": "object", "properties": {"payment_id": {"title": "Payment id", "type": "string", "maxLength": 50, "minLength": 1}, "event": {"title": "Event", "type": "integer"}, "user": {"title": "Organizer", "type": "integer", "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [10, 20, 30]}, "date": {"title": "Date", "type": "string", "format": "date-time", "readOnly": true}, "number_of_teams_paid": {"title": "Number of teams paid", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "individual_pricing": {"title": "Individual pricing", "type": "boolean"}}}, "UserDetail": {"required": ["legal_guardian"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "first_login": {"title": "First login", "type": "boolean"}, "legal_guardian": {"$ref": "#/definitions/User"}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}}}, "ListProtege": {"required": ["legal_guardian", "location"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "legal_guardian": {"$ref": "#/definitions/UserDetail"}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "is_player": {"title": "Is player", "type": "boolean"}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "location": {"title": "Location", "type": "string"}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}}}, "CreateProtege": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "avatar_image": {"title": "Avatar image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "location": {"title": "Location", "type": "string", "x-nullable": true}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "teams_to_join": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "player_position": {"title": "Player position", "type": "integer", "x-nullable": true}, "default_team": {"title": "Default team", "type": "integer"}, "player_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36]}}, "goalkeeper_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36]}}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}}}, "UserBasicWithAvatar": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "language": {"title": "Language", "type": "integer", "enum": [10, 20, 30, 40, 50, 60, 70, 80]}}}, "OrganizerRanking": {"required": ["user", "position", "location"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "user": {"$ref": "#/definitions/UserBasicWithAvatar"}, "position": {"title": "Position", "type": "integer"}, "location": {"title": "Location", "type": "string", "minLength": 1}, "rating_avg": {"title": "Rating avg", "type": "string", "readOnly": true}, "rating_count": {"title": "Rating count", "type": "string", "readOnly": true}, "highlighted": {"title": "Highlighted", "type": "boolean", "default": false}}}, "PlayerRanking": {"required": ["pk", "user", "position", "location", "category"], "type": "object", "properties": {"pk": {"title": "User", "type": "integer"}, "user": {"$ref": "#/definitions/UserBasicWithAvatar"}, "position": {"title": "Position", "type": "integer"}, "location": {"title": "Location", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer"}, "overall": {"title": "Overall", "type": "string", "readOnly": true}, "highlighted": {"title": "Highlighted", "type": "boolean", "default": false}}}, "TeamRanking": {"required": ["position", "name", "location"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "position": {"title": "Position", "type": "integer"}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "location": {"title": "Location", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "points": {"title": "Points", "type": "string", "readOnly": true}, "highlighted": {"title": "Highlighted", "type": "boolean", "default": false}}}, "TeamRatingInEventCreate": {"required": ["team", "event", "sports_rating", "organization_rating", "fair_play_rating"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "team": {"title": "Team", "type": "integer"}, "event": {"title": "Event", "type": "integer"}, "added_by": {"title": "Added by", "type": "integer", "readOnly": true}, "sports_rating": {"title": "Sports rating", "type": "integer", "maximum": 5, "minimum": 0}, "organization_rating": {"title": "Organization rating", "type": "integer", "maximum": 5, "minimum": 0}, "fair_play_rating": {"title": "Fair play rating", "type": "integer", "maximum": 5, "minimum": 0}}}, "RefereeList": {"required": ["referee", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "referee": {"$ref": "#/definitions/User"}, "event": {"title": "Event", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10]}}}, "RefereeCreate": {"required": ["referee", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "referee": {"title": "Referee", "type": "integer"}, "event": {"title": "Event", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 10], "readOnly": true}}}, "RefereeUpdate": {"type": "object", "properties": {"status": {"title": "Status", "type": "integer", "enum": [0, 10]}}}, "ReferralPrize": {"required": ["name", "point_price"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 100, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "description": {"title": "Description", "type": "string", "maxLength": 256, "x-nullable": true}, "point_price": {"title": "Point price", "type": "integer", "maximum": 2147483647, "minimum": 1}, "able_to_buy": {"title": "Able to buy", "type": "string", "readOnly": true}}}, "ReferralOrderCreate": {"required": ["first_name", "last_name", "phone", "address", "postal_code", "city", "referral_prize"], "type": "object", "properties": {"first_name": {"title": "First name", "type": "string", "maxLength": 160, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "maxLength": 160, "minLength": 1}, "phone": {"title": "Phone", "type": "string", "minLength": 1}, "address": {"title": "Address", "type": "string", "maxLength": 80, "minLength": 1}, "postal_code": {"title": "Postal code", "type": "string", "pattern": "^[0-9]{2}-[0-9]{3}$", "maxLength": 10, "minLength": 1}, "city": {"title": "City", "type": "string", "maxLength": 80, "minLength": 1}, "referral_prize": {"title": "Referral prize", "type": "integer"}}}, "CreateReport": {"required": ["report_type", "comment", "report_trainer", "report_team", "event"], "type": "object", "properties": {"report_type": {"title": "Report type", "type": "integer", "x-nullable": true}, "comment": {"title": "Comment", "type": "string", "maxLength": 256, "minLength": 1}, "report_trainer": {"title": "Report trainer", "type": "integer"}, "report_team": {"title": "Report team", "type": "integer"}, "event": {"title": "Event", "type": "integer"}}}, "ReportTypeList": {"required": ["description"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "description": {"title": "Description", "type": "string", "maxLength": 256, "minLength": 1}}}, "ScoutReportList": {"required": ["name", "report_type"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "report_type": {"title": "Report type", "type": "string", "enum": ["teams", "players"]}}}, "ScoutReportCreate": {"required": ["name", "report_type", "start_date", "end_date", "layout"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "report_type": {"title": "Report type", "type": "string", "enum": ["teams", "players"]}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "players": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "team_data_to_compare": {"type": "array", "items": {"type": "string", "enum": ["category", "sparrings_played", "sparrings_won", "sparrings_draw", "sparrings_lost", "sparrings_without_results", "sparrings_goals_scored", "sparrings_goals_conceded", "tournaments_played", "tournaments_won", "tournaments_without_results", "tournaments_goals_scored", "tournaments_goals_conceded", "leagues_played", "leagues_won", "leagues_without_results", "leagues_goals_scored", "leagues_goals_conceded", "matches_played", "events_won", "goals_scored", "goals_conceded", "best_player"]}}, "player_data_to_compare": {"type": "array", "items": {"type": "string", "enum": ["category", "player_position", "team", "attributes", "player_score", "sparrings_played", "sparrings_goals", "tournaments_played", "tournaments_goals", "leagues_played", "leagues_goals", "average_assists", "average_passes", "average_shots_on_goal", "average_dribbling", "average_shots_defended", "average_shots_defended_1_vs_1", "average_good_passes", "average_good_resume_passes"]}}, "layout": {"title": "Layout", "type": "string", "enum": ["rows", "columns"]}}}, "ScoutReport": {"required": ["name", "report_type", "start_date", "end_date", "layout", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "public_id": {"title": "Public id", "type": "string", "maxLength": 50, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "report_type": {"title": "Report type", "type": "string", "enum": ["teams", "players"]}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "team_data_to_compare": {"title": "Team data to compare", "type": "string", "enum": ["category", "sparrings_played", "sparrings_won", "sparrings_draw", "sparrings_lost", "sparrings_without_results", "sparrings_goals_scored", "sparrings_goals_conceded", "tournaments_played", "tournaments_won", "tournaments_without_results", "tournaments_goals_scored", "tournaments_goals_conceded", "leagues_played", "leagues_won", "leagues_without_results", "leagues_goals_scored", "leagues_goals_conceded", "matches_played", "events_won", "goals_scored", "goals_conceded", "best_player"], "x-nullable": true}, "player_data_to_compare": {"title": "Player data to compare", "type": "string", "enum": ["category", "player_position", "team", "attributes", "player_score", "sparrings_played", "sparrings_goals", "tournaments_played", "tournaments_goals", "leagues_played", "leagues_goals", "average_assists", "average_passes", "average_shots_on_goal", "average_dribbling", "average_shots_defended", "average_shots_defended_1_vs_1", "average_good_passes", "average_good_resume_passes"], "x-nullable": true}, "layout": {"title": "Layout", "type": "string", "enum": ["rows", "columns"]}, "user": {"title": "User", "type": "integer"}, "teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "players": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "ScoutReportRetrieve": {"required": ["name", "report_type", "start_date", "end_date", "layout"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "public_id": {"title": "Public id", "type": "string", "maxLength": 50, "x-nullable": true}, "report_type": {"title": "Report type", "type": "string", "enum": ["teams", "players"]}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "layout": {"title": "Layout", "type": "string", "enum": ["rows", "columns"]}, "teams_data": {"title": "Teams data", "type": "string", "readOnly": true}, "players_data": {"title": "Players data", "type": "string", "readOnly": true}, "download_link": {"title": "Download link", "type": "string", "readOnly": true}}}, "TeamForScoutReport": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "ObservedTeamList": {"required": ["team"], "type": "object", "properties": {"team": {"$ref": "#/definitions/TeamForScoutReport"}}}, "ObservedTeam": {"required": ["teams"], "type": "object", "properties": {"teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "SharedImage": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}}}, "SparringCreate": {"required": ["start_date", "location_place", "place_address", "place_name", "game_system"], "type": "object", "properties": {"home_team": {"title": "Home team", "type": "integer", "x-nullable": true}, "away_team": {"title": "Away team", "type": "integer", "x-nullable": true}, "results_type": {"title": "Results type", "type": "integer"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "home_team_goals": {"title": "Home team goals", "type": "integer", "readOnly": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "readOnly": true}, "status_for_home_team_trainers": {"title": "Status for home team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}, "status_for_away_team_trainers": {"title": "Status for away team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}}}, "AwaySparringCreate": {"required": ["start_date", "end_date", "place_address", "location_place", "game_system"], "type": "object", "properties": {"away_team": {"title": "Away team", "type": "integer", "x-nullable": true}, "results_type": {"title": "Results type", "type": "integer"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "game_range_radius": {"title": "Game range radius", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "location_place": {"title": "Location place", "type": "string"}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "home_team_goals": {"title": "Home team goals", "type": "integer", "readOnly": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "readOnly": true}, "status_for_home_team_trainers": {"title": "Status for home team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}, "status_for_away_team_trainers": {"title": "Status for away team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}}}, "SparringUpdate": {"type": "object", "properties": {"home_team": {"title": "Home team", "type": "integer", "x-nullable": true}, "away_team": {"title": "Away team", "type": "integer", "x-nullable": true}, "status": {"title": "Status", "type": "string", "enum": [0, 10, 20, 30, 35, 40, 50, 60]}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "results_type": {"title": "Results type", "type": "integer"}, "game_range_radius": {"title": "Game range radius", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "home_team_goals": {"title": "Home team goals", "type": "integer", "readOnly": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "readOnly": true}, "status_for_home_team_trainers": {"title": "Status for home team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}, "status_for_away_team_trainers": {"title": "Status for away team trainers", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "readOnly": true}}}, "InviteTeamToEvent": {"required": ["team"], "type": "object", "properties": {"team": {"title": "Team", "type": "integer"}}}, "SparringRemoveTemporaryTeams": {"required": ["removed_team"], "type": "object", "properties": {"removed_team": {"title": "Removed team", "type": "integer"}, "new_team": {"title": "New team", "type": "integer", "x-nullable": true}}}, "SetSparringResult": {"required": ["home_team_goals", "away_team_goals"], "type": "object", "properties": {"home_team_goals": {"title": "Home team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}}}, "Sponsor": {"required": ["sponsor_type"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "display_from_date": {"title": "Display from date", "type": "string", "format": "date-time", "x-nullable": true}, "display_to_date": {"title": "Display to date", "type": "string", "format": "date-time", "x-nullable": true}, "sponsor_type": {"title": "Sponsor type", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]}, "priority": {"title": "Priority", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "banner_url": {"title": "Banner url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "background_image": {"title": "Background image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "player_background_image": {"title": "Player background image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "motivation_banner": {"title": "Motivation banner", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "video": {"title": "Video", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "color": {"title": "Color", "type": "string", "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$", "maxLength": 25, "x-nullable": true}, "events": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "tournaments": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "RequestCreateTeamInvitation": {"required": ["team", "member"], "type": "object", "properties": {"team": {"title": "Team", "type": "integer"}, "member": {"title": "Member", "type": "integer"}, "status": {"title": "Status", "type": "integer", "enum": [0, 5, 10, 20]}}}, "TeamMemberStatus": {"required": ["positions"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "status": {"title": "Status", "type": "integer", "enum": [0, 5, 10, 20]}, "positions": {"type": "array", "items": {"type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190]}}, "avg_matches_score": {"title": "Avg matches score", "type": "string", "readOnly": true}, "is_member_or_legal_guardian_or_trainer": {"title": "Is member or legal guardian or trainer", "type": "string", "readOnly": true}, "request_user_is_scout": {"title": "Request user is scout", "type": "string", "readOnly": true}}}, "TrainerStatusRequest": {"required": ["status"], "type": "object", "properties": {"status": {"title": "Status", "type": "integer", "enum": [10, 20, 30, 40, 50]}, "main_trainer": {"title": "Main trainer", "type": "integer"}}}, "TeamListSerializerWithLike": {"required": ["name", "location_place", "like_count"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "like_count": {"title": "Like count", "type": "integer"}, "is_liked_by_me": {"title": "Is liked by me", "type": "boolean", "readOnly": true}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "TeamSave": {"required": ["name", "location_place"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}}}, "AvgTeamRating": {"required": ["avg_sport_rating", "avg_organization_rating", "avg_fair_play_rating"], "type": "object", "properties": {"avg_sport_rating": {"title": "Avg sport rating", "type": "number"}, "avg_organization_rating": {"title": "Avg organization rating", "type": "number"}, "avg_fair_play_rating": {"title": "Avg fair play rating", "type": "number"}}}, "Team": {"required": ["name", "main_trainer", "trainers", "location_place", "rating"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "main_trainer": {"$ref": "#/definitions/UserTrainer"}, "trainers": {"type": "array", "items": {"$ref": "#/definitions/UserTrainer"}}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "is_team_trainer": {"title": "Is team trainer", "type": "boolean", "readOnly": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "like_count": {"title": "Like count", "type": "string", "readOnly": true}, "is_liked_by_me": {"title": "Is liked by me", "type": "boolean", "readOnly": true}, "rating": {"$ref": "#/definitions/AvgTeamRating"}, "is_great_in_sport_level": {"title": "Is great in sport level", "type": "boolean", "readOnly": true}, "is_great_in_organization_level": {"title": "Is great in organization level", "type": "boolean", "readOnly": true}, "is_great_in_fair_play_level": {"title": "Is great in fair play level", "type": "boolean", "readOnly": true}, "is_bad_team": {"title": "Is bad team", "type": "boolean", "readOnly": true}, "ranking_points": {"title": "Ranking points", "type": "integer", "readOnly": true}}}, "TeamList": {"required": ["name", "location_place", "like_count"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "like_count": {"title": "Like count", "type": "integer"}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "TeamWithTrainersListSerializerWithLike": {"required": ["name", "location_place", "like_count", "trainers"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "like_count": {"title": "Like count", "type": "integer"}, "is_liked_by_me": {"title": "Is liked by me", "type": "boolean", "readOnly": true}, "trainers": {"type": "array", "items": {"$ref": "#/definitions/UserBasicWithAvatar"}}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}}}, "TeamUpdate": {"required": ["name", "location_place"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 255, "x-nullable": true}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location_place": {"title": "Location place", "type": "string"}}}, "InviteTrainersRequest": {"required": ["trainers"], "type": "object", "properties": {"trainers": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "TemporaryTeam": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "is_temporary": {"title": "Is temporary team", "type": "boolean"}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}}}, "TemporaryTeamSave": {"required": ["name", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "event": {"title": "Event", "type": "integer"}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}}}, "TournamentDay": {"required": ["day_number", "start_date", "end_date"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "day_number": {"title": "Day number", "type": "integer", "maximum": 2147483647, "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}}}, "TournamentAdditionalBreak": {"required": ["start_date", "duration"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "duration": {"title": "Duration", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}}, "x-nullable": true}, "TournamentCreate": {"required": ["name", "category", "number_of_teams", "start_date", "end_date", "teams", "location_place", "place_address", "place_name", "payment_status", "game_system", "tournament_days"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "teams": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "results_type": {"title": "Results type", "type": "integer", "x-nullable": true}, "payment_status": {"title": "Payment status", "type": "integer"}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "group_stage_number_of_groups": {"title": "Number of groups", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "finish_stage_game_format": {"title": "Finish stage game format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "tournament_days": {"type": "array", "items": {"$ref": "#/definitions/TournamentDay"}}, "number_of_pitches": {"title": "Number of pitches", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "number_of_teams_for_finish_stage": {"title": "Number of teams for finish stage", "type": "integer", "x-nullable": true}, "option_in_finish_playoff_stage": {"title": "Option in finish playoff stage", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7], "x-nullable": true}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "number_of_matches_played_in_a_day": {"title": "Number of matches played in a day", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/TournamentAdditionalBreak"}, "x-nullable": true}, "number_of_group_in_finish_group_stage": {"title": "Number of group in finish group stage", "type": "integer", "x-nullable": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "sponsors": {"type": "array", "items": {"$ref": "#/definitions/EditEventSponsor"}}}}, "TournamentDateandBreakes": {"required": ["tournament_days"], "type": "object", "properties": {"tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/TournamentAdditionalBreak"}}, "tournament_days": {"type": "array", "items": {"$ref": "#/definitions/TournamentDay"}}}}, "TeamNumberandGroup": {"required": ["number_of_teams", "group_stage_number_of_groups"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer"}, "group_stage_number_of_groups": {"title": "Group stage number of groups", "type": "integer"}}}, "CupTypeList": {"required": ["number_of_teams"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 4}, "first_phase_type": {"title": "First phase type", "type": "integer", "enum": [0, 10, 20]}}}, "PlayoffSimulationRequest": {"required": ["number_of_teams", "option"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 4}, "option": {"title": "Option", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "number_of_groups": {"title": "Number of groups", "type": "integer", "default": 0, "minimum": 1, "x-nullable": true}, "is_second_stage": {"title": "Is second stage", "type": "boolean", "default": false}, "number_of_pitches": {"title": "Number of pitches", "type": "integer"}, "is_simulation": {"title": "Is simulation", "type": "boolean", "default": true}}}, "Tournament": {"required": ["name", "category", "number_of_teams", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "count_accepted_teams": {"title": "Count accepted teams", "type": "string", "readOnly": true}, "event": {"$ref": "#/definitions/Event"}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "group_stage_number_of_groups": {"title": "Number of groups", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "finish_stage_game_format": {"title": "Finish stage format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "tournament_days": {"type": "array", "items": {"$ref": "#/definitions/TournamentDay"}, "readOnly": true}, "tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/TournamentAdditionalBreak"}, "readOnly": true}}}, "TournamentDuration": {"required": ["game_format", "number_of_matches", "number_of_pitches", "number_of_teams", "duration_of_match"], "type": "object", "properties": {"game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "finish_stage_game_format": {"title": "Finish stage game format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "number_of_matches": {"title": "Number of matches", "type": "integer", "minimum": 1}, "number_of_pitches": {"title": "Number of pitches", "type": "integer", "minimum": 1}, "number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 1}, "number_of_teams_for_finish_stage": {"title": "Number of teams for finish stage", "type": "integer", "minimum": 1, "x-nullable": true}, "group_stage_number_of_groups": {"title": "Group stage number of groups", "type": "integer", "minimum": 1, "x-nullable": true}, "number_of_group_in_finish_group_stage": {"title": "Number of group in finish group stage", "type": "integer", "minimum": 1, "x-nullable": true}, "duration_of_match": {"title": "Duration of match", "type": "integer", "minimum": 1}, "duration_of_break": {"title": "Duration of break", "type": "integer", "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "type": "integer", "minimum": 0}, "tournament_additional_breaks": {"title": "Tournament additional breaks", "type": "integer", "minimum": 0}, "playoff_option": {"title": "Playoff option", "type": "integer", "x-nullable": true}}}, "Break": {"required": ["start_date", "duration"], "type": "object", "properties": {"start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "duration": {"title": "Duration", "type": "integer", "minimum": 1}}}, "Day": {"required": ["start_date", "end_date"], "type": "object", "properties": {"start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/Break"}}}}, "TournamentDurationValidate": {"required": ["game_format", "finish_stage_game_format", "number_of_matches", "number_of_pitches", "number_of_teams", "duration_of_match", "days", "duration"], "type": "object", "properties": {"game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "finish_stage_game_format": {"title": "Finish stage game format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "number_of_matches": {"title": "Number of matches", "type": "integer", "minimum": 1}, "number_of_pitches": {"title": "Number of pitches", "type": "integer", "minimum": 1}, "number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 1}, "number_of_teams_for_finish_stage": {"title": "Number of teams for finish stage", "type": "integer", "minimum": 1, "x-nullable": true}, "group_stage_number_of_groups": {"title": "Group stage number of groups", "type": "integer", "minimum": 1, "x-nullable": true}, "number_of_group_in_finish_group_stage": {"title": "Number of group in finish group stage", "type": "integer", "minimum": 1, "x-nullable": true}, "duration_of_match": {"title": "Duration of match", "type": "integer", "minimum": 1}, "duration_of_break": {"title": "Duration of break", "type": "integer", "minimum": 0}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "type": "integer", "minimum": 0}, "playoff_option": {"title": "Playoff option", "type": "integer", "x-nullable": true}, "days": {"type": "array", "items": {"$ref": "#/definitions/Day"}}, "duration": {"title": "Duration", "type": "integer", "minimum": 1}}}, "TournamentMatchNumber": {"required": ["number_of_teams", "first_phase_type"], "type": "object", "properties": {"number_of_teams": {"title": "Number of teams", "type": "integer", "minimum": 0}, "first_phase_type": {"title": "First phase type", "type": "integer", "enum": [0, 10, 20]}, "second_phase_type": {"title": "Second phase type", "type": "integer", "enum": [0, 10]}, "first_phase_group_number": {"title": "First phase group number", "type": "integer", "minimum": 0}, "second_phase_group_number": {"title": "Second phase group number", "type": "integer", "minimum": 0}, "second_phase_team_number": {"title": "Second phase team number", "type": "integer", "minimum": 0}, "playoff_option": {"title": "Playoff option", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}}}, "EventWithManyOrganizers": {"required": ["organizer", "location_place", "game_system"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "await_for_organizer_reaction": {"title": "Waiting for organizer reaction", "type": "boolean", "x-nullable": true}, "organizer": {"$ref": "#/definitions/UserTrainer"}, "co_organizers": {"title": "Co organizers", "type": "string", "readOnly": true}, "trainer_invitation": {"title": "Trainer invitation", "type": "string", "readOnly": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "end_date": {"title": "End date", "type": "string", "format": "date-time", "x-nullable": true}, "is_event_organizer": {"title": "Is event organizer", "type": "string", "readOnly": true}, "results_type": {"title": "Results type", "type": "integer", "enum": [10, 20, 21, 30]}, "status": {"title": "Status", "type": "integer", "enum": [0, 10, 20, 30, 35, 40, 50, 60], "x-nullable": true}, "status_for_organizer": {"title": "Status for organizer", "type": "string", "readOnly": true}, "my_waiting_to_approval_requests": {"title": "My waiting to approval requests", "type": "string", "readOnly": true}, "is_active": {"title": "Is active", "type": "string", "readOnly": true}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "place_name": {"title": "Place name", "type": "string", "maxLength": 160, "x-nullable": true}, "game_system": {"title": "Game system", "type": "integer", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "like_count": {"title": "Like count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "is_liked_by_me": {"title": "Is liked by me", "type": "string", "readOnly": true}, "is_promoted": {"title": "Is promoted", "type": "string", "readOnly": true}, "is_referee": {"title": "Is referee", "type": "boolean", "readOnly": true}, "number_of_paid_teams": {"title": "Number of paid teams", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "payment_status": {"title": "Payment status", "type": "integer", "enum": [10, 20, 30], "x-nullable": true}, "results_visible_to_all": {"title": "Results visible to all", "type": "boolean"}}}, "TournamentRetrieve": {"required": ["name", "category", "number_of_teams", "event"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "event": {"$ref": "#/definitions/EventWithManyOrganizers"}, "event_request": {"title": "Event request", "type": "string", "readOnly": true}, "ready_for_confirmed": {"title": "Ready for confirmed", "type": "string", "readOnly": true}, "allow_to_join": {"title": "Allow to join", "type": "boolean", "readOnly": true}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "group_stage_number_of_groups": {"title": "Number of groups", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "finish_stage_game_format": {"title": "Finish stage format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "tournament_days": {"type": "array", "items": {"$ref": "#/definitions/TournamentDay"}, "readOnly": true}, "number_of_pitches": {"title": "Number of pitches", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "number_of_group_in_finish_group_stage": {"title": "Number of group in finish group stage", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "option_in_finish_playoff_stage": {"title": "Option in finish playoff stage", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7], "x-nullable": true}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "number_of_matches_played_in_a_day": {"title": "Number of matches played in a day", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/TournamentAdditionalBreak"}, "readOnly": true}, "able_to_generate_matches": {"title": "Able to generate matches", "type": "string", "readOnly": true}, "added_result_to_match": {"title": "Added result to match", "type": "string", "readOnly": true}, "matches_created_by_generator": {"title": "Matches created by generator", "type": "boolean", "x-nullable": true}, "display_draft": {"title": "Display draft", "type": "boolean"}, "able_to_remove_all_games": {"title": "Able to remove all games", "type": "string", "readOnly": true}, "first_stage_is_end": {"title": "First stage is end", "type": "boolean"}, "second_stage_has_started": {"title": "Second stage has started", "type": "boolean"}, "can_switch_teams_between_groups": {"title": "Can switch teams between groups", "type": "string", "readOnly": true}, "finished": {"title": "Finished", "type": "boolean", "readOnly": true}, "number_of_teams_for_finish_stage": {"title": "Number of teams for finish stage", "type": "integer", "maximum": 2147483647, "minimum": 2, "x-nullable": true}, "sponsors": {"title": "Sponsors", "type": "string", "readOnly": true}, "sponsors_main": {"title": "Sponsors main", "type": "string", "readOnly": true}, "tournament_level": {"title": "Tournament level", "type": "string", "readOnly": true}, "can_rate_tournament": {"title": "Can rate tournament", "type": "string", "readOnly": true}, "has_second_stage_draft_matches": {"title": "Has second stage draft matches", "type": "string", "readOnly": true}}}, "TournamentDaySerializerForTournamentEdit": {"required": ["day_number", "start_date", "end_date"], "type": "object", "properties": {"pk": {"title": "Pk", "type": "integer"}, "day_number": {"title": "Day number", "type": "integer", "maximum": 2147483647, "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}}}, "TournamentAdditionalBreakSerializerForTournamentEdit": {"required": ["start_date", "duration"], "type": "object", "properties": {"pk": {"title": "Pk", "type": "integer"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "duration": {"title": "Duration", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "TournamentUpdate": {"required": ["name", "category", "start_date", "end_date", "status", "location_place", "place_address", "place_name", "game_system", "number_of_teams"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "minLength": 1}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000]}, "entry_fee": {"title": "Entry fee", "type": "string", "maxLength": 255, "x-nullable": true}, "description": {"title": "Description", "type": "string", "maxLength": 1000, "x-nullable": true}, "url": {"title": "Url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "status": {"title": "Status", "type": "string", "enum": [0, 10, 20, 30, 35, 40, 50, 60]}, "location_place": {"title": "Location place", "type": "string"}, "place_address": {"title": "Place address", "type": "string", "minLength": 1}, "place_name": {"title": "Place name", "type": "string", "minLength": 1}, "results_type": {"title": "Results type", "type": "integer"}, "payment_status": {"title": "Payment status", "type": "integer"}, "game_system": {"title": "Game system", "type": "string", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 85, 90]}, "poster": {"title": "Poster", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "regulation": {"title": "Regulation", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "number_of_teams": {"title": "Number of teams", "type": "integer", "maximum": 2147483647, "minimum": 3}, "game_format": {"title": "Game format", "type": "integer", "enum": [0, 10, 20]}, "group_stage_number_of_groups": {"title": "Number of groups", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "finish_stage_game_format": {"title": "Finish stage format", "type": "integer", "enum": [0, 10], "x-nullable": true}, "tournament_days": {"type": "array", "items": {"$ref": "#/definitions/TournamentDaySerializerForTournamentEdit"}}, "number_of_pitches": {"title": "Number of pitches", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_match": {"title": "Duration of match", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_break": {"title": "Duration of break", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "number_of_matches_played_in_a_day": {"title": "Number of matches played in a day", "type": "integer", "maximum": 2147483647, "minimum": 1, "x-nullable": true}, "duration_of_break_between_matches": {"title": "Duration of break between matches", "description": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/TournamentAdditionalBreakSerializerForTournamentEdit"}}, "number_of_group_in_finish_group_stage": {"title": "Number of group in finish group stage", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "option_in_finish_playoff_stage": {"title": "Option in finish playoff stage", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7], "x-nullable": true}, "number_of_teams_for_finish_stage": {"title": "Number of teams for finish stage", "type": "integer", "maximum": 2147483647, "minimum": 2, "x-nullable": true}}}, "TournamentSecondStageDurationRequest": {"type": "object", "properties": {"tournament_additional_breaks": {"type": "array", "items": {"$ref": "#/definitions/Break"}}}}, "TournamentSecondStageDurationValidate": {"required": ["days", "duration"], "type": "object", "properties": {"days": {"type": "array", "items": {"$ref": "#/definitions/Day"}}, "duration": {"title": "Duration", "type": "integer", "minimum": 1}}}, "GroupSettings": {"required": ["group", "start_date", "pitches"], "type": "object", "properties": {"group": {"title": "Group", "type": "string", "minLength": 1}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "pitches": {"title": "Pitches", "type": "string", "minLength": 1}}}, "PitchAssignment": {"required": ["pitch_assignment_type"], "type": "object", "properties": {"pitch_assignment_type": {"title": "Pitch assignment type", "type": "integer", "enum": [1, 2, 3]}, "group_order": {"type": "array", "items": {"type": "string", "minLength": 1}}, "group_settings": {"type": "array", "items": {"$ref": "#/definitions/GroupSettings"}}}}, "StageGenerate": {"type": "object", "properties": {"first_stage": {"$ref": "#/definitions/PitchAssignment"}, "second_stage": {"$ref": "#/definitions/PitchAssignment"}}}, "SecondStageTime": {"type": "object", "properties": {"second_stage_start_date": {"title": "Second stage start date", "type": "string", "format": "date-time"}}}, "InviteEventOrganizers": {"required": ["organizers"], "type": "object", "properties": {"organizers": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "SwapDraftTeam": {"required": ["team_first_stage_position", "team_first_stage_group_name"], "type": "object", "properties": {"team_first_stage_position": {"title": "Team first stage position", "type": "integer"}, "team_first_stage_group_name": {"title": "Team first stage group name", "type": "string", "minLength": 1}}}, "SwapTeamsBetweenGroups": {"required": ["group_first_team", "group_second_team"], "type": "object", "properties": {"first_team": {"title": "First team", "type": "string"}, "first_draft_team": {"$ref": "#/definitions/SwapDraftTeam"}, "group_first_team": {"title": "Group first team", "type": "integer"}, "second_team": {"title": "Second team", "type": "string"}, "second_draft_team": {"$ref": "#/definitions/SwapDraftTeam"}, "group_second_team": {"title": "Group second team", "type": "integer"}}}, "ReplaceTeamInEvent": {"required": ["old_team", "new_team"], "type": "object", "properties": {"old_team": {"title": "Old team", "type": "integer"}, "new_team": {"$ref": "#/definitions/NewTemporaryTeam"}}}, "TeamResult": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "category": {"title": "Category", "type": "integer", "enum": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 3000, 4000], "x-nullable": true}, "category_name": {"title": "Category name", "type": "string", "readOnly": true}}}, "TournamentResults": {"required": ["position"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "team": {"$ref": "#/definitions/TeamResult"}, "position": {"title": "Position", "type": "integer", "maximum": 2147483647, "minimum": 0}, "matches_played": {"title": "Matches played", "type": "integer", "maximum": 2147483647, "minimum": 0}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": 0}, "goals_scored": {"title": "Goals scored", "type": "integer", "maximum": 2147483647, "minimum": 0}, "goals_conceded": {"title": "Goals conceded", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "BreakBeforeMatch": {"required": ["duration"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "duration": {"title": "Duration in minutes", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "TournamentsMatches": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "home_team": {"title": "Home team", "type": "string", "readOnly": true}, "away_team": {"title": "Away team", "type": "string", "readOnly": true}, "home_team_goals": {"title": "Home team goals", "type": "string", "readOnly": true}, "away_team_goals": {"title": "Away team goals", "type": "string", "readOnly": true}, "started": {"title": "Started", "type": "boolean"}, "finished": {"title": "Finished", "type": "boolean"}, "pitch_number": {"title": "Pitch number", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "pitch_name": {"title": "Pitch name", "type": "string", "maxLength": 255, "x-nullable": true}, "turn_number": {"title": "Turn number", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "home_team_walkover": {"title": "Home team walkover", "type": "boolean"}, "away_team_walkover": {"title": "Away team walkover", "type": "boolean"}, "playoff_number": {"title": "Playoff stage match number", "description": "it's a match number in a single playoff stage; used to calculate results", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "is_for_third_place": {"title": "Is for third place", "type": "boolean"}, "is_second_stage": {"title": "Is second stage", "type": "string", "readOnly": true}, "goals": {"title": "Goals", "type": "string", "readOnly": true}, "group_match_number": {"title": "Group match number", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "break_before_match": {"$ref": "#/definitions/BreakBeforeMatch"}, "playoff_match_number": {"title": "Playoff match number", "description": "general match number in the entire playoff ladder; should be unique; used to assign the next match to a team", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "match_name": {"title": "Match name", "type": "string", "readOnly": true}, "draw_not_allowed": {"title": "Draw not allowed", "type": "boolean"}, "goals_bulk_editing_available": {"title": "Goals bulk editing available", "type": "boolean", "readOnly": true}, "home_team_first_stage_position": {"title": "Home team first stage position", "type": "integer", "readOnly": true}, "home_team_first_stage_group_name": {"title": "Home team first stage group name", "type": "string", "readOnly": true, "minLength": 1}, "away_team_first_stage_position": {"title": "Away team first stage position", "type": "integer", "readOnly": true}, "away_team_first_stage_group_name": {"title": "Away team first stage group name", "type": "string", "readOnly": true, "minLength": 1}}}, "TournamentMatchCreate": {"required": ["tournament", "pitch_number"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "tournament": {"title": "Tournament", "type": "integer"}, "group": {"title": "Group in tournament", "type": "integer", "x-nullable": true}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "home_team": {"title": "Home team", "type": "integer", "x-nullable": true}, "away_team": {"title": "Away team", "type": "integer", "x-nullable": true}, "pitch_number": {"title": "Pitch number", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}}}, "DraftTeam": {"type": "object", "properties": {"first_stage_position": {"title": "First stage position", "type": "integer", "minimum": 1, "x-nullable": true}, "first_stage_group_name": {"title": "First stage group name", "type": "string", "maxLength": 1, "minLength": 1, "x-nullable": true}, "draft_team_name": {"title": "Draft team name", "type": "string", "maxLength": 255, "minLength": 1}}, "x-nullable": true}, "TournamentMatchUpdate": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "started": {"title": "Started", "type": "boolean"}, "finished": {"title": "Finished", "type": "boolean"}, "start_date": {"title": "Start date", "type": "string", "format": "date-time", "x-nullable": true}, "pitch_number": {"title": "Pitch number", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "pitch_name": {"title": "Pitch name", "type": "string", "maxLength": 255, "x-nullable": true}, "home_team": {"title": "Home team", "type": "integer", "x-nullable": true}, "away_team": {"title": "Away team", "type": "integer", "x-nullable": true}, "home_team_goals": {"title": "Home team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "home_team_walkover": {"title": "Home team walkover", "type": "boolean"}, "away_team_walkover": {"title": "Away team walkover", "type": "boolean"}, "draft_home_team": {"$ref": "#/definitions/DraftTeam"}, "draft_away_team": {"$ref": "#/definitions/DraftTeam"}}}, "TournamentMatchSetResult": {"required": ["home_team_goals", "away_team_goals"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "home_team_goals": {"title": "Home team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "away_team_goals": {"title": "Away team goals", "type": "integer", "maximum": 99, "minimum": 0, "x-nullable": true}, "started": {"title": "Started", "type": "boolean"}}}, "WalkoverMatchTournament": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "home_team_walkover": {"title": "Home team walkover", "type": "boolean"}, "away_team_walkover": {"title": "Away team walkover", "type": "boolean"}, "edited": {"title": "Edited", "type": "boolean"}}}, "EditTournamentResult": {"required": ["position"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "position": {"title": "Position", "type": "integer", "maximum": 2147483647, "minimum": 0}, "points": {"title": "Points", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "UserList": {"required": ["legal_guardian"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "legal_guardian": {"$ref": "#/definitions/User"}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}}}, "DefaultTeam": {"required": ["name"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 160, "minLength": 1}, "image": {"title": "Image", "type": "string", "readOnly": true, "format": "uri"}}}, "PlayerData": {"required": ["default_team", "player_attributes", "goalkeeper_attributes"], "type": "object", "properties": {"player_position": {"title": "Player position", "type": "integer", "enum": [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190], "x-nullable": true}, "default_team": {"$ref": "#/definitions/DefaultTeam"}, "player_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36]}}, "goalkeeper_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36]}}, "sparrings_played": {"title": "Sparrings played", "type": "integer", "maximum": 2147483647, "minimum": 0}, "sparrings_goals": {"title": "Sparring goals", "type": "integer", "maximum": 2147483647, "minimum": 0}, "tournaments_played": {"title": "Tournaments played", "type": "integer", "maximum": 2147483647, "minimum": 0}, "tournaments_goals": {"title": "Tournaments goals", "type": "integer", "maximum": 2147483647, "minimum": 0}, "matches_played": {"title": "Matches played", "type": "integer", "maximum": 2147483647, "minimum": 0}, "matches_points": {"title": "Matches points", "type": "integer", "maximum": 2147483647, "minimum": 0}, "player_score": {"title": "Player score", "type": "integer", "maximum": 2147483647, "minimum": 0}, "goals_shot": {"title": "Goals shot", "type": "string", "readOnly": true}, "average_goals": {"title": "Average goals", "type": "string", "readOnly": true}, "average_assists": {"title": "Average assists", "type": "string", "readOnly": true}, "average_rebounds_interceptions": {"title": "Average rebounds interceptions", "type": "string", "readOnly": true}, "average_duels_won": {"title": "Average duels won", "type": "string", "readOnly": true}, "average_passes": {"title": "Average passes", "type": "string", "readOnly": true}, "average_shots_on_goal": {"title": "Average shots on goal", "type": "string", "readOnly": true}, "average_dribbling": {"title": "Average dribbling", "type": "string", "readOnly": true}, "average_shots_defended": {"title": "Average shots defended", "type": "string", "readOnly": true}, "average_defended_1_vs_1": {"title": "Average defended 1 vs 1", "type": "string", "readOnly": true}, "average_good_passes": {"title": "Average good passes", "type": "string", "readOnly": true}, "average_good_resume_passes": {"title": "Average good resume passes", "type": "string", "readOnly": true}, "sponsor": {"title": "Sponsor", "type": "string", "readOnly": true}}}, "UserRetrieve": {"required": ["location", "legal_guardian", "player_data", "proteges"], "type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean"}, "phone": {"title": "Phone", "type": "string", "readOnly": true}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "location": {"title": "Location", "type": "string"}, "is_social": {"title": "Is social", "type": "boolean", "readOnly": true}, "first_login": {"title": "First login", "type": "boolean"}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "subscriber_id": {"title": "Subscriber id", "type": "string", "maxLength": 100, "x-nullable": true}, "is_trainer_pro": {"title": "Is trainer pro", "type": "string", "readOnly": true}, "tutlo_pro_available": {"title": "Tutlo pro available", "type": "string", "readOnly": true}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}, "language": {"title": "Language", "type": "integer", "enum": [10, 20, 30, 40, 50, 60, 70, 80]}, "legal_guardian": {"$ref": "#/definitions/User"}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "current_teams": {"title": "Current teams", "type": "string", "readOnly": true}, "player_data": {"$ref": "#/definitions/PlayerData"}, "motivation": {"title": "Motivation", "type": "string", "readOnly": true}, "trained_teams": {"title": "Trained teams", "type": "string", "readOnly": true}, "team_invites": {"title": "Team invites", "type": "string", "readOnly": true}, "proteges": {"type": "array", "items": {"$ref": "#/definitions/User"}}, "is_in_team": {"title": "Is in team", "type": "string", "readOnly": true}, "member_status": {"title": "Member status", "type": "string", "readOnly": true}, "like_count": {"title": "Like count", "type": "string", "readOnly": true}, "is_liked_by_me": {"title": "Is liked by me", "type": "string", "readOnly": true}, "user_environment": {"title": "User environment", "type": "string", "readOnly": true}, "one_signal_updated": {"title": "One signal updated", "type": "boolean"}, "skipped_creating_team": {"title": "Skipped creating team", "type": "boolean"}, "skipped_adding_protege": {"title": "Skipped adding protege", "type": "boolean"}, "organizer_rating_avg": {"title": "Organizer rating avg", "type": "string", "readOnly": true}, "organizer_rating_count": {"title": "Organizer rating count", "type": "string", "readOnly": true}}}, "UserUpdate": {"type": "object", "properties": {"pk": {"title": "ID", "type": "integer", "readOnly": true}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "first_name": {"title": "First name", "type": "string", "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "minLength": 1}, "is_trainer": {"title": "Is trainer", "type": "boolean"}, "is_player": {"title": "Is player", "type": "boolean"}, "is_fan": {"title": "Is parent", "type": "boolean"}, "is_scout": {"title": "Is scout", "type": "boolean"}, "is_investor": {"title": "Is investor", "type": "boolean", "readOnly": true}, "saw_trainer_onboarding": {"title": "Saw trainer onboarding", "type": "boolean"}, "saw_player_onboarding": {"title": "Saw player onboarding", "type": "boolean"}, "saw_fan_onboarding": {"title": "Saw parent onboarding", "type": "boolean"}, "saw_scout_onboarding": {"title": "Saw scout onboarding", "type": "boolean"}, "phone": {"title": "Phone", "type": "string", "minLength": 1, "x-nullable": true}, "first_login": {"title": "First login", "type": "boolean"}, "subscription_type": {"title": "Subscription type", "type": "integer", "enum": [10, 15, 20, 30, 40, 50]}, "subscriber_id": {"title": "Subscriber id", "type": "string", "maxLength": 100, "x-nullable": true}, "player_position": {"title": "Player position", "type": "integer", "x-nullable": true}, "player_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36]}}, "goalkeeper_attributes": {"type": "array", "items": {"type": "string", "enum": [1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36]}}, "avatar_image": {"title": "Avatar image", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "location": {"title": "Location", "type": "string", "x-nullable": true}, "birthdate": {"title": "Birthdate", "type": "string", "format": "date", "x-nullable": true}, "avatar": {"title": "Avatar", "type": "string", "readOnly": true}, "address": {"title": "Address", "type": "string", "maxLength": 160, "x-nullable": true}, "current_location": {"title": "Current location", "type": "string", "x-nullable": true}, "referral_code_from": {"title": "Referral code from", "type": "string", "minLength": 1}, "language": {"title": "Language", "type": "integer", "enum": [10, 20, 30, 40, 50, 60, 70, 80]}, "is_social": {"title": "Is social", "type": "boolean", "readOnly": true}, "auto_update_lang": {"title": "Auto update language", "type": "boolean"}, "agreed_to_marketing": {"title": "Agreed to marketing", "type": "boolean"}, "agreed_to_rodo": {"title": "Agreed to rodo", "type": "boolean", "x-nullable": true}, "one_signal_updated": {"title": "One signal updated", "type": "boolean"}, "skipped_creating_team": {"title": "Skipped creating team", "type": "boolean"}, "skipped_adding_protege": {"title": "Skipped adding protege", "type": "boolean"}, "birth_year": {"title": "Birth year", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}}}}}