사용 사례
다음 사용 사례는 RentalCarReservation 스키마가 사용되는 일반적인 예를 보여줍니다. 이 예시를 사용하여 마크업이 올바르게 구조화되었는지 확인하세요.
기본 예약 확인
자동차 렌트 예약 확인을 보낼 때 이메일에 다음 마크업을 삽입합니다.
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "RentalCarReservation",
"reservationNumber": "546323",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationFor": {
"@type": "RentalCar",
"name": "Economy Class Car",
"model": "Civic",
"brand": {
"@type": "Brand",
"name": "Honda"
},
"rentalCompany": {
"@type": "Organization",
"name": "Hertz"
}
},
"pickupLocation": {
"@type": "Place",
"name": "Hertz San Diego Airport",
"address": {
"@type": "PostalAddress",
"streetAddress": "1500 Orange Avenue",
"addressLocality": "San Diego",
"addressRegion": "CA",
"postalCode": "94043",
"addressCountry": "US"
}
},
"pickupTime": "2027-08-05T16:00:00-07:00",
"dropoffLocation": {
"@type": "Place",
"name": "Hertz LAX",
"address": {
"@type": "PostalAddress",
"streetAddress": "1234 First Street",
"addressLocality": "Los Angeles",
"addressRegion": "CA",
"postalCode": "94043",
"addressCountry": "US"
}
},
"potentialAction": {
"@type": "ConfirmAction",
"target": "http://cheapcar.com/confirm?id=546323"
},
"dropoffTime": "2027-08-06T20:00:00-07:00"
}
</script>
마이크로데이터
<div itemscope itemtype="http://schema.org/RentalCarReservation">
<meta itemprop="reservationNumber" content="546323"/>
<link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Smith"/>
</div>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/RentalCar">
<meta itemprop="name" content="Economy Class Car"/>
<meta itemprop="model" content="Civic"/>
<div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
<meta itemprop="name" content="Honda"/>
</div>
<div itemprop="rentalCompany" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Hertz"/>
</div>
</div>
<div itemprop="pickupLocation" itemscope itemtype="http://schema.org/Place">
<meta itemprop="name" content="Hertz San Diego Airport"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="1500 Orange Avenue"/>
<meta itemprop="addressLocality" content="San Diego"/>
<meta itemprop="addressRegion" content="CA"/>
<meta itemprop="postalCode" content="94043"/>
<meta itemprop="addressCountry" content="US"/>
</div>
</div>
<meta itemprop="pickupTime" content="2027-08-05T16:00:00-07:00"/>
<div itemprop="dropoffLocation" itemscope itemtype="http://schema.org/Place">
<meta itemprop="name" content="Hertz LAX"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="1234 First Street"/>
<meta itemprop="addressLocality" content="Los Angeles"/>
<meta itemprop="addressRegion" content="CA"/>
<meta itemprop="postalCode" content="94043"/>
<meta itemprop="addressCountry" content="US"/>
</div>
</div>
<meta itemprop="dropoffTime" content="2027-08-06T20:00:00-07:00"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
<link itemprop="target" href="http://cheapcar.com/confirm?id=546323"/>
</div>
</div>
지원되는 모든 필드가 포함된 예
참고로 지원되는 모든 필드가 입력된 예는 다음과 같습니다.
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "RentalCarReservation",
"reservationNumber": "546323",
"reservationStatus": "http://schema.org/Confirmed",
"url": "http://carrentals.com/view/546323",
"underName": {
"@type": "Person",
"name": "John Smith",
"email": "john@mail.com"
},
"programMembership": {
"@type": "ProgramMembership",
"memberNumber": "1234567",
"program": "AAA"
},
"bookingAgent": {
"@type": "Organization",
"name": "Car Rentals Internationaly",
"url": "http://carrentals.com/"
},
"bookingTime": "2027-01-14T13:05:00-05:00",
"modifiedTime": "2027-03-14T13:05:00-05:00",
"confirmReservationUrl": "http://carrentals.com/confirm?id=546323",
"cancelReservationUrl": "http://carrentals.com/cancel?id=546323",
"checkinUrl": "http://carrentals.com/checkin?id=546323",
"modifyReservationUrl": "http://carrentals.com/edit?id=546323",
"potentialAction": [
{
"@type": "ConfirmAction",
"target": "http://carrentals.com/confirm?id=546323"
},
{
"@type": "CancelAction",
"target": "http://carrentals.com/cancel?id=546323"
},
{
"@type": "EditAction",
"target": "http://carrentals.com/edit?id=546323"
},
{
"@type": "CheckInAction",
"target": "http://carrentals.com/checkin?id=546323"
}
],
"reservationFor": {
"@type": "RentalCar",
"name": "Economy Class Car",
"model": "Civic",
"brand": {
"@type": "Brand",
"name": "Honda"
},
"description": "Sedan 4 Door, 5 Seatbelts, Automatic transmission",
"rentalCompany": {
"@type": "Organization",
"name": "Hertz"
}
},
"pickupLocation": {
"@type": "Place",
"name": "Hertz San Diego Airport",
"address": {
"@type": "PostalAddress",
"streetAddress": "1500 Orange Avenue",
"addressLocality": "San Diego",
"addressRegion": "CA",
"postalCode": "94043",
"addressCountry": "US"
},
"telephone": "+1-800-123-4567"
},
"pickupTime": "2027-08-05T16:00:00-07:00",
"dropoffLocation": {
"@type": "Place",
"name": "Hertz LAX",
"address": {
"@type": "PostalAddress",
"streetAddress": "1234 First Street",
"addressLocality": "Los Angeles",
"addressRegion": "CA",
"postalCode": "94043",
"addressCountry": "US"
},
"telephone": "+1-800-123-4567"
},
"dropoffTime": "2027-08-06T20:00:00-07:00",
"price": "119.00",
"priceCurrency": "USD"
}
</script>
마이크로데이터
<div itemscope itemtype="http://schema.org/RentalCarReservation">
<meta itemprop="reservationNumber" content="546323"/>
<link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
<link itemprop="url" href="http://carrentals.com/view/546323"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Smith"/>
<meta itemprop="email" content="john@mail.com"/>
</div>
<div itemprop="programMembership" itemscope itemtype="http://schema.org/ProgramMembership">
<meta itemprop="memberNumber" content="1234567"/>
<meta itemprop="program" content="AAA"/>
</div>
<div itemprop="bookingAgent" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Car Rentals Internationaly"/>
<link itemprop="url" href="http://carrentals.com/"/>
</div>
<meta itemprop="bookingTime" content="2027-01-14T13:05:00-05:00"/>
<meta itemprop="modifiedTime" content="2027-03-14T13:05:00-05:00"/>
<link itemprop="confirmReservationUrl" href="http://carrentals.com/confirm?id=546323"/>
<link itemprop="cancelReservationUrl" href="http://carrentals.com/cancel?id=546323"/>
<link itemprop="modifyReservationUrl" href="http://carrentals.com/edit?id=546323"/>
<link itemprop="checkinUrl" href="http://carrentals.com/checkin?id=546323"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
<link itemprop="target" href="http://carrentals.com/confirm?id=546323"/>
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/CancelAction">
<link itemprop="target" href="http://carrentals.com/cancel?id=546323"/>
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/EditAction">
<link itemprop="target" href="http://carrentals.com/edit?id=546323"/>
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/CheckInAction">
<link itemprop="target" href="http://carrentals.com/checkin?id=546323"/>
</div>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/RentalCar">
<meta itemprop="name" content="Economy Class Car"/>
<meta itemprop="model" content="Civic"/>
<div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
<meta itemprop="name" content="Honda"/>
</div>
<meta itemprop="description" content="Sedan 4 Door, 5 Seatbelts, Automatic transmission"/>
<div itemprop="rentalCompany" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Hertz"/>
</div>
</div>
<div itemprop="pickupLocation" itemscope itemtype="http://schema.org/Place">
<meta itemprop="name" content="Hertz San Diego Airport"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="1500 Orange Avenue"/>
<meta itemprop="addressLocality" content="San Diego"/>
<meta itemprop="addressRegion" content="CA"/>
<meta itemprop="postalCode" content="94043"/>
<meta itemprop="addressCountry" content="US"/>
</div>
<meta itemprop="telephone" content="+1-800-123-4567"/>
</div>
<meta itemprop="pickupTime" content="2027-08-05T16:00:00-07:00"/>
<div itemprop="dropoffLocation" itemscope itemtype="http://schema.org/Place">
<meta itemprop="name" content="Hertz LAX"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="1234 First Street"/>
<meta itemprop="addressLocality" content="Los Angeles"/>
<meta itemprop="addressRegion" content="CA"/>
<meta itemprop="postalCode" content="94043"/>
<meta itemprop="addressCountry" content="US"/>
</div>
<meta itemprop="telephone" content="+1-800-123-4567"/>
</div>
<meta itemprop="dropoffTime" content="2027-08-06T20:00:00-07:00"/>
<meta itemprop="price" content="119.00"/>
<meta itemprop="priceCurrency" content="USD"/>
</div>
마크업 테스트
이메일 마크업 테스터 도구를 사용하여 마크업의 유효성을 검사할 수 있습니다. 마크업 코드를 붙여넣고 유효성 검사 버튼을 클릭하여 콘텐츠를 스캔하고 오류가 있는 경우 보고서를 받습니다.
사양
이메일의 세부정보를 검토하여 이러한 속성이 예약에 적용되는지 확인하세요. 이러한 추가 속성을 마크업하면 Google에서 사용자에게 훨씬 더 풍부한 예약 설명을 표시할 수 있습니다.
RentalCarReservation
유형 이름: RentalCarReservation
Reservation을 확장합니다.
| 이름 | 유형 | 설명 |
|---|---|---|
| bookingAgent | Organization 또는 Person | 예약 대행사 또는 대행사 문자열('' 등)도 허용됩니다. |
| bookingAgent.name | 텍스트 | 에이전트/서비스의 이름입니다. |
| bookingAgent.url | URL | 상담사/서비스의 웹사이트입니다. |
| bookingTime | DateTime | 예약이 이루어진 날짜입니다. |
| cancelReservationUrl | URL | 예약을 취소할 수 있는 웹페이지입니다. |
| checkinUrl | URL | 승객이 체크인할 수 있는 웹페이지입니다. |
| confirmReservationUrl | URL | 예약을 확인할 수 있는 웹페이지입니다. |
| dropoffLocation (필수) |
AutoRental 또는 Place | 차량을 반납하는 위치입니다. |
| dropoffLocation.address (필수) |
PostalAddress | 하차 위치의 주소입니다. |
| dropoffLocation.address.addressCountry (필수) |
Text 또는 Country | 반납 위치의 국가입니다. |
| dropoffLocation.address.addressLocality (필수) |
텍스트 | 하차 위치의 지역 (예: 도시)입니다. |
| dropoffLocation.address.addressRegion (필수) |
텍스트 | 하차 위치의 지역 (예: 주)입니다. |
| dropoffLocation.address.postalCode (필수) |
텍스트 | 하차 위치의 우편번호입니다. |
| dropoffLocation.address.streetAddress (필수) |
텍스트 | 하차 위치의 상세 주소입니다. |
| dropoffLocation.name (필수) |
텍스트 | 하차 위치 이름입니다. |
| dropoffLocation.telephone | 텍스트 | (확인 카드/검색 답변에 권장) 장소의 전화번호입니다. |
| dropoffTime (필수) |
DateTime | 차량을 반납한 경우 |
| modifiedTime | DateTime | (확인 카드/검색 답변에 권장) 예약이 마지막으로 수정된 시간입니다. |
| modifyReservationUrl | URL | (확인 카드/검색 답변에 권장) 예약이 수정될 수 있는 웹페이지입니다. |
| pickupLocation (필수) |
AutoRental 또는 Place | 차량을 수령하는 위치입니다. |
| pickupLocation.address (필수) |
PostalAddress | 승차 위치의 주소입니다. |
| pickupLocation.address.addressCountry (필수) |
Text 또는 Country | 수령 위치의 국가입니다. |
| pickupLocation.address.addressLocality (필수) |
텍스트 | 수령 위치의 지역 (예: 도시)입니다. |
| pickupLocation.address.addressRegion (필수) |
텍스트 | 승차 위치의 지역 (예: 주)입니다. |
| pickupLocation.address.postalCode (필수) |
텍스트 | 승차 위치의 우편번호입니다. |
| pickupLocation.address.streetAddress (필수) |
텍스트 | 수령 위치의 상세 주소입니다. |
| pickupLocation.name (필수) |
텍스트 | 승차 위치 이름입니다. |
| pickupLocation.telephone | 텍스트 | (확인 카드/검색 답변에 권장) 장소의 전화번호입니다. |
| pickupTime (필수) |
DateTime | 차량을 수령한 시간 |
| potentialAction (필수) |
CheckInAction, ConfirmAction, CancelAction 또는 | RentalCarReservation에 지원되는 작업입니다. |
| price | 텍스트 | RentalCarReservation의 총 가격입니다. |
| priceCurrency | 텍스트 | RentalCarReservation의 가격 통화입니다 (3글자 ISO 4217 형식). |
| programMembership | ProgramMembership | 예약에 적용되는 항공사 멤버십, 호텔 포인트 멤버십 등의 멤버십 |
| programMembership.memberNumber | 텍스트 | 멤버십의 식별자입니다. |
| programMembership.program | 텍스트 | 프로그램의 이름입니다. |
| reservationFor (필수) |
예약된 자동차입니다. | |
| reservationFor.brand (필수) |
브랜드 | RentalCar와 연결된 브랜드입니다. |
| reservationFor.brand.name (필수) |
텍스트 | 브랜드 이름입니다. |
| reservationFor.description | 텍스트 | RentalCar에 대한 간단한 설명입니다. |
| reservationFor.model (필수) |
텍스트 | RentalCar의 모델입니다. |
| reservationFor.name (필수) |
텍스트 | 렌터카의 이름입니다. |
| reservationFor.rentalCompany (필수) |
조직 | 자동차를 렌트하는 회사입니다. 문자열 (예: 'Hertz')도 허용됩니다. |
| reservationFor.rentalCompany.name (필수) |
텍스트 | 렌터카 회사의 이름입니다. |
| reservationNumber (필수) |
텍스트 | 예약 번호 또는 ID입니다. |
| reservationStatus (필수) |
ReservationStatus | 예약의 현재 상태입니다. |
| underName (필수) |
Organization 또는 Person | 드라이버 |
| underName.email | 텍스트 | 이메일 주소 |
| underName.name (필수) |
텍스트 | 사람 이름입니다. |
| url | URL | 예약을 볼 수 있는 웹페이지입니다. |