{"openapi":"3.0.1","info":{"title":"albina-server","description":"Server component to compose and publish multilingual avalanche bulletins","contact":{"name":"avalanche.report","url":"https://avalanche.report/","email":"info@avalanche.report"},"license":{"name":"GNU Affero General Public License v3.0","url":"https://gitlab.com/albina-euregio/albina-server/-/blob/master/LICENSE"},"version":"v9.0.1-122-g2e4f2c51"},"servers":[{"url":"/albina/api"},{"url":"https://avalanche.report/api/"},{"url":"https://dev.avalanche.report/api/"}],"tags":[{"name":"bulletins"},{"name":"static-files","description":"Published bulletin files served by the web server"}],"paths":{"/":{"get":{"tags":["openapi"],"operationId":"index","responses":{"200":{"description":"index 200 response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/authentication":{"post":{"tags":["authentication"],"summary":"Authenticate user","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationService.Credentials"}}},"required":true},"responses":{"200":{"description":"login 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationService.AuthenticationResponse"}}}}}}},"/authentication/passkey":{"get":{"tags":["authentication"],"summary":"List the current user's passkeys","operationId":"listPasskeys","responses":{"200":{"description":"listPasskeys 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PasskeyService.PasskeyInfo"}}}}}},"security":[{"authentication":[]}]}},"/authentication/passkey/login":{"post":{"tags":["authentication"],"summary":"Finish a passkey login","operationId":"finishLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.LoginFinishRequest"}}},"required":true},"responses":{"200":{"description":"finishLogin 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationService.AuthenticationResponse"}}}}}}},"/authentication/passkey/login/options":{"post":{"tags":["authentication"],"summary":"Begin a passkey login","operationId":"beginLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.LoginBeginRequest"}}}},"responses":{"200":{"description":"beginLogin 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.LoginChallenge"}}}}}}},"/authentication/passkey/register":{"post":{"tags":["authentication"],"summary":"Finish registering a new passkey for the current user","operationId":"finishRegistration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.RegisterFinishRequest"}}},"required":true},"responses":{"200":{"description":"finishRegistration 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.PasskeyInfo"}}}}},"security":[{"authentication":[]}]}},"/authentication/passkey/register/options":{"post":{"tags":["authentication"],"summary":"Begin registering a new passkey for the current user","operationId":"beginRegistration","responses":{"200":{"description":"beginRegistration 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyService.RegistrationChallenge"}}}}},"security":[{"authentication":[]}]}},"/authentication/passkey/{id}":{"delete":{"tags":["authentication"],"summary":"Delete one of the current user's passkeys","operationId":"deletePasskey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"deletePasskey 200 response"}},"security":[{"authentication":[]}]}},"/authentication/test":{"get":{"tags":["authentication"],"summary":"Test access token","operationId":"testAuth","responses":{"200":{"description":"testAuth 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationService.Username"}}}}},"security":[{"authentication":[]}]}},"/blogs/post":{"get":{"tags":["blogs"],"operationId":"getBlogPost","parameters":[{"name":"region","in":"query","explode":false,"schema":{"type":"string","default":"AT-07"}},{"name":"lang","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"id","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"If-None-Match","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"getBlogPost 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogItem"}}}}}}},"/blogs/posts":{"get":{"tags":["blogs"],"operationId":"getBlogPosts","parameters":[{"name":"region","in":"query","explode":false,"schema":{"type":"string","default":"AT-07"}},{"name":"lang","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"searchText","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"searchCategory","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"If-None-Match","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"getBlogPosts 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BlogItem"}}}}}}}},"/blogs/publish/latest":{"post":{"tags":["blogs"],"operationId":"sendLatestBlogPost","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"sendLatestBlogPost 200 response"}},"security":[{"authentication":[]}]}},"/blogs/publish/latest/email":{"post":{"tags":["blogs"],"operationId":"sendLatestBlogPostEmail","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"sendLatestBlogPostEmail 200 response"}},"security":[{"authentication":[]}]}},"/blogs/publish/latest/push":{"post":{"tags":["blogs"],"operationId":"sendLatestBlogPostPush","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"sendLatestBlogPostPush 200 response"}},"security":[{"authentication":[]}]}},"/blogs/publish/latest/telegram":{"post":{"tags":["blogs"],"operationId":"sendLatestBlogPostTelegram","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"sendLatestBlogPostTelegram 200 response"}},"security":[{"authentication":[]}]}},"/blogs/publish/latest/whatsapp":{"post":{"tags":["blogs"],"operationId":"sendLatestBlogPostWhatsApp","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"sendLatestBlogPostWhatsApp 200 response"}},"security":[{"authentication":[]}]}},"/bulletins":{"get":{"tags":["bulletins"],"operationId":"getPublishedJSONBulletins0","parameters":[{"name":"version","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/CaamlVersion"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"oneOf":[{"$ref":"#/components/schemas/LanguageCode"},{"allOf":[{"$ref":"#/components/schemas/LanguageCode"}]}]}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"bulletins","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"},"example":null}}}},"deprecated":true},"put":{"tags":["bulletins"],"summary":"Create bulletin","operationId":"createJSONBulletin","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletin"}}},"required":true},"responses":{"200":{"description":"createJSONBulletin 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["bulletins"],"summary":"Create bulletins","operationId":"createJSONBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}},"required":true},"responses":{"200":{"description":"createJSONBulletins 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}},"security":[{"authentication":[]}]}},"/bulletins/caaml":{"get":{"tags":["bulletins"],"summary":"Get published bulletins for date as CAAML XML","operationId":"getPublishedCaamlBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"lang","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"version","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/CaamlVersion"}}],"responses":{"200":{"description":"CAAML XML bulletins","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"}}}}}}},"/bulletins/caaml/json":{"get":{"tags":["bulletins"],"summary":"Get published bulletins for date as CAAML JSON","operationId":"getPublishedCaamlJsonBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"version","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/CaamlVersion"}}],"responses":{"200":{"description":"CAAML JSON bulletins","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"}}}}}}},"/bulletins/check":{"get":{"tags":["bulletins"],"summary":"Check bulletins","operationId":"checkBulletins","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"checkBulletins 200 response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"security":[{"authentication":[]}]}},"/bulletins/edit":{"get":{"tags":["bulletins"],"summary":"Get bulletins for date","operationId":"getJSONBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"bulletins","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}},"security":[{"authentication":[]}]}},"/bulletins/edit/caaml/json":{"get":{"tags":["bulletins"],"summary":"Get bulletins for date as CAAML JSON","operationId":"getCaamlJsonBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"version","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/CaamlVersion"}}],"responses":{"200":{"description":"CAAML JSON bulletins","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"}}}}},"security":[{"authentication":[]}]}},"/bulletins/highest":{"get":{"tags":["bulletins"],"summary":"Get highest danger rating","operationId":"getHighestDangerRating","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"latest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletinService.Highest"}}}}}}},"/bulletins/json":{"get":{"tags":["bulletins"],"summary":"Get published bulletins for date","operationId":"getPublishedJSONBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"bulletins","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}}}},"/bulletins/latest":{"get":{"tags":["bulletins"],"summary":"Get latest bulletin date","operationId":"getLatest","responses":{"200":{"description":"getLatest 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletinService.LatestBulletin"}}}}}}},"/bulletins/pdf":{"get":{"tags":["bulletins"],"summary":"Get published bulletins as PDF","operationId":"getPublishedBulletinsAsPDF","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"bulletinId","in":"query","explode":false,"schema":{"type":"string","nullable":true}},{"name":"microRegionId","in":"query","explode":false,"schema":{"type":"string","nullable":true}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"grayscale","in":"query","required":true,"explode":false,"schema":{"type":"boolean"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"getPublishedBulletinsAsPDF 200 response","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}}}}},"/bulletins/photo":{"post":{"tags":["bulletins/photo"],"summary":"Upload bulletin photo","operationId":"uploadBulletinPhoto","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"contentType":"application/octet-stream","explode":false}}}},"required":true},"responses":{"200":{"description":"uploadBulletinPhoto 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData.BulletinPhoto"}}}}},"security":[{"authentication":[]}]}},"/bulletins/preview":{"post":{"tags":["bulletins"],"summary":"Get bulletin preview as PDF","operationId":"getPreviewPdf","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}},"required":true},"responses":{"200":{"description":"getPreviewPdf 200 response","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"authentication":[]}]}},"/bulletins/publish":{"post":{"tags":["bulletins/publish"],"summary":"Publish a major update to an already published bulletin (not at 5PM nor 8AM).","description":"Publish a major update to an already published bulletin (not at 5PM nor 8AM).","operationId":"publishBulletins","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"strategy","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/PublicationStrategy.Type"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"publishBulletins 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/publish/all":{"post":{"tags":["bulletins/publish"],"summary":"Publish a major update to an already published bulletin (not at 5PM nor 8AM).","description":"Publish a major update to an already published bulletin (not at 5PM nor 8AM).","operationId":"publishAllBulletins","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"strategy","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/PublicationStrategy.Type"}}],"responses":{"200":{"description":"publishAllBulletins 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/publish/email":{"post":{"tags":["bulletins/publish"],"operationId":"sendEmail","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","explode":false,"schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LanguageCode"}]}}],"responses":{"200":{"description":"sendEmail 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/publish/push":{"post":{"tags":["bulletins/publish"],"operationId":"triggerPushNotifications","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","explode":false,"schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LanguageCode"}]}}],"responses":{"200":{"description":"triggerPushNotifications 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/publish/telegram":{"post":{"tags":["bulletins/publish"],"operationId":"triggerTelegramChannel","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","explode":false,"schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LanguageCode"}]}}],"responses":{"200":{"description":"triggerTelegramChannel 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/publish/whatsapp":{"post":{"tags":["bulletins/publish"],"operationId":"triggerWhatsAppChannel","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","explode":false,"schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LanguageCode"}]}}],"responses":{"200":{"description":"triggerWhatsAppChannel 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/status":{"get":{"tags":["bulletins/status"],"operationId":"getStatus","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"timezone","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getStatus 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletinStatusService.Status"}}}}}}}},"/bulletins/status/internal":{"get":{"tags":["bulletins/status"],"operationId":"getInternalStatus","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getInternalStatus 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletinStatusService.Status"}}}}}},"security":[{"authentication":[]}]}},"/bulletins/status/publication":{"get":{"tags":["bulletins/status"],"operationId":"getPublicationStatus","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getPublicationStatus 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletinStatusService.Status"}}}}},"security":[{"authentication":[]}]}},"/bulletins/submit":{"post":{"tags":["bulletins"],"summary":"Submit bulletins","operationId":"submitBulletins","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"submitBulletins 200 response"}},"security":[{"authentication":[]}]}},"/bulletins/tendency":{"get":{"tags":["bulletins"],"summary":"Get tendency for region","operationId":"getTendency","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","description":"Region ID, e.g. AT-07 or EUREGIO, or empty for all regions","explode":false,"schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"tendency of each micro region with published bulletins","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TendencyProgression"}}}}}}},"/bulletins/{bulletinId}":{"get":{"tags":["bulletins"],"summary":"Get bulletin by ID","operationId":"getJSONBulletin","parameters":[{"name":"bulletinId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"bulletin","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}},"security":[{"authentication":[]}]},"post":{"tags":["bulletins"],"summary":"Update bulletin","operationId":"updateJSONBulletin","parameters":[{"name":"bulletinId","in":"path","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBulletin"}}},"required":true},"responses":{"200":{"description":"updateJSONBulletin 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}},"security":[{"authentication":[]}]},"delete":{"tags":["bulletins"],"summary":"Delete bulletin","operationId":"deleteJSONBulletin","parameters":[{"name":"bulletinId","in":"path","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"deleteJSONBulletin 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin"}}}}}},"security":[{"authentication":[]}]}},"/checklist":{"get":{"tags":["checklist"],"summary":"Get checklists for a given date and region","operationId":"getChecklists","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getChecklists 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChecklistService.Checklist"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["checklist"],"summary":"Store checklist for a given date and region","operationId":"saveChecklist","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChecklistService.Checklist"}}},"required":true},"responses":{"200":{"description":"saveChecklist 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChecklistService.Checklist"}}}}},"security":[{"authentication":[]}]}},"/danger-sources":{"get":{"tags":["danger-sources"],"summary":"Get danger sources for season","operationId":"getDangerSources","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"danger-sources","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSource"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["danger-sources"],"summary":"Create or update danger source","operationId":"saveDangerSource","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DangerSource"}}},"required":true},"responses":{"200":{"description":"saveDangerSource 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DangerSource"}}}}},"security":[{"authentication":[]}]}},"/danger-sources/edit":{"get":{"tags":["danger-sources"],"summary":"Get danger source variants for date","operationId":"getVariants","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"danger-sources","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}}},"security":[{"authentication":[]}]}},"/danger-sources/status":{"get":{"tags":["danger-sources"],"operationId":"getInternalStatus_1","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getInternalStatus_1 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariantsStatus"}}}}}},"security":[{"authentication":[]}]}},"/danger-sources/variants":{"post":{"tags":["danger-sources"],"summary":"Save danger source variant (create/insert or update)","operationId":"saveDangerSourceVariant","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DangerSourceVariant"}}},"required":true},"responses":{"200":{"description":"saveDangerSourceVariant 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}},"security":[{"authentication":[]}]}},"/danger-sources/variants/replace":{"post":{"tags":["danger-sources"],"summary":"Replace variants (save and delete obsolete)","operationId":"replaceVariants","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariant"}}}},"required":true},"responses":{"200":{"description":"replaceVariants 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}}},"security":[{"authentication":[]}]}},"/danger-sources/variants/{variantId}":{"get":{"tags":["danger-sources"],"summary":"Get variant by ID","operationId":"getVariantById","parameters":[{"name":"variantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"variant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}},"security":[{"authentication":[]}]},"delete":{"tags":["danger-sources"],"summary":"Delete danger source variant","operationId":"deleteVariant","parameters":[{"name":"variantId","in":"path","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"deleteVariant 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}}},"security":[{"authentication":[]}]}},"/danger-sources/{dangerSourceId}/edit":{"get":{"tags":["danger-sources"],"summary":"Get danger source variants for danger source and date","operationId":"getVariantsForDangerSource","parameters":[{"name":"dangerSourceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"danger-sources","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DangerSourceVariant"}}}}}},"security":[{"authentication":[]}]}},"/email/subscribe":{"post":{"tags":["email"],"summary":"Subscribe email notification","operationId":"addSubscriber","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionService.EmailSubscription"}}},"required":true},"responses":{"200":{"description":"addSubscriber 200 response"}}}},"/incidents":{"get":{"tags":["incidents"],"summary":"List incidents for a region (public report data when unauthenticated)","operationId":"getIncidents","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"seasonYear","in":"query","description":"Season year, expanded to yyyy-10-01 until (yyyy+1)-10-01","required":true,"explode":false,"schema":{"type":"integer","format":"int32"}},{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","explode":false,"schema":{"type":"string","nullable":true}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","explode":false,"schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"OK response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.IncidentSchema"}}}}}}},"post":{"tags":["incidents"],"summary":"Create an incident","operationId":"createIncident","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"createIncident 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}}}},"security":[{"authentication":[]}]}},"/incidents/{id}":{"get":{"tags":["incidents"],"summary":"Get an incident by ID (public data when unauthenticated)","operationId":"getIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incidents.IncidentSchema"}}}}}},"put":{"tags":["incidents"],"summary":"Update an incident","operationId":"updateIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"updateIncident 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}}}},"security":[{"authentication":[]}]},"delete":{"tags":["incidents"],"summary":"Delete an incident","operationId":"deleteIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"deleteIncident 200 response"}},"security":[{"authentication":[]}]}},"/incidents/{id}/attachment":{"post":{"tags":["incidents"],"summary":"Upload incident attachment","operationId":"uploadIncidentAttachment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"contentType":"application/octet-stream","explode":false}}}},"required":true},"responses":{"200":{"description":"uploadIncidentAttachment 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentAttachment"}}}}},"security":[{"authentication":[]}]}},"/incidents/{id}/attachment/{attachmentId}":{"get":{"tags":["incidents"],"summary":"Get incident attachment (public data when unauthenticated)","operationId":"getIncidentAttachment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"getIncidentAttachment 200 response","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"delete":{"tags":["incidents"],"summary":"Delete incident attachment","operationId":"deleteIncidentAttachment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"deleteIncidentAttachment 200 response"}},"security":[{"authentication":[]}]}},"/incidents/{id}/publish":{"post":{"tags":["incidents"],"summary":"Publish an incident","operationId":"publishIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"publishIncident 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}}}},"security":[{"authentication":[]}]},"delete":{"tags":["incidents"],"summary":"Unpublish an incident","operationId":"unpublishIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"unpublishIncident 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}}}},"security":[{"authentication":[]}]}},"/media":{"post":{"tags":["media"],"summary":"Save media file","operationId":"saveMediaFile","parameters":[{"name":"date","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"important","in":"query","required":true,"explode":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"text":{"type":"string"},"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"contentType":"application/octet-stream","explode":false},"text":{"contentType":"application/octet-stream","explode":false}}}},"required":true},"responses":{"200":{"description":"saveMediaFile 200 response"}},"security":[{"authentication":[]}]}},"/media/rss":{"get":{"tags":["media"],"summary":"Get media files as RSS feed","operationId":"getRssFeed","parameters":[{"name":"region","in":"query","explode":false,"schema":{"type":"string","default":"AT-07"}},{"name":"lang","in":"query","explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}}],"responses":{"200":{"description":"getRssFeed 200 response","content":{"application/rss+xml":{"schema":{"type":"string"}}}}}}},"/observations":{"get":{"tags":["observations"],"operationId":"getGenericObservations","parameters":[{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getGenericObservations 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GenericObservation"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["observations"],"operationId":"saveOrUpdateGenericObservation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericObservation"}}},"required":true},"responses":{"200":{"description":"saveOrUpdateGenericObservation 200 response"}},"security":[{"authentication":[]}]},"delete":{"tags":["observations"],"operationId":"deleteGenericObservation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericObservation"}}},"required":true},"responses":{"200":{"description":"deleteGenericObservation 200 response"}},"security":[{"authentication":[]}]}},"/observations/:source/:id":{"get":{"tags":["observations"],"operationId":"getGenericObservation","parameters":[{"name":"source","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"id","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getGenericObservation 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericObservation"}}}}},"security":[{"authentication":[]}]}},"/openapi.json":{"get":{"tags":["openapi"],"operationId":"getOpenApiJson","responses":{"200":{"description":"getOpenApiJson 200 response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/openapi.yml":{"get":{"tags":["openapi"],"operationId":"getOpenApi","responses":{"200":{"description":"getOpenApi 200 response","content":{"application/yaml":{"schema":{"type":"string"}}}}}}},"/push/key":{"get":{"tags":["push"],"summary":"Get VAPID public key","operationId":"key","responses":{"200":{"description":"key 200 response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/push/subscribe":{"post":{"tags":["push"],"summary":"Subscribe push notification","operationId":"subscribe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscription"}}},"required":true},"responses":{"200":{"description":"subscribe 200 response"}}}},"/push/unsubscribe":{"post":{"tags":["push"],"summary":"Unsubscribe push notification","operationId":"unsubscribe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscription"}}},"required":true},"responses":{"200":{"description":"unsubscribe 200 response"}}}},"/regions":{"get":{"tags":["regions"],"summary":"Get all regions","operationId":"getRegions","responses":{"200":{"description":"getRegions 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Region"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["regions"],"summary":"Create or update region","operationId":"saveRegion","requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"saveRegion 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Region"}}}}},"security":[{"authentication":[]}]}},"/regions/region":{"get":{"tags":["regions"],"summary":"Get region for ID","operationId":"getRegion","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getRegion 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Region"}}}}},"security":[{"authentication":[]}]}},"/server":{"get":{"tags":["server"],"summary":"Get local server configuration","operationId":"getLocalServerConfiguration","responses":{"200":{"description":"configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalServerInstance"}}}}},"security":[{"authentication":[]}]},"post":{"tags":["server"],"summary":"Create or update server configuration","operationId":"saveServerConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerInstance"}}},"required":true},"responses":{"200":{"description":"saveServerConfiguration 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerInstance"}}}}},"security":[{"authentication":[]}]}},"/server/external":{"get":{"tags":["server"],"summary":"Get external server configurations","operationId":"getExternalServerConfigurations","responses":{"200":{"description":"configuration","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServerInstance"}}}}}},"security":[{"authentication":[]}]}},"/server/info":{"get":{"tags":["server"],"summary":"Get server version info","operationId":"getServerVersionInfo","responses":{"200":{"description":"server version info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerInstanceService.ServerVersionInfo"}}}}}}},"/statistics":{"get":{"tags":["statistics"],"summary":"Get bulletin statistics","operationId":"getBulletinCsv","parameters":[{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":true,"explode":false,"schema":{"$ref":"#/components/schemas/LanguageCode"}},{"name":"extended","in":"query","explode":false,"schema":{"type":"boolean","default":false}},{"name":"duplicate","in":"query","explode":false,"schema":{"type":"boolean","default":false}},{"name":"regions","in":"query","required":true,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"obsoleteMatrix","in":"query","explode":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"getBulletinCsv 200 response","content":{"text/csv":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"authentication":[]}]}},"/statistics/danger-sources":{"get":{"tags":["statistics"],"summary":"Get danger source statistics","operationId":"getDangerSourceCsv","parameters":[{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getDangerSourceCsv 200 response","content":{"text/csv":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"authentication":[]}]}},"/statistics/vr":{"post":{"tags":["statistics"],"summary":"Save virtual reality statistics","operationId":"saveVirtualRealityStatistics","requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"saveVirtualRealityStatistics 200 response"}}}},"/status/channels":{"get":{"tags":["status"],"summary":"Get status of publication channels that are associated with the current user's regions","operationId":"getStatus_1","responses":{"200":{"description":"getStatus_1 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatusInformation"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["status"],"summary":"Trigger status checks for all publication channels that are associated with the current user's regions","operationId":"triggerStatusChecks","responses":{"200":{"description":"triggerStatusChecks 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatusInformation"}}}}}},"security":[{"authentication":[]}]}},"/user":{"get":{"tags":["user"],"summary":"Get all users","operationId":"getUsers","responses":{"200":{"description":"getUsers 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["user"],"summary":"Create or update user","operationId":"saveUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"required":true},"responses":{"200":{"description":"saveUser 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"authentication":[]}]}},"/user/change":{"put":{"tags":["user"],"summary":"Change password","operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserService.ChangePassword"}}},"required":true},"responses":{"200":{"description":"changePassword 200 response"}},"security":[{"authentication":[]}]}},"/user/check":{"put":{"tags":["user"],"summary":"Check password","operationId":"checkPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserService.CheckPassword"}}},"required":true},"responses":{"200":{"description":"checkPassword 200 response"}},"security":[{"authentication":[]}]}},"/user/regions":{"get":{"tags":["user"],"summary":"Get all regions","operationId":"getRegions_1","responses":{"200":{"description":"getRegions_1 200 response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"security":[{"authentication":[]}]}},"/user/roles":{"get":{"tags":["user"],"summary":"Get all roles","operationId":"getRoles","responses":{"200":{"description":"getRoles 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}}},"security":[{"authentication":[]}]}},"/user/stress-level":{"get":{"tags":["user"],"summary":"List stress level entries of user","operationId":"getStressLevels","parameters":[{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getStressLevels 200 response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StressLevel"}}}}}},"security":[{"authentication":[]}]},"post":{"tags":["user"],"summary":"Create stress level entry","operationId":"postStressLevel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StressLevel"}}},"required":true},"responses":{"200":{"description":"postStressLevel 200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StressLevel"}}}}},"security":[{"authentication":[]}]}},"/user/stress-level/team":{"get":{"tags":["user"],"summary":"List stress level entries of team","operationId":"getTeamStressLevels","parameters":[{"name":"region","in":"query","required":true,"explode":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}},{"name":"endDate","in":"query","description":"Date in the format yyyy-MM-dd'T'HH:mm:ssZZ","required":true,"explode":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"getTeamStressLevels 200 response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/StressLevel"}}}}}}},"security":[{"authentication":[]}]}},"/user/{id}":{"delete":{"tags":["user"],"summary":"Delete user","operationId":"deleteUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"deleteUser 200 response"}},"security":[{"authentication":[]}]}},"/user/{id}/reset":{"put":{"tags":["user"],"summary":"Reset user password","operationId":"resetPassword","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserService.ResetPassword"}}},"required":true},"responses":{"200":{"description":"resetPassword 200 response"}},"security":[{"authentication":[]}]}},"/weather-stations":{"get":{"tags":["weather-stations"],"operationId":"getWeatherStations","responses":{"307":{"description":"Redirect to the latest weather stations GeoJSON","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeatherStations.FeatureCollection"}}}}}}},"/bulletins/archive/":{"get":{"tags":["static-files"],"summary":"Browse the archive of published bulletins","operationId":"getStaticArchive","responses":{"200":{"description":"Directory listing of the bulletin archive","content":{"text/html":{"schema":{"type":"string"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/bulletins/{date}/{date}_{region}{lang}_CAAMLv6.json":{"get":{"tags":["static-files"],"summary":"Get published bulletins as CAAML JSON","operationId":"getStaticCaamlJson","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticRegion"},{"$ref":"#/components/parameters/StaticLang"}],"responses":{"200":{"description":"CAAML v6 JSON bulletins","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/bulletins/{date}/{date}_{region}{lang}_CAAMLv6.xml":{"get":{"tags":["static-files"],"summary":"Get published bulletins as CAAML XML","operationId":"getStaticCaamlXml","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticRegion"},{"$ref":"#/components/parameters/StaticLang"}],"responses":{"200":{"description":"CAAML v6 XML bulletins","content":{"application/xml":{"schema":{"type":"string"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/bulletins/{date}/{publication}/{date}_{region}{lang}_CAAMLv6.json":{"get":{"tags":["static-files"],"summary":"Get bulletins of a specific publication as CAAML JSON","operationId":"getStaticCaamlJsonForPublication","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticPublication"},{"$ref":"#/components/parameters/StaticRegion"},{"$ref":"#/components/parameters/StaticLang"}],"responses":{"200":{"description":"CAAML v6 JSON bulletins","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaamlAvalancheBulletins"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/bulletins/{date}/{publication}/{file}.webp":{"get":{"tags":["static-files"],"summary":"Get a published danger map","operationId":"getStaticMap","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticPublication"},{"name":"file","in":"path","description":"Map file name, either `{daytime}_{region}_{mapLevel}[_bw]` for overview maps or `{region}_{bulletinId}[_PM][_bw]` for bulletin-specific maps","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Danger map","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/bulletins/{date}/{region}_{lang}.mp3":{"get":{"tags":["static-files"],"summary":"Get the synthesized audio version of the published bulletins","operationId":"getStaticMp3","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticRegion"},{"$ref":"#/components/parameters/StaticLang"}],"responses":{"200":{"description":"Audio bulletin","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/eaws_bulletins/{date}/{date}.problems.json":{"get":{"tags":["static-files"],"summary":"Get published avalanche problems per micro-region (EAWS format)","operationId":"getStaticEawsProblems","parameters":[{"$ref":"#/components/parameters/StaticDate"}],"responses":{"200":{"description":"Avalanche problems keyed by micro-region ID","content":{"application/json":{"schema":{"type":"object"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/eaws_bulletins/{date}/{date}{region}.ratings.json":{"get":{"tags":["static-files"],"summary":"Get published danger ratings per micro-region (EAWS format)","operationId":"getStaticEawsRatings","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticRegion"}],"responses":{"200":{"description":"Danger ratings keyed by micro-region ID","content":{"application/json":{"schema":{"type":"object"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/eaws_weather_stations/linea.geojson":{"get":{"tags":["static-files"],"summary":"Get the latest weather station measurements","description":"The endpoint `GET /weather-stations` redirects here.","operationId":"getStaticWeatherStations","responses":{"200":{"description":"Weather stations as GeoJSON","content":{"application/geo+json":{"schema":{"$ref":"#/components/schemas/WeatherStations.FeatureCollection"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/eaws_weather_stations/{date}/{dateTime}_linea.geojson":{"get":{"tags":["static-files"],"summary":"Get an hourly snapshot of the weather station measurements","operationId":"getStaticWeatherStationsForDateTime","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticDateTime"}],"responses":{"200":{"description":"Weather stations as GeoJSON","content":{"application/geo+json":{"schema":{"$ref":"#/components/schemas/WeatherStations.FeatureCollection"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]},"/simple/{date}/{region}_{lang}.html":{"get":{"tags":["static-files"],"summary":"Get published bulletins as simple HTML","operationId":"getStaticSimpleHtml","parameters":[{"$ref":"#/components/parameters/StaticDate"},{"$ref":"#/components/parameters/StaticRegion"},{"$ref":"#/components/parameters/StaticLang"}],"responses":{"200":{"description":"Simple HTML rendering of the bulletins","content":{"text/html":{"schema":{"type":"string"}}}}}},"servers":[{"url":"https://static.avalanche.report"}]}},"components":{"schemas":{"AbstractPersistentObject":{"type":"object","properties":{"id":{"type":"string","nullable":true}}},"ArtificialAvalancheReleaseProbability":{"type":"string","enum":["one","two","three","four"],"x-enum-varnames":["one","two","three","four"]},"Aspect":{"type":"string","enum":["N","NE","E","SE","S","SW","W","NW"]},"AuthenticationService.AuthenticationResponse":{"required":["access_token","regions","user"],"type":"object","properties":{"user":{"$ref":"#/components/schemas/User"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Region"}},"access_token":{"type":"string"}}},"AuthenticationService.Credentials":{"required":["password","username"],"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"}}},"AuthenticationService.Username":{"required":["username"],"type":"object","properties":{"username":{"type":"string"}}},"AvalancheBulletin":{"type":"object","description":"This class holds all information about one avalanche bulletin.","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"author":{"description":"Information about the author of the avalanche bulletin","nullable":true,"allOf":[{"$ref":"#/components/schemas/User"}]},"additionalAuthors":{"type":"array","items":{"type":"string"}},"updateDate":{"type":"string","format":"date-time"},"ownerRegion":{"type":"string"},"highlightsTextcat":{"type":"string"},"avActivityHighlightsTextcat":{"type":"string"},"avActivityCommentTextcat":{"type":"string"},"snowpackStructureHighlightsTextcat":{"type":"string"},"snowpackStructureCommentTextcat":{"type":"string"},"tendencyCommentTextcat":{"type":"string"},"generalHeadlineCommentTextcat":{"type":"string"},"synopsisCommentTextcat":{"type":"string"},"avActivityHighlightsNotes":{"type":"string"},"avActivityCommentNotes":{"type":"string"},"snowpackStructureHighlightsNotes":{"type":"string"},"snowpackStructureCommentNotes":{"type":"string"},"tendencyCommentNotes":{"type":"string"},"generalHeadlineCommentNotes":{"type":"string"},"highlights":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"avActivityHighlights":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"avActivityComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"synopsisHighlights":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"synopsisComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"snowpackStructureHighlights":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"snowpackStructureComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"travelAdvisoryHighlights":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"travelAdvisoryComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"tendencyComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"generalHeadlineComment":{"type":"array","items":{"$ref":"#/components/schemas/AvalancheBulletin.Text"}},"tendency":{"$ref":"#/components/schemas/Tendency"},"dangerPattern1":{"$ref":"#/components/schemas/DangerPattern"},"dangerPattern2":{"$ref":"#/components/schemas/DangerPattern"},"publicationDate":{"type":"string","format":"date-time"},"validity":{"$ref":"#/components/schemas/AvalancheBulletin.Validity"},"suggestedRegions":{"type":"array","description":"The recommended regions the avalanche bulletin is for.","items":{"type":"string"}},"savedRegions":{"type":"array","description":"The saved regions the avalanche bulletin is for.","items":{"type":"string"}},"savedOrPublishedRegions":{"type":"array","items":{"type":"string"}},"regions":{"type":"array","items":{"type":"string"}},"publishedRegions":{"type":"array","description":"The published regions the avalanche bulletin is for.","items":{"type":"string"}},"strategicMindset":{"$ref":"#/components/schemas/StrategicMindset"},"forenoon":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheBulletinDaytimeDescription"}]},"afternoon":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheBulletinDaytimeDescription"}]},"photos":{"type":"array","description":"Collection containing all photos of a bulletin","items":{"$ref":"#/components/schemas/AvalancheBulletinPhoto"}},"hasDaytimeDependency":{"type":"boolean"}}}]},"AvalancheBulletin.Text":{"required":["languageCode","text"],"type":"object","properties":{"languageCode":{"$ref":"#/components/schemas/LanguageCode"},"text":{"type":"string"}}},"AvalancheBulletin.Validity":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"until":{"type":"string","format":"date-time"}}},"AvalancheBulletinDaytimeDescription":{"type":"object","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"warningLevelId":{"type":"string"},"hasElevationDependency":{"type":"boolean"},"elevation":{"type":"integer","format":"int32"},"treeline":{"type":"boolean"},"dangerRatingAbove":{"$ref":"#/components/schemas/DangerRating"},"dangerRatingBelow":{"$ref":"#/components/schemas/DangerRating"},"complexity":{"$ref":"#/components/schemas/Complexity"},"avalancheProblem1":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheProblem"}]},"avalancheProblem2":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheProblem"}]},"avalancheProblem3":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheProblem"}]},"avalancheProblem4":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheProblem"}]},"avalancheProblem5":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AvalancheProblem"}]}}}]},"AvalancheBulletinPhoto":{"type":"object","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"url":{"type":"string"},"copyright":{"type":"string"},"date":{"type":"string","format":"date"},"microRegionId":{"type":"string"},"locationName":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"}}}]},"AvalancheBulletinService.Highest":{"required":["dangerRating"],"type":"object","properties":{"dangerRating":{"$ref":"#/components/schemas/DangerRating"}}},"AvalancheBulletinService.LatestBulletin":{"required":["date"],"type":"object","properties":{"date":{"type":"string","format":"date-time"}}},"AvalancheBulletinStatusService.Status":{"required":["date","isBeingPublished","status","timestamp"],"type":"object","properties":{"date":{"type":"string","format":"date-time"},"timestamp":{"type":"string","format":"date-time"},"status":{"$ref":"#/components/schemas/BulletinStatus"},"isBeingPublished":{"type":"boolean"}}},"AvalancheProblem":{"type":"object","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"avalancheType":{"$ref":"#/components/schemas/AvalancheType"},"avalancheProblem":{"$ref":"#/components/schemas/AvalancheProblem_1"},"aspects":{"type":"array","items":{"$ref":"#/components/schemas/Aspect"}},"elevationHigh":{"type":"integer","format":"int32"},"treelineHigh":{"type":"boolean"},"elevationLow":{"type":"integer","format":"int32"},"treelineLow":{"type":"boolean"},"dangerRatingDirection":{"$ref":"#/components/schemas/Direction"},"matrixInformation":{"description":"Information about the selected field in the EAWS matrix","allOf":[{"$ref":"#/components/schemas/MatrixInformation"}]},"eawsMatrixInformation":{"description":"Information about the selected field in the EAWS matrix","allOf":[{"$ref":"#/components/schemas/EawsMatrixInformation"}]}}}]},"AvalancheProblem_1":{"type":"string","enum":["new_snow","wind_slab","persistent_weak_layers","wet_snow","gliding_snow","favourable_situation","cornices","no_distinct_avalanche_problem"],"x-enum-varnames":["new_snow","wind_slab","persistent_weak_layers","wet_snow","gliding_snow","favourable_situation","cornices","no_distinct_avalanche_problem"]},"AvalancheSize":{"type":"string","enum":["small","medium","large","very_large","extreme"],"x-enum-varnames":["small","medium","large","very_large","extreme"]},"AvalancheType":{"type":"string","enum":["slab","loose","glide"],"x-enum-varnames":["slab","loose","glide"]},"BlogItem":{"required":["attachmentUrl","categories","content","id","published","title","translations"],"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"published":{"type":"string","format":"date-time"},"categories":{"type":"array","items":{"type":"string"}},"attachmentUrl":{"type":"string"},"translations":{"type":"object","properties":{"de":{"type":"string"},"it":{"type":"string"},"en":{"type":"string"},"fr":{"type":"string"},"es":{"type":"string"},"ca":{"type":"string"},"oc":{"type":"string"}}}}},"BulletinStatus":{"type":"string","enum":["republished","resubmitted","updated","published","submitted","draft","missing"],"x-enum-varnames":["republished","resubmitted","updated","published","submitted","draft","missing"]},"CaamlAspect":{"type":"string","description":"An aspect can be defined as a set of aspects. The aspects are the expositions as in a eight part (45°) segments. The allowed aspects are the four main cardinal directions and the four intercardinal directions.","enum":["E","N","NE","NW","n/a","S","SE","SW","W"],"x-enum-varnames":["E","N","NE","NW","N_A","S","SE","SW","W"]},"CaamlAvalancheBulletin":{"type":"object","properties":{"avalancheActivity":{"description":"Texts element with highlight and comment for the avalanche activity.","allOf":[{"$ref":"#/components/schemas/CaamlTexts"}]},"avalancheProblems":{"type":"array","description":"Collection of Avalanche Problem elements for this bulletin.","items":{"$ref":"#/components/schemas/CaamlAvalancheProblem"}},"bulletinID":{"type":"string","description":"Unique ID for the bulletin."},"customData":{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData"},"dangerRatings":{"type":"array","description":"Collection of Danger Rating elements for this bulletin.","items":{"$ref":"#/components/schemas/CaamlDangerRating"}},"highlights":{"type":"string","description":"Contains an optional short text to highlight an exceptionally dangerous situation."},"lang":{"type":"string","description":"Two-letter language code (ISO 639-1)."},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"nextUpdate":{"type":"string","description":"Time and date when the next bulletin will be published by the AWS to the Public. ISO 8601 timestamp in UTC or with time zone information.","format":"date-time"},"publicationTime":{"type":"string","description":"Time and date when the bulletin was issued by the AWS to the Public. ISO 8601 timestamp in UTC or with time zone information.","format":"date-time"},"regions":{"type":"array","description":"Collection of region elements for which this bulletin is valid.","items":{"$ref":"#/components/schemas/CaamlRegion"}},"snowpackStructure":{"description":"Texts element with highlight and comment for details on the snowpack structure.","allOf":[{"$ref":"#/components/schemas/CaamlTexts"}]},"source":{"description":"Details about the issuer/AWS of the bulletin.","allOf":[{"$ref":"#/components/schemas/CaamlAvalancheBulletinSource"}]},"tendency":{"type":"array","description":"Tendency element for a detailed description of the expected avalanche situation tendency after the bulletin's period of validity.","items":{"$ref":"#/components/schemas/CaamlTendency"}},"travelAdvisory":{"description":"Texts element with highlight and comment for travel advisory.","allOf":[{"$ref":"#/components/schemas/CaamlTexts"}]},"unscheduled":{"type":"boolean","description":"Flag if bulletin is unscheduled or not."},"validTime":{"description":"Date and Time from and until this bulletin is valid. ISO 8601 Timestamp in UTC or with time zone information.","allOf":[{"$ref":"#/components/schemas/CaamlValidTime"}]},"weatherForecast":{"description":"Texts element with highlight and comment for weather forecast information.","allOf":[{"$ref":"#/components/schemas/CaamlTexts"}]},"weatherReview":{"description":"Texts element with highlight and comment for weather review information.","allOf":[{"$ref":"#/components/schemas/CaamlTexts"}]}},"description":"Avalanche Bulletin valid for a given set of regions."},"CaamlAvalancheBulletinCustomData":{"required":["ALBINA","LWD_Tyrol"],"type":"object","properties":{"ALBINA":{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData.ALBINA"},"LWD_Tyrol":{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData.LwdTyrol"}}},"CaamlAvalancheBulletinCustomData.ALBINA":{"required":["mainDate"],"type":"object","properties":{"mainDate":{"type":"string"},"tendencyProgression":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData.TendencyProgression"}]},"bulletinPhotos":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CaamlAvalancheBulletinCustomData.BulletinPhoto"}}}},"CaamlAvalancheBulletinCustomData.BulletinPhoto":{"required":["url"],"type":"object","properties":{"url":{"type":"string"},"copyright":{"type":"string","nullable":true},"date":{"type":"string","format":"date","nullable":true},"microRegionId":{"type":"string","nullable":true},"locationName":{"type":"string","nullable":true},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true}}},"CaamlAvalancheBulletinCustomData.LwdTyrol":{"type":"object","properties":{"dangerPatterns":{"type":"array","nullable":true,"items":{"type":"string"}}}},"CaamlAvalancheBulletinCustomData.TendencyProgression":{"required":["dangerRatings","dates"],"type":"object","properties":{"dates":{"type":"array","items":{"type":"string","format":"date"}},"dangerRatings":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/CaamlDangerRatingValue"}}}}},"CaamlAvalancheBulletinProvider":{"type":"object","properties":{"contactPerson":{"$ref":"#/components/schemas/CaamlPerson"},"customData":{"type":"object"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"name":{"type":"string"},"website":{"type":"string"}},"description":"Information about the bulletin provider. Defines the name, website and/or contactPerson (which could be the author) of the issuing AWS."},"CaamlAvalancheBulletinSource":{"type":"object","properties":{"person":{"$ref":"#/components/schemas/CaamlPerson"},"provider":{"$ref":"#/components/schemas/CaamlAvalancheBulletinProvider"}},"description":"Details about the issuer/AWS of the bulletin. Information about the bulletin source. Either as in a person or with a provider element to specify details about the AWS."},"CaamlAvalancheBulletins":{"type":"object","properties":{"bulletins":{"type":"array","items":{"$ref":"#/components/schemas/CaamlAvalancheBulletin"}},"customData":{"$ref":"#/components/schemas/CaamlAvalancheBulletinsCustomData"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"}},"description":"JSON schema for EAWS avalanche bulletin collection following the CAAMLv6 schema"},"CaamlAvalancheBulletinsCustomData":{"required":["ALBINA"],"type":"object","properties":{"ALBINA":{"$ref":"#/components/schemas/CaamlAvalancheBulletinsCustomData.ALBINA"}}},"CaamlAvalancheBulletinsCustomData.ALBINA":{"required":["generalHeadline"],"type":"object","properties":{"generalHeadline":{"type":"string"}}},"CaamlAvalancheProblem":{"type":"object","properties":{"aspects":{"type":"array","items":{"$ref":"#/components/schemas/CaamlAspect"}},"avalancheSize":{"type":"integer","format":"int32"},"comment":{"type":"string"},"customData":{"$ref":"#/components/schemas/CaamlAvalancheProblemCustomData"},"dangerRatingValue":{"$ref":"#/components/schemas/CaamlDangerRatingValue"},"elevation":{"$ref":"#/components/schemas/CaamlElevationBoundaryOrBand"},"frequency":{"$ref":"#/components/schemas/CaamlExpectedAvalancheFrequency"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"problemType":{"$ref":"#/components/schemas/CaamlAvalancheProblemType"},"avalancheType":{"$ref":"#/components/schemas/CaamlAvalancheTypeType"},"snowpackStability":{"$ref":"#/components/schemas/CaamlExpectedSnowpackStability"},"validTimePeriod":{"$ref":"#/components/schemas/CaamlValidTimePeriod"}},"description":"Defines an avalanche problem, its time, aspect, and elevation constraints. A textual detail about the affected terrain can be given in the comment field. Also, details about the expected avalanche size, snowpack stability and its frequency can be defined. The implied danger rating value is optional."},"CaamlAvalancheProblemCustomData":{"required":["ALBINA"],"type":"object","properties":{"ALBINA":{"$ref":"#/components/schemas/CaamlAvalancheProblemCustomData.ALBINA"}}},"CaamlAvalancheProblemCustomData.ALBINA":{"required":["avalancheType"],"type":"object","properties":{"avalancheType":{"type":"string"}}},"CaamlAvalancheProblemType":{"type":"string","description":"Expected avalanche problem, according to the EAWS avalanche problem definition.","enum":["cornices","favourable_situation","gliding_snow","new_snow","no_distinct_avalanche_problem","persistent_weak_layers","wet_snow","wind_slab"],"x-enum-varnames":["cornices","favourable_situation","gliding_snow","new_snow","no_distinct_avalanche_problem","persistent_weak_layers","wet_snow","wind_slab"]},"CaamlAvalancheTypeType":{"type":"string","description":"Expected avalanche type.","enum":["slab","loose","glide"],"x-enum-varnames":["slab","loose","glide"]},"CaamlDangerRating":{"type":"object","properties":{"aspects":{"type":"array","items":{"$ref":"#/components/schemas/CaamlAspect"}},"customData":{"type":"object"},"elevation":{"$ref":"#/components/schemas/CaamlElevationBoundaryOrBand"},"mainValue":{"$ref":"#/components/schemas/CaamlDangerRatingValue"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"validTimePeriod":{"$ref":"#/components/schemas/CaamlValidTimePeriod"}},"description":"Defines a danger rating, its elevation constraints and the valid time period. If validTimePeriod or elevation are constrained for a rating, it is expected to define a dangerRating for all the other cases."},"CaamlDangerRatingValue":{"type":"string","description":"Danger rating value, according to EAWS danger scale definition.","enum":["considerable","high","low","moderate","no_rating","no_snow","very_high"],"x-enum-varnames":["considerable","high","low","moderate","no_rating","no_snow","very_high"]},"CaamlElevationBoundaryOrBand":{"type":"object","properties":{"lowerBound":{"type":"string"},"upperBound":{"type":"string"}},"description":"Elevation describes either an elevation range below a certain bound (only upperBound is set to a value) or above a certain bound (only lowerBound is set to a value). If both values are set to a value, an elevation band is defined by this property. The value uses a numeric value, not more detailed than 100m resolution. Additionally to the numeric values also 'treeline' is allowed."},"CaamlExpectedAvalancheFrequency":{"type":"string","description":"Expected frequency of lowest snowpack stability, according to the EAWS definition. Three stage scale (few, some, many).","enum":["few","many","none","some"],"x-enum-varnames":["few","many","none","some"]},"CaamlExpectedSnowpackStability":{"type":"string","description":"Snowpack stability, according to the EAWS definition. Four stage scale (very poor, poor, fair, good).","enum":["fair","good","poor","very_poor"],"x-enum-varnames":["fair","good","poor","very_poor"]},"CaamlExternalFile":{"type":"object","properties":{"description":{"type":"string"},"fileReferenceURI":{"type":"string"},"fileType":{"type":"string"}},"description":"External file is used to link to external files like maps, thumbnails etc."},"CaamlMetaData":{"type":"object","properties":{"comment":{"type":"string"},"EXTFiles":{"type":"array","items":{"$ref":"#/components/schemas/CaamlExternalFile"}}},"description":"Meta data for various uses. Can be used to link to external files like maps, thumbnails etc."},"CaamlPerson":{"type":"object","properties":{"customData":{"type":"object"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"name":{"type":"string"},"website":{"type":"string"}},"description":"Details on a person."},"CaamlRegion":{"type":"object","properties":{"customData":{"type":"object"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"name":{"type":"string"},"regionID":{"type":"string"}},"description":"Region element describes a (micro) region. The regionID follows the EAWS schema. It is recommended to have the region shape's files with the same IDs in gitlab.com/eaws/eaws-regions. Additionally, the region name can be added."},"CaamlTendency":{"type":"object","properties":{"comment":{"type":"string"},"highlights":{"type":"string"},"customData":{"type":"object"},"metaData":{"$ref":"#/components/schemas/CaamlMetaData"},"tendencyType":{"$ref":"#/components/schemas/CaamlTendencyType"},"validTime":{"$ref":"#/components/schemas/CaamlValidTime"}},"description":"Texts element with highlight and comment for the avalanche activity. Texts contains a highlight and a comment string, where highlights could also be described as a kind of headline for the longer comment. For text-formatting the HTML-Tags   \nfor a new line, (\n\n,) and (\n* ,\n* ) for lists, (\n\n  ,\n  ===\n\n  ) to (\n  ======\n\n  ###### ,\n\n  ###### ) for\n  headings and (**,**) for a bold text are allowed.\n  Texts element with highlight and comment for details on the snowpack structure.\n  Texts element with highlight and comment for travel advisory.\n  Texts element with highlight and comment for weather forecast information.\n  Texts element with highlight and comment for weather review information.\n  Describes the expected tendency of the development of the avalanche situation for a\n  defined time period."},"CaamlTendencyType":{"type":"string","enum":["decreasing","increasing","steady"],"x-enum-varnames":["decreasing","increasing","steady"]},"CaamlTexts":{"type":"object","properties":{"comment":{"type":"string"},"highlights":{"type":"string"}},"description":"Texts element with highlight and comment for the avalanche activity. Texts contains a highlight and a comment string, where highlights could also be described as a kind of headline for the longer comment. For text-formatting the HTML-Tags   \nfor a new line, (\n\n,) and (\n* ,\n* ) for lists, (\n\n  ,\n  ===\n\n  ) to (\n  ======\n\n  ###### ,\n\n  ###### ) for\n  headings and (**,**) for a bold text are allowed.\n  Texts element with highlight and comment for details on the snowpack structure.\n  Texts element with highlight and comment for travel advisory.\n  Texts element with highlight and comment for weather forecast information.\n  Texts element with highlight and comment for weather review information."},"CaamlValidTime":{"type":"object","properties":{"endTime":{"type":"string","format":"date-time"},"startTime":{"type":"string","format":"date-time"}},"description":"Valid time defines two ISO 8601 timestamps in UTC or with time zone information. Date and Time from and until this bulletin is valid. ISO 8601 Timestamp in UTC or with time zone information."},"CaamlValidTimePeriod":{"type":"string","description":"Valid time period can be used to limit the validity of an element to an earlier or later period. It can be used to distinguish danger ratings or avalanche problems.","enum":["all_day","earlier","later"],"x-enum-varnames":["all_day","earlier","later"]},"CaamlVersion":{"type":"string","description":"The version of CAAML (Canadian Avalanche Association Markup Language)","enum":["V6","V6_JSON"]},"Characteristic":{"type":"string","enum":["low","medium","high","very_high"],"x-enum-varnames":["low","medium","high","very_high"]},"ChecklistService.Checklist":{"required":["checklistId","checklistItems","timestamp","user"],"type":"object","properties":{"checklistId":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"checklistItems":{"type":"array","items":{"$ref":"#/components/schemas/PublicationChecklistItem"}},"user":{"type":"string"}}},"Complexity":{"type":"string","enum":["easy","challenging","complex"],"x-enum-varnames":["easy","challenging","complex"]},"CreationProcess":{"type":"string","enum":["radiation_recrystallization","diurnal_recrystallization","melt_layer_recrystallization","surface_hoar_formation"],"x-enum-varnames":["radiation_recrystallization","diurnal_recrystallization","melt_layer_recrystallization","surface_hoar_formation"]},"Crust":{"type":"string","enum":["no","partly","yes"],"x-enum-varnames":["no","partly","yes"]},"DangerPattern":{"type":"string","enum":["dp1","dp2","dp3","dp4","dp5","dp6","dp7","dp8","dp9","dp10"],"x-enum-varnames":["dp1","dp2","dp3","dp4","dp5","dp6","dp7","dp8","dp9","dp10"]},"DangerRating":{"type":"string","enum":["missing","no_snow","no_rating","low","moderate","considerable","high","very_high"],"x-enum-varnames":["missing","no_snow","no_rating","low","moderate","considerable","high","very_high"]},"DangerRatingModificator":{"type":"string","enum":["none","minus","equal","plus"],"x-enum-varnames":["none","minus","equal","plus"]},"DangerSign":{"type":"string","enum":["shooting_cracks","whumpfing","fresh_avalanches","glide_cracks"],"x-enum-varnames":["shooting_cracks","whumpfing","fresh_avalanches","glide_cracks"]},"DangerSource":{"type":"object","description":"This class holds all information about one danger source.","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"ownerRegion":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"title":{"type":"string"},"description":{"type":"string"}}}]},"DangerSourceVariant":{"type":"object","description":"This class holds all information about one danger source variant.","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"originalDangerSourceVariantId":{"type":"string"},"forecastDangerSourceVariantId":{"type":"string"},"dangerSource":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DangerSource"}]},"title":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"updateDate":{"type":"string","format":"date-time"},"validFrom":{"type":"string","description":"Validity of the danger source variant.","format":"date-time"},"validUntil":{"type":"string","format":"date-time"},"dangerSourceVariantStatus":{"$ref":"#/components/schemas/DangerSourceVariantStatus"},"dangerSourceVariantType":{"$ref":"#/components/schemas/DangerSourceVariantType"},"ownerRegion":{"type":"string"},"regions":{"type":"array","description":"The regions where the danger source variant is present.","items":{"type":"string"}},"hasDaytimeDependency":{"type":"boolean"},"avalancheType":{"$ref":"#/components/schemas/AvalancheType"},"aspects":{"type":"array","items":{"$ref":"#/components/schemas/Aspect"}},"elevationHigh":{"type":"integer","format":"int32"},"treelineHigh":{"type":"boolean"},"elevationLow":{"type":"integer","format":"int32"},"treelineLow":{"type":"boolean"},"aspectsOfExistence":{"type":"array","items":{"$ref":"#/components/schemas/Aspect"}},"elevationHighOfExistence":{"type":"integer","format":"int32"},"treelineHighOfExistence":{"type":"boolean"},"elevationLowOfExistence":{"type":"integer","format":"int32"},"treelineLowOfExistence":{"type":"boolean"},"dangerIncreaseWithElevation":{"type":"boolean"},"highestDangerAspect":{"$ref":"#/components/schemas/Aspect"},"dangerPeak":{"$ref":"#/components/schemas/Daytime"},"slopeGradient":{"$ref":"#/components/schemas/SlopeGradient"},"runoutIntoGreen":{"type":"boolean"},"penetrateDeepLayers":{"type":"boolean"},"naturalRelease":{"$ref":"#/components/schemas/Probability"},"dangerSigns":{"type":"array","items":{"$ref":"#/components/schemas/DangerSign"}},"eawsMatrixInformation":{"description":"Information about the selected field in the EAWS matrix","allOf":[{"$ref":"#/components/schemas/EawsMatrixInformation"}]},"comment":{"type":"string"},"textcat":{"type":"string"},"uncertainty":{"type":"string"},"glidingSnowActivity":{"description":"---------------------","allOf":[{"$ref":"#/components/schemas/GlidingSnowActivity"}]},"glidingSnowActivityValue":{"type":"integer","format":"int32"},"snowHeightUpperLimit":{"type":"integer","format":"int32"},"snowHeightLowerLimit":{"type":"integer","format":"int32"},"snowHeightAverage":{"type":"integer","format":"int32"},"zeroDegreeIsotherm":{"type":"boolean"},"slabGrainShape":{"description":"---------------","allOf":[{"$ref":"#/components/schemas/GrainShape"}]},"slabThicknessUpperLimit":{"type":"integer","format":"int32"},"slabThicknessLowerLimit":{"type":"integer","format":"int32"},"slabHandHardnessUpperLimit":{"$ref":"#/components/schemas/HandHardness"},"slabHandHardnessLowerLimit":{"$ref":"#/components/schemas/HandHardness"},"slabHardnessProfile":{"$ref":"#/components/schemas/Tendency"},"slabEnergyTransferPotential":{"$ref":"#/components/schemas/Characteristic"},"slabDistribution":{"$ref":"#/components/schemas/Distribution"},"weakLayerGrainShapes":{"type":"array","items":{"$ref":"#/components/schemas/GrainShape"}},"weakLayerGrainSizeUpperLimit":{"type":"number","format":"double"},"weakLayerGrainSizeLowerLimit":{"type":"number","format":"double"},"weakLayerPersistent":{"type":"boolean"},"weakLayerThickness":{"$ref":"#/components/schemas/Thickness"},"weakLayerStrength":{"$ref":"#/components/schemas/Characteristic"},"weakLayerWet":{"type":"boolean"},"weakLayerCrustAbove":{"$ref":"#/components/schemas/Crust"},"weakLayerCrustBelow":{"$ref":"#/components/schemas/Crust"},"weakLayerPosition":{"$ref":"#/components/schemas/SnowpackPosition"},"weakLayerCreation":{"$ref":"#/components/schemas/CreationProcess"},"weakLayerDistribution":{"$ref":"#/components/schemas/Distribution"},"dangerSpotRecognizability":{"$ref":"#/components/schemas/Recognizability"},"remoteTriggering":{"$ref":"#/components/schemas/Probability"},"terrainTypes":{"type":"array","items":{"$ref":"#/components/schemas/TerrainType"}},"looseSnowGrainShape":{"description":"---------------------","allOf":[{"$ref":"#/components/schemas/GrainShape"}]},"looseSnowMoisture":{"$ref":"#/components/schemas/Wetness"}}}]},"DangerSourceVariantStatus":{"type":"string","enum":["active","dormant","inactive"],"x-enum-varnames":["active","dormant","inactive"]},"DangerSourceVariantType":{"type":"string","enum":["forecast","analysis"],"x-enum-varnames":["forecast","analysis"]},"DangerSourceVariantsStatus":{"required":["analysis","date","forecast"],"type":"object","properties":{"date":{"type":"string","format":"date-time"},"forecast":{"type":"boolean"},"analysis":{"type":"boolean"}}},"Daytime":{"type":"string","enum":["evening","first_night_half","second_night_half","morning","forenoon","afternoon"],"x-enum-varnames":["evening","first_night_half","second_night_half","morning","forenoon","afternoon"]},"Direction":{"type":"string","enum":["up","down"],"x-enum-varnames":["up","down"]},"Distribution":{"type":"string","enum":["isolated","specific","widespread"],"x-enum-varnames":["isolated","specific","widespread"]},"EawsMatrixInformation":{"type":"object","properties":{"dangerRating":{"$ref":"#/components/schemas/DangerRating"},"dangerRatingModificator":{"$ref":"#/components/schemas/DangerRatingModificator"},"avalancheSize":{"$ref":"#/components/schemas/AvalancheSize"},"snowpackStability":{"$ref":"#/components/schemas/SnowpackStability"},"frequency":{"$ref":"#/components/schemas/Frequency"},"avalancheSizeValue":{"type":"integer","format":"int32"},"snowpackStabilityValue":{"type":"integer","format":"int32"},"frequencyValue":{"type":"integer","format":"int32"}}},"Frequency":{"type":"string","enum":["none","few","some","many"],"x-enum-varnames":["none","few","some","many"]},"GenericObservation":{"required":["$id","$source","$type"],"type":"object","properties":{"$source":{"type":"string","description":"Source of this observation"},"$id":{"type":"string","description":"External ID of this observation"},"$type":{"description":"Type of this observation","allOf":[{"$ref":"#/components/schemas/GenericObservation.ObservationType"}]},"$externalURL":{"type":"string","description":"External URL to display as iframe"},"stability":{"type":"string","description":"Snowpack stability that can be inferred from this observation"},"aspects":{"type":"array","description":"Aspects corresponding with this observation","items":{"$ref":"#/components/schemas/Aspect"}},"authorName":{"type":"string","description":"Name of the author"},"content":{"type":"string","description":"Free-text content"},"$data":{"type":"object","description":"Additional data (e.g. original data stored when fetching from external API)"},"elevation":{"type":"integer","description":"Elevation in meters","format":"int32"},"elevationLowerBound":{"type":"integer","description":"Lower bound of elevation in meters","format":"int32"},"elevationUpperBound":{"type":"integer","description":"Upper bound of elevation in meters","format":"int32"},"eventDate":{"type":"string","description":"Date when the event occurred","format":"date-time"},"latitude":{"type":"number","description":"Location latitude (WGS 84)","format":"double"},"locationName":{"type":"string","description":"Location name"},"longitude":{"type":"number","description":"Location longitude (WGS 84)","format":"double"},"region":{"type":"string","description":"Micro-region code (possibly computed from latitude/longitude)"},"reportDate":{"type":"string","description":"Date when the observation has been reported","format":"date-time"},"avalancheProblems":{"type":"array","description":"Avalanche problems corresponding with this observation","items":{"$ref":"#/components/schemas/AvalancheProblem_1"}},"dangerPatterns":{"type":"array","description":"Danger patterns corresponding with this observation","items":{"$ref":"#/components/schemas/DangerPattern"}},"importantObservation":{"type":"array","description":"Important observations","items":{"$ref":"#/components/schemas/GenericObservation.ImportantObservation"}},"extraDialogRows":{"type":"object","description":"Additional information to display as table rows in the observation dialog"},"$externalImgs":{"type":"string","description":"External image to display. Multiple images are persisted using line separator."},"personInvolvement":{"description":"Person involvement","allOf":[{"$ref":"#/components/schemas/GenericObservation.PersonInvolvement"}]},"$deleted":{"type":"boolean","description":"Observations marked as deleted will no longer be returned in the list"},"allowEdit":{"type":"boolean","description":"Allows modifying observations fetched from external sources"},"dangerSource":{"description":"Danger source UUID","nullable":true,"allOf":[{"$ref":"#/components/schemas/DangerSource"}]}}},"GenericObservation.ImportantObservation":{"type":"string","enum":["SnowLine","SurfaceHoar","Graupel","StabilityTest","IceFormation","VeryLightNewSnow","ForBlog"],"x-enum-varnames":["SnowLine","SurfaceHoar","Graupel","StabilityTest","IceFormation","VeryLightNewSnow","ForBlog"]},"GenericObservation.ObservationType":{"type":"string","enum":["SimpleObservation","Evaluation","Avalanche","Blasting","Closure","Profile","TimeSeries","Webcam","DrySnowfallLevel"],"x-enum-varnames":["SimpleObservation","Evaluation","Avalanche","Blasting","Closure","Profile","TimeSeries","Webcam","DrySnowfallLevel"]},"GenericObservation.PersonInvolvement":{"type":"string","enum":["Dead","Injured","Uninjured","No","Unknown"],"x-enum-varnames":["Dead","Injured","Uninjured","No","Unknown"]},"GlidingSnowActivity":{"type":"string","enum":["low","medium","high"],"x-enum-varnames":["low","medium","high"]},"GrainShape":{"type":"string","enum":["PP","MM","DF","RG","FC","DH","SH","MF","IF","PPco","PPnd","PPpl","PPsd","PPir","PPgp","PPhl","PPip","PPrm","MMrp","MMci","DFdc","DFbk","RGsr","RGlr","RGwp","RGxf","FCso","FCsf","FCxr","DHcp","DHpr","DHch","DHla","DHxr","SHsu","SHcv","SHxr","MFcl","MFpc","MFsl","MFcr","IFil","IFic","IFbi","IFrc","IFsc"],"x-enum-varnames":["PP","MM","DF","RG","FC","DH","SH","MF","IF","PPco","PPnd","PPpl","PPsd","PPir","PPgp","PPhl","PPip","PPrm","MMrp","MMci","DFdc","DFbk","RGsr","RGlr","RGwp","RGxf","FCso","FCsf","FCxr","DHcp","DHpr","DHch","DHla","DHxr","SHsu","SHcv","SHxr","MFcl","MFpc","MFsl","MFcr","IFil","IFic","IFbi","IFrc","IFsc"]},"HandHardness":{"type":"string","enum":["fist","four_fingers","one_finger","pencil","knife","ice"],"x-enum-varnames":["fist","four_fingers","one_finger","pencil","knife","ice"]},"HazardSiteDistribution":{"type":"string","enum":["single","some","many","many_most","moderately_steep"],"x-enum-varnames":["single","some","many","many_most","moderately_steep"]},"Incident":{"type":"object","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"data":{"type":"object"},"publishedAt":{"type":"string","format":"date-time"},"publicData":{"type":"object"}}}]},"IncidentAttachment":{"required":["altText","attachmentCategory","attachmentTags","caption","credit","dateAdded","dateCreated","fileName","id","mediaType","public"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"dateAdded":{"type":"string","format":"date-time"},"fileName":{"type":"string"},"mediaType":{"type":"string"},"dateCreated":{"type":"string","format":"date-time"},"credit":{"type":"string"},"caption":{"type":"string"},"altText":{"type":"string"},"public":{"type":"boolean"},"attachmentCategory":{"type":"string"},"attachmentTags":{"type":"array","items":{"type":"string"}}}},"Incidents.AccidentalControlled":{"type":"string","enum":["Accidental","Controlled"],"x-enum-varnames":["Accidental","Controlled"]},"Incidents.AdditionalLoad":{"type":"string","enum":["High","Low"],"x-enum-varnames":["High","Low"]},"Incidents.Age":{"type":"string","enum":["From14To20","From21To30","From31To40","From41To50","From51To60","From61To70","From71","UpTo13"],"x-enum-varnames":["From14To20","From21To30","From31To40","From41To50","From51To60","From61To70","From71","UpTo13"]},"Incidents.Airbag":{"type":"string","enum":["AirbagDeployed","AirbagUndeployed","NoAirbag"],"x-enum-varnames":["AirbagDeployed","AirbagUndeployed","NoAirbag"]},"Incidents.Attachment":{"required":["altText","attachmentCategory","attachmentTags","caption","credit","dateAdded","dateCreated","fileName","id","mediaType","public"],"type":"object","properties":{"altText":{"type":"string"},"attachmentCategory":{"$ref":"#/components/schemas/Incidents.AttachmentCategory"},"attachmentTags":{"type":"array","items":{"type":"string"}},"caption":{"type":"string"},"credit":{"type":"string"},"dateAdded":{"type":"string","format":"date-time"},"dateCreated":{"type":"string","format":"date-time"},"fileName":{"type":"string"},"id":{"type":"string","format":"uuid"},"mediaType":{"type":"string"},"public":{"type":"boolean"}}},"Incidents.AttachmentCategory":{"type":"string","enum":["Avalanche","Group","Incident","Person","Snowpack","Weather"],"x-enum-varnames":["Avalanche","Group","Incident","Person","Snowpack","Weather"]},"Incidents.AvalancheGear":{"type":"string","enum":["All","None","Some","Unknown"],"x-enum-varnames":["All","None","Some","Unknown"]},"Incidents.AvalancheProblem":{"required":["aspects","avalancheSize","elevationLowerBound","elevationUpperBound","frequency","problemType","snowpackStability"],"type":"object","properties":{"aspects":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.StartZoneAspect"}},"avalancheSize":{"$ref":"#/components/schemas/Incidents.AvalancheProblemAvalancheSize"},"elevationLowerBound":{"type":"string"},"elevationUpperBound":{"type":"string"},"frequency":{"$ref":"#/components/schemas/Incidents.Frequency"},"problemType":{"$ref":"#/components/schemas/Incidents.ProblemType"},"snowpackStability":{"$ref":"#/components/schemas/Incidents.SnowpackStability"}}},"Incidents.AvalancheProblemAvalancheSize":{"type":"string","enum":["extreme","large","medium","small","very_large"],"x-enum-varnames":["extreme","large","medium","small","very_large"]},"Incidents.AvalancheType":{"type":"string","enum":["cornice","glide","loose","slab","unknown"],"x-enum-varnames":["cornice","glide","loose","slab","unknown"]},"Incidents.BedSurfaceStepped":{"type":"string","enum":["No","Yes"],"x-enum-varnames":["No","Yes"]},"Incidents.BurialDegree":{"type":"string","enum":["FullyBuried","NotBuried","PartlyBuried","PartlyBuriedHeadCovered","PartlyBuriedHeadUncovered","Unknown"],"x-enum-varnames":["FullyBuried","NotBuried","PartlyBuried","PartlyBuriedHeadCovered","PartlyBuriedHeadUncovered","Unknown"]},"Incidents.Caught":{"type":"string","enum":["Involved","NotInvolved","Unknown"],"x-enum-varnames":["Involved","NotInvolved","Unknown"]},"Incidents.CriticalWarming":{"type":"string","enum":["Absent","Present","Unknown"],"x-enum-varnames":["Absent","Present","Unknown"]},"Incidents.DangerPattern":{"type":"string","enum":["dp1","dp10","dp2","dp3","dp4","dp5","dp6","dp7","dp8","dp9"],"x-enum-varnames":["dp1","dp10","dp2","dp3","dp4","dp5","dp6","dp7","dp8","dp9"]},"Incidents.DangerRating":{"type":"string","enum":["considerable","high","low","moderate","no_rating","no_snow","very_high"],"x-enum-varnames":["considerable","high","low","moderate","no_rating","no_snow","very_high"]},"Incidents.DepositMoisture":{"type":"string","enum":["Dry","Moist","Wet"],"x-enum-varnames":["Dry","Moist","Wet"]},"Incidents.EstimatedTimeOfDeath":{"type":"string","enum":["DuringBurial","DuringTheAvalanche","DuringTransport","InHospital","OnSiteAfterExtrication"],"x-enum-varnames":["DuringBurial","DuringTheAvalanche","DuringTransport","InHospital","OnSiteAfterExtrication"]},"Incidents.FatalInjured":{"type":"string","enum":["Fatal","Injured","Uninjured","Unknown"],"x-enum-varnames":["Fatal","Injured","Uninjured","Unknown"]},"Incidents.Frequency":{"type":"string","enum":["few","many","none","some"],"x-enum-varnames":["few","many","none","some"]},"Incidents.Gender":{"type":"string","enum":["Female","Male","Other"],"x-enum-varnames":["Female","Male","Other"]},"Incidents.GroupInformation":{"required":["anonymousGroupIdentifier","avalancheGear","groupInformationComment","groupSize","groupSizeAccuracy","groupType","id","incidentActivity","incidentTerrainType","travelDirection","typeOfControlledTerrain","vehicleType"],"type":"object","properties":{"anonymousGroupIdentifier":{"type":"string"},"avalancheGear":{"$ref":"#/components/schemas/Incidents.AvalancheGear"},"groupInformationComment":{"type":"string"},"groupSize":{"type":"number","format":"double"},"groupSizeAccuracy":{"$ref":"#/components/schemas/Incidents.GroupSizeAccuracy"},"groupType":{"type":"string"},"id":{"type":"string","format":"uuid"},"incidentActivity":{"type":"string"},"incidentTerrainType":{"$ref":"#/components/schemas/Incidents.IncidentTerrainType"},"travelDirection":{"type":"string"},"typeOfControlledTerrain":{"type":"string"},"vehicleType":{"type":"string"}}},"Incidents.GroupSizeAccuracy":{"type":"string","enum":["Approximately","AtLeast","Exact","Unknown"],"x-enum-varnames":["Approximately","AtLeast","Exact","Unknown"]},"Incidents.IncidentSchema":{"required":["accidentalControlled","additionalLoad","attachments","author","authorAffiliation","avalancheDescription","avalancheDescriptionPublic","avalancheDetailsComment","avalancheLength","avalancheProblems","avalancheRegion","avalancheSize","avalancheType","bedSurfaceStepped","bulletinInformationComment","country","criticalWarming","crownDepthAvg","crownDepthMax","crownDepthMin","damagedAssets","dangerPattern","dangerRating","dateTime","debrisDensity","debrisType","depositElevation","depositHeight","depositMoisture","depositWidth","explosives","generalInformationComment","groupInformation","id","incidentAnalysisComment","incidentDescription","incidentDescriptionPublic","incidentLede","incidentLedePublic","involvementsFatalitiesBurials","latitude","lineCoordinatesText","location","locationAccuracy","longitude","multipleAvalanches","municipality","natural","otherDamages","otherDamagesComment","person","personInvolvement","polygonCoordinatesText","privateExternalDatabaseLinks","privateExternalLinks","publicAvalancheWarningService","publicAvalancheWarningServiceOutside","publicExternalLinks","publishedAt","recentLoading","recentSlabAvalanches","region","relevantAvalancheProblem","remoteTriggering","reportStatus","signsOfInstability","slabWidth","snowpackDescription","snowpackDescriptionPublic","sourceOfInformation","startZoneAspect","startZoneAspectAccuracy","startZoneElevation","startZoneElevationAccuracy","startZoneIncline","startZoneMoisture","startZoneTerrainType","takeAways","takeAwaysPublic","timeAccuracy","trigger","updatedAt","vehicle","victimInformation","weakLayerGrainSize1","weakLayerGrainSize2","weakLayerGrainType1","weakLayerGrainType2","weakLayerLocation","weakLayerName","weatherDescription","weatherDescriptionPublic"],"type":"object","properties":{"accidentalControlled":{"$ref":"#/components/schemas/Incidents.AccidentalControlled"},"additionalLoad":{"$ref":"#/components/schemas/Incidents.AdditionalLoad"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.Attachment"}},"author":{"type":"string"},"authorAffiliation":{"type":"string"},"avalancheDescription":{"type":"object","additionalProperties":{"type":"string"}},"avalancheDescriptionPublic":{"type":"boolean"},"avalancheDetailsComment":{"type":"string"},"avalancheLength":{"type":"number","format":"double"},"avalancheProblems":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.AvalancheProblem"}},"avalancheRegion":{"type":"string"},"avalancheSize":{"$ref":"#/components/schemas/Incidents.IncidentSchemaAvalancheSize"},"avalancheType":{"$ref":"#/components/schemas/Incidents.AvalancheType"},"bedSurfaceStepped":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"bulletinInformationComment":{"type":"string"},"country":{"type":"string"},"criticalWarming":{"$ref":"#/components/schemas/Incidents.CriticalWarming"},"crownDepthAvg":{"type":"number","format":"double"},"crownDepthMax":{"type":"number","format":"double"},"crownDepthMin":{"type":"number","format":"double"},"damagedAssets":{"type":"array","items":{"type":"string"}},"dangerPattern":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.DangerPattern"}},"dangerRating":{"$ref":"#/components/schemas/Incidents.DangerRating"},"dateTime":{"type":"string","format":"date-time"},"debrisDensity":{"type":"number","format":"double"},"debrisType":{"type":"array","items":{"type":"string"}},"depositElevation":{"type":"number","format":"double"},"depositHeight":{"type":"number","format":"double"},"depositMoisture":{"$ref":"#/components/schemas/Incidents.DepositMoisture"},"depositWidth":{"type":"number","format":"double"},"explosives":{"type":"string"},"generalInformationComment":{"type":"string"},"groupInformation":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.GroupInformation"}},"id":{"type":"string","format":"uuid"},"incidentAnalysisComment":{"type":"string"},"incidentDescription":{"type":"object","additionalProperties":{"type":"string"}},"incidentDescriptionPublic":{"type":"boolean"},"incidentLede":{"type":"object","additionalProperties":{"type":"string"}},"incidentLedePublic":{"type":"boolean"},"involvementsFatalitiesBurials":{"$ref":"#/components/schemas/Incidents.InvolvementsFatalitiesBurials"},"latitude":{"type":"number","format":"double"},"lineCoordinatesText":{"type":"string"},"location":{"type":"string"},"locationAccuracy":{"$ref":"#/components/schemas/Incidents.LocationAccuracy"},"longitude":{"type":"number","format":"double"},"multipleAvalanches":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"municipality":{"type":"string"},"natural":{"$ref":"#/components/schemas/Incidents.Natural"},"otherDamages":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"otherDamagesComment":{"type":"string"},"person":{"$ref":"#/components/schemas/Incidents.Person"},"personInvolvement":{"$ref":"#/components/schemas/Incidents.PersonInvolvement"},"polygonCoordinatesText":{"type":"string"},"privateExternalDatabaseLinks":{"type":"string"},"privateExternalLinks":{"type":"string"},"publicAvalancheWarningService":{"type":"string"},"publicAvalancheWarningServiceOutside":{"type":"boolean"},"publicExternalLinks":{"type":"string"},"publishedAt":{"type":"string","format":"date-time"},"recentLoading":{"$ref":"#/components/schemas/Incidents.CriticalWarming"},"recentSlabAvalanches":{"$ref":"#/components/schemas/Incidents.CriticalWarming"},"region":{"type":"string"},"relevantAvalancheProblem":{"$ref":"#/components/schemas/Incidents.ProblemType"},"remoteTriggering":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"reportStatus":{"$ref":"#/components/schemas/Incidents.ReportStatus"},"signsOfInstability":{"$ref":"#/components/schemas/Incidents.CriticalWarming"},"slabWidth":{"type":"number","format":"double"},"snowpackDescription":{"type":"object","additionalProperties":{"type":"string"}},"snowpackDescriptionPublic":{"type":"boolean"},"sourceOfInformation":{"type":"array","items":{"type":"string"}},"startZoneAspect":{"$ref":"#/components/schemas/Incidents.StartZoneAspect"},"startZoneAspectAccuracy":{"$ref":"#/components/schemas/Incidents.StartZoneAspectAccuracy"},"startZoneElevation":{"type":"number","format":"double"},"startZoneElevationAccuracy":{"$ref":"#/components/schemas/Incidents.StartZoneElevationAccuracy"},"startZoneIncline":{"type":"number","format":"double"},"startZoneMoisture":{"$ref":"#/components/schemas/Incidents.StartZoneMoisture"},"startZoneTerrainType":{"type":"array","items":{"type":"string"}},"takeAways":{"type":"object","additionalProperties":{"type":"string"}},"takeAwaysPublic":{"type":"boolean"},"timeAccuracy":{"$ref":"#/components/schemas/Incidents.TimeAccuracy"},"trigger":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vehicle":{"type":"string"},"victimInformation":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.VictimInformation"}},"weakLayerGrainSize1":{"type":"number","format":"double"},"weakLayerGrainSize2":{"type":"number","format":"double"},"weakLayerGrainType1":{"$ref":"#/components/schemas/Incidents.WeakLayerGrainType"},"weakLayerGrainType2":{"$ref":"#/components/schemas/Incidents.WeakLayerGrainType"},"weakLayerLocation":{"$ref":"#/components/schemas/Incidents.WeakLayerLocation"},"weakLayerName":{"type":"string"},"weatherDescription":{"type":"object","additionalProperties":{"type":"string"}},"weatherDescriptionPublic":{"type":"boolean"}}},"Incidents.IncidentSchemaAvalancheSize":{"type":"string","enum":["extreme","large","large_very_large","medium","medium_large","small","small_medium","unknown","very_large","very_large_extreme"],"x-enum-varnames":["extreme","large","large_very_large","medium","medium_large","small","small_medium","unknown","very_large","very_large_extreme"]},"Incidents.IncidentTerrainType":{"type":"string","enum":["ControlledTerrainClosed","ControlledTerrainOpen","FreeTerrain","Unknown"],"x-enum-varnames":["ControlledTerrainClosed","ControlledTerrainOpen","FreeTerrain","Unknown"]},"Incidents.InjurySeverity":{"type":"string","enum":["Major","Minor","Moderate"],"x-enum-varnames":["Major","Minor","Moderate"]},"Incidents.InvolvementsFatalitiesBurials":{"required":["caughtOnly","fatalities","fullyBuried","incidentActivity","incidentTerrainType","injuredSurvivors","involvementsFatalitiesBurialsComment","numberInvolved","numberOfGroups","partlyBuried","partlyBuriedHeadCovered","partlyBuriedHeadUncovered","uninjuredSurvivors"],"type":"object","properties":{"caughtOnly":{"type":"number","format":"double"},"fatalities":{"type":"number","format":"double"},"fullyBuried":{"type":"number","format":"double"},"incidentActivity":{"type":"array","items":{"type":"string"}},"incidentTerrainType":{"type":"array","items":{"$ref":"#/components/schemas/Incidents.IncidentTerrainType"}},"injuredSurvivors":{"type":"number","format":"double"},"involvementsFatalitiesBurialsComment":{"type":"string"},"numberInvolved":{"type":"number","format":"double"},"numberOfGroups":{"type":"number","format":"double"},"partlyBuried":{"type":"number","format":"double"},"partlyBuriedHeadCovered":{"type":"number","format":"double"},"partlyBuriedHeadUncovered":{"type":"number","format":"double"},"uninjuredSurvivors":{"type":"number","format":"double"}}},"Incidents.LocationAccuracy":{"type":"string","enum":["exact","unknown","within100m","within10km","within15m","within1km","within20km","within250m","within2km","within30m","within500m","within50km","within5km"],"x-enum-varnames":["exact","unknown","within100m","within10km","within15m","within1km","within20km","within250m","within2km","within30m","within500m","within50km","within5km"]},"Incidents.Natural":{"type":"string","enum":["CorniceFall","Earthquake","IceFall","Natural","RockFall"],"x-enum-varnames":["CorniceFall","Earthquake","IceFall","Natural","RockFall"]},"Incidents.Person":{"type":"string","enum":["PersonAccidental","PersonControlled"],"x-enum-varnames":["PersonAccidental","PersonControlled"]},"Incidents.PersonInvolvement":{"type":"string","enum":["No","Unknown","Yes"],"x-enum-varnames":["No","Unknown","Yes"]},"Incidents.ProblemType":{"type":"string","enum":["cornices","gliding_snow","new_snow","no_distinct_avalanche_problem","persistent_weak_layers","wet_snow","wind_slab"],"x-enum-varnames":["cornices","gliding_snow","new_snow","no_distinct_avalanche_problem","persistent_weak_layers","wet_snow","wind_slab"]},"Incidents.ReportStatus":{"type":"string","enum":["Draft","InReview","Incomplete","Verified"],"x-enum-varnames":["Draft","InReview","Incomplete","Verified"]},"Incidents.SnowpackStability":{"type":"string","enum":["fair","good","poor","very_poor"],"x-enum-varnames":["fair","good","poor","very_poor"]},"Incidents.StartZoneAspect":{"type":"string","enum":["E","N","NE","NW","S","SE","SW","W"]},"Incidents.StartZoneAspectAccuracy":{"type":"string","enum":["Accurate","Uncertain"],"x-enum-varnames":["Accurate","Uncertain"]},"Incidents.StartZoneElevationAccuracy":{"type":"string","enum":["exact","unknown","within100m","within200m","within50m"],"x-enum-varnames":["exact","unknown","within100m","within200m","within50m"]},"Incidents.StartZoneMoisture":{"type":"string","enum":["Dry","Moist","Unknown","Wet"],"x-enum-varnames":["Dry","Moist","Unknown","Wet"]},"Incidents.TimeAccuracy":{"type":"string","enum":["P1D","P2D","P3D","PT12H","PT15M","PT1H","PT2H","PT30M","PT4H","PT6H","exact","unknown"],"x-enum-varnames":["P1D","P2D","P3D","PT12H","PT15M","PT1H","PT2H","PT30M","PT4H","PT6H","exact","unknown"]},"Incidents.Transceiver":{"type":"string","enum":["NoTransceiver","TransceiverOff","TransceiverOn"],"x-enum-varnames":["NoTransceiver","TransceiverOff","TransceiverOn"]},"Incidents.VictimInformation":{"required":["age","airbag","anonymousVictimIdentifier","avalancheTraining","burialDegree","burialDepth","burialDuration","caught","causeOfDeath","country","estimatedTimeOfDeath","fatalInjured","gender","groupID","helmet","id","injurySeverity","leaderAtTime","medicalIntervention","primaryLocationMethod","probe","professionalCertification","rescuedBy","respiratoryCavity","shovel","terrainTrap","transceiver","victimInformationComment","workingAtTime","yearsActive"],"type":"object","properties":{"age":{"$ref":"#/components/schemas/Incidents.Age"},"airbag":{"$ref":"#/components/schemas/Incidents.Airbag"},"anonymousVictimIdentifier":{"type":"string"},"avalancheTraining":{"type":"string"},"burialDegree":{"$ref":"#/components/schemas/Incidents.BurialDegree"},"burialDepth":{"type":"number","format":"double"},"burialDuration":{"type":"number","format":"double"},"caught":{"$ref":"#/components/schemas/Incidents.Caught"},"causeOfDeath":{"type":"string"},"country":{"type":"string"},"estimatedTimeOfDeath":{"$ref":"#/components/schemas/Incidents.EstimatedTimeOfDeath"},"fatalInjured":{"$ref":"#/components/schemas/Incidents.FatalInjured"},"gender":{"$ref":"#/components/schemas/Incidents.Gender"},"groupID":{"type":"string","format":"uuid"},"helmet":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"id":{"type":"string","format":"uuid"},"injurySeverity":{"$ref":"#/components/schemas/Incidents.InjurySeverity"},"leaderAtTime":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"medicalIntervention":{"type":"string"},"primaryLocationMethod":{"type":"string"},"probe":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"professionalCertification":{"type":"string"},"rescuedBy":{"type":"string"},"respiratoryCavity":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"shovel":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"terrainTrap":{"type":"string"},"transceiver":{"$ref":"#/components/schemas/Incidents.Transceiver"},"victimInformationComment":{"type":"string"},"workingAtTime":{"$ref":"#/components/schemas/Incidents.BedSurfaceStepped"},"yearsActive":{"$ref":"#/components/schemas/Incidents.YearsActive"}}},"Incidents.WeakLayerGrainType":{"type":"string","enum":["DF","DH","FC","FCxr","MF","MM","PP","PPgp","RG","SH"],"x-enum-varnames":["DF","DH","FC","FCxr","MF","MM","PP","PPgp","RG","SH"]},"Incidents.WeakLayerLocation":{"type":"string","enum":["AtInterfaceWithOldSnow","NearTheGround","WithinNewSnow","WithinOldSnowpack"],"x-enum-varnames":["AtInterfaceWithOldSnow","NearTheGround","WithinNewSnow","WithinOldSnowpack"]},"Incidents.YearsActive":{"type":"string","enum":["From10Years","From3To9Years","UpTo2Years"],"x-enum-varnames":["From10Years","From3To9Years","UpTo2Years"]},"LanguageCode":{"type":"string","description":"The enum contains the ISO 639-1 codes for available languages.","enum":["de","it","en","fr","es","ca","oc"],"x-enum-varnames":["de","it","en","fr","es","ca","oc"]},"LocalServerInstance":{"required":["htmlDirectory","mapProductionUrl","mapsPath","mediaPath","pdfDirectory","publishAt5PM","publishAt8AM"],"type":"object","properties":{"publishAt5PM":{"type":"boolean"},"publishAt8AM":{"type":"boolean"},"mapsPath":{"type":"string"},"mapProductionUrl":{"type":"string"},"pdfDirectory":{"type":"string"},"htmlDirectory":{"type":"string"},"mediaPath":{"type":"string"}}},"MatrixInformation":{"type":"object","properties":{"artificialDangerRating":{"$ref":"#/components/schemas/DangerRating"},"artificialAvalancheSize":{"$ref":"#/components/schemas/AvalancheSize"},"artificialAvalancheReleaseProbability":{"$ref":"#/components/schemas/ArtificialAvalancheReleaseProbability"},"artificialHazardSiteDistribution":{"$ref":"#/components/schemas/HazardSiteDistribution"},"naturalDangerRating":{"$ref":"#/components/schemas/DangerRating"},"naturalAvalancheReleaseProbability":{"$ref":"#/components/schemas/NaturalAvalancheReleaseProbability"},"naturalHazardSiteDistribution":{"$ref":"#/components/schemas/HazardSiteDistribution"}}},"NaturalAvalancheReleaseProbability":{"type":"string","enum":["one","two","three","four"],"x-enum-varnames":["one","two","three","four"]},"PasskeyService.AssertionResponse":{"required":["authenticatorData","clientDataJSON","signature"],"type":"object","properties":{"clientDataJSON":{"type":"string"},"authenticatorData":{"type":"string"},"signature":{"type":"string"},"userHandle":{"type":"string","nullable":true}}},"PasskeyService.AttestationResponse":{"required":["attestationObject","clientDataJSON"],"type":"object","properties":{"clientDataJSON":{"type":"string"},"attestationObject":{"type":"string"}}},"PasskeyService.AuthenticationCredential":{"required":["id","response","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"response":{"$ref":"#/components/schemas/PasskeyService.AssertionResponse"}}},"PasskeyService.AuthenticatorSelection":{"required":["residentKey","userVerification"],"type":"object","properties":{"residentKey":{"type":"string"},"userVerification":{"type":"string"}}},"PasskeyService.CredentialDescriptor":{"required":["id","type"],"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}},"PasskeyService.LoginBeginRequest":{"type":"object","properties":{"username":{"type":"string","nullable":true}}},"PasskeyService.LoginChallenge":{"required":["publicKey","state"],"type":"object","properties":{"state":{"type":"string"},"publicKey":{"$ref":"#/components/schemas/PasskeyService.PublicKeyCredentialRequestOptions"}}},"PasskeyService.LoginFinishRequest":{"required":["credential","state"],"type":"object","properties":{"state":{"type":"string"},"credential":{"$ref":"#/components/schemas/PasskeyService.AuthenticationCredential"}}},"PasskeyService.PasskeyInfo":{"required":["createdAt","id"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":"string","format":"date-time","nullable":true}},"description":"What a passkey management UI needs to show --- never the credential ID or public key."},"PasskeyService.PubKeyCredParam":{"required":["alg","type"],"type":"object","properties":{"type":{"type":"string"},"alg":{"type":"integer","format":"int64"}}},"PasskeyService.PublicKeyCredentialCreationOptions":{"required":["attestation","authenticatorSelection","challenge","excludeCredentials","pubKeyCredParams","rp","timeout","user"],"type":"object","properties":{"challenge":{"type":"string"},"rp":{"$ref":"#/components/schemas/PasskeyService.RelyingParty"},"user":{"$ref":"#/components/schemas/PasskeyService.UserEntity"},"pubKeyCredParams":{"type":"array","items":{"$ref":"#/components/schemas/PasskeyService.PubKeyCredParam"}},"authenticatorSelection":{"$ref":"#/components/schemas/PasskeyService.AuthenticatorSelection"},"attestation":{"type":"string"},"excludeCredentials":{"type":"array","items":{"$ref":"#/components/schemas/PasskeyService.CredentialDescriptor"}},"timeout":{"type":"integer","format":"int64"}}},"PasskeyService.PublicKeyCredentialRequestOptions":{"required":["allowCredentials","challenge","rpId","timeout","userVerification"],"type":"object","properties":{"challenge":{"type":"string"},"rpId":{"type":"string"},"allowCredentials":{"type":"array","items":{"$ref":"#/components/schemas/PasskeyService.CredentialDescriptor"}},"userVerification":{"type":"string"},"timeout":{"type":"integer","format":"int64"}}},"PasskeyService.RegisterFinishRequest":{"required":["credential","state"],"type":"object","properties":{"state":{"type":"string"},"credential":{"$ref":"#/components/schemas/PasskeyService.RegistrationCredential"},"name":{"type":"string","nullable":true}}},"PasskeyService.RegistrationChallenge":{"required":["publicKey","state"],"type":"object","properties":{"state":{"type":"string"},"publicKey":{"$ref":"#/components/schemas/PasskeyService.PublicKeyCredentialCreationOptions"}}},"PasskeyService.RegistrationCredential":{"required":["id","response","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"response":{"$ref":"#/components/schemas/PasskeyService.AttestationResponse"}}},"PasskeyService.RelyingParty":{"required":["id","name"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"PasskeyService.UserEntity":{"required":["displayName","id","name"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"displayName":{"type":"string"}}},"Position":{"type":"string","enum":["topleft","topright","bottomleft","bottomright"],"x-enum-varnames":["topleft","topright","bottomleft","bottomright"]},"Probability":{"type":"string","enum":["likely","possible","unlikely"],"x-enum-varnames":["likely","possible","unlikely"]},"PublicationChecklistItem":{"type":"object","allOf":[{"$ref":"#/components/schemas/AbstractPersistentObject"},{"type":"object","properties":{"id":{"type":"string","nullable":true},"publicationChannel":{"type":"string"},"ok":{"type":"boolean"},"problemDescription":{"type":"string"}}}]},"PublicationStrategy.Type":{"type":"string","enum":["publish","noMessages","minimalCAAML"],"x-enum-varnames":["publish","noMessages","minimalCAAML"]},"PushSubscription":{"type":"object","properties":{"id":{"type":"integer","format":"int64","nullable":true},"subscribeDate":{"type":"string","format":"date-time"},"auth":{"type":"string"},"p256dh":{"type":"string"},"endpoint":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageCode"},"region":{"type":"string"},"failedCount":{"type":"integer","format":"int32"}}},"Recognizability":{"type":"string","enum":["very_easy","easy","hard","very_hard"],"x-enum-varnames":["very_easy","easy","hard","very_hard"]},"Region":{"type":"object","properties":{"id":{"type":"string","description":"Region ID"},"microRegions":{"type":"integer","description":"Number of micro regions","format":"int32"},"subRegions":{"type":"array","description":"ID of sub regions","items":{"type":"string"}},"superRegions":{"type":"array","description":"ID of super regions","items":{"type":"string"}},"neighborRegions":{"type":"array","description":"ID of neighbouring regions","items":{"type":"string"}},"languageConfigurations":{"type":"array","description":"Language configuration","items":{"$ref":"#/components/schemas/RegionLanguageConfiguration"}},"staticUrl":{"type":"string","description":"URL to static avalanche files, e.g. `https://static.avalanche.report`. Bulletin PDFs and danger maps are published below `/bulletins`, simple HTML bulletins below `/simple`, and media files (e.g. audio) below `/media_files`."},"enabledLanguages":{"type":"array","description":"Enabled languages","items":{"$ref":"#/components/schemas/LanguageCode"}},"ttsLanguages":{"type":"array","description":"Text-to-speech languages","items":{"$ref":"#/components/schemas/LanguageCode"}},"publishBulletins":{"type":"boolean","description":"Publish avalanche forecast"},"publishBlogs":{"type":"boolean","description":"Publish blog posts"},"createCaamlV6":{"type":"boolean","description":"Create CAAML v6"},"createJson":{"type":"boolean","description":"Create JSON"},"createMaps":{"type":"boolean","description":"Create maps"},"createPdf":{"type":"boolean","description":"Create PDF"},"createSimpleHtml":{"type":"boolean","description":"Create simple HTML"},"sendEmails":{"type":"boolean","description":"Send emails"},"sendTelegramMessages":{"type":"boolean","description":"Send telegram messages"},"sendWhatsAppMessages":{"type":"boolean","description":"Send WhatsApp messages"},"sendPushNotifications":{"type":"boolean","description":"Send push notifications"},"enableMediaFile":{"type":"boolean","description":"Enable media file"},"enableIcon":{"type":"boolean","description":"Enable weather"},"enableAvalancheProblemCornices":{"type":"boolean","description":"Enable avalanche problem CORNICES"},"enableAvalancheProblemNoDistinctAvalancheProblem":{"type":"boolean","description":"Enable avalanche problem NO DISTINCT AVALANCHE PROBLEM"},"showMatrix":{"type":"boolean","description":"Show matrix"},"enableStrategicMindset":{"type":"boolean","description":"Enable strategic mindset"},"enableStressLevel":{"type":"boolean","description":"Enable stress level"},"pdfColor":{"type":"string","description":"PDF color"},"emailColor":{"type":"string","description":"Email color"},"pdfMapYAmPm":{"type":"integer","description":"Y for PDF map (am/pm)","format":"int32"},"pdfMapYFd":{"type":"integer","description":"Y for PDF map (fd)","format":"int32"},"pdfMapWidthAmPm":{"type":"integer","description":"Map width for PDF (am/pm)","format":"int32"},"pdfMapWidthFd":{"type":"integer","description":"Map width for PDF (fd)","format":"int32"},"pdfMapHeight":{"type":"integer","description":"Map height for PDF","format":"int32"},"pdfFooterLogo":{"type":"boolean","description":"Logo for PDF footer"},"pdfFooterLogoColorPath":{"type":"string","description":"Logo for PDF footer (color)"},"pdfFooterLogoBwPath":{"type":"string","description":"Logo for PDF footer (bw)"},"geoDataDirectory":{"type":"string","description":"Geodata directory"},"mapLogoPosition":{"description":"Logo position for map","allOf":[{"$ref":"#/components/schemas/Position"}]},"imageColorbarColorPath":{"type":"string","description":"Colorbar (color)"},"imageColorbarBwPath":{"type":"string","description":"Colorbar (b/w)"},"enableDangerSources":{"type":"boolean","description":"Enable danger sources"},"enableObservations":{"type":"boolean","description":"Enable observations"},"enableIncidents":{"type":"boolean","description":"Enable incidents"},"enableModelling":{"type":"boolean","description":"Enable modelling"},"enabledTextcatFields":{"type":"array","description":"Textfields for bulletins to be entered using textcat","items":{"$ref":"#/components/schemas/TextPart"}},"enabledEditableFields":{"type":"array","description":"Editable textfields instead of textcat for bulletins","items":{"$ref":"#/components/schemas/TextPart"}},"enableLineaExport":{"type":"boolean","description":"Enable LINEA export"},"defaultLang":{"description":"Default language for language dependent configuration","allOf":[{"$ref":"#/components/schemas/LanguageCode"}]},"logoPath":{"type":"string","description":"Logo for PDF (color)"},"logoBwPath":{"type":"string","description":"Logo for PDF (bw)"},"coatOfArms":{"type":"string","description":"Image URL for coat of arms"},"serverImagesUrl":{"type":"string","description":"URL to server images"},"educationUrl":{"type":"string","description":"URL to education content"},"awsomeUrl":{"type":"string","description":"URL to AWSOME modelling configuration"}},"description":"This class holds all information about one region."},"RegionLanguageConfiguration":{"type":"object","properties":{"lang":{"description":"Language code","allOf":[{"$ref":"#/components/schemas/LanguageCode"}]},"websiteName":{"type":"string","description":"Website name"},"warningServiceName":{"type":"string","description":"Warning service name"},"warningServiceEmail":{"type":"string","description":"Warning service email"},"url":{"type":"string","description":"Website URL"},"urlWithDate":{"type":"string","description":"Website URL for date given by %s"}}},"Role":{"type":"string","enum":["SUPERADMIN","ADMIN","FORECASTER","FOREMAN","OBSERVER"]},"ServerInstance":{"type":"object","properties":{"id":{"type":"integer","format":"int64","nullable":true},"name":{"type":"string"},"apiUrl":{"type":"string"},"userName":{"type":"string"},"password":{"type":"string"},"externalServer":{"type":"boolean"}},"description":"This class holds all information about a server instance."},"ServerInstanceService.ServerVersionInfo":{"required":["version"],"type":"object","properties":{"version":{"type":"string"}}},"SlopeGradient":{"type":"string","enum":["moderately_steep","steep","very_steep","extremely_steep"],"x-enum-varnames":["moderately_steep","steep","very_steep","extremely_steep"]},"SnowpackPosition":{"type":"string","enum":["upper","middle","lower","ground"],"x-enum-varnames":["upper","middle","lower","ground"]},"SnowpackStability":{"type":"string","enum":["good","fair","poor","very_poor"],"x-enum-varnames":["good","fair","poor","very_poor"]},"StatusInformation":{"required":["message","ok","title"],"type":"object","properties":{"ok":{"type":"boolean"},"title":{"type":"string"},"message":{"type":"string"}}},"StrategicMindset":{"type":"string","enum":["assessment","stepping_out","status_quo","stepping_back","entrenchment","free_ride","high_alert","spring_diurnal"],"x-enum-varnames":["assessment","stepping_out","status_quo","stepping_back","entrenchment","free_ride","high_alert","spring_diurnal"]},"StressLevel":{"type":"object","properties":{"date":{"type":"string","format":"date"},"stressLevel":{"type":"integer","format":"int32"},"lastUpdated":{"type":"string","format":"date-time"}}},"SubscriptionService.EmailSubscription":{"required":["email","language","regions"],"type":"object","properties":{"email":{"type":"string"},"regions":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageCode"}}},"Tendency":{"type":"string","enum":["decreasing","steady","increasing"],"x-enum-varnames":["decreasing","steady","increasing"]},"TendencyProgression":{"type":"object","properties":{"dates":{"type":"array","description":"Start dates of the bulletins of the preceding days","items":{"type":"string","format":"date-time"}},"dangerRatings":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/DangerRating"}},"description":"Highest danger rating of each of these days, per micro region"}}},"TerrainType":{"type":"string","enum":["gullies_and_bowls","adjacent_to_ridgelines","distant_from_ridgelines","in_the_vicinity_of_peaks","pass_areas","shady_slopes","sunny_slopes","grassy_slopes","cut_slopes","wind_loaded_slopes","base_of_rock_walls","behind_abrupt_changes_in_the_terrain","transitions_into_gullies_and_bowls","areas_where_the_snow_cover_is_rather_shallow","transitions_from_a_shallow_to_a_deep_snowpack","highly_frequented_off_piste_terrain","little_used_backcountry_terrain","places_that_are_protected_from_the_wind","regions_exposed_to_the_foehn_wind","regions_with_a_lot_of_snow","regions_exposed_to_precipitation","regions_exposed_to_heavier_precipitation"],"x-enum-varnames":["gullies_and_bowls","adjacent_to_ridgelines","distant_from_ridgelines","in_the_vicinity_of_peaks","pass_areas","shady_slopes","sunny_slopes","grassy_slopes","cut_slopes","wind_loaded_slopes","base_of_rock_walls","behind_abrupt_changes_in_the_terrain","transitions_into_gullies_and_bowls","areas_where_the_snow_cover_is_rather_shallow","transitions_from_a_shallow_to_a_deep_snowpack","highly_frequented_off_piste_terrain","little_used_backcountry_terrain","places_that_are_protected_from_the_wind","regions_exposed_to_the_foehn_wind","regions_with_a_lot_of_snow","regions_exposed_to_precipitation","regions_exposed_to_heavier_precipitation"]},"TextPart":{"type":"string","enum":["generalHeadlineComment","highlights","avActivityHighlights","avActivityComment","snowpackStructureHighlights","snowpackStructureComment","synopsisHighlights","synopsisComment","tendencyComment","travelAdvisoryHighlights","travelAdvisoryComment"],"x-enum-varnames":["generalHeadlineComment","highlights","avActivityHighlights","avActivityComment","snowpackStructureHighlights","snowpackStructureComment","synopsisHighlights","synopsisComment","tendencyComment","travelAdvisoryHighlights","travelAdvisoryComment"]},"Thickness":{"type":"string","enum":["thick","thin"],"x-enum-varnames":["thick","thin"]},"User":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the user"},"password":{"type":"string","description":"Password of the user"},"name":{"type":"string","description":"Name of the user"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"regions":{"type":"array","items":{"type":"string"}},"image":{"type":"string","description":"Image of the user"},"organization":{"type":"string","description":"Organization the user works for"},"languageCode":{"description":"Preferred language of the user","allOf":[{"$ref":"#/components/schemas/LanguageCode"}]},"deleted":{"type":"boolean"},"lastUsedAt":{"type":"string","description":"When the user last logged in, whether by password or passkey","format":"date-time"}}},"UserService.ChangePassword":{"required":["newPassword","oldPassword"],"type":"object","properties":{"oldPassword":{"type":"string"},"newPassword":{"type":"string"}}},"UserService.CheckPassword":{"required":["password"],"type":"object","properties":{"password":{"type":"string"}}},"UserService.ResetPassword":{"required":["newPassword"],"type":"object","properties":{"newPassword":{"type":"string"}}},"WeatherStations.Feature":{"required":["geometry","properties","type"],"type":"object","properties":{"geometry":{"$ref":"#/components/schemas/WeatherStations.Geometry"},"id":{"type":"string","description":"The ID/UUID of the station"},"properties":{"$ref":"#/components/schemas/WeatherStations.Properties"},"type":{"$ref":"#/components/schemas/WeatherStations.Feature.Type"}},"description":"A GeoJSON Feature corresponding to one weather station"},"WeatherStations.Feature.Type":{"type":"string","enum":["Feature"],"x-enum-varnames":["Feature"]},"WeatherStations.FeatureCollection":{"required":["features","properties","type"],"type":"object","properties":{"features":{"type":"array","items":{"$ref":"#/components/schemas/WeatherStations.Feature"}},"properties":{"type":"object"},"type":{"$ref":"#/components/schemas/WeatherStations.FeatureCollection.Type"}},"description":"A GeoJSON FeatureCollection of weather stations"},"WeatherStations.FeatureCollection.Type":{"type":"string","enum":["FeatureCollection"],"x-enum-varnames":["FeatureCollection"]},"WeatherStations.Geometry":{"required":["type"],"type":"object","properties":{"coordinates":{"type":"array","description":"Longitude, latitude and (optionally) altitude","items":{"type":"number","format":"double"}},"type":{"$ref":"#/components/schemas/WeatherStations.Geometry.Type"}}},"WeatherStations.Geometry.Type":{"type":"string","enum":["Point"],"x-enum-varnames":["Point"]},"WeatherStations.Properties":{"required":["dataProviderID","statistics"],"type":"object","properties":{"altitude":{"type":"number","description":"Altitude above sea level (alternatively specify 3rd component in coordinates)","format":"double"},"dataProviderID":{"type":"string"},"dataURLs":{"type":"array","description":"Data URLs for this station (typically SMET format is used, and three URLs are provided, short term, winter season, all winter seasons)","items":{"type":"string"}},"date":{"type":"string","description":"ISO 8601 timestamp","format":"date-time"},"DW":{"type":"number","description":"Wind direction (optionally average over the last 3h) in °","format":"double"},"HS":{"type":"number","description":"Snow height in m","format":"double"},"HSD_24":{"type":"number","description":"Difference in snow height over the last 24h in m","format":"double"},"HSD_48":{"type":"number","description":"Difference in snow height over the last 48h in m","format":"double"},"HSD_6":{"type":"number","description":"Difference in snow height over the last 6h in m","format":"double"},"HSD_72":{"type":"number","description":"Difference in snow height over the last 72h in m","format":"double"},"ILWR":{"type":"number","description":"Incoming Long Wave Radiation in W/m²","format":"double"},"ISWR":{"type":"number","description":"Incoming Short Wave Radiation in W/m²","format":"double"},"microRegionID":{"type":"string","description":"EAWS micro region ID, see https://gitlab.com/eaws/eaws-regions"},"name":{"type":"string","description":"Station name"},"OLWR":{"type":"number","description":"Outgoing Long Wave Radiation in W/m²","format":"double"},"operator":{"type":"string","description":"Station operator"},"operatorLicense":{"type":"string","description":"License under which data is provided"},"operatorLicenseLink":{"type":"string","description":"Link to license","format":"uri"},"operatorLink":{"type":"string","description":"Link to website of station operator","format":"uri"},"P":{"type":"number","description":"Air pressure in Pa","format":"double"},"plot":{"type":"string","description":"For legacy PNG plots: name of plot which includes this station"},"PSUM_24":{"type":"number","description":"Precipitation summed over the last 24h in mm","format":"double"},"PSUM_48":{"type":"number","description":"Precipitation summed over the last 48h in mm","format":"double"},"PSUM_6":{"type":"number","description":"Precipitation summed over the last 6h in mm","format":"double"},"PSUM_72":{"type":"number","description":"Precipitation summed over the last 72h in mm","format":"double"},"RH":{"type":"number","description":"Relative humidity between 0 and 1","format":"double"},"RSWR":{"type":"number","description":"Reflected Short Wave Radiation in W/m²","format":"double"},"shortName":{"pattern":"^[A-Za-z0-9]+$","type":"string","description":"Station short name (such as ISEE2) consisting of [A-Za-z0-9] only"},"startYear":{"type":"string","description":"Observation start year"},"stationCharacteristics":{"type":"string","description":"A few sentences describing the station characteristics/locality/history/..."},"statistics":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/WeatherStations.Statistics"}},"TA":{"type":"number","description":"Air temperature in Kelvin","format":"double"},"TA_MAX":{"type":"number","description":"Max. air temperature over the last 24h in Kelvin","format":"double"},"TA_MIN":{"type":"number","description":"Min. air temperature over the last 24h in Kelvin","format":"double"},"TD":{"type":"number","description":"Dew point temperature in Kelvin","format":"double"},"TSS":{"type":"number","description":"Temperature Snow Surface in Kelvin","format":"double"},"VW":{"type":"number","description":"Wind velocity (optionally as average over the last 3h) in m/s","format":"double"},"VW_MAX":{"type":"number","description":"Max. wind velocity (optionally max over the last 3h) in m/s","format":"double"}},"description":"The properties of a weather station including measured values"},"WeatherStations.Statistics":{"required":["average","count","delta","max","median","min","sum"],"type":"object","properties":{"average":{"type":"number","format":"double"},"count":{"type":"number","format":"double"},"delta":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"median":{"type":"number","format":"double"},"min":{"type":"number","format":"double"},"sum":{"type":"number","format":"double"},"unit":{"type":"string","description":"Unit of the measured values","enum":["K","℃","m","cm","mm","1","%","°","m/s","km/h","hPa","Pa","W/m²"]}}},"Wetness":{"type":"string","enum":["wet","moist","dry"],"x-enum-varnames":["wet","moist","dry"]}},"parameters":{"StaticDate":{"name":"date","in":"path","description":"Date of validity in the format yyyy-MM-dd","required":true,"schema":{"type":"string","format":"date"}},"StaticDateTime":{"name":"dateTime","in":"path","description":"Timestamp of the hourly snapshot in the format yyyy-MM-dd_HH-mm","required":true,"schema":{"type":"string"}},"StaticPublication":{"name":"publication","in":"path","description":"Publication timestamp in the format yyyy-MM-dd_HH-mm-ss","required":true,"schema":{"type":"string"}},"StaticRegion":{"name":"region","in":"path","description":"Region ID, e.g. `EUREGIO`, `AT-07`, `IT-32-BZ`, `IT-32-TN`","required":true,"schema":{"type":"string"}},"StaticLang":{"name":"lang","in":"path","required":true,"schema":{"$ref":"#/components/schemas/LanguageCode"}}},"securitySchemes":{"authentication":{"type":"http","description":"Obtained from POST /authentication","scheme":"bearer","bearerFormat":"JWT"}}}}