{"openapi":"3.0.3","info":{"title":"AIRS Backend API","version":"v2","description":"AIRS backend API definition for mobile/admin app, sensor ingestion query, and internal AI query."},"tags":[{"name":"Auth","description":"회원가입 및 로그인 API"},{"name":"Campus","description":"회원가입/등록 화면에서 사용하는 학교/공간 조회 API"},{"name":"User","description":"현재 로그인 사용자 정보 API"},{"name":"Admin Approval","description":"ROOT_ADMIN의 관리자 승인 API"},{"name":"Admin Nodes","description":"관리자 앱 노드 목록, 상세, 등록, 삭제 API"},{"name":"Sensor","description":"인증 사용자가 조회하는 센서 요약 API"},{"name":"Internal Sensor","description":"localhost 내부 AI용 센서 조회 API"}],"paths":{"/actuator/health":{"get":{"tags":["Internal Sensor"],"summary":"Health check","description":"Docker healthcheck, liveness probe, monitoring tool이 인증 없이 호출할 수 있습니다.","responses":{"200":{"description":"서버 상태 조회 성공"}}}},"/actuator/info":{"get":{"tags":["Internal Sensor"],"summary":"Application info","description":"인증 없이 호출 가능한 actuator info endpoint입니다.","responses":{"200":{"description":"애플리케이션 정보 조회 성공"}}}},"/airs/auth/signup":{"post":{"tags":["Auth"],"summary":"회원가입","description":"USER 또는 ADMIN 계정을 생성합니다. ROOT_ADMIN은 일반 회원가입으로 생성할 수 없습니다.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpRequest"}}}},"responses":{"201":{"description":"회원가입 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/airs/auth/login":{"post":{"tags":["Auth"],"summary":"로그인","description":"이메일/로그인 ID와 비밀번호로 JWT access token을 발급합니다.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}}},"responses":{"200":{"description":"로그인 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/airs/campuses":{"get":{"tags":["Campus"],"summary":"캠퍼스 목록 조회","description":"회원가입 화면에서 학교 선택에 사용합니다. 인증이 필요하지 않습니다.","responses":{"200":{"description":"캠퍼스 목록 조회 성공","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CampusResponse"}}}}}}}},"/airs/users/me":{"get":{"tags":["User"],"summary":"내 정보 조회","description":"Authorization: Bearer {accessToken} 헤더가 필요합니다.","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMeResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/admins/{userId}/approve":{"patch":{"tags":["Admin Approval"],"summary":"ADMIN 승인","description":"승인된 ROOT_ADMIN이 같은 캠퍼스의 미승인 ADMIN을 승인합니다. 이미 승인된 ADMIN이면 같은 응답을 200 OK로 반환합니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/UserId"}],"responses":{"200":{"description":"ADMIN 승인 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApprovalResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/campuses/{campusId}/buildings":{"get":{"tags":["Campus"],"summary":"관리자용 건물 목록 조회","description":"노드 등록 화면에서 학교 선택 후 건물 목록을 조회합니다. 승인된 ADMIN 또는 ROOT_ADMIN만 호출할 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/CampusId"}],"responses":{"200":{"description":"건물 목록 조회 성공","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminBuildingResponse"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/buildings/{buildingId}/spaces":{"get":{"tags":["Campus"],"summary":"관리자용 공간 목록 조회","description":"노드 등록 화면에서 건물 선택 후 공간 목록을 조회합니다. 승인된 ADMIN 또는 ROOT_ADMIN만 호출할 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/BuildingId"}],"responses":{"200":{"description":"공간 목록 조회 성공","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminSpaceResponse"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/nodes":{"get":{"tags":["Admin Nodes"],"summary":"관리자 노드 목록 조회","description":"관리자 앱 노드 관리 화면을 위한 목록 API입니다. 승인된 ADMIN 또는 ROOT_ADMIN만 호출할 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[{"name":"sort","in":"query","required":false,"description":"노드 목록 정렬 기준","schema":{"type":"string","enum":["distance","status","space","alert"],"default":"distance"}}],"responses":{"200":{"description":"노드 목록 조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/airs/admin/nodes/{nodeId}":{"get":{"tags":["Admin Nodes"],"summary":"관리자 노드 상세 조회","description":"관리자 앱 노드 상세 화면을 위한 API입니다. 승인된 ADMIN 또는 ROOT_ADMIN만 호출할 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/NodeId"}],"responses":{"200":{"description":"노드 상세 조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeDetailResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Admin Nodes"],"summary":"관리자 노드 삭제","description":"물리 노드 row를 삭제하지 않고 active installation을 비활성화합니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/NodeId"}],"responses":{"204":{"description":"노드 삭제 성공"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/nodes/{nodeId}/co2-trend":{"get":{"tags":["Admin Nodes"],"summary":"관리자 노드 CO2 추이 조회","description":"InfluxDB에서 CO2 시계열을 조회합니다. 현재 실제 payload에 CO2가 없으면 points가 비거나 co2Ppm이 null일 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/NodeId"},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":24,"default":6}},{"name":"window","in":"query","required":false,"description":"Flux aggregateWindow 간격입니다. 예: 30s, 1m, 5m, 1h","schema":{"type":"string","default":"5m","example":"5m"}}],"responses":{"200":{"description":"CO2 추이 조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeCo2TrendResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/admin/nodes/installations":{"post":{"tags":["Admin Nodes"],"summary":"Bluetooth 기반 노드 등록 완료","description":"앱이 Bluetooth/Wi-Fi 설정 성공을 확인한 뒤 backend에 최종 설치 결과를 저장합니다. Wi-Fi password는 절대 보내지 않습니다.","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeRegistrationRequest"}}}},"responses":{"201":{"description":"새 노드 설치 생성 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeRegistrationResponse"}}}},"200":{"description":"같은 nodeId와 spaceId의 중복 등록 요청. 기존 설치 결과를 반환합니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNodeRegistrationResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/airs/nodes/{nodeId}/measurements/summary":{"get":{"tags":["Sensor"],"summary":"DHT22 일간 요약 조회","description":"승인된 ADMIN 또는 ROOT_ADMIN이 자기 캠퍼스 active 노드의 일간 온습도 요약을 조회합니다.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/NodeId"},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","example":"2026-07-02"}}],"responses":{"200":{"description":"조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyDht22SummaryResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/airs/internal/nodes/{nodeId}/measurements/range":{"get":{"tags":["Internal Sensor"],"summary":"AI용 센서 기간 조회","description":"localhost 내부 호출 전용 API입니다. 온도, 습도, CO2 raw 시계열을 조회합니다.","parameters":[{"$ref":"#/components/parameters/NodeId"},{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date-time","example":"2026-07-02T00:00:00Z"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date-time","example":"2026-07-02T23:59:59Z"}}],"responses":{"200":{"description":"조회 성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dht22RangeResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Authorization: Bearer {accessToken}"}},"parameters":{"NodeId":{"name":"nodeId","in":"path","required":true,"schema":{"type":"string","example":"node_01"}},"CampusId":{"name":"campusId","in":"path","required":true,"schema":{"type":"integer","format":"int64","example":1}},"BuildingId":{"name":"buildingId","in":"path","required":true,"schema":{"type":"integer","format":"int64","example":1}},"UserId":{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64","example":2}}},"responses":{"BadRequest":{"description":"요청 값이 올바르지 않습니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"Unauthorized":{"description":"인증이 필요하거나 토큰이 유효하지 않습니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"Forbidden":{"description":"접근 권한이 없습니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"NotFound":{"description":"요청한 리소스를 찾을 수 없습니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"Conflict":{"description":"리소스 상태가 충돌합니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"schemas":{"UserRole":{"type":"string","enum":["USER","ADMIN","ROOT_ADMIN"]},"ConnectionStatus":{"type":"string","enum":["ONLINE","WEAK","OFFLINE","UNKNOWN"]},"OccupancyStatus":{"type":"string","enum":["OCCUPIED","UNOCCUPIED","UNKNOWN"]},"SpaceType":{"type":"string","enum":["CLASSROOM","READING_ROOM","LAB","OFFICE","OTHER"]},"AlertType":{"type":"string","enum":["VENTILATION_RECOMMENDED","NODE_OFFLINE","WEAK_WIFI","SENSOR_ABNORMAL","INFO"]},"AlertSeverity":{"type":"string","enum":["EMERGENCY","WARNING","INFO"]},"SignUpRequest":{"type":"object","required":["email","password","nickname","phone","campusId","role"],"properties":{"email":{"type":"string","format":"email","maxLength":50,"example":"user@example.com"},"password":{"type":"string","minLength":8,"maxLength":30,"description":"영문, 숫자, 특수문자를 모두 포함해야 합니다.","example":"Abcd1234!"},"nickname":{"type":"string","minLength":2,"maxLength":10,"example":"jaeho"},"phone":{"type":"string","maxLength":20,"example":"01012345678"},"campusId":{"type":"integer","format":"int64","example":1},"role":{"$ref":"#/components/schemas/UserRole"}}},"SignUpResponse":{"type":"object","properties":{"userId":{"type":"integer","format":"int64"},"campusId":{"type":"integer","format":"int64"},"email":{"type":"string"},"nickname":{"type":"string"},"phone":{"type":"string"},"role":{"$ref":"#/components/schemas/UserRole"},"adminApproved":{"type":"boolean","nullable":true,"description":"USER는 null, ADMIN/ROOT_ADMIN은 campus_admins 승인 여부입니다."}}},"LoginRequest":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","maxLength":50,"example":"user@example.com","description":"일반 사용자는 이메일, 데모 ROOT_ADMIN은 asdf 같은 로그인 ID를 사용할 수 있습니다."},"password":{"type":"string","example":"Abcd1234!"}}},"LoginResponse":{"type":"object","properties":{"accessToken":{"type":"string","description":"JWT access token"},"userId":{"type":"integer","format":"int64"},"campusId":{"type":"integer","format":"int64","nullable":true},"email":{"type":"string"},"nickname":{"type":"string"},"role":{"$ref":"#/components/schemas/UserRole"},"adminApproved":{"type":"boolean","nullable":true}}},"UserMeResponse":{"type":"object","properties":{"userId":{"type":"integer","format":"int64"},"campusId":{"type":"integer","format":"int64","nullable":true},"email":{"type":"string"},"nickname":{"type":"string"},"phone":{"type":"string","nullable":true},"role":{"$ref":"#/components/schemas/UserRole"},"adminApproved":{"type":"boolean","nullable":true},"createdAt":{"type":"string","format":"date-time"}}},"AdminApprovalResponse":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","example":2},"campusId":{"type":"integer","format":"int64","example":1},"email":{"type":"string","example":"admin@example.com"},"nickname":{"type":"string","example":"admin"},"role":{"$ref":"#/components/schemas/UserRole"},"adminApproved":{"type":"boolean","example":true}}},"CampusResponse":{"type":"object","properties":{"campusId":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"서강대학교"}}},"AdminBuildingResponse":{"type":"object","properties":{"buildingId":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"김대건관"}}},"AdminSpaceResponse":{"type":"object","properties":{"spaceId":{"type":"integer","format":"int64","example":1},"code":{"type":"string","example":"K301"},"name":{"type":"string","example":"301호"},"floorLabel":{"type":"string","nullable":true,"example":"3층"},"spaceType":{"$ref":"#/components/schemas/SpaceType"}}},"AdminNodeListResponse":{"type":"object","properties":{"campusId":{"type":"integer","format":"int64"},"campusName":{"type":"string","example":"서강대학교"},"radiusMeter":{"type":"integer","nullable":true,"example":500},"totalNodeCount":{"type":"integer"},"onlineNodeCount":{"type":"integer","format":"int64"},"weakNodeCount":{"type":"integer","format":"int64"},"offlineNodeCount":{"type":"integer","format":"int64"},"activeAlertCount":{"type":"integer","format":"int64"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/AdminNodeSummaryResponse"}}}},"AdminNodeSummaryResponse":{"type":"object","properties":{"rank":{"type":"integer","example":1},"nodeId":{"type":"string","example":"node_01"},"spaceId":{"type":"integer","format":"int64","example":1},"spaceCode":{"type":"string","example":"K301"},"spaceName":{"type":"string","example":"301호"},"buildingName":{"type":"string","example":"김대건관"},"floorLabel":{"type":"string","nullable":true,"example":"3층"},"distanceMeter":{"type":"integer","nullable":true},"connectionStatus":{"$ref":"#/components/schemas/ConnectionStatus"},"temperature":{"type":"number","nullable":true,"example":24.3},"humidity":{"type":"number","nullable":true,"example":52.0},"co2Ppm":{"type":"integer","nullable":true,"example":842},"co2Summary":{"type":"string","nullable":true,"example":"보통"},"occupancyStatus":{"allOf":[{"$ref":"#/components/schemas/OccupancyStatus"}],"nullable":true},"occupancySummary":{"type":"string","nullable":true,"example":"있음"},"alertCount":{"type":"integer","format":"int64"},"lastUpdatedAt":{"type":"string","format":"date-time","nullable":true}}},"AdminNodeDetailResponse":{"type":"object","properties":{"nodeId":{"type":"string","example":"node_01"},"spaceId":{"type":"integer","format":"int64"},"spaceCode":{"type":"string","example":"K301"},"spaceName":{"type":"string","example":"301호"},"buildingName":{"type":"string","example":"김대건관"},"floorLabel":{"type":"string","nullable":true,"example":"3층"},"firmwareVersion":{"type":"string","nullable":true,"example":"v1.2.3"},"installedAt":{"type":"string","format":"date-time","nullable":true},"lastUpdatedAt":{"type":"string","format":"date-time","nullable":true},"connectionStatus":{"$ref":"#/components/schemas/ConnectionStatus"},"wifiRssi":{"type":"integer","nullable":true,"example":-45},"wifiRssiSummary":{"type":"string","nullable":true,"example":"강함"},"temperature":{"type":"number","nullable":true,"example":24.3},"temperatureSummary":{"type":"string","nullable":true,"example":"보통"},"humidity":{"type":"number","nullable":true,"example":52.0},"humiditySummary":{"type":"string","nullable":true,"example":"보통"},"co2Ppm":{"type":"integer","nullable":true,"example":842},"co2Summary":{"type":"string","nullable":true,"example":"보통"},"humanDetected":{"type":"boolean","nullable":true},"occupancyStatus":{"allOf":[{"$ref":"#/components/schemas/OccupancyStatus"}],"nullable":true},"occupancySummary":{"type":"string","nullable":true,"example":"현재 재실"},"comfortScore":{"type":"number","nullable":true,"example":82.0},"comfortSummary":{"type":"string","nullable":true,"example":"쾌적"},"alerts":{"type":"array","items":{"$ref":"#/components/schemas/AdminNodeAlertResponse"}}}},"AdminNodeAlertResponse":{"type":"object","properties":{"alertId":{"type":"integer","format":"int64"},"alertType":{"$ref":"#/components/schemas/AlertType"},"severity":{"$ref":"#/components/schemas/AlertSeverity"},"title":{"type":"string","example":"환기 권장"},"message":{"type":"string","nullable":true,"example":"최근 30분 동안 CO2가 상승했습니다."},"lastDetectedAt":{"type":"string","format":"date-time"}}},"AdminNodeRegistrationRequest":{"type":"object","required":["nodeId","spaceId"],"properties":{"nodeId":{"type":"string","maxLength":80,"example":"node_01","description":"MQTT topic의 실제 nodeId와 동일하게 저장합니다."},"spaceId":{"type":"integer","format":"int64","example":1},"hardwareVersion":{"type":"string","maxLength":50,"nullable":true,"example":"ESP32-C3"},"firmwareVersion":{"type":"string","maxLength":50,"nullable":true,"example":"v1.2.3"},"wifiRssi":{"type":"integer","minimum":-120,"maximum":0,"nullable":true,"example":-45}}},"AdminNodeRegistrationResponse":{"type":"object","properties":{"nodeId":{"type":"string","example":"node_01"},"spaceId":{"type":"integer","format":"int64"},"spaceCode":{"type":"string","example":"K301"},"spaceName":{"type":"string","example":"301호"},"buildingName":{"type":"string","example":"김대건관"},"installedAt":{"type":"string","format":"date-time"},"created":{"type":"boolean","description":"true면 새 등록, false면 같은 nodeId와 spaceId의 중복 등록 요청입니다."}}},"AdminNodeCo2TrendResponse":{"type":"object","properties":{"nodeId":{"type":"string","example":"node_01"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"window":{"type":"string","example":"5m"},"points":{"type":"array","items":{"$ref":"#/components/schemas/AdminNodeCo2TrendPointResponse"}}}},"AdminNodeCo2TrendPointResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"co2Ppm":{"type":"integer","nullable":true}}},"DailyDht22SummaryResponse":{"type":"object","properties":{"nodeId":{"type":"string","example":"node_01"},"date":{"type":"string","format":"date"},"peakTemperature":{"type":"number","nullable":true},"peakTemperatureTime":{"type":"string","format":"date-time","nullable":true},"averageTemperature":{"type":"number","nullable":true},"minTemperature":{"type":"number","nullable":true},"minTemperatureTime":{"type":"string","format":"date-time","nullable":true},"peakHumidity":{"type":"number","nullable":true},"peakHumidityTime":{"type":"string","format":"date-time","nullable":true},"averageHumidity":{"type":"number","nullable":true},"minHumidity":{"type":"number","nullable":true},"minHumidityTime":{"type":"string","format":"date-time","nullable":true}}},"Dht22RangeResponse":{"type":"object","properties":{"nodeId":{"type":"string","example":"node_01"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"measurements":{"type":"array","items":{"$ref":"#/components/schemas/Dht22MeasurementItem"}}}},"Dht22MeasurementItem":{"type":"object","properties":{"temperature":{"type":"number","nullable":true,"example":21.3},"humidity":{"type":"number","nullable":true,"example":61.8},"co2Ppm":{"type":"integer","nullable":true},"timestamp":{"type":"string","format":"date-time"}}},"ApiErrorResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"status":{"type":"integer"},"error":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"}}}}}}