import { FactStatus, LinkChannel, PlaceCategory, SiteStatus, SourceType, type FactEntry, type SitePayload, } from '@o2o/shared'; /** * 데모 payload — "달빛스테이 제주"(숙박). * * 백엔드 sites API 가 붙기 전까지 프리렌더와 개발 서버가 먹는 입력이다. * ★ 일부러 `pickup_service` 한 건을 UNVERIFIED 로 남겨 두었다. * 확인 안 된 값이 화면·JSON-LD·llms.txt 어디에도 안 나가는지 눈으로 확인하는 용도다. * 전부 VERIFIED 인 fixture 로는 그 규칙이 지켜지는지 알 수 없다. */ const UPDATED_AT = '2026-08-27T02:00:00+09:00'; /** fact 한 건을 짧게 만드는 헬퍼. 기본값은 "확인됨". */ function fact( key: string, label: string, value: string, options: Partial = {}, ): FactEntry { return { key, label, value, type: 'text', scope: 'place', status: FactStatus.VERIFIED, sourceType: SourceType.OWNER, critical: false, required: false, verifiedAt: UPDATED_AT, ...options, }; } const PLACE_FACTS: FactEntry[] = [ fact('check_in_time', '체크인 시간', '16:00', {type: 'time', critical: true, required: true}), fact('check_out_time', '체크아웃 시간', '11:00', {type: 'time', critical: true, required: true}), fact( 'cancel_policy', '취소·환불 규정', '이용일 10일 전 100% 환불, 7일 전 80%, 5일 전 50%, 3일 전 30%, 2일 전부터는 환불 불가', {critical: true, required: true, status: FactStatus.CORRECTED}, ), fact('cooking_allowed', '취사 가능', 'true', {type: 'bool', critical: true, required: true}), fact('pet_allowed', '반려동물 동반', 'false', {type: 'bool', critical: true, required: true}), fact('smoking', '흡연 가능', 'false', {type: 'bool', critical: true}), fact('parking', '주차 가능', 'true', {type: 'bool'}), fact('parking_capacity', '주차 대수', '4', {type: 'number', unit: '대'}), fact('wifi', '와이파이', 'true', {type: 'bool'}), fact('bbq_available', '바비큐 이용', 'false', {type: 'bool'}), fact('breakfast', '조식 제공', 'false', {type: 'bool'}), fact('baby_amenities', '유아용품 비치', 'true', {type: 'bool'}), fact('reception_hours', '문의 가능 시간', '09:00 ~ 21:00'), fact( 'extra_person_fee', '인원 추가 요금', '30000', {type: 'number', unit: '원', critical: true}, ), // ★ 확인 전 — 화면에도, JSON-LD 에도, llms.txt 에도 나오면 안 된다. fact('pickup_service', '픽업 서비스', 'true', { type: 'bool', status: FactStatus.UNVERIFIED, sourceType: SourceType.CRAWL, sourceUrl: 'https://example.com/listing/1234', verifiedAt: null, }), ]; function unitFact( key: string, label: string, value: string, unitId: string, options: Partial = {}, ): FactEntry { return fact(key, label, value, {...options, scope: 'unit', unitId}); } export const MOONLIGHT_STAY_PAYLOAD: SitePayload = { schemaVersion: 1, site: { siteId: 'demo-site-0001', placeId: 'demo-place-0001', status: SiteStatus.PUBLISHED, origin: 'https://moonlight-stay-jeju.web4ai.o2osolution.ai', basePath: '', slug: 'moonlight-stay-jeju', publishedAt: '2026-08-20T10:00:00+09:00', updatedAt: UPDATED_AT, version: 3, }, place: { name: '달빛스테이 제주', englishName: 'Moonlight Stay Jeju', category: PlaceCategory.LODGING, roadAddress: '제주특별자치도 제주시 애월읍 애월해안로 382-12', address: '제주특별자치도 제주시 애월읍 고내리 1108-4', addressRegion: '제주특별자치도', addressLocality: '제주시 애월읍', phone: '0507-1345-8821', email: 'contact@moonlightstay.kr', latitude: 33.4658, longitude: 126.3195, regionCode: '50110253', kakaoPlaceId: '1234567890', legal: { representative: '김달빛', businessRegistrationNumber: '618-24-99812', mailOrderNumber: '제2025-제주애월-0142호', licenseNumber: '제2024-0038호', licenseLabel: '농어촌민박 신고번호', }, }, facts: PLACE_FACTS, units: [ { unitId: 'unit-a', name: 'Moonlight A동', slug: 'moonlight-a', sortOrder: 1, mediaIds: ['m-a1', 'm-a2', 'm-a3'], facts: [ unitFact('room_type', '객실 타입', '독채형 빌라 (복층)', 'unit-a', {required: true}), unitFact('standard_capacity', '기준 인원', '2', 'unit-a', { type: 'number', unit: '명', critical: true, required: true, }), unitFact('max_capacity', '최대 인원', '4', 'unit-a', { type: 'number', unit: '명', critical: true, required: true, }), unitFact('bed_type', '침대 구성', '퀸 사이즈 1개 + 토퍼 1세트', 'unit-a'), unitFact('room_size', '객실 면적', '76', 'unit-a', {type: 'number', unit: '㎡'}), unitFact('has_kitchen', '주방 여부', 'true', 'unit-a', {type: 'bool', critical: true}), unitFact('view', '전망', '돌담 정원 뷰', 'unit-a'), unitFact('weekday_price', '주중 요금', '280000', 'unit-a', { type: 'number', unit: '원', critical: true, }), unitFact('weekend_price', '주말 요금', '350000', 'unit-a', { type: 'number', unit: '원', critical: true, }), unitFact( 'room_intro', '객실 소개', '높은 층고와 통창 너머로 애월의 돌담 풍경이 펼쳐지는 독채입니다. 뒷마당의 현무암 자쿠지에서 사계절 온수 스파를 이용할 수 있습니다.', 'unit-a', ), ], }, { unitId: 'unit-b', name: 'Starlight B동', slug: 'starlight-b', sortOrder: 2, mediaIds: ['m-b1', 'm-b2', 'm-b3'], facts: [ unitFact('room_type', '객실 타입', '독채형 빌라 (2층 테라스)', 'unit-b', {required: true}), unitFact('standard_capacity', '기준 인원', '2', 'unit-b', { type: 'number', unit: '명', critical: true, required: true, }), unitFact('max_capacity', '최대 인원', '4', 'unit-b', { type: 'number', unit: '명', critical: true, required: true, }), unitFact('bed_type', '침대 구성', '킹 사이즈 1개', 'unit-b'), unitFact('room_size', '객실 면적', '82', 'unit-b', {type: 'number', unit: '㎡'}), unitFact('has_kitchen', '주방 여부', 'true', 'unit-b', {type: 'bool', critical: true}), unitFact('view', '전망', '2층 루프탑 오션뷰', 'unit-b'), unitFact('weekday_price', '주중 요금', '300000', 'unit-b', { type: 'number', unit: '원', critical: true, }), unitFact('weekend_price', '주말 요금', '370000', 'unit-b', { type: 'number', unit: '원', critical: true, }), unitFact( 'room_intro', '객실 소개', '2층 테라스에서 애월 바다의 수평선과 일몰을 볼 수 있습니다. 아일랜드형 오픈 키친을 갖췄습니다.', 'unit-b', ), ], }, ], media: [ { mediaId: 'm-hero', url: 'https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=2000&q=85', alt: '달빛스테이 제주 독채 외관과 현무암 돌담 정원', category: '외관', caption: '제주 돌담에 둘러싸인 독채 전경', width: 2000, height: 1333, isPrimary: true, sourceType: SourceType.OWNER, }, { mediaId: 'm-about', url: 'https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=1200&q=80', alt: '목재 다도 테이블과 다기 세트가 놓인 실내 공간', category: '다도 공간', caption: '제주 유기농 녹차와 함께하는 티타임', width: 1200, height: 800, sourceType: SourceType.OWNER, }, { mediaId: 'm-a1', url: 'https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=1200&q=80', alt: 'Moonlight A동 거실과 통창 너머 돌담 풍경', category: '객실', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-a', }, { mediaId: 'm-a2', url: 'https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&w=1200&q=80', alt: 'Moonlight A동 퀸사이즈 침실과 간접 조명', category: '객실', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-a', }, { mediaId: 'm-a3', url: 'https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1200&q=80', alt: 'Moonlight A동 야외 현무암 노천 온수 자쿠지', category: '부대시설', caption: '사계절 온수 노천 자쿠지', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-a', }, { mediaId: 'm-b1', url: 'https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=1200&q=80', alt: 'Starlight B동 침실과 창밖 바다 전경', category: '객실', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-b', }, { mediaId: 'm-b2', url: 'https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1200&q=80', alt: 'Starlight B동 아일랜드 키친과 다이닝 테이블', category: '주방', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-b', }, { mediaId: 'm-b3', url: 'https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1200&q=80', alt: 'Starlight B동 2층 루프탑 테라스에서 본 일몰', category: '테라스', caption: '애월의 노을이 내려앉는 루프탑', width: 1200, height: 800, sourceType: SourceType.OWNER, unitId: 'unit-b', }, { mediaId: 'm-g1', url: 'https://images.unsplash.com/photo-1507089947368-19c1da9775ae?auto=format&fit=crop&w=1200&q=80', alt: '현무암 돌담으로 둘러싸인 독채 입구와 잔디 마당', category: '외관 및 정원', caption: '돌담과 단독 잔디 정원', width: 1200, height: 800, sourceType: SourceType.OWNER, }, { mediaId: 'm-g2', url: 'https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1200&q=80', alt: '야간 조명이 켜진 잔디 정원', category: '야경', caption: '해가 지면 켜지는 정원 조명', width: 1200, height: 800, sourceType: SourceType.OWNER, }, ], faqs: [ { faqId: 'faq-1', question: '체크인과 체크아웃 시간은 어떻게 되나요?', answer: '체크인은 16:00부터, 체크아웃은 11:00까지입니다. 비대면 도어락 비밀번호는 입실 당일 11:00에 예약자 휴대폰으로 발송됩니다.', status: FactStatus.VERIFIED, sourceType: SourceType.OWNER, sortOrder: 1, }, { faqId: 'faq-2', question: '객실 내 취사가 가능한가요?', answer: '인덕션·전자레인지·조리도구를 이용한 조리가 가능합니다. 다만 실내에서 고기나 생선을 굽는 조리는 불가하며, 야외 바비큐 시설은 운영하지 않습니다.', status: FactStatus.CORRECTED, sourceType: SourceType.OWNER, sortOrder: 2, }, { faqId: 'faq-3', question: '주차는 몇 대까지 가능한가요?', answer: '객실동별 전용 주차공간에 2대씩, 총 4대까지 무료로 주차하실 수 있습니다.', status: FactStatus.VERIFIED, sourceType: SourceType.OWNER, sortOrder: 3, }, { faqId: 'faq-4', question: '반려동물 동반 입실이 가능한가요?', answer: '반려동물 동반 입실은 불가합니다. 알레르기 예방과 객실 청결 유지를 위한 방침입니다.', status: FactStatus.VERIFIED, sourceType: SourceType.OWNER, sortOrder: 4, }, { faqId: 'faq-5', question: '기준 인원을 넘으면 추가 요금이 있나요?', answer: '기준 2인 초과 시 1인당 1박 30,000원의 추가 요금이 있으며 침구가 제공됩니다.', status: FactStatus.VERIFIED, sourceType: SourceType.OWNER, sortOrder: 5, }, { faqId: 'faq-6', question: '예약 취소 및 환불 규정은 어떻게 되나요?', answer: '이용일 10일 전 취소 시 100% 환불, 7일 전 80%, 5일 전 50%, 3일 전 30% 환불되며, 2일 전부터 당일 취소는 환불이 불가합니다.', status: FactStatus.CORRECTED, sourceType: SourceType.OWNER, sortOrder: 6, }, ], links: [ { channel: LinkChannel.NAVER_PLACE, url: 'https://m.place.naver.com/accommodation/1234567890', title: '네이버 플레이스', confirmed: true, }, { channel: LinkChannel.INSTAGRAM, url: 'https://instagram.com/moonlightstay.jeju', title: '공식 인스타그램', confirmed: true, }, { // ★ 확정 전 — sameAs 와 푸터 어디에도 나오면 안 된다. channel: LinkChannel.YANOLJA, url: 'https://www.yanolja.com/pension/0000000', title: '야놀자', confirmed: false, }, ], local: { syncedAt: '2026-08-26T08:00:00+09:00', weather: { temperature: 26.4, condition: '맑음', note: '맑고 바람이 약해 해안 산책로를 걷기 좋은 날씨입니다.', observedAt: '2026-08-27T09:00:00+09:00', }, restaurants: [ { name: '닻', category: '해산물 · 이자카야', distanceText: '450m', durationText: '도보 6분', description: '숙성 딱새우 사시미와 뿔소라 버터구이를 내는 애월의 심야 식당', searchQuery: '애월 닻', }, { name: '우니담 애월본점', category: '성게 · 솥밥', distanceText: '1.2km', durationText: '차량 3분', description: '성게미역국과 성게비빔밥을 내는 바다 전망 한식당', searchQuery: '애월 우니담', }, { name: '해월정 애월직영점', category: '보말칼국수', distanceText: '2.1km', durationText: '차량 5분', description: '보말 육수로 끓인 칼국수와 죽을 내는 아침·점심 식당', searchQuery: '애월 해월정', }, ], attractions: [ { name: '한담해변 산책로', category: '해안 산책로', distanceText: '2.0km', durationText: '차량 5분 / 도보 25분', description: '바다를 끼고 이어지는 제주 서쪽 해안 산책길', searchQuery: '한담해안산책로', }, { name: '곽지해수욕장', category: '해수욕장', distanceText: '3.5km', durationText: '차량 7분', description: '수심이 얕고 천연 용천수 노천탕이 있는 백사장', searchQuery: '곽지해수욕장', }, { name: '새별오름', category: '오름', distanceText: '11km', durationText: '차량 18분', description: '가을 억새로 알려진 완만한 능선의 기생화산', searchQuery: '제주 새별오름', }, ], festivals: [ { month: '10월', name: '제주 올레걷기축제', period: '2026.10.15 ~ 2026.10.17', location: '제주 올레길 15~16코스', description: '올레길을 걸으며 참여하는 제주의 가을 축제', searchQuery: '제주 올레걷기축제', }, { month: '11월', name: '제주 감귤 박람회', period: '2026.11.20 ~ 2026.11.24', location: '서귀포 농업기술센터 일원', description: '감귤 수확 체험과 농수산물 직거래 행사', searchQuery: '제주 감귤 박람회', }, ], }, routes: [ { destination: '제주국제공항', byCar: '약 32분', byTransit: '약 55분 (급행 102번)', distanceText: '19.5km', note: '공항로 · 애월해안로 경유', }, { destination: '애월 한담해변', byCar: '약 4분', byTransit: '도보 약 20분', distanceText: '1.9km', note: '해안 산책로 연결', }, { destination: '곽지해수욕장', byCar: '약 7분', byTransit: '도보 약 35분', distanceText: '3.4km', }, { destination: '협재해수욕장', byCar: '약 16분', byTransit: '버스 약 30분 (간선 202번)', distanceText: '11.8km', }, ], narrative: { heroHeadline: '바람과 돌담이 품은 고요', heroSubline: '제주 자연의 질감이 머무는 독채 스테이', tagline: '하루 두 팀만 머무는, 애월의 프라이빗 독채', summary: '제주시 애월읍에 있는 달빛스테이 제주입니다. 독채 2동을 운영하며 체크인 16:00, 체크아웃 11:00입니다. 반려동물 동반은 불가하고, 주차는 4대까지 무료입니다.', about: [ '달빛스테이 제주는 제주의 현무암 돌담과 편백나무를 그대로 살려 지은 독채 숙소입니다.', '애월 해안도로에서 한 블록 안쪽 마을 골목에 있어, 파도 소리와 밤하늘을 조용히 누릴 수 있습니다.', '하루에 두 팀만 받으며, 각 동마다 독립된 마당과 야외 자쿠지, 다도 공간이 따로 있습니다.', ], }, theme: { templateId: 'stay-warm-wood', colors: { primary: '#43302b', secondary: '#786055', bg: '#faf8f5', card: '#f2ece4', text: '#29201d', accent: '#c27847', }, fontStyle: 'Warm Natural', sections: [ {id: 'hero', name: '히어로', enabled: true, locked: true}, {id: 'intro', name: '소개', enabled: true, locked: false}, {id: 'rooms', name: '객실 안내', enabled: true, locked: false}, {id: 'info', name: '기본 정보', enabled: true, locked: true}, {id: 'photos', name: '사진 갤러리', enabled: true, locked: false}, {id: 'weather', name: '날씨', enabled: true, locked: false}, {id: 'local', name: '지역 정보', enabled: true, locked: false}, {id: 'map', name: '오시는 길', enabled: true, locked: true}, {id: 'faq', name: 'FAQ', enabled: true, locked: false}, ], }, };