airbnb · JSON-LD Context

Airbnb Context

JSON-LD context defining the semantic vocabulary for Airbnb from airbnb.

0 Classes 34 Properties 3 Namespaces
View Context View on GitHub

Namespaces

xsd: http://www.w3.org/2001/XMLSchema#
schema: https://schema.org/
airbnb: https://raw.githubusercontent.com/api-evangelist/airbnb/refs/heads/main/json-schema/

Properties

Property Type Container
Listing
id
name string
description string
property_type string
bedrooms integer
max_guests integer
base_price decimal
currency string
status string
Reservation
check_in date
check_out date
guests integer
total_price decimal
Experience
duration_hours decimal
price_per_person decimal
Guest
first_name string
last_name string
email string
Review
rating integer
body string
Address
street string
city string
state string
country string
latitude decimal
longitude decimal
created_at dateTime
updated_at dateTime

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "schema": "https://schema.org/",
    "airbnb": "https://raw.githubusercontent.com/api-evangelist/airbnb/refs/heads/main/json-schema/",
    "Listing": {
      "@id": "schema:LodgingBusiness"
    },
    "id": {
      "@id": "@id"
    },
    "name": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "schema:description",
      "@type": "xsd:string"
    },
    "property_type": {
      "@id": "schema:additionalType",
      "@type": "xsd:string"
    },
    "bedrooms": {
      "@id": "schema:numberOfRooms",
      "@type": "xsd:integer"
    },
    "max_guests": {
      "@id": "schema:maximumAttendeeCapacity",
      "@type": "xsd:integer"
    },
    "base_price": {
      "@id": "schema:price",
      "@type": "xsd:decimal"
    },
    "currency": {
      "@id": "schema:priceCurrency",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "schema:itemCondition",
      "@type": "xsd:string"
    },
    "Reservation": {
      "@id": "schema:LodgingReservation"
    },
    "check_in": {
      "@id": "schema:checkinTime",
      "@type": "xsd:date"
    },
    "check_out": {
      "@id": "schema:checkoutTime",
      "@type": "xsd:date"
    },
    "guests": {
      "@id": "schema:partySize",
      "@type": "xsd:integer"
    },
    "total_price": {
      "@id": "schema:price",
      "@type": "xsd:decimal"
    },
    "Experience": {
      "@id": "schema:Event"
    },
    "duration_hours": {
      "@id": "schema:duration",
      "@type": "xsd:decimal"
    },
    "price_per_person": {
      "@id": "schema:price",
      "@type": "xsd:decimal"
    },
    "Guest": {
      "@id": "schema:Person"
    },
    "first_name": {
      "@id": "schema:givenName",
      "@type": "xsd:string"
    },
    "last_name": {
      "@id": "schema:familyName",
      "@type": "xsd:string"
    },
    "email": {
      "@id": "schema:email",
      "@type": "xsd:string"
    },
    "Review": {
      "@id": "schema:Review"
    },
    "rating": {
      "@id": "schema:ratingValue",
      "@type": "xsd:integer"
    },
    "body": {
      "@id": "schema:reviewBody",
      "@type": "xsd:string"
    },
    "Address": {
      "@id": "schema:PostalAddress"
    },
    "street": {
      "@id": "schema:streetAddress",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "schema:addressLocality",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "schema:addressRegion",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "schema:addressCountry",
      "@type": "xsd:string"
    },
    "latitude": {
      "@id": "schema:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "schema:longitude",
      "@type": "xsd:decimal"
    },
    "created_at": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    }
  }
}