{"openapi":"3.0.1","info":{"title":"Surfr Rest API","description":"This is the Surfr Backend Rest API","contact":{"name":"Herbert the API Owner","email":"herbert@thesurfr.app"},"version":"0.1.0"},"tags":[{"name":"About Us","description":"About Us information"},{"name":"Competitions","description":"Manage Competitions in Surfr"},{"name":"Continents","description":"Manage Continents in Surfr"},{"name":"Countries","description":"Manage Contries in Surfr"},{"name":"Leaderboard","description":"Leaderboard Service to see stats on high scores of Riders"},{"name":"Spot","description":"Manage spots and locations"}],"paths":{"/aboutus/getoptions":{"get":{"tags":["About Us"],"summary":"Get about us options","description":"Returns a list of about us options with language support","operationId":"getSession","parameters":[{"name":"lang","in":"query","description":"Language code (ISO 639-1 alpha-2). Supported: en, de, nl, es, pt. Default: returns 'text' field","schema":{"type":"string"}}],"responses":{"200":{"description":"List of about us options","content":{"application/json":{"schema":{"type":"array"}}}},"500":{"description":"Internal server error"}}}},"/competition/{competitionId}/user/{userId}/profile/image":{"post":{"tags":["Competitions"],"operationId":"uploadFile","parameters":[{"name":"competitionId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"$ref":"#/components/schemas/FormDataContentDisposition"}}}}}},"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition/{id}":{"get":{"tags":["Competitions"],"description":"Get the complete Competition by ID","operationId":"getCompetitionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Successful retrieval of Competition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}},"put":{"tags":["Competitions"],"description":"Update Competition","operationId":"updateCompetitionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Successful updated Competition, returning the saved competition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}}},"/competition/event/{competitionId}":{"delete":{"tags":["Competitions"],"description":"Delete Competition","operationId":"deleteCompetition","parameters":[{"name":"competitionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"DELETE an empty Competition, returning the created competition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Wrong parameters for creating"},"500":{"description":"Internal server error"}}}},"/competition/event":{"get":{"tags":["Competitions"],"description":"Find all competitions / events","operationId":"getAllCompetitions","responses":{"200":{"description":"Successful retrieval of Competitions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}},"post":{"tags":["Competitions"],"description":"Create Competition","operationId":"createCompetition","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Successful created Competition, returning the created competition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Wrong parameters for creating"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user":{"get":{"tags":["Competitions"],"description":"Get Competition Users","operationId":"getCompetitionUsers","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Successful retrieval of Competition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSessionUser"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}},"post":{"tags":["Competitions"],"description":"Add Users to competition ","operationId":"addCompetitionUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"User Data, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user/{email}":{"post":{"tags":["Competitions"],"description":"Add Users to competition by Email","operationId":"addCompetitionUserByEmail","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"email","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"User Data, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user/email/{email}":{"delete":{"tags":["Competitions"],"description":"Add Users to competition ","operationId":"deleteCompetitionUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"email","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"User Data, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user/{userId}":{"delete":{"tags":["Competitions"],"description":"Add Users to competition ","operationId":"deleteCompetitionUser_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"User Data, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user/{userId}/convert-to-device":{"put":{"tags":["Competitions"],"description":"Convert user to device or back","operationId":"convertUserToDevice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"description":"Successful conversion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"User or Event not found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/user/alias":{"put":{"tags":["Competitions"],"description":"Update Competition Users Alias names","operationId":"updateCompetitionUsersAlias","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array"}}}},"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventuser"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/heat":{"get":{"tags":["Competitions"],"description":"Get Competition Heats","operationId":"getCompetitionHeats","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Successful retrieval of Competition Heats","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSession"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}},"post":{"tags":["Competitions"],"description":"Update Competition Users Alias names","operationId":"createCompetitionHeat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventsession"}}}},"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSession"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/heat/{heatId}":{"put":{"tags":["Competitions"],"description":"Update Heat Details","operationId":"updateCompetitionHeat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"heatId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Eventsession"}}}},"responses":{"200":{"description":"Successful updated competition users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSession"}}}},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}},"delete":{"tags":["Competitions"],"description":"Update Competition Users Alias names","operationId":"deleteCompetitionHeat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"heatId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Successful delted the heat"},"404":{"description":"Wrong ID, not Found"},"500":{"description":"Internal server error"}}}},"/competition/{id}/lycracolors":{"get":{"tags":["Competitions"],"description":"Get lycra color configuration for a competition","operationId":"getLycraColorConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Successful retrieval of lycra color configuration","content":{"application/json":{"schema":{"type":"array"}}}},"404":{"description":"Competition not found"},"500":{"description":"Internal server error"}}},"put":{"tags":["Competitions"],"description":"Update lycra color configuration for a competition","operationId":"updateLycraColorConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array"}}}},"responses":{"200":{"description":"Successfully updated lycra color configuration","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Invalid color configuration"},"404":{"description":"Competition not found"},"500":{"description":"Internal server error"}}}},"/competition/livedata/{compid}/setactiveheat/{heatnr}":{"get":{"tags":["Competitions"],"operationId":"setActiveHeat","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"heatnr","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition/livedata/{compid}/setinactive":{"get":{"tags":["Competitions"],"operationId":"setCompinactive","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition":{"post":{"tags":["Competitions"],"operationId":"handleHeartBeat","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Live"}}}},"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition/livedata/{compid}":{"get":{"tags":["Competitions"],"description":"Get live data to be used in in overlay widgets for streams","operationId":"getLiveData","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Successful retrieval","content":{"application/json":{"schema":{"type":"array"}}}},"500":{"description":"Internal server error"}}}},"/competition/{compid}/{userid}/buzzer":{"get":{"tags":["Competitions"],"operationId":"buzzerRider","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"userid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition/{compid}/{userid}/fakejump":{"get":{"tags":["Competitions"],"operationId":"fakejump","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"userid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/competition/{competitionId}/user/{userId}/profile/image/{pictureId}":{"get":{"tags":["Competitions"],"operationId":"getProfileImage","parameters":[{"name":"competitionId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"pictureId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/jpg":{}}}}}},"/competition/{competitionId}/user/{userId}/profile/imagepng/{pictureId}":{"get":{"tags":["Competitions"],"operationId":"getProfileImagePng","parameters":[{"name":"competitionId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"pictureId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/png":{}}}}}},"/competition/livedata/system2/test":{"post":{"tags":["Competitions"],"description":"Test transformation of system 2 JSON to system 1 format (does not persist data)","operationId":"testTransformSystem2","parameters":[{"name":"pretty","in":"query","schema":{"type":"boolean","default":{}}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}}},"responses":{"200":{"description":"Successfully transformed data"},"400":{"description":"Invalid data or no active heat found"},"500":{"description":"Internal server error"}}}},"/competition/livedata/system2/{eventId}":{"post":{"tags":["Competitions"],"description":"Receive live data from scoring system 2","operationId":"receiveLiveDataSystem2","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}}},"responses":{"200":{"description":"Successfully processed and stored live data"},"404":{"description":"Event not found"},"400":{"description":"Invalid data or no active heat found"},"500":{"description":"Internal server error"}}}},"/competition/scoringsystemcache/{eventId}":{"get":{"tags":["Competitions"],"description":"Get scoring system cache for an event. Returns both systems with metadata by default. Use 'system' query param to get only system1 or system2 without metadata.","operationId":"getScoringSystemCache","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"system","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved scoring system cache"},"404":{"description":"Event not found or no live data available"}}}},"/competition/{eventId}/jumps":{"get":{"tags":["Competitions"],"summary":"Export all jumps for an event with time filtering","operationId":"getEventJumps","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"startDateTime","in":"query","schema":{"type":"string"}},{"name":"endDateTime","in":"query","schema":{"type":"string"}},{"name":"bufferSeconds","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"format","in":"query","schema":{"type":"string","default":{}}}],"responses":{"200":{"description":"Jumps exported successfully"}}}},"/competition/livedata/{compid}/reinitialize/{heatnr}":{"get":{"tags":["Competitions"],"operationId":"reInitHeat","parameters":[{"name":"compid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"heatnr","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/continents":{"get":{"tags":["Continents"],"summary":"Find all continents for leaderboard","description":"Returns a list of all continents for the leaderboard","operationId":"findAllContinentsForLeaderBoard","responses":{"200":{"description":"List of continents","content":{"application/json":{"schema":{"type":"array"}}}},"500":{"description":"Internal server error"}}}},"/countries/list/{page}":{"get":{"tags":["Countries"],"summary":"Get countries list","description":"Returns a paginated list of countries with optional search filter","operationId":"getRecentSessions_1","parameters":[{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"searchval","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of countries","content":{"application/json":{"schema":{"type":"array"}}}},"500":{"description":"Internal server error"}}}},"/countries":{"post":{"tags":["Countries"],"summary":"Save a country","description":"Creates a new country in the system","operationId":"saveCountry","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Country"}}}},"responses":{"200":{"description":"Country created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Country"}}}},"409":{"description":"Country already exists"},"500":{"description":"Internal server error"}}}},"/countries/getcountries/{limit}/{page}":{"get":{"tags":["Countries"],"summary":"Get countries for leaderboard","description":"Returns a paginated list of countries for the leaderboard","operationId":"getCountriesForLeaderBoard","parameters":[{"name":"limit","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"List of countries","content":{"application/json":{"schema":{"type":"array"}}}},"500":{"description":"Internal server error"}}}},"/countries/bylocation":{"get":{"tags":["Countries"],"summary":"Get country by coordinates","description":"Returns the country that contains the given lat/lon point, using PostGIS country_areas geometry","operationId":"getCountryByLocation","parameters":[{"name":"lat","in":"query","schema":{"type":"number","format":"double"}},{"name":"lon","in":"query","schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"Country found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Country"}}}},"404":{"description":"No country found for the given coordinates"},"500":{"description":"Internal server error"}}}},"/countries/monthlystats":{"get":{"tags":["Countries"],"summary":"Get country monthly statistics","description":"Returns MAX-based aggregated monthly statistics for a country, showing best jump potential and top spots","operationId":"getMonthlyStatsForCountry","parameters":[{"name":"countryid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Country monthly statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryPopularityResponse"}}}},"400":{"description":"Country ID is required"},"500":{"description":"Internal server error"}}}},"/leaderboards/topentries/{board}/{period}/{page}":{"get":{"tags":["Leaderboard"],"operationId":"getTopEntriesPerUser","parameters":[{"name":"board","in":"path","description":"Selection of Value to show in Leaderboard. Options: height, airtime, speed, distance","required":true,"schema":{"type":"string"}},{"name":"period","in":"path","description":"Time Period/ Time Frame of visible jumps. Options: alltime, monthly, weekly, daily, custom.","required":true,"schema":{"type":"string"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"countryid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"spotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"continentid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitebrandid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitemodelid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitesize","in":"query","schema":{"type":"number","format":"double"}},{"name":"kitesizeid","in":"query","schema":{"type":"string"}},{"name":"following","in":"query","schema":{"type":"boolean"}},{"name":"accesstoken","in":"query","schema":{"type":"string"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"userid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"boardtype","in":"query","schema":{"type":"string"}},{"name":"limitresult","in":"query","schema":{"type":"boolean"}},{"name":"customLimit","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"entriesPerUser","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"surfrai","in":"query","schema":{"type":"boolean"}},{"name":"from","in":"query","description":"First day of Date filter for custom time selection, Date in format YYYY-MM-DD. Requires period type: custom","schema":{"type":"string"}},{"name":"to","in":"query","description":"Last day of Date filter for custom time selection, Date in format YYYY-MM-DD. Requires period type: custom","schema":{"type":"string"}},{"name":"eventid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOrder","in":"query","schema":{"type":"string","default":{}}},{"name":"type","in":"query","description":"Data source type: session or jump. Default is session.","schema":{"type":"string","default":{}}},{"name":"aggregate","in":"query","schema":{"type":"string"}},{"name":"competitor","in":"query","schema":{"type":"boolean"}},{"name":"skillLevel","in":"query","description":"Skill level filter. Options: beginner, intermediate, advanced, expert","schema":{"type":"string"}},{"name":"ageBracket","in":"query","description":"Age bracket filter. Options: u18, 18-25, 26-35, 36-45, 46-55, 55+","schema":{"type":"string"}},{"name":"dateFormat","in":"query","description":"Date filtering mode: 'utc' (default) or 'local' (uses spot-local datetime, ADR-005 Phase 2)","schema":{"type":"string","default":{}}},{"name":"X-Timezone","in":"header","description":"Client IANA timezone (e.g. 'Pacific/Auckland'). Sent by the app on every request; used to resolve relative LOCAL periods (daily/weekly/monthly) to the device's own today. Unknown/absent falls back to server UTC.","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/cron/{period}":{"get":{"tags":["Leaderboard"],"operationId":"createLeaderBoardsAndSend","parameters":[{"name":"period","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret","in":"query","schema":{"type":"string"}},{"name":"skipGlobal","in":"query","schema":{"type":"boolean","default":{}}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/tasks/send-leaderboard-email":{"post":{"tags":["Leaderboard"],"operationId":"sendLeaderBoardEmailTask","requestBody":{"content":{"application/json":{"schema":{"type":"string"}}}},"responses":{"default":{"description":"default response","content":{"*/*":{}}}}}},"/leaderboards/{userid}/unsubscribe":{"get":{"tags":["Leaderboard"],"operationId":"unsubscribeUserFromLeaderboard","parameters":[{"name":"userid","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"hash","in":"query","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/list/stats/{spotid}":{"get":{"tags":["Leaderboard"],"operationId":"getLeaderBoardStats","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"period","in":"query","schema":{"type":"string"}},{"name":"date","in":"query","description":"Reference date for daily/monthly calculations in format YYYY-MM-DD (e.g., 2025-11-01). If not provided, uses current database date.","schema":{"type":"string"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"boardtype","in":"query","description":"Comma-separated list of board types to filter by (e.g., 'foil,twintip')","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/list/stats/{spotid}/{accesstoken}":{"get":{"tags":["Leaderboard"],"operationId":"getLeaderBoardStatsAuth","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"period","in":"query","schema":{"type":"string"}},{"name":"date","in":"query","description":"Reference date for daily/monthly calculations in format YYYY-MM-DD (e.g., 2025-11-01). If not provided, uses current database date.","schema":{"type":"string"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"boardtype","in":"query","description":"Comma-separated list of board types to filter by (e.g., 'foil,twintip')","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/hero/{spotid}":{"get":{"tags":["Leaderboard"],"operationId":"getSpotHero","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"boardtype","in":"query","description":"Comma-separated list of board types to filter by (e.g., 'foil,twintip')","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/hero/{spotid}/{accesstoken}":{"get":{"tags":["Leaderboard"],"operationId":"getSpotHeroAuth","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"boardtype","in":"query","description":"Comma-separated list of board types to filter by (e.g., 'foil,twintip')","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/heroes/{spotid}":{"get":{"tags":["Leaderboard"],"operationId":"getSpotHeroes","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"boardtype","in":"query","description":"Comma-separated list of board types to filter by (e.g., 'foil,twintip')","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/leaderboards/list/{board}/{period}/{page}":{"get":{"tags":["Leaderboard"],"operationId":"getLeaderBoard","parameters":[{"name":"board","in":"path","description":"Selection of Value to show in Leaderboard. Options: height, airtime, speed, jumpdistance, avgheight, avgheight5","required":true,"schema":{"type":"string"}},{"name":"period","in":"path","description":"Time Period/ Time Frame of visibel jumps. Options: alltime, monthly, weekly, daily, custom.","required":true,"schema":{"type":"string"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"countryid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"spotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"continentid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitebrandid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitemodelid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"kitesize","in":"query","schema":{"type":"number","format":"double"}},{"name":"kitesizeid","in":"query","schema":{"type":"string"}},{"name":"following","in":"query","schema":{"type":"boolean"}},{"name":"accesstoken","in":"query","schema":{"type":"string"}},{"name":"gender","in":"query","schema":{"type":"string"}},{"name":"myranking","in":"query","schema":{"type":"boolean"}},{"name":"boardtype","in":"query","schema":{"type":"string"}},{"name":"limitresult","in":"query","schema":{"type":"boolean"}},{"name":"customLimit","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"blendlive","in":"query","schema":{"type":"boolean"}},{"name":"surfrai","in":"query","schema":{"type":"boolean"}},{"name":"from","in":"query","description":"First day of Date filter for custom time selection, Date in format YYYY-MM-DD. Requires period type: custom","schema":{"type":"string"}},{"name":"to","in":"query","description":"Last day of Date filter for custom time selection, Date in format YYYY-MM-DD. Requires period type: custom","schema":{"type":"string"}},{"name":"eventid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"aggregate","in":"query","schema":{"type":"string"}},{"name":"type","in":"query","description":"Data source type: session or jump. Default is session.","schema":{"type":"string","default":{}}},{"name":"userid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"groupByBoardtype","in":"query","schema":{"type":"boolean","default":{}}},{"name":"competitor","in":"query","schema":{"type":"boolean"}},{"name":"additionalSpotsId","in":"query","description":"Comma-separated list of additional spot IDs to include in filter (e.g., '456,789,101')","schema":{"type":"string"}},{"name":"skillLevel","in":"query","description":"Skill level filter. Options: beginner, intermediate, advanced, expert","schema":{"type":"string"}},{"name":"ageBracket","in":"query","description":"Age bracket filter. Options: u18, 18-25, 26-35, 36-45, 46-55, 55+","schema":{"type":"string"}},{"name":"dateFormat","in":"query","description":"Date filtering mode: 'utc' (default, backward compatible) or 'local' (uses spot-local datetime, ADR-005 Phase 2)","schema":{"type":"string","default":{}}},{"name":"X-Timezone","in":"header","description":"Client IANA timezone (e.g. 'Pacific/Auckland'). Sent by the app on every request; used to resolve relative LOCAL periods (daily/weekly/monthly) to the device's own today. Unknown/absent falls back to server UTC.","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/getstats/{spotid}":{"get":{"tags":["Spot"],"operationId":"getRecentSessions_9","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/mergespots/{accesstoken}":{"post":{"tags":["Spot"],"operationId":"mergeSpots","parameters":[{"name":"targetspotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"spotstomergeids","in":"query","schema":{"type":"string"}},{"name":"accesstoken","in":"path","required":true,"schema":{"type":"string"}},{"name":"mergerequestid","in":"query","schema":{"type":"integer","format":"int64"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/findspots":{"get":{"tags":["Spot"],"operationId":"getSpots_1","parameters":[{"name":"lat","in":"query","schema":{"type":"number","format":"double"}},{"name":"lon","in":"query","schema":{"type":"number","format":"double"}},{"name":"latDelta","in":"query","schema":{"type":"number","format":"double"}},{"name":"lonDelta","in":"query","schema":{"type":"number","format":"double"}},{"name":"maxSpotsShown","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"currentLon","in":"query","schema":{"type":"number","format":"double"}},{"name":"currentLat","in":"query","schema":{"type":"number","format":"double"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/findspotswatchos":{"get":{"tags":["Spot"],"summary":"Find spots for watchOS","description":"Returns a list of spots near the specified coordinates for watchOS devices","operationId":"bboxQuerySpots","parameters":[{"name":"accesstoken","in":"query","schema":{"type":"string"}},{"name":"latitude","in":"query","schema":{"type":"number","format":"double"}},{"name":"longitude","in":"query","schema":{"type":"number","format":"double"}},{"name":"slim","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"List of spots","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Invalid coordinates"},"500":{"description":"Internal server error"}}}},"/spots/bbox":{"get":{"tags":["Spot"],"summary":"Query spots by bounding box","description":"Returns spots within the specified geographic bounding box for map display at high zoom levels","operationId":"querySpotsByBbox","parameters":[{"name":"accesstoken","in":"query","schema":{"type":"string"}},{"name":"minlat","in":"query","schema":{"type":"number","format":"double"}},{"name":"maxlat","in":"query","schema":{"type":"number","format":"double"}},{"name":"minlon","in":"query","schema":{"type":"number","format":"double"}},{"name":"maxlon","in":"query","schema":{"type":"number","format":"double"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortBy","in":"query","schema":{"type":"string"}},{"name":"lat","in":"query","schema":{"type":"number","format":"double"}},{"name":"lon","in":"query","schema":{"type":"number","format":"double"}},{"name":"minRating","in":"query","schema":{"type":"number","format":"double"}},{"name":"minReviews","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"minSessions","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"minMaxHeight","in":"query","schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"List of spots within the bounding box","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Invalid bounding box parameters"},"500":{"description":"Internal server error"}}}},"/spots/monthlystats":{"get":{"tags":["Spot"],"operationId":"getPopularityForSpot","parameters":[{"name":"spotid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"countryid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots":{"post":{"tags":["Spot"],"operationId":"saveSpot","parameters":[{"name":"accesstoken","in":"query","schema":{"type":"string"}},{"name":"userid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"srid","in":"query","schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Spot"}}}},"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/renamerequest/{accesstoken}":{"get":{"tags":["Spot"],"operationId":"renameRequest","parameters":[{"name":"spotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"newname","in":"query","schema":{"type":"string"}},{"name":"accesstoken","in":"path","required":true,"schema":{"type":"string"}},{"name":"comment","in":"query","schema":{"type":"string"}},{"name":"latitude","in":"query","schema":{"type":"number","format":"double"}},{"name":"longitude","in":"query","schema":{"type":"number","format":"double"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/editspot/{accesstoken}":{"post":{"tags":["Spot"],"operationId":"editSpot_1","parameters":[{"name":"spotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"name","in":"query","schema":{"type":"string"}},{"name":"longitude","in":"query","schema":{"type":"number","format":"double"}},{"name":"latitude","in":"query","schema":{"type":"number","format":"double"}},{"name":"wgspotid","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"wgLiveId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"countryid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"liveWindStationId","in":"query","schema":{"type":"string"}},{"name":"accesstoken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/winddirs/{accesstoken}/{spotid}":{"get":{"tags":["Spot"],"operationId":"getwindirs","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"accesstoken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/validation/{spotid}":{"get":{"tags":["Spot"],"operationId":"togglevalidation","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/spotinfo/{accesstoken}/{spotid}":{"get":{"tags":["Spot"],"summary":"Get spot details","description":"Returns detailed information about a specific spot, including statistics, reviews, and wind directions","operationId":"getSpot","parameters":[{"name":"spotid","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"accesstoken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Spot details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Spot"}}}},"401":{"description":"Invalid or expired access token"},"404":{"description":"Spot not found"},"500":{"description":"Internal server error"}}}},"/spots/checkSpotsCountries/{offset}":{"get":{"tags":["Spot"],"operationId":"checkSpotsCountry","parameters":[{"name":"offset","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/list/{page}/{lat}/{lon}":{"get":{"tags":["Spot"],"operationId":"getFilteredSpots","parameters":[{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"spotid","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"lon","in":"path","required":true,"schema":{"type":"number","format":"double"}},{"name":"lat","in":"path","required":true,"schema":{"type":"number","format":"double"}},{"name":"winddir","in":"query","schema":{"type":"string"}},{"name":"waterconditions","in":"query","schema":{"type":"string"}},{"name":"levelid","in":"query","schema":{"type":"string"}},{"name":"distance","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/checkspot/{id}":{"get":{"tags":["Spot"],"operationId":"getCheckSpot","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/list/{page}":{"get":{"tags":["Spot"],"operationId":"findSpotsByName","parameters":[{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"searchval","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"lat","in":"query","schema":{"type":"number","format":"double"}},{"name":"lon","in":"query","schema":{"type":"number","format":"double"}},{"name":"countryid","in":"query","schema":{"type":"integer","format":"int64"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/listrequests":{"get":{"tags":["Spot"],"operationId":"getRecentSessions2","responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/deleterequests/{id}":{"get":{"tags":["Spot"],"operationId":"getRecentSessions3_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"silence","in":"query","schema":{"type":"boolean"}},{"name":"reason","in":"query","schema":{"type":"string"}},{"name":"accesstoken","in":"query","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/acceptrename/{id}":{"get":{"tags":["Spot"],"operationId":"acceptREname","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"silence","in":"query","schema":{"type":"boolean"}},{"name":"accesstoken","in":"query","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/notacceptrename/{id}":{"get":{"tags":["Spot"],"operationId":"notacceptREname","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"silence","in":"query","schema":{"type":"boolean"}},{"name":"accesstoken","in":"query","schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}},"/spots/getspots/{limit}/{page}":{"get":{"tags":["Spot"],"operationId":"getSpotsForLeaderBoard","parameters":[{"name":"limit","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"application/json":{}}}}}}},"components":{"schemas":{"PartnerDetailsDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"logoUrl":{"type":"string"},"description":{"type":"string"},"disclaimer":{"type":"string"},"mode":{"type":"string"},"state":{"type":"string"},"nonce":{"type":"string"},"requestId":{"type":"integer","format":"int64"}}},"Partner":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"apiKey":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"},"callbackUrl":{"type":"string"},"logoUrl":{"type":"string"},"createDate":{"type":"string","format":"date-time"},"updateDate":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["PENDING","ACTIVE","SUSPENDED","REVOKED"]},"scope":{"type":"string"},"tokenUrl":{"type":"string"},"authorizationUrl":{"type":"string"},"description":{"type":"string"},"disclaimer":{"type":"string"}}},"PartnerLimitedDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"accessToken":{"type":"string"}}},"TransferSessionRequest":{"type":"object","properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string"},"accessToken":{"type":"string"},"targetUserId":{"type":"integer","format":"int32"}}},"AboutUs":{"type":"object","properties":{"value":{"type":"integer","format":"int64"},"label":{"type":"string"}}},"LeaderboardSubscriptionUpdateDto":{"required":["subscribed"],"type":"object","properties":{"subscribed":{"type":"boolean"},"reason":{"type":"string"}}},"UpdateEmailRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string"}}},"AssignSessionRequest":{"required":["deviceId","targetUserId"],"type":"object","properties":{"targetUserId":{"type":"integer","format":"int32"},"deviceId":{"type":"integer","format":"int64"},"userKiteId":{"type":"integer","format":"int64"},"remark":{"type":"string"},"reason":{"type":"string"}}},"UpdateSessionDatetimeRequest":{"required":["datetime"],"type":"object","properties":{"datetime":{"type":"string"},"reason":{"type":"string"}}},"RepairSessionTimeJumpRequest":{"type":"object","properties":{"thresholdMs":{"type":"integer","format":"int64"},"reason":{"type":"string"}}},"UpdateCommentRequest":{"required":["comment"],"type":"object","properties":{"comment":{"type":"string"}}},"Advertisement":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"adid":{"type":"integer","format":"int32"},"type":{"type":"string"},"resource":{"type":"string"},"shareurl":{"type":"string"},"buttontext":{"type":"string"},"buttonurl":{"type":"string"},"adtext":{"type":"string"},"qualifyingquery":{"type":"string"},"profilepage":{"type":"integer","format":"int32"},"sessionpage":{"type":"integer","format":"int32"},"profilelistposition":{"type":"integer","format":"int32"},"sessionlistposition":{"type":"integer","format":"int32"},"active":{"type":"boolean"},"internalurl":{"type":"boolean"}}},"AdvertisementImageUploadResponse":{"type":"object","properties":{"url":{"type":"string","description":"Public Cloud Storage URL of the optimized image"},"originalSize":{"type":"integer","description":"Size of the uploaded image in bytes","format":"int32"},"optimizedSize":{"type":"integer","description":"Size of the optimized image in bytes","format":"int32"},"dimensions":{"type":"string","description":"Dimensions of the optimized image","example":{}}},"description":"Result of an optimized advertisement image upload"},"FormDataContentDisposition":{"type":"object","properties":{"type":{"type":"string"},"parameters":{"type":"object","additionalProperties":{}},"fileName":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"modificationDate":{"type":"string","format":"date-time"},"readDate":{"type":"string","format":"date-time"},"size":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"VerificationCodeResponseDto":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"email":{"type":"string"}}},"DeeplinkVerificationDto":{"type":"object","properties":{"deeplinkId":{"type":"string"}}},"Device":{"type":"object","properties":{"watchcode":{"type":"integer","format":"int32"},"os":{"type":"string"},"brand":{"type":"string"},"model":{"type":"string"},"resolution":{"type":"string"},"accesstoken":{"type":"string"},"uniqueid":{"type":"string"},"id":{"type":"integer","format":"int32"},"watchUid":{"type":"string"},"serial":{"type":"string"},"modelId":{"type":"integer","format":"int32"}}},"VerificationCodeDto":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"string"},"referralLinkId":{"type":"integer","format":"int32"},"device":{"$ref":"#/components/schemas/Device"}}},"LoginVerificationDto":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"string"},"device":{"$ref":"#/components/schemas/Device"}}},"AdminOTPDto":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"string"},"device":{"$ref":"#/components/schemas/Device"},"isSignup":{"type":"boolean"}}},"AnswerOption":{"type":"object","properties":{"value":{"type":"integer","format":"int64"},"label":{"type":"string"}}},"Comment":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sessionid":{"type":"integer","format":"int64"},"comment":{"type":"string"},"datetime":{"type":"integer","format":"int64"},"parentid":{"type":"integer","format":"int64"},"likescount":{"type":"integer","format":"int32"},"replycount":{"type":"integer","format":"int32"},"likedByCaller":{"type":"boolean"},"likedByAuthor":{"type":"boolean"},"gifUrl":{"type":"string"},"username":{"type":"string"},"replies":{"type":"array"},"user":{"$ref":"#/components/schemas/User"},"device":{"$ref":"#/components/schemas/Device"}}},"CountryInfo":{"type":"object","properties":{"alpha2":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int32"}}},"InformationCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"sequence":{"type":"integer","format":"int64"},"summary":{"type":"string"},"iconname":{"type":"string"},"answerOptionsArray":{"type":"array"},"multipleAnswerOptionsArray":{"type":"array"},"description":{"type":"string"},"answeroptionselected":{"type":"string"},"answeroptionSummary":{"type":"string"},"answeroption":{"type":"integer","format":"int32"}}},"LiveWindAssignment":{"type":"object","properties":{"stationId":{"type":"string"}}},"LocalTimePeriod":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"periodType":{"type":"string"},"startTimeAsDate":{"type":"string","format":"date-time"},"endTimeAsDate":{"type":"string","format":"date-time"}}},"MonthlyTemperature":{"type":"object","properties":{"month":{"type":"integer","format":"int32"},"daytemp":{"type":"integer","format":"int32"},"nighttemp":{"type":"integer","format":"int32"}}},"MultipleAnswerOption":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"Spot":{"type":"object","properties":{"longitude":{"type":"number","format":"double"},"distance":{"type":"number","format":"double"},"latitude":{"type":"number","format":"double"},"userid":{"type":"integer","format":"int64"},"meanreviews":{"type":"number","format":"double"},"nreviews":{"type":"integer","format":"int32"},"countryid":{"type":"integer","format":"int64"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"},"nameWithDistance":{"type":"string"},"riderslive":{"type":"integer","format":"int64"},"onestar":{"type":"integer","format":"int64"},"twostar":{"type":"integer","format":"int64"},"threestar":{"type":"integer","format":"int64"},"fourstar":{"type":"integer","format":"int64"},"fivestar":{"type":"integer","format":"int64"},"nriders":{"type":"integer","format":"int64"},"totalsessions":{"type":"integer","format":"int64"},"monthsessions":{"type":"integer","format":"int64"},"maxheight":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"oldname":{"type":"string"},"maxdistance":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"countryName":{"type":"string"},"continentName":{"type":"string"},"maxheightlive":{"type":"number","format":"double"},"ownrate":{"type":"number","format":"double"},"hasWindAlert":{"type":"boolean"},"maxleaderboard":{"type":"number","format":"double"},"commonwinddirections":{"type":"array"},"waterconditions":{"type":"string","writeOnly":true},"timezoneName":{"type":"string"},"forecastModelOverride":{"type":"string"},"forecastModelOverrideSource":{"type":"string"},"forecastModelOverrideSourceId":{"type":"integer","format":"int64"},"sourceProvider":{"type":"string"},"sourceUrl":{"type":"string"},"wgspotid":{"type":"integer","format":"int64"},"wgLiveId":{"type":"integer","format":"int64"},"windStationId":{"type":"string"},"maxheightSessionId":{"type":"integer","format":"int64"},"maxairtimeSessionId":{"type":"integer","format":"int64"},"maxdistanceSessionId":{"type":"integer","format":"int64"},"maxspeedSessionId":{"type":"integer","format":"int64"},"timePeriod":{"$ref":"#/components/schemas/LocalTimePeriod"},"alpha2":{"type":"string"},"monthlyTemperatures":{"type":"array"},"createdAt":{"type":"string"},"comment":{"type":"string"},"oldlatitude":{"type":"number","format":"double"},"oldlongitude":{"type":"number","format":"double"},"spotidtorename":{"type":"integer","format":"int64"},"spotInformation":{"type":"array"},"liveWind":{"$ref":"#/components/schemas/LiveWindAssignment"}},"xml":{"name":"legacySpot"}},"SpotInformation":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"information":{"type":"string"},"lastmodifiedbyname":{"type":"string"},"oldinformation":{"type":"string"},"lastmodifieddate":{"type":"integer","format":"int64"},"lastmodifiedby":{"type":"integer","format":"int64"},"informationcategory":{"$ref":"#/components/schemas/InformationCategory"},"spotid":{"type":"integer","format":"int64"},"infocategoryid":{"type":"integer","format":"int64"},"yesnoresponse":{"type":"integer","format":"int32"},"oldyesnoresponse":{"type":"integer","format":"int32"},"answeroptionselectionid":{"type":"integer","format":"int32"},"oldansweroptionselectionid":{"type":"integer","format":"int32"},"oldansweroptionselection":{"type":"string"},"multipleansweroptionselected":{"type":"array"},"usercanedit":{"type":"boolean"},"joinedlabels":{"type":"string"},"askforreview":{"type":"boolean"}}},"Subscription":{"type":"object","properties":{"orderid":{"type":"string"},"productid":{"type":"string"},"purchasetime":{"type":"integer","format":"int64"},"expirytime":{"type":"integer","format":"int64"},"platform":{"type":"string"},"isfreetrial":{"type":"boolean"},"userid":{"type":"integer","format":"int64"}}},"User":{"type":"object","properties":{"privateaccount":{"type":"boolean"},"lbVisible":{"type":"boolean"},"liveScopeFriends":{"type":"string"},"liveScopeOthers":{"type":"string"},"autoTrimGps":{"type":"boolean"},"writefiles":{"type":"boolean"},"stravaconnected":{"type":"boolean"},"stravaAutoExport":{"type":"boolean"},"streaming":{"type":"boolean"},"competitor":{"type":"boolean"},"haspairedwatch":{"type":"boolean"},"compmodeallowed":{"type":"boolean"},"leaderboardUnsubscribed":{"type":"boolean"},"totalStokes":{"type":"integer","format":"int32"},"licensing":{"type":"string","enum":["pro","protrial","free"]},"usedfreemiumcount":{"type":"integer","format":"int32"},"remainingfreemiumcount":{"type":"integer","format":"int32"},"subsciptions":{"type":"array"},"streamurl":{"type":"string"},"followingcount":{"type":"integer","format":"int32"},"followerscount":{"type":"integer","format":"int32"},"ytchannelid":{"type":"string"},"streamingquality":{"type":"string"},"streaminguuid":{"type":"string"},"sessionscount":{"type":"integer","format":"int32"},"accesstoken":{"type":"string"},"isadmin":{"type":"boolean"},"isspotmoderator":{"type":"boolean"},"username":{"type":"string"},"slug":{"type":"string"},"displayName":{"type":"string"},"gender":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"intendeduse":{"type":"string"},"followstatus":{"type":"integer","format":"int32"},"ispro":{"type":"boolean"},"ispro_server":{"type":"boolean"},"country":{"type":"string"},"countryref":{"$ref":"#/components/schemas/CountryInfo"},"countryIOC":{"type":"string"},"password":{"type":"string"},"jwt":{"type":"string"},"id":{"type":"integer","format":"int32"},"maxspeed":{"type":"number","format":"double"},"maxheight":{"type":"number","format":"double"},"maxdistance":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"maxheightSessionId":{"type":"integer","format":"int64"},"maxairtimeSessionId":{"type":"integer","format":"int64"},"maxdistanceSessionId":{"type":"integer","format":"int64"},"maxspeedSessionId":{"type":"integer","format":"int64"},"streamkey":{"type":"string"},"mutualfriends":{"type":"integer","format":"int32"},"profilepicid":{"type":"string"},"backgroundpicid":{"type":"string"},"base64img":{"type":"string"},"base64backgroundimg":{"type":"string"},"hearaboutusid":{"type":"integer","format":"int64"},"boardmount":{"type":"boolean"},"freesubscription":{"type":"boolean"},"name":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"showinlivestream":{"type":"boolean"},"registering":{"type":"boolean"},"ownprofile":{"type":"boolean"},"device":{"$ref":"#/components/schemas/Device"},"socialInstagram":{"type":"string"},"socialTiktok":{"type":"string"},"bio":{"type":"string"},"relationshipStatus":{"type":"string"},"lookingFor":{"type":"string"},"preferredSport":{"type":"string"},"skillLevel":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"weightInKg":{"type":"number","format":"double"},"homeSpotId":{"type":"integer","format":"int32"},"homespot":{"$ref":"#/components/schemas/Spot"},"diagnosticsEnabled":{"type":"boolean"},"subscriptionTier":{"type":"string"},"freesubscriptionTier":{"type":"string"},"subscriptionSource":{"type":"string"},"liveId":{"type":"integer","format":"int64"},"isproios":{"type":"boolean"},"isproandroid":{"type":"boolean"},"liveScope":{"type":"string"},"isproServer":{"type":"boolean"},"localid":{"type":"string"},"isPaidPro":{"type":"boolean"},"beingFollowed":{"type":"boolean"},"beacon_enabled":{"type":"boolean"},"phone_e164":{"type":"string"},"phone_verified":{"type":"boolean"},"safety_verified":{"type":"boolean"}},"xml":{"name":"legacyUser"}},"WindDirection":{"type":"object","properties":{"windDirection":{"type":"string"},"count":{"type":"integer","format":"int32"}}},"Event":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"lycraColorConfigJson":{"type":"string"},"lycraColorConfig":{"type":"array"},"name":{"type":"string"},"description":{"type":"string"},"livedata":{"type":"string"},"livedatasystem2":{"type":"string"},"liveDataTimestamp":{"type":"string","format":"date-time"},"livedataendpoint":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"location":{"type":"string"},"attempttime":{"type":"integer","format":"int64"},"minheight":{"type":"number","format":"double"},"heatList":{"type":"array"},"eventusers":{"type":"array"}}},"Eventsession":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"active":{"type":"boolean"},"heatleader":{"type":"string"},"heathighest":{"type":"number","format":"double"},"heatfastest":{"type":"number","format":"double"},"eventid":{"type":"integer","format":"int64"},"heatnr":{"type":"integer","format":"int64"},"localid":{"type":"string"},"startdatetime":{"type":"string","format":"date-time"},"enddatetime":{"type":"string","format":"date-time"},"eventSessionUsers":{"type":"array"}}},"Eventsessionuser":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"eventuser":{"$ref":"#/components/schemas/Eventuser"},"eventsessionid":{"type":"integer","format":"int64"},"lastheight":{"type":"number","format":"double"},"lastairtime":{"type":"number","format":"double"},"lastdistance":{"type":"number","format":"double"},"maxheight":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"lycracolor":{"type":"string"},"maxdistance":{"type":"number","format":"double"},"eventuseridsource":{"type":"integer","format":"int64"},"lastjumpepoch":{"type":"integer","format":"int64"},"currentheartrate":{"type":"integer","format":"int64"},"lastjumprotations":{"type":"integer","format":"int64"},"lastjumplandingforce":{"type":"number","format":"double"},"currentspeed":{"type":"number","format":"double"},"lastspeed":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"ranking":{"type":"integer","format":"int32"}}},"Eventuser":{"type":"object","properties":{"eventid":{"type":"integer","format":"int64"},"user":{"$ref":"#/components/schemas/UserInfo"},"userId":{"type":"integer","format":"int32"},"localid":{"type":"string"},"displayname":{"type":"string"},"id":{"type":"integer","format":"int64"},"lastping":{"type":"string","format":"date-time"},"issource":{"type":"boolean"},"profilepicid":{"type":"string"},"countryFlag":{"type":"string"}},"xml":{"name":"eventUser"}},"LycraColorConfig":{"type":"object","properties":{"color":{"type":"string"},"name":{"type":"string"},"sortOrder":{"type":"integer","format":"int32"}}},"SpotInfo":{"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"timezoneName":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"UserInfo":{"type":"object","properties":{"username":{"type":"string"},"maxairtime":{"type":"number","format":"double"},"maxdistance":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"isadmin":{"type":"boolean"},"profilepicid":{"type":"string"},"subscriptionTier":{"type":"string"},"ispro":{"type":"boolean"},"isproios":{"type":"boolean"},"isproandroid":{"type":"boolean"},"freesubscription":{"type":"boolean"},"followingcount":{"type":"integer","format":"int32"},"followerscount":{"type":"integer","format":"int32"},"sessionscount":{"type":"integer","format":"int32"},"backgroundpicid":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"string"},"slug":{"type":"string"},"countryref":{"$ref":"#/components/schemas/CountryInfo"},"homespot":{"$ref":"#/components/schemas/SpotInfo"},"socialInstagram":{"type":"string"},"socialTiktok":{"type":"string"},"preferredSport":{"type":"string"},"skillLevel":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"weightInKg":{"type":"number","format":"double"},"licensing":{"type":"string","enum":["pro","protrial","free"]},"competitor":{"type":"boolean"},"isproServer":{"type":"boolean"},"localid":{"type":"string"},"boardmount":{"type":"boolean"},"isPaidPro":{"type":"boolean"},"compmodeallowed":{"type":"boolean"},"name":{"type":"string"},"id":{"type":"integer","format":"int32"},"maxheight":{"type":"number","format":"double"}}},"EventSessionUser":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/EventSessionUserKey"},"identifier":{"type":"integer","format":"int64"},"riderName":{"type":"string"},"profilepicid":{"type":"string"},"countryIOC":{"type":"string"},"lycraColor":{"type":"string"},"maxJumpHeight":{"type":"number","format":"double"},"maxJumpAirtime":{"type":"number","format":"double"},"maxJumpSpeed":{"type":"number","format":"double"},"maxJumpDistance":{"type":"number","format":"double"},"lastJumpHeight":{"type":"number","format":"double"},"lastJumpAirtime":{"type":"number","format":"double"},"lastJumpSpeed":{"type":"number","format":"double"},"lastJumpDistance":{"type":"number","format":"double"},"currentSpeed":{"type":"number","format":"double"},"currentHeartRate":{"type":"integer","format":"int32"},"localId":{"type":"string"},"lastJumpEpoch":{"type":"integer","format":"int64"},"lastJumpRotations":{"type":"integer","format":"int32"},"lastJumpLandingForce":{"type":"number","format":"double"},"offset":{"type":"string"},"ranking":{"type":"integer","format":"int32"},"active":{"type":"boolean"}}},"EventSessionUserKey":{"type":"object","properties":{"eventUserId":{"type":"integer","format":"int64"},"eventSessionId":{"type":"integer","format":"int64"}}},"EventSession":{"type":"object","properties":{"heatLeader":{"type":"string"},"activeidentifier":{"type":"string"},"activeColor":{"type":"string"},"heatHighest":{"type":"number","format":"double"},"heatFastest":{"type":"number","format":"double"},"heatActive":{"type":"boolean"},"riders":{"type":"array"}}},"GPS":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"speed":{"type":"number","format":"double"},"nr":{"type":"integer","format":"int64"},"sessionid":{"type":"integer","format":"int64"},"liveid":{"type":"integer","format":"int64"},"distance":{"type":"number","format":"double"},"accuracy":{"type":"number","format":"double"},"epoch":{"type":"integer","format":"int64"},"winddir":{"type":"number","format":"double"}}},"Jump":{"type":"object","properties":{"session":{"$ref":"#/components/schemas/Session"},"riderName":{"type":"string"},"riderEmail":{"type":"string"},"nnconfig":{"type":"string"},"chart":{"type":"string"},"speed":{"type":"string"},"bearing":{"type":"string"},"angle":{"type":"string"},"rotations":{"type":"integer","format":"int32"},"valid":{"type":"integer","format":"int32"},"errorcode":{"type":"integer","format":"int32"},"jumptype":{"type":"string"},"validated":{"type":"boolean"},"gpsstartwarning":{"type":"integer","format":"int32"},"gpsendwarning":{"type":"integer","format":"int32"},"timestampclient":{"type":"integer","format":"int64"},"timestamp":{"type":"integer","format":"int64"},"nr":{"type":"integer","format":"int32"},"height":{"type":"number","format":"double"},"userID":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"liveid":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"ranking":{"type":"integer","format":"int32"},"maxHeight":{"type":"number","format":"double"},"airtime":{"type":"number","format":"double"},"distance":{"type":"number","format":"double"},"popgforce":{"type":"number","format":"double"},"maxspeedreached":{"type":"number","format":"double"},"landinggforce":{"type":"number","format":"double"},"timestring":{"type":"string"},"epoch":{"type":"integer","format":"int64"},"epochmillis":{"type":"integer","format":"int64"},"ogx":{"type":"number","format":"double"},"ogy":{"type":"number","format":"double"},"ogz":{"type":"number","format":"double"},"gx":{"type":"number","format":"double"},"gy":{"type":"number","format":"double"},"gz":{"type":"number","format":"double"},"initvelo":{"type":"number","format":"double"},"corr":{"type":"number","format":"double"},"pgx":{"type":"number","format":"double"},"pgy":{"type":"number","format":"double"},"pgz":{"type":"number","format":"double"},"besth":{"type":"number","format":"double"},"positionz":{"type":"number","format":"double"},"haftervelo":{"type":"number","format":"double"},"gpsstartepoch":{"type":"integer","format":"int64"},"gpsstartlat":{"type":"number","format":"double"},"gpsstartlon":{"type":"number","format":"double"},"gpsendepoch":{"type":"integer","format":"int64"},"gpsendlat":{"type":"number","format":"double"},"gpsendlon":{"type":"number","format":"double"},"removedJump":{"type":"boolean"}}},"JumpMark":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"epoch":{"type":"integer","format":"int64"},"offsetMs":{"type":"integer","format":"int64"},"sensorTsNs":{"type":"integer","format":"int64"},"lastJumpNr":{"type":"integer","format":"int32"},"source":{"type":"string"}}},"KiteBrand":{"type":"object","properties":{"brand":{"type":"string"},"id":{"type":"integer","format":"int64"},"modelsCount":{"type":"integer","format":"int32"}}},"KiteModel":{"type":"object","properties":{"model":{"type":"string"},"modelnoversion":{"type":"string"},"kitebrandid":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"gear_type_id":{"type":"integer","format":"int64"},"kitebrandname":{"type":"string"},"geartypename":{"type":"string"},"keeper":{"type":"boolean"},"version":{"type":"string"}}},"KiteSize":{"type":"object","properties":{"size":{"type":"number","format":"double"},"id":{"type":"integer","format":"int64"}}},"Live":{"type":"object","properties":{"isinevent":{"type":"boolean"},"confirmscoring":{"type":"boolean"},"isstreaming":{"type":"boolean"},"sessiontime":{"type":"integer","format":"int64"},"user":{"$ref":"#/components/schemas/User"},"id":{"type":"integer","format":"int64"},"device":{"$ref":"#/components/schemas/Device"},"spot":{"$ref":"#/components/schemas/Spot"},"kite":{"$ref":"#/components/schemas/UserKite"},"lastknownlat":{"type":"number","format":"double"},"lastknownlong":{"type":"number","format":"double"},"maxheight":{"type":"number","format":"double"},"currentheartrate":{"type":"integer","format":"int32"},"currentspeed":{"type":"number","format":"double"},"lastheight":{"type":"number","format":"double"},"lastgpsupdate":{"type":"integer","format":"int64"},"lastjumpupdate":{"type":"integer","format":"int64"},"jumps":{"type":"array"},"gps":{"type":"array"},"boardtype":{"type":"string"},"alarm":{"type":"boolean"},"beaconAck":{"type":"string"},"livechatEnabled":{"type":"boolean"},"chatViaLive":{"type":"boolean"},"battery":{"type":"integer","format":"int32"},"lang":{"type":"string"}}},"Session":{"type":"object","properties":{"stravaaccid":{"type":"string"},"commentscount":{"type":"integer","format":"int32"},"likescount":{"type":"integer","format":"int32"},"algoversion":{"type":"string"},"mode":{"type":"integer","format":"int32"},"winddir":{"type":"number","format":"double"},"appversion":{"type":"string"},"type":{"type":"string"},"resource":{"type":"string"},"shareurl":{"type":"string"},"buttontext":{"type":"string"},"buttonurl":{"type":"string"},"adtext":{"type":"string"},"internalUrl":{"type":"boolean"},"surfrai":{"type":"boolean"},"winddirvalidated":{"type":"boolean"},"likedByCaller":{"type":"boolean"},"sessionpicid":{"type":"string"},"userslikes":{"type":"string"},"calibration":{"type":"string"},"boardtype":{"type":"string"},"recordingMode":{"type":"string"},"device":{"$ref":"#/components/schemas/Device"},"gps":{"type":"array"},"jumps":{"type":"array"},"marks":{"type":"array"},"startepoch":{"type":"integer","format":"int64"},"remark":{"type":"string"},"kite":{"type":"string"},"createDate":{"type":"integer","format":"int64"},"userkiteid":{"type":"integer","format":"int32"},"base64img":{"type":"string"},"maxheight":{"type":"number","format":"double"},"maxdistance":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"maxpopgforce":{"type":"number","format":"double"},"maxlandinggforce":{"type":"number","format":"double"},"totaldistancekitesurfing":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"airtimepr":{"type":"boolean"},"visiblesession":{"type":"boolean"},"freetrialsession":{"type":"boolean"},"heightpr":{"type":"boolean"},"distancepr":{"type":"boolean"},"speedpr":{"type":"boolean"},"totalheight":{"type":"number","format":"double"},"totalairtime":{"type":"number","format":"double"},"totaldistance":{"type":"number","format":"double"},"timeonwater":{"type":"number","format":"double"},"spot":{"$ref":"#/components/schemas/Spot"},"ignoreDuplicated":{"type":"boolean"},"garminSessionId":{"type":"string"},"partnerData":{"type":"object","additionalProperties":{}},"windData":{"type":"object","additionalProperties":{}},"windSummary":{"type":"object","additionalProperties":{}},"localdatetime":{"type":"string"},"subscriptionTierAtCreation":{"type":"string"},"mapImageUrl":{"type":"string"},"isDiscovery":{"type":"boolean"},"discoveryReason":{"type":"string"},"user":{"$ref":"#/components/schemas/User"},"useremail":{"type":"string"},"gpsstartlon":{"type":"number","format":"double"},"gpsstartlat":{"type":"number","format":"double"},"gpsendlon":{"type":"number","format":"double"},"gpsendlat":{"type":"number","format":"double"},"gpsminlon":{"type":"number","format":"double"},"gpsminlat":{"type":"number","format":"double"},"gpsmaxlon":{"type":"number","format":"double"},"gpsmaxlat":{"type":"number","format":"double"},"gpsavglon":{"type":"number","format":"double"},"gpsavglat":{"type":"number","format":"double"},"pr":{"type":"boolean"},"gear_type_id":{"type":"integer","format":"int32"},"isGarminV4":{"type":"boolean"},"isAppleOrAndroidWatch":{"type":"boolean"},"ID":{"type":"integer","format":"int32"}}},"UserKite":{"type":"object","properties":{"kitemodelid":{"type":"integer","format":"int64"},"kitesizeid":{"type":"integer","format":"int64"},"kitebrand":{"$ref":"#/components/schemas/KiteBrand"},"kitesize":{"$ref":"#/components/schemas/KiteSize"},"kitemodel":{"$ref":"#/components/schemas/KiteModel"},"id":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"archived":{"type":"boolean"},"kitemodelandsize":{"type":"string"},"kite":{"type":"string"}}},"Continent":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"timezoneName":{"type":"string"},"timePeriod":{"$ref":"#/components/schemas/LocalTimePeriod"}}},"Country":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"alpha2":{"type":"string"},"timezoneName":{"type":"string"},"timePeriod":{"$ref":"#/components/schemas/LocalTimePeriod"}}},"CountryPopularityResponse":{"type":"object","properties":{"monthlyData":{"type":"array"},"topSpotsSummary":{"type":"array"}}},"MonthlyData":{"type":"object","properties":{"month":{"type":"integer","format":"int32"},"maxJumpPotential":{"type":"number","format":"double"},"avgJumpHeight":{"type":"number","format":"double"},"totalSessions":{"type":"integer","format":"int32"},"noSessions":{"type":"integer","format":"int32"},"lowWind":{"type":"integer","format":"int32"},"moderateWind":{"type":"integer","format":"int32"},"goodWind":{"type":"integer","format":"int32"},"excellentWind":{"type":"integer","format":"int32"},"topSpots":{"type":"array"}}},"MonthlyTopSpot":{"type":"object","properties":{"spotId":{"type":"integer","format":"int32"},"name":{"type":"string"},"sessions":{"type":"integer","format":"int32"},"maxHeight":{"type":"number","format":"double"}}},"TopSpotSummary":{"type":"object","properties":{"spotId":{"type":"integer","format":"int32"},"spotName":{"type":"string"},"maxHeight":{"type":"number","format":"double"},"totalSessions":{"type":"integer","format":"int32"},"peakMonths":{"type":"array"}}},"FreeSubscriptionResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"userId":{"type":"integer","format":"int32"},"userName":{"type":"string"},"userEmail":{"type":"string"},"observations":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"fromMigration":{"type":"boolean"},"grantedBy":{"type":"integer","format":"int32"},"grantedByUserName":{"type":"string"},"deletedAt":{"type":"string"},"subscriptionType":{"type":"string"}}},"FreeSubscriptionRequestDto":{"type":"object","properties":{"userId":{"type":"integer","format":"int32"},"startDate":{"type":"string"},"endDate":{"type":"string"},"monthsOfFreeSubscription":{"type":"integer","format":"int32"},"observations":{"type":"string"},"subscriptionType":{"type":"string"}}},"EndFreeSubscriptionRequestDto":{"type":"object","properties":{"subscriptionId":{"type":"integer","format":"int32"}}},"GarminDeregistrationEvent":{"type":"object","properties":{"deregistrations":{"type":"array"}}},"GarminDeregistrationInfo":{"type":"object","properties":{"userId":{"type":"string"},"userAccessToken":{"type":"string"}}},"GarminImportIgnoredInfo":{"type":"object","properties":{"accessToken":{"type":"string"},"garminActivityId":{"type":"string"},"reason":{"type":"string"},"timeOnWaterSeconds":{"type":"number","format":"float"},"hasGps":{"type":"boolean"},"hasJumps":{"type":"boolean"},"activityStartEpoch":{"type":"integer","format":"int64"}}},"GarminSessionImportedInfo":{"type":"object","properties":{"accessToken":{"type":"string"},"garminSessionId":{"type":"string"},"surfrSessionId":{"type":"integer","format":"int64"},"spotId":{"type":"integer","format":"int64"},"spotName":{"type":"string"},"maxHeight":{"type":"number","format":"double"},"numberOfJumps":{"type":"integer","format":"int32"},"sessionDate":{"type":"string","format":"date-time"},"importDate":{"type":"string","format":"date-time"}}},"GarminActivityFileInfo":{"type":"object","properties":{"userId":{"type":"string"},"summaryId":{"type":"string"},"fileType":{"type":"string"},"callbackURL":{"type":"string"},"activityType":{"type":"string"},"startTimeInSeconds":{"type":"integer","format":"int64"},"activityId":{"type":"integer","format":"int64"},"activityName":{"type":"string"},"manual":{"type":"boolean"}}},"GarminActivityFilesPushInfo":{"type":"object","properties":{"activityFiles":{"type":"array"}}},"GearType":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"}}},"GeneralSettingsResponseDto":{"type":"object","properties":{"forceAppUpdate":{"type":"boolean"},"androidVersion":{"type":"string"},"iosVersion":{"type":"string"},"wearOsVersion":{"type":"string"},"userName":{"type":"string"},"name":{"type":"string"},"nnConfig":{"type":"string"},"compmodeallowed":{"type":"boolean"},"chatEnabled":{"type":"boolean"},"writefiles":{"type":"boolean"},"writefilesios":{"type":"boolean"},"writefilesandroid":{"type":"boolean"},"writefilesaw":{"type":"boolean"},"writefilesgw":{"type":"boolean"},"diagnostics":{"type":"boolean"},"freeTrialEnded":{"type":"boolean"},"totalfreemiumcount":{"type":"integer","format":"int32"},"remainingfreemiumcount":{"type":"integer","format":"int32"},"licensing":{"type":"string"},"subscriptionTier":{"type":"string"},"freesubscriptionTier":{"type":"string"},"subscriptionSource":{"type":"string"},"freesubscriptionEndDate":{"type":"string"},"activeWhatsNew":{"$ref":"#/components/schemas/WhatsNewResponseDto"},"user":{"$ref":"#/components/schemas/UserInfo"},"beacon_enabled":{"type":"boolean"},"phone_e164":{"type":"string"},"phone_verified":{"type":"boolean"}}},"WhatsNewResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"title":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"url":{"type":"string"}}},"KiteVersion":{"type":"object","properties":{"version":{"type":"string"},"id":{"type":"integer","format":"int64"},"isyearversion":{"type":"boolean"}}},"KiteBrandDto":{"type":"object","properties":{"brand":{"type":"string"}}},"KiteModelDto":{"type":"object","properties":{"model":{"type":"string"}}},"KiteSizeDto":{"type":"object","properties":{"size":{"type":"number","format":"double"}}},"LiveKiteDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"kite":{"type":"string"},"kitesize":{"$ref":"#/components/schemas/KiteSizeDto"},"kitemodel":{"$ref":"#/components/schemas/KiteModelDto"},"kitebrand":{"$ref":"#/components/schemas/KiteBrandDto"}}},"LiveSessionDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"lastknownlat":{"type":"number","format":"double"},"lastknownlong":{"type":"number","format":"double"},"locationType":{"type":"string"},"maxheight":{"type":"number","format":"double"},"lastheight":{"type":"number","format":"double"},"sessiontime":{"type":"integer","format":"int64"},"lastgpsupdate":{"type":"integer","format":"int64"},"lastjumpupdate":{"type":"integer","format":"int64"},"isstreaming":{"type":"boolean"},"status":{"type":"string"},"boardtype":{"type":"string"},"beaconActive":{"type":"boolean"},"user":{"$ref":"#/components/schemas/LiveUserDto"},"spot":{"$ref":"#/components/schemas/LiveSpotDto"},"kite":{"$ref":"#/components/schemas/LiveKiteDto"}}},"LiveSpotDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"alpha2":{"type":"string"},"forecastModelOverride":{"type":"string"},"forecastModelOverrideSource":{"type":"string"},"forecastModelOverrideSourceId":{"type":"integer","format":"int64"}}},"LiveUserDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"profilepicid":{"type":"string"},"ispro":{"type":"boolean"},"subscriptionTier":{"type":"string"},"country":{"type":"string"},"gender":{"type":"string"}}},"LiveSessionsResponseDto":{"type":"object","properties":{"timestamp":{"type":"string"},"count":{"type":"integer","format":"int32"},"sessions":{"type":"array"}}},"ActiveSpotDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"alpha2":{"type":"string"},"country":{"type":"string"},"liveRiders":{"type":"integer","format":"int32"},"kiteSizeDistribution":{"$ref":"#/components/schemas/KiteSizeDistribution"}}},"ActiveSpotsResponseDto":{"type":"object","properties":{"timestamp":{"type":"string"},"spots":{"type":"array"}}},"KiteSizeDistribution":{"type":"object","properties":{"small":{"type":"integer","format":"int32"},"medium":{"type":"integer","format":"int32"},"large":{"type":"integer","format":"int32"}}},"HighestJump":{"type":"object","properties":{"sessionId":{"type":"integer","format":"int64"},"height":{"type":"number","format":"double"}}},"LiveStatsResponseDto":{"type":"object","properties":{"timestamp":{"type":"string"},"liveSessionCount":{"type":"integer","format":"int32"},"friendsLiveCount":{"type":"integer","format":"int32"},"lastUpdate":{"type":"string"},"highestJump":{"$ref":"#/components/schemas/HighestJump"},"topSpot":{"$ref":"#/components/schemas/TopSpot"},"longestSession":{"$ref":"#/components/schemas/LongestSession"}}},"LongestSession":{"type":"object","properties":{"sessionId":{"type":"integer","format":"int64"},"startedAt":{"type":"string"},"durationSec":{"type":"integer","format":"int64"}}},"TopSpot":{"type":"object","properties":{"spotId":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"riderCount":{"type":"integer","format":"int32"}}},"MappingInPersonation":{"type":"object","properties":{"rank":{"type":"integer","format":"int32"},"groupId":{"type":"integer","format":"int32"},"groupName":{"type":"string"},"sourceUserId":{"type":"integer","format":"int32"},"sourceUserName":{"type":"string"},"destinationUserId":{"type":"integer","format":"int32"},"destinationUserName":{"type":"string"}}},"KiteStatsDto":{"type":"object","properties":{"kitesize":{"type":"string"},"count":{"type":"integer","format":"int32"}}},"SpotStatsDto":{"type":"object","properties":{"totalRiders":{"type":"integer","format":"int32"},"kiteStats":{"type":"array"}}},"LivechatTextRequest":{"type":"object","properties":{"text":{"type":"string","description":"The message text (plain, already transcribed on-device)"},"lang":{"type":"string","description":"BCP-47 language tag of the text, e.g. de-DE (optional)"},"useridto":{"type":"integer","description":"Target a single mutual follow instead of the nearby fanout (optional)","format":"int64"},"source":{"type":"string","description":"Sending surface, e.g. watch-local-stt (for migration measurement)"}}},"MergeSpotRequest":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"targetspotid":{"type":"integer","format":"int64"},"username":{"type":"string"},"targetspotname":{"type":"string"},"targetLat":{"type":"number","format":"double"},"targetLon":{"type":"number","format":"double"},"sourceLat":{"type":"number","format":"double"},"sourceLon":{"type":"number","format":"double"},"targetnreviews":{"type":"integer","format":"int32"},"targetnsessions":{"type":"integer","format":"int32"},"createdAt":{"type":"string"},"comment":{"type":"string"},"sourcespotname":{"type":"string"},"sourcespotid":{"type":"integer","format":"int64"},"sourcenreviews":{"type":"integer","format":"int32"},"sourcensessions":{"type":"integer","format":"int32"}}},"Notification":{"type":"object","properties":{"datetime":{"type":"integer","format":"int64"},"targetsessionid":{"type":"integer","format":"int64"},"targetuserid":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"notification":{"type":"string"},"meta":{"type":"string"},"targetuser":{"$ref":"#/components/schemas/User"}}},"OAuthSignInDto":{"type":"object","properties":{"provider":{"type":"string"},"idToken":{"type":"string"},"nonce":{"type":"string"},"linkConsent":{"type":"boolean"},"referralLinkId":{"type":"integer","format":"int32"},"firstName":{"type":"string"},"lastName":{"type":"string"},"device":{"$ref":"#/components/schemas/Device"}}},"PartnerDataRequest":{"type":"object","properties":{"partner":{"type":"string"},"data":{"type":"object","additionalProperties":{}}}},"ProxyContent":{"type":"object","properties":{"content":{"type":"string"}}},"Query":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"query":{"type":"string"}}},"PushMessage":{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"tag":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"sound":{"type":"string"},"image":{"type":"string"}}},"QuiverInsight":{"type":"object","properties":{"kite":{"type":"string"},"boardtype":{"type":"string"},"archived":{"type":"boolean"},"totaldistance":{"type":"integer","format":"int64"},"year":{"type":"integer","format":"int32"},"spotcount":{"type":"integer","format":"int32"},"maxdistance":{"type":"integer","format":"int32"},"jumps":{"type":"integer","format":"int32"},"sessions":{"type":"integer","format":"int32"},"maxheight":{"type":"number","format":"double"},"avgheight":{"type":"number","format":"double"},"avgdistance":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"avgairtime":{"type":"number","format":"double"},"totalheight":{"type":"number","format":"double"},"totalairtime":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"timeonwater":{"type":"number","format":"double"},"sumdistance":{"type":"number","format":"double"}}},"PendingLinkRequestDto":{"type":"object","properties":{"referrer":{"type":"string"}}},"Scoring":{"type":"object","properties":{"heatissue":{"type":"boolean"},"correctionMS":{"type":"integer","format":"int64"},"localid":{"type":"string"},"score":{"type":"number","format":"double"},"needs":{"type":"number","format":"double"},"totalscore":{"type":"number","format":"double"},"needs2":{"type":"number","format":"double"},"compLiveData":{"type":"string"},"online":{"type":"boolean"},"heatposition":{"type":"integer","format":"int32"},"attemptstotal":{"type":"integer","format":"int32"},"attemptsdone":{"type":"integer","format":"int32"},"remainingattempttime":{"type":"integer","format":"int32"},"activeridercolor":{"type":"string"},"heatIssue":{"type":"boolean","writeOnly":true}}},"DeviceInfo":{"type":"object","properties":{"deviceModel":{"type":"string"},"deviceModelId":{"type":"string"},"deviceManufactorer":{"type":"string"},"deviceSerialNumber":{"type":"string"},"deviceUuid":{"type":"string"}}},"SpotAdminLog":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"actionType":{"type":"string"},"adminUserId":{"type":"integer","format":"int64"},"adminUsername":{"type":"string"},"createdAt":{"type":"string"},"spotId":{"type":"integer","format":"int64"},"spotName":{"type":"string"},"sourceSpotId":{"type":"integer","format":"int64"},"sourceSpotName":{"type":"string"},"targetSpotId":{"type":"integer","format":"int64"},"targetSpotName":{"type":"string"},"snapshot":{"type":"string"},"notes":{"type":"string"},"isUndone":{"type":"boolean"},"undoneAt":{"type":"string"},"undoneBy":{"type":"integer","format":"int64"},"undoneByUsername":{"type":"string"},"undoBlockedReason":{"type":"string"},"mergeRequestId":{"type":"integer","format":"int64"},"relatedLogId":{"type":"integer","format":"int64"},"canUndo":{"type":"boolean"},"undoWarnings":{"type":"array"},"sessionsAffected":{"type":"integer","format":"int32"},"reviewsAffected":{"type":"integer","format":"int32"}},"xml":{"name":"spotAdminLog"}},"UpdateImageOrderRequestDto":{"type":"object","properties":{"orderedFilenames":{"type":"array"}}},"SetCoverRequestDto":{"type":"object","properties":{"filename":{"type":"string"}}},"SpotInfoChangeLog":{"type":"object","properties":{"username":{"type":"string"},"profilepicid":{"type":"string"},"id":{"type":"integer","format":"int64"},"oldinformation":{"type":"string"},"information":{"type":"string"},"datetime":{"type":"integer","format":"int64"},"spotinfoid":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"answeroption":{"type":"integer","format":"int32"},"answeroptionselection":{"type":"string"},"multipleansweroptionselected":{"type":"array"},"informationcategory":{"$ref":"#/components/schemas/InformationCategory"}}},"SpotReview":{"type":"object","properties":{"rate":{"type":"number","format":"double"},"review":{"type":"string"},"timestamp":{"type":"integer","format":"int64"},"timestampupdate":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"nreviewsUser":{"type":"integer","format":"int64"},"spotid":{"type":"integer","format":"int64"},"userid":{"type":"integer","format":"int64"},"spotname":{"type":"string"},"username":{"type":"string"},"profilepicid":{"type":"string"}}},"MapBboxSpotResponse":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"lat":{"type":"number","format":"double"},"lon":{"type":"number","format":"double"},"country":{"type":"string"},"alpha2":{"type":"string"},"rating":{"type":"number","format":"double"},"nreviews":{"type":"integer","format":"int32"},"sessions":{"type":"integer","format":"int32"},"maxHeight":{"type":"number","format":"double"},"wgspotid":{"type":"integer","format":"int32"},"wgLiveId":{"type":"integer","format":"int32"},"windStationId":{"type":"string"},"distance":{"type":"number","format":"double"},"liveWind":{"$ref":"#/components/schemas/LiveWindAssignment"}}},"SupportRequest":{"type":"object","properties":{"userid":{"type":"integer","format":"int64"},"uuid":{"type":"string"},"date":{"type":"integer","format":"int64"},"isreceived":{"type":"boolean"},"username":{"type":"string"},"sessionid":{"type":"integer","format":"int64"},"calibration":{"type":"string"},"mode":{"type":"integer","format":"int64"}}},"DiagnosticUploadInfo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"uploadId":{"type":"string"},"userId":{"type":"integer","format":"int64"},"username":{"type":"string"},"email":{"type":"string"},"platform":{"type":"string"},"sessionId":{"type":"integer","format":"int64"},"deviceModel":{"type":"string"},"appVersion":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"analyzed":{"type":"boolean"},"notes":{"type":"string"}}},"DiagnosticUploadUpdate":{"type":"object","properties":{"analyzed":{"type":"boolean"},"notes":{"type":"string"}}},"GarminKite":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"AnswerOption_Full":{"type":"object","properties":{"value":{"type":"integer","format":"int64"},"label":{"type":"string"}}},"CountryInfo_Full":{"type":"object","properties":{"alpha2":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int32"}}},"Device_Full":{"type":"object","properties":{"watchcode":{"type":"integer","format":"int32"},"os":{"type":"string"},"brand":{"type":"string"},"model":{"type":"string"},"resolution":{"type":"string"},"accesstoken":{"type":"string"},"uniqueid":{"type":"string"},"id":{"type":"integer","format":"int32"},"watchUid":{"type":"string"},"serial":{"type":"string"},"modelId":{"type":"integer","format":"int32"}}},"InformationCategory_Full":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"sequence":{"type":"integer","format":"int64"},"summary":{"type":"string"},"iconname":{"type":"string"},"answerOptionsArray":{"type":"array"},"multipleAnswerOptionsArray":{"type":"array"},"description":{"type":"string"},"answeroptionselected":{"type":"string"},"answeroptionSummary":{"type":"string"},"answeroption":{"type":"integer","format":"int32"}}},"LiveWindAssignment_Full":{"type":"object","properties":{"stationId":{"type":"string"}}},"LocalTimePeriod_Full":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"periodType":{"type":"string"},"startTimeAsDate":{"type":"string","format":"date-time"},"endTimeAsDate":{"type":"string","format":"date-time"}}},"MonthlyTemperature_Full":{"type":"object","properties":{"month":{"type":"integer","format":"int32"},"daytemp":{"type":"integer","format":"int32"},"nighttemp":{"type":"integer","format":"int32"}}},"MultipleAnswerOption_Full":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"SpotInformation_Full":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"information":{"type":"string"},"lastmodifiedbyname":{"type":"string"},"oldinformation":{"type":"string"},"lastmodifieddate":{"type":"integer","format":"int64"},"lastmodifiedby":{"type":"integer","format":"int64"},"informationcategory":{"$ref":"#/components/schemas/InformationCategory_Full"},"spotid":{"type":"integer","format":"int64"},"infocategoryid":{"type":"integer","format":"int64"},"yesnoresponse":{"type":"integer","format":"int32"},"oldyesnoresponse":{"type":"integer","format":"int32"},"answeroptionselectionid":{"type":"integer","format":"int32"},"oldansweroptionselectionid":{"type":"integer","format":"int32"},"oldansweroptionselection":{"type":"string"},"multipleansweroptionselected":{"type":"array"},"usercanedit":{"type":"boolean"},"joinedlabels":{"type":"string"},"askforreview":{"type":"boolean"}}},"Spot_Full":{"type":"object","properties":{"longitude":{"type":"number","format":"double"},"distance":{"type":"number","format":"double"},"latitude":{"type":"number","format":"double"},"userid":{"type":"integer","format":"int64"},"meanreviews":{"type":"number","format":"double"},"nreviews":{"type":"integer","format":"int32"},"countryid":{"type":"integer","format":"int64"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"},"nameWithDistance":{"type":"string"},"riderslive":{"type":"integer","format":"int64"},"onestar":{"type":"integer","format":"int64"},"twostar":{"type":"integer","format":"int64"},"threestar":{"type":"integer","format":"int64"},"fourstar":{"type":"integer","format":"int64"},"fivestar":{"type":"integer","format":"int64"},"nriders":{"type":"integer","format":"int64"},"totalsessions":{"type":"integer","format":"int64"},"monthsessions":{"type":"integer","format":"int64"},"maxheight":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"oldname":{"type":"string"},"maxdistance":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"countryName":{"type":"string"},"continentName":{"type":"string"},"maxheightlive":{"type":"number","format":"double"},"ownrate":{"type":"number","format":"double"},"hasWindAlert":{"type":"boolean"},"maxleaderboard":{"type":"number","format":"double"},"commonwinddirections":{"type":"array"},"waterconditions":{"type":"string","writeOnly":true},"timezoneName":{"type":"string"},"forecastModelOverride":{"type":"string"},"forecastModelOverrideSource":{"type":"string"},"forecastModelOverrideSourceId":{"type":"integer","format":"int64"},"sourceProvider":{"type":"string"},"sourceUrl":{"type":"string"},"wgspotid":{"type":"integer","format":"int64"},"wgLiveId":{"type":"integer","format":"int64"},"windStationId":{"type":"string"},"maxheightSessionId":{"type":"integer","format":"int64"},"maxairtimeSessionId":{"type":"integer","format":"int64"},"maxdistanceSessionId":{"type":"integer","format":"int64"},"maxspeedSessionId":{"type":"integer","format":"int64"},"timePeriod":{"$ref":"#/components/schemas/LocalTimePeriod_Full"},"alpha2":{"type":"string"},"monthlyTemperatures":{"type":"array"},"createdAt":{"type":"string"},"comment":{"type":"string"},"oldlatitude":{"type":"number","format":"double"},"oldlongitude":{"type":"number","format":"double"},"spotidtorename":{"type":"integer","format":"int64"},"spotInformation":{"type":"array"},"liveWind":{"$ref":"#/components/schemas/LiveWindAssignment_Full"}},"xml":{"name":"legacySpot"}},"Subscription_Full":{"type":"object","properties":{"orderid":{"type":"string"},"productid":{"type":"string"},"purchasetime":{"type":"integer","format":"int64"},"expirytime":{"type":"integer","format":"int64"},"platform":{"type":"string"},"isfreetrial":{"type":"boolean"},"userid":{"type":"integer","format":"int64"}}},"User_Full":{"type":"object","properties":{"privateaccount":{"type":"boolean"},"lbVisible":{"type":"boolean"},"liveScopeFriends":{"type":"string"},"liveScopeOthers":{"type":"string"},"autoTrimGps":{"type":"boolean"},"writefiles":{"type":"boolean"},"stravaconnected":{"type":"boolean"},"stravaAutoExport":{"type":"boolean"},"streaming":{"type":"boolean"},"competitor":{"type":"boolean"},"haspairedwatch":{"type":"boolean"},"compmodeallowed":{"type":"boolean"},"leaderboardUnsubscribed":{"type":"boolean"},"totalStokes":{"type":"integer","format":"int32"},"licensing":{"type":"string","enum":["pro","protrial","free"]},"usedfreemiumcount":{"type":"integer","format":"int32"},"remainingfreemiumcount":{"type":"integer","format":"int32"},"subsciptions":{"type":"array"},"streamurl":{"type":"string"},"followingcount":{"type":"integer","format":"int32"},"followerscount":{"type":"integer","format":"int32"},"ytchannelid":{"type":"string"},"streamingquality":{"type":"string"},"streaminguuid":{"type":"string"},"sessionscount":{"type":"integer","format":"int32"},"accesstoken":{"type":"string"},"isadmin":{"type":"boolean"},"isspotmoderator":{"type":"boolean"},"username":{"type":"string"},"slug":{"type":"string"},"displayName":{"type":"string"},"gender":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"intendeduse":{"type":"string"},"followstatus":{"type":"integer","format":"int32"},"ispro":{"type":"boolean"},"ispro_server":{"type":"boolean"},"country":{"type":"string"},"countryref":{"$ref":"#/components/schemas/CountryInfo_Full"},"countryIOC":{"type":"string"},"password":{"type":"string"},"jwt":{"type":"string"},"id":{"type":"integer","format":"int32"},"maxspeed":{"type":"number","format":"double"},"maxheight":{"type":"number","format":"double"},"maxdistance":{"type":"number","format":"double"},"maxairtime":{"type":"number","format":"double"},"maxheightSessionId":{"type":"integer","format":"int64"},"maxairtimeSessionId":{"type":"integer","format":"int64"},"maxdistanceSessionId":{"type":"integer","format":"int64"},"maxspeedSessionId":{"type":"integer","format":"int64"},"streamkey":{"type":"string"},"mutualfriends":{"type":"integer","format":"int32"},"profilepicid":{"type":"string"},"backgroundpicid":{"type":"string"},"base64img":{"type":"string"},"base64backgroundimg":{"type":"string"},"hearaboutusid":{"type":"integer","format":"int64"},"boardmount":{"type":"boolean"},"freesubscription":{"type":"boolean"},"name":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"showinlivestream":{"type":"boolean"},"registering":{"type":"boolean"},"ownprofile":{"type":"boolean"},"device":{"$ref":"#/components/schemas/Device_Full"},"socialInstagram":{"type":"string"},"socialTiktok":{"type":"string"},"bio":{"type":"string"},"relationshipStatus":{"type":"string"},"lookingFor":{"type":"string"},"preferredSport":{"type":"string"},"skillLevel":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"weightInKg":{"type":"number","format":"double"},"homeSpotId":{"type":"integer","format":"int32"},"homespot":{"$ref":"#/components/schemas/Spot_Full"},"diagnosticsEnabled":{"type":"boolean"},"subscriptionTier":{"type":"string"},"freesubscriptionTier":{"type":"string"},"subscriptionSource":{"type":"string"},"liveId":{"type":"integer","format":"int64"},"isproios":{"type":"boolean"},"isproandroid":{"type":"boolean"},"liveScope":{"type":"string"},"isproServer":{"type":"boolean"},"localid":{"type":"string"},"isPaidPro":{"type":"boolean"},"beingFollowed":{"type":"boolean"},"beacon_enabled":{"type":"boolean"},"phone_e164":{"type":"string"},"phone_verified":{"type":"boolean"},"safety_verified":{"type":"boolean"}},"xml":{"name":"legacyUser"}},"WindDirection_Full":{"type":"object","properties":{"windDirection":{"type":"string"},"count":{"type":"integer","format":"int32"}}},"AuthRequestDto":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"device":{"$ref":"#/components/schemas/Device"},"registering":{"type":"boolean"},"name":{"type":"string"},"referralLinkId":{"type":"integer","format":"int32"},"intendeduse":{"type":"string"},"hearaboutusid":{"type":"integer","format":"int32"}}},"CountryInfo_Basic":{"type":"object","properties":{"alpha2":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int32"}}},"PartnerInfoDto_Basic":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"SpotInfo_Basic":{"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"timezoneName":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"UserInfoWithPartnersDto_Basic":{"type":"object","properties":{"windgames":{"type":"boolean"},"partners":{"type":"array"},"username":{"type":"string"},"maxairtime":{"type":"number","format":"double"},"maxdistance":{"type":"number","format":"double"},"maxspeed":{"type":"number","format":"double"},"isadmin":{"type":"boolean"},"profilepicid":{"type":"string"},"ispro":{"type":"boolean"},"isproios":{"type":"boolean"},"isproandroid":{"type":"boolean"},"followingcount":{"type":"integer","format":"int32"},"followerscount":{"type":"integer","format":"int32"},"sessionscount":{"type":"integer","format":"int32"},"backgroundpicid":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"string"},"slug":{"type":"string"},"countryref":{"$ref":"#/components/schemas/CountryInfo_Basic"},"homespot":{"$ref":"#/components/schemas/SpotInfo_Basic"},"socialInstagram":{"type":"string"},"socialTiktok":{"type":"string"},"preferredSport":{"type":"string"},"skillLevel":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"weightInKg":{"type":"number","format":"double"},"licensing":{"type":"string","enum":["pro","protrial","free"]},"freesubscription":{"type":"boolean"},"competitor":{"type":"boolean"},"isproServer":{"type":"boolean"},"localid":{"type":"string"},"boardmount":{"type":"boolean"},"isPaidPro":{"type":"boolean"},"compmodeallowed":{"type":"boolean"},"name":{"type":"string"},"id":{"type":"integer","format":"int32"},"maxheight":{"type":"number","format":"double"}}},"LiveSessionSummary":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"spotName":{"type":"string"},"startedAt":{"type":"string"},"isStreaming":{"type":"boolean"}}},"UserStokesResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"userId":{"type":"integer","format":"int32"},"earnedFromUserId":{"type":"integer","format":"int32"},"earnedFromUserName":{"type":"string"},"earnedFromUserEmail":{"type":"string"},"earnedFromUserSessionCount":{"type":"integer","format":"int32"},"amount":{"type":"integer","format":"int32"},"reason":{"type":"string"},"isEngagement":{"type":"boolean"},"type":{"type":"string"},"date":{"type":"string"}}},"UserStokesAdjustmentRequestDto":{"type":"object","properties":{"userId":{"type":"integer","format":"int32"},"action":{"type":"string"},"stokes":{"type":"integer","format":"int32"}}},"PairedWatchDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"brand":{"type":"string"},"model":{"type":"string"},"os":{"type":"string"},"pairedAt":{"type":"integer","format":"int64"},"deviceUid":{"type":"string"}}},"CreateWhatsNewRequestDto":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"url":{"type":"string"}}},"UpdateWhatsNewRequestDto":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"url":{"type":"string"}}},"SpotWindProvider":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"spotId":{"type":"integer","format":"int32"},"provider":{"type":"string"},"priority":{"type":"integer","format":"int32"},"enabled":{"type":"boolean"},"dataType":{"type":"string"},"stationId":{"type":"string"},"modelId":{"type":"string"},"apiKeyRef":{"type":"string"},"endpointUrl":{"type":"string"},"config":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"WindEnrichmentRequest":{"type":"object","properties":{"sessionId":{"type":"integer","format":"int32"},"provider":{"type":"string"},"dataType":{"type":"string"},"stationId":{"type":"string"},"modelId":{"type":"string"},"modelName":{"type":"string"},"preferred":{"type":"boolean"},"avgWindDirection":{"type":"integer","format":"int32"},"resolutionSource":{"type":"string"},"tideHeightM":{"type":"number","format":"double"},"waveHeightM":{"type":"number","format":"double"},"wavePeriodS":{"type":"number","format":"double"},"waveDirectionDeg":{"type":"number","format":"double"},"fetchedAt":{"type":"string"},"observations":{"type":"array"}}},"WindObservation":{"type":"object","properties":{"time":{"type":"string"},"speed":{"type":"number","format":"double"},"gust":{"type":"number","format":"double"},"direction":{"type":"number","format":"double"},"temp":{"type":"number","format":"double"}}},"KeyValuePair":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object"}}}}}}