حالات الاستخدام
تعرض حالات الاستخدام التالية أمثلة شائعة على كيفية استخدام مخطط 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 | Text | اسم الوكيل أو الخدمة |
| bookingAgent.url | URL | تمثّل هذه السمة الموقع الإلكتروني للوكيل أو الخدمة. |
| bookingTime | DateTime | تاريخ إجراء الحجز |
| cancelReservationUrl | URL | صفحة الويب التي يمكن إلغاء الحجز فيها |
| checkinUrl | URL | صفحة الويب التي يمكن للمسافر تسجيل الوصول فيها |
| confirmReservationUrl | URL | صفحة الويب التي يمكن تأكيد الحجز فيها |
| dropoffLocation (مطلوبة) |
AutoRental أو Place | مكان تسليم السيارة |
| dropoffLocation.address (مطلوبة) |
PostalAddress | تمثّل هذه السمة عنوان الموقع الجغرافي للتسليم. |
| dropoffLocation.address.addressCountry (مطلوبة) |
نص أو بلد | بلد موقع التسليم |
| dropoffLocation.address.addressLocality (مطلوبة) |
Text | المنطقة (مثل المدينة) التي يقع فيها موقع التسليم |
| dropoffLocation.address.addressRegion (مطلوبة) |
Text | منطقة (مثل الولاية) موقع التسليم |
| dropoffLocation.address.postalCode (مطلوب) |
Text | الرمز البريدي لموقع التسليم |
| dropoffLocation.address.streetAddress (مطلوبة) |
Text | تمثّل هذه السمة عنوان الشارع للموقع الجغرافي للتسليم. |
| dropoffLocation.name (مطلوبة) |
Text | اسم الموقع الجغرافي للتسليم |
| dropoffLocation.telephone | Text | (يُنصح به لبطاقات التأكيد/إجابات البحث) رقم هاتف المكان |
| dropoffTime (مطلوب) |
DateTime | عند إعادة السيارة |
| modifiedTime | DateTime | (يُنصح به لبطاقات التأكيد/إجابات "بحث Google") الوقت الذي تم فيه إجراء آخر تعديل على الحجز. |
| modifyReservationUrl | URL | (يُنصح به لبطاقات التأكيد/إجابات البحث) صفحة ويب يمكن فيها تعديل الحجز. |
| pickupLocation (مطلوبة) |
AutoRental أو Place | مكان استلام السيارة |
| pickupLocation.address (مطلوبة) |
PostalAddress | تمثّل هذه السمة عنوان الموقع الجغرافي لاستلام الطلب. |
| pickupLocation.address.addressCountry (مطلوبة) |
نص أو بلد | بلد الموقع الجغرافي لاستلام الطلب |
| pickupLocation.address.addressLocality (مطلوبة) |
Text | المنطقة (مثل المدينة) التي يقع فيها الموقع الجغرافي لاستلام الطلب |
| pickupLocation.address.addressRegion (مطلوبة) |
Text | المنطقة (مثل الولاية) التي سيتم استلام الطلب فيها |
| pickupLocation.address.postalCode (مطلوبة) |
Text | الرمز البريدي لموقع استلام الطلب |
| pickupLocation.address.streetAddress (مطلوبة) |
Text | تمثّل هذه السمة عنوان الشارع للموقع الجغرافي لاستلام الطلب. |
| pickupLocation.name (مطلوب) |
Text | اسم الموقع الجغرافي لاستلام الطلب |
| pickupLocation.telephone | Text | (يُنصح به لبطاقات التأكيد/إجابات البحث) رقم هاتف المكان |
| pickupTime (مطلوبة) |
DateTime | عند استلام السيارة |
| potentialAction (مطلوبة) |
CheckInAction أو ConfirmAction أو CancelAction | الإجراءات المتاحة لنوع RentalCarReservation |
| price | Text | تمثّل هذه السمة السعر الإجمالي لـ RentalCarReservation. |
| priceCurrency | Text | تمثّل هذه السمة عملة سعر حجز السيارة المستأجرة (بالتنسيق ISO 4217 المُكوَن من 3 أحرف). |
| programMembership | ProgramMembership | أي اشتراك في برنامج المسافر الدائم أو برنامج ولاء الفنادق أو غير ذلك يتم تطبيقه على الحجز |
| programMembership.memberNumber | Text | معرّف الاشتراك |
| programMembership.program | Text | اسم البرنامج |
| reservationFor (مطلوبة) |
السيارة المحجوزة | |
| reservationFor.brand (مطلوبة) |
العلامة التجارية | تمثّل هذه السمة العلامة التجارية المرتبطة بالسيارة المستأجرة. |
| reservationFor.brand.name (مطلوبة) |
Text | اسم العلامة التجارية |
| reservationFor.description | Text | تمثّل هذه السمة وصفًا موجزًا لخدمة RentalCar. |
| reservationFor.model (مطلوبة) |
Text | تمثّل هذه السمة طراز السيارة المستأجرة. |
| reservationFor.name (مطلوبة) |
Text | تمثّل هذه السمة اسم شركة تأجير السيارات. |
| reservationFor.rentalCompany (مطلوبة) |
المؤسسة | الشركة التي تستأجر السيارة تقبل هذه السمة أيضًا سلسلة (مثل "هيرتز"). |
| reservationFor.rentalCompany.name (مطلوبة) |
Text | تمثّل هذه السمة اسم شركة تأجير السيارات. |
| reservationNumber (مطلوبة) |
Text | رقم الحجز أو معرّفه |
| reservationStatus (مطلوبة) |
ReservationStatus | الحالة الحالية للحجز |
| underName (مطلوبة) |
Organization أو Person | السائق |
| underName.email | Text | عنوان البريد الإلكتروني |
| underName.name (مطلوبة) |
Text | اسم الشخص |
| url | URL | صفحة الويب التي يمكن عرض الحجز فيها |