{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.quinyx.com/v2/organisation","description":""}],"paths":{"/groups/{groupId}":{"get":{"tags":["group","get"],"summary":"Get group by ID.","description":"Get group details identified by groupId.","operationId":"getSingleGroupDetails","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns group details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDetailsResponseDto"}}}},"404":{"description":"The group not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}}}},"put":{"tags":["group","update","put"],"summary":"Update the group.","description":"Update a group identified by given groupId.","operationId":"updateGroup","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Group created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDetailsResponseDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"The group not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}}}},"delete":{"tags":["group","delete"],"summary":"Deletes a group.","description":"Deletes the group record with identified by aa given groupId.","operationId":"deleteGroup","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Group record successfully deleted."},"404":{"description":"Domain or group not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"The user doesn't have permission to delete the record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}}}}},"/groups/{groupId}/locations/{locationId}":{"get":{"tags":["group-location-crud-controller"],"summary":"Get group location by groupId and locationId","operationId":"getGroupLocation","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"locationId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"404":{"description":"Group not found or location not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}},"put":{"tags":["group-location-crud-controller"],"summary":"Update group location","operationId":"updateGroupLocation","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"locationId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupLocationRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"404":{"description":"Domain not found or location not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}},"delete":{"tags":["group-location-crud-controller"],"summary":"Delete group location","operationId":"deleteGroupLocation","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"locationId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"404":{"description":"Domain not found or location not found"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"204":{"description":"No Content"}}}},"/groups":{"post":{"tags":["group","create","post"],"summary":"Create a new group.","description":"Create a new group from a given DTO.","operationId":"createGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreationRequest"}}},"required":true},"responses":{"200":{"description":"Group created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDetailsResponseDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"The group not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}}}}},"/groups/{groupId}/locations":{"get":{"tags":["group-location-crud-controller"],"summary":"Get List of locations from a given group","operationId":"getGroupLocations","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}}},"404":{"description":"Domain not found","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}},"post":{"tags":["group-location-crud-controller"],"summary":"Create a new group location","operationId":"addGroupLocation","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupLocationRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"404":{"description":"Domain not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupLocationResponseDto"}}}}}}},"/groups/{groupId}/children":{"get":{"tags":["group","children","get"],"summary":"Retrive group's children.","description":"Get children groups from a given groupId.","operationId":"getGroupChildren","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"Returns group details.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupDetailsResponseDto"}}}}},"404":{"description":"The group not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}}}}}},"components":{"schemas":{"AddressDto":{"type":"object","properties":{"country":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"municipality":{"type":"string"},"timeZone":{"type":"string"}}},"DistrictAttributesDto":{"type":"object","properties":{"districtId":{"type":"integer","format":"int32"},"managerId":{"type":"integer","format":"int32"}}},"GroupDetailsResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"groupType":{"type":"string","enum":["domain","district","unit","section"]},"parentGroupId":{"type":"integer","format":"int32"},"districtAttributesDto":{"$ref":"#/components/schemas/DistrictAttributesDto"},"sectionAttributesDto":{"$ref":"#/components/schemas/SectionAttributesDto"},"unitAttributesDto":{"$ref":"#/components/schemas/UnitAttributesDto"}}},"SectionAttributesDto":{"type":"object","properties":{"sectionId":{"type":"integer","format":"int32"},"managerGroupId":{"type":"integer","format":"int32"},"costCentre":{"type":"integer","format":"int32"},"managerId":{"type":"integer","format":"int32"}}},"ShiftRulesDto":{"type":"object","properties":{"maxHoursPerDay":{"type":"number","format":"double"},"maxHoursPerWeek":{"type":"number","format":"double"},"minRest":{"type":"integer","format":"int32"},"numberOfBreaks":{"type":"integer","format":"int32"}}},"UnitAttributesDto":{"type":"object","properties":{"unitId":{"type":"integer","format":"int32"},"address":{"$ref":"#/components/schemas/AddressDto"},"costCentre":{"type":"integer","format":"int32"},"managerId":{"type":"integer","format":"int32"},"currency":{"type":"string"},"publishedTo":{"type":"string","format":"date"},"blockPasswordLogin":{"type":"boolean"},"shiftRules":{"$ref":"#/components/schemas/ShiftRulesDto","writeOnly":true},"shiftRulesDto":{"$ref":"#/components/schemas/ShiftRulesDto"}}},"BadRequestException":{"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"ContentDisposition":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"filename":{"type":"string"},"charset":{"type":"string"},"size":{"type":"integer","format":"int64","deprecated":true},"creationDate":{"type":"string","format":"date-time","deprecated":true},"modificationDate":{"type":"string","format":"date-time","deprecated":true},"readDate":{"type":"string","format":"date-time","deprecated":true},"attachment":{"type":"boolean"},"formData":{"type":"boolean"},"inline":{"type":"boolean"}}},"DefaultHttpStatusCode":{"allOf":[{"$ref":"#/components/schemas/HttpStatusCode"}]},"HttpMethod":{"type":"object"},"HttpRange":{"type":"object"},"HttpStatus":{"allOf":[{"$ref":"#/components/schemas/HttpStatusCode"}],"enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"HttpStatusCode":{"type":"object","properties":{"is4xxClientError":{"type":"boolean"},"is5xxServerError":{"type":"boolean"},"is1xxInformational":{"type":"boolean"},"is2xxSuccessful":{"type":"boolean"},"is3xxRedirection":{"type":"boolean"},"error":{"type":"boolean"}}},"MediaType":{"type":"object","properties":{"type":{"type":"string"},"subtype":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"string"}},"qualityValue":{"type":"number","format":"double"},"wildcardSubtype":{"type":"boolean"},"wildcardType":{"type":"boolean"},"subtypeSuffix":{"type":"string"},"concrete":{"type":"boolean"},"charset":{"type":"string"}}},"Unauthorized":{"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"statusCode":{"oneOf":[{"$ref":"#/components/schemas/DefaultHttpStatusCode"},{"$ref":"#/components/schemas/HttpStatus"}]},"statusText":{"type":"string"},"responseHeaders":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"properties":{"acceptLanguageAsLocales":{"type":"array","items":{"type":"object","properties":{"language":{"type":"string"},"displayName":{"type":"string"},"country":{"type":"string"},"variant":{"type":"string"},"script":{"type":"string"},"unicodeLocaleAttributes":{"type":"array","items":{"type":"string"},"uniqueItems":true},"unicodeLocaleKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"displayLanguage":{"type":"string"},"displayScript":{"type":"string"},"displayCountry":{"type":"string"},"displayVariant":{"type":"string"},"extensionKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"iso3Language":{"type":"string"},"iso3Country":{"type":"string"}}}},"accessControlAllowHeaders":{"type":"array","items":{"type":"string"}},"accessControlAllowMethods":{"type":"array","items":{"$ref":"#/components/schemas/HttpMethod"}},"accessControlAllowOrigin":{"type":"string"},"accessControlExposeHeaders":{"type":"array","items":{"type":"string"}},"accessControlRequestHeaders":{"type":"array","items":{"type":"string"}},"accessControlRequestMethod":{"$ref":"#/components/schemas/HttpMethod"},"acceptLanguage":{"type":"array","items":{"type":"object","properties":{"range":{"type":"string"},"weight":{"type":"number","format":"double"}}}},"accessControlMaxAge":{"type":"integer","format":"int64"},"acceptCharset":{"type":"array","items":{"type":"string"}},"contentLanguage":{"type":"object","properties":{"language":{"type":"string"},"displayName":{"type":"string"},"country":{"type":"string"},"variant":{"type":"string"},"script":{"type":"string"},"unicodeLocaleAttributes":{"type":"array","items":{"type":"string"},"uniqueItems":true},"unicodeLocaleKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"displayLanguage":{"type":"string"},"displayScript":{"type":"string"},"displayCountry":{"type":"string"},"displayVariant":{"type":"string"},"extensionKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"iso3Language":{"type":"string"},"iso3Country":{"type":"string"}}},"ifUnmodifiedSince":{"type":"integer","format":"int64"},"expires":{"type":"integer","format":"int64"},"ifMatch":{"type":"array","items":{"type":"string"}},"ifNoneMatch":{"type":"array","items":{"type":"string"}},"pragma":{"type":"string"},"range":{"type":"array","items":{"$ref":"#/components/schemas/HttpRange"}},"upgrade":{"type":"string"},"vary":{"type":"array","items":{"type":"string"}},"origin":{"type":"string"},"connection":{"type":"array","items":{"type":"string"}},"accessControlAllowCredentials":{"type":"boolean"},"basicAuth":{"type":"string","writeOnly":true},"accept":{"type":"array","items":{"$ref":"#/components/schemas/MediaType"}},"acceptPatch":{"type":"array","items":{"$ref":"#/components/schemas/MediaType"}},"allow":{"type":"array","items":{"$ref":"#/components/schemas/HttpMethod"},"uniqueItems":true},"bearerAuth":{"type":"string","writeOnly":true},"etag":{"type":"string"},"contentDisposition":{"$ref":"#/components/schemas/ContentDisposition"},"cacheControl":{"type":"string"},"location":{"type":"string","format":"uri"},"contentType":{"$ref":"#/components/schemas/MediaType"},"contentLength":{"type":"integer","format":"int64"},"host":{"type":"object","properties":{"hostString":{"type":"string"},"address":{"type":"object","properties":{"hostAddress":{"type":"string"},"address":{"type":"string","format":"byte"},"hostName":{"type":"string"},"linkLocalAddress":{"type":"boolean"},"multicastAddress":{"type":"boolean"},"anyLocalAddress":{"type":"boolean"},"loopbackAddress":{"type":"boolean"},"siteLocalAddress":{"type":"boolean"},"mcglobal":{"type":"boolean"},"mcnodeLocal":{"type":"boolean"},"mclinkLocal":{"type":"boolean"},"mcsiteLocal":{"type":"boolean"},"mcorgLocal":{"type":"boolean"},"canonicalHostName":{"type":"string"}}},"port":{"type":"integer","format":"int32"},"unresolved":{"type":"boolean"},"hostName":{"type":"string"}}},"empty":{"type":"boolean"},"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"lastModified":{"type":"integer","format":"int64"},"date":{"type":"integer","format":"int64"},"ifModifiedSince":{"type":"integer","format":"int64"}}},"responseBodyAsByteArray":{"type":"string","format":"byte"},"bodyConvertFunction":{"type":"object","writeOnly":true},"rawStatusCode":{"type":"integer","format":"int32","deprecated":true},"responseBodyAsString":{"type":"string"},"rootCause":{"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"mostSpecificCause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"NotFoundException":{"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"ForbiddenException":{"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"GroupUpdateRequest":{"type":"object","properties":{"name":{"type":"string"},"parentGroupId":{"type":"integer","format":"int32"},"groupType":{"type":"string"},"districtAttributesDto":{"$ref":"#/components/schemas/DistrictAttributesDto"},"sectionAttributesDto":{"$ref":"#/components/schemas/SectionAttributesDto"},"unitAttributesDto":{"$ref":"#/components/schemas/UnitAttributesDto"}}},"GroupLocationRequestDto":{"type":"object","properties":{"latitude":{"type":"string","example":59.329956,"pattern":"^(\\+|-)?(?:90(?:(?:\\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\\.[0-9]{1,6})?))$"},"longitude":{"type":"string","example":18.06285,"pattern":"^(\\+|-)?(?:180(?:(?:\\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\\.[0-9]{1,6})?))$"},"radius":{"type":"integer","format":"int32","example":100},"comment":{"type":"string"}},"required":["latitude","longitude","radius"]},"GroupLocationResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"groupId":{"type":"integer","format":"int32","example":170305},"latitude":{"type":"string","example":59.329956},"longitude":{"type":"string","example":18.06285},"radius":{"type":"integer","format":"int32","example":100},"comment":{"type":"string"}}},"GroupCreationRequest":{"type":"object","properties":{"name":{"type":"string"},"groupType":{"type":"string"},"parentGroupId":{"type":"integer","format":"int32"},"districtAttributesDto":{"$ref":"#/components/schemas/DistrictAttributesDto"},"sectionAttributesDto":{"$ref":"#/components/schemas/SectionAttributesDto"},"unitAttributesDto":{"$ref":"#/components/schemas/UnitAttributesDto"}},"required":["parentGroupId"]},"Pageable":{"type":"object","properties":{"page":{"type":"integer","format":"int32","minimum":0},"size":{"type":"integer","format":"int32","minimum":1},"sort":{"type":"array","items":{"type":"string"}}}}}}}