حالات الاستخدام
تعرض حالات الاستخدام التالية أمثلة شائعة على كيفية استخدام المخطط 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
لتوسيع الحجز
الاسم | النوع | الوصف |
---|---|---|
وكيل الحجز | Organization أو Person | وكيل أو وكالة حجز. تقبل أيضًا سلسلة (مثل ""). |
BookingAgent.name | Text | اسم الوكيل/الخدمة |
Agentagent.url | URL | الموقع الإلكتروني للوكيل/الخدمة |
الحجز | DateTime | تاريخ إجراء الحجز. |
cancelReservationUrl | URL | صفحة ويب يمكن فيها إلغاء الحجز. |
checkinUrl | URL | صفحة ويب حيث يمكن للراكب تسجيل الوصول. |
confirmReservationUrl | URL | صفحة ويب يمكن فيها تأكيد الحجز. |
dropoffLocation (مطلوبة) |
AutoRental أو Place | مكان إرجاع السيارة. |
dropoffLocation.address (مطلوبة) |
العنوان البريدي | عنوان موقع التسليم. |
dropoffLocation.address.addressCountry (مطلوبة) |
Text أو Country | بلد موقع التسليم. |
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 | (يُنصح بهذا الخيار لبطاقات التأكيد/الإجابات عند البحث) وقت آخر تعديل للحجز. |
modifyReservationUrl | URL | (مُقترَح لبطاقات التأكيد/الإجابات عند البحث) صفحة ويب حيث يمكن تعديل الحجز. |
pickupLocation (مطلوبة) |
AutoRental أو Place | مكان استلام السيارة. |
pickupLocation.address (مطلوبة) |
العنوان البريدي | عنوان موقع الاستلام. |
pickupLocation.address.addressCountry (مطلوبة) |
Text أو Country | بلد مكان استلام الطلب |
pickupLocation.address.addressLocality (حقل مطلوب) |
Text | المنطقة المحلية (على سبيل المثال المدينة) لموقع الاستلام. |
pickupLocation.address.addressRegion (مطلوبة) |
Text | المنطقة (على سبيل المثال الولاية) من موقع الاستلام. |
pickupLocation.address.postalCode (حقل مطلوب) |
Text | الرمز البريدي لموقع الاستلام. |
pickupLocation.address.streetAddress (حقل مطلوب) |
Text | عنوان الشارع لموقع الاستلام. |
pickupLocation.name (مطلوبة) |
Text | اسم موقع الاستلام. |
pickupLocation.الهاتف | Text | (موصى به لبطاقات التأكيد/إجابات البحث) رقم الهاتف للمكان. |
pickupTime (مطلوبة) |
DateTime | عند استلام السيارة. |
potentialAction (مطلوبة) |
CheckInAction أو ConfirmAction أو CancelAction أو | الإجراءات المتاحة لـ تأجير CarCarReservation. |
price | Text | السعر الإجمالي لـ تأجير سيارة. |
priceCurrency | Text | العملة (بالتنسيق ISO 4217 المُكوَن من 3 أحرف) لسعر التأجيرCarReservation. |
programmember | عضوية البرنامج | أي اشتراك في برنامج مسافر دائم أو برنامج ولاء الفندق أو غير ذلك يتم تطبيقه على الحجز. |
programMember.memberNumber | Text | معرّف الاشتراك. |
programMember.البرنامج | Text | اسم البرنامج |
reservationFor (مطلوبة) |
السيارة المحجوزة. | |
BookingFor.brand (مطلوبة) |
العلامة التجارية | العلامة التجارية المرتبطة بـ تأجير السيارات. |
BookingFor.brand.name (مطلوبة) |
Text | اسم العلامة التجارية. |
BookingFor.description | Text | وصف موجز لـ CarCar. |
BookingFor.النموذج (مطلوب) |
Text | طراز السيارة المستأجرة. |
ReserveFor.name (مطلوبة) |
Text | اسم سيارة التأجير. |
BookingFor.rentalCompany (مطلوبة) |
المؤسسة | الشركة التي تستأجر السيارة. تقبل أيضًا سلسلة (مثل "Hertz"). |
BookingFor.rentalCompany.name (مطلوبة) |
Text | اسم شركة التأجير. |
reservationNumber (مطلوبة) |
Text | رقم أو معرّف الحجز. |
reservationStatus (مطلوبة) |
حالة الحجز | الحالة الحالية للحجز. |
underName (مطلوبة) |
Organization أو Person | السائق. |
UnderName.البريد الإلكتروني | Text | عنوان البريد الإلكتروني. |
UnderName.name (مطلوبة) |
Text | اسم الشخص. |
url | URL | صفحة ويب حيث يمكن عرض الحجز. |