Quub · JSON-LD Context

Quub Rent Context

JSON-LD context defining the semantic vocabulary for Quub Rent from Quub.

14 Classes 103 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
quub: https://quub.rent/schema#

Classes

Error Tax Stay Cancellation HotelCard SearchResult Rate HotelResult DestinationSummary Fact TouristTax PrebookRequest Booking Status

Properties

Property Type Container
error
amount decimal
currency string
description string
checkin date
checkout date
nights integer
adults integer
children list
nationality string
refundable boolean
free_until dateTime
summary string
id string
name string
type string
stars decimal
rating decimal
review_count integer
lat decimal
lng decimal
photo string
area string
distance_km_from_centre decimal
room string
price
board string
breakfast boolean
free_cancellation_until dateTime
cancellation reference
offer_id string
offer_valid_until dateTime
hotel_url string
book_url string
sandbox boolean
place
stay reference
result string
count integer
total_found integer
offset integer
limit integer
has_more boolean
sort string
hotels list
retryable boolean
retry_after_seconds integer
note string
suggestions list
checked dateTime
offers_valid_until dateTime
priced_for string
agent_margin_percent decimal
notes list
cancellation_summary string
max_occupancy integer
total decimal
per_night decimal
taxes_included list
taxes_at_property list
due_at_property_total decimal
hotel
rates list
rates_error string
slug string
country string
updated string
guide_url string
api_url string
label string
value string
source string
found boolean
destination
rule
calculation
needs list
hotel_id string
expected_total decimal
guest
remarks string
booking_id string
status string
state string
state_explained string
cancellation_terms string
guest_details string
pay_url string
expires_at dateTime
confirmation_number string
hotel_reference string
voucher_url string
refund_amount decimal
cancellation_fee decimal
hold_released boolean
booking_url string
created dateTime
explained string
time dateTime
live_prices boolean
supplier
holds_without_key
limits

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://quub.rent/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "quub": "https://quub.rent/schema#",
    "Error": "quub:Error",
    "error": {
      "@id": "quub:error"
    },
    "Tax": "quub:Tax",
    "amount": {
      "@id": "quub:amount",
      "@type": "xsd:decimal"
    },
    "currency": {
      "@id": "quub:currency",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "quub:description",
      "@type": "xsd:string"
    },
    "Stay": "quub:Stay",
    "checkin": {
      "@id": "quub:checkin",
      "@type": "xsd:date"
    },
    "checkout": {
      "@id": "quub:checkout",
      "@type": "xsd:date"
    },
    "nights": {
      "@id": "quub:nights",
      "@type": "xsd:integer"
    },
    "adults": {
      "@id": "quub:adults",
      "@type": "xsd:integer"
    },
    "children": {
      "@id": "quub:children",
      "@container": "@list"
    },
    "nationality": {
      "@id": "quub:nationality",
      "@type": "xsd:string"
    },
    "Cancellation": "quub:Cancellation",
    "refundable": {
      "@id": "quub:refundable",
      "@type": "xsd:boolean"
    },
    "free_until": {
      "@id": "quub:free_until",
      "@type": "xsd:dateTime"
    },
    "summary": {
      "@id": "quub:summary",
      "@type": "xsd:string"
    },
    "HotelCard": "quub:HotelCard",
    "id": {
      "@id": "quub:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "quub:name",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "quub:type",
      "@type": "xsd:string"
    },
    "stars": {
      "@id": "quub:stars",
      "@type": "xsd:decimal"
    },
    "rating": {
      "@id": "quub:rating",
      "@type": "xsd:decimal"
    },
    "review_count": {
      "@id": "quub:review_count",
      "@type": "xsd:integer"
    },
    "lat": {
      "@id": "quub:lat",
      "@type": "xsd:decimal"
    },
    "lng": {
      "@id": "quub:lng",
      "@type": "xsd:decimal"
    },
    "photo": {
      "@id": "quub:photo",
      "@type": "xsd:string"
    },
    "area": {
      "@id": "quub:area",
      "@type": "xsd:string"
    },
    "distance_km_from_centre": {
      "@id": "quub:distance_km_from_centre",
      "@type": "xsd:decimal"
    },
    "room": {
      "@id": "quub:room",
      "@type": "xsd:string"
    },
    "price": {
      "@id": "quub:price"
    },
    "board": {
      "@id": "quub:board",
      "@type": "xsd:string"
    },
    "breakfast": {
      "@id": "quub:breakfast",
      "@type": "xsd:boolean"
    },
    "free_cancellation_until": {
      "@id": "quub:free_cancellation_until",
      "@type": "xsd:dateTime"
    },
    "cancellation": {
      "@id": "quub:cancellation",
      "@type": "@id"
    },
    "offer_id": {
      "@id": "quub:offer_id",
      "@type": "xsd:string"
    },
    "offer_valid_until": {
      "@id": "quub:offer_valid_until",
      "@type": "xsd:dateTime"
    },
    "hotel_url": {
      "@id": "quub:hotel_url",
      "@type": "xsd:string"
    },
    "book_url": {
      "@id": "quub:book_url",
      "@type": "xsd:string"
    },
    "sandbox": {
      "@id": "quub:sandbox",
      "@type": "xsd:boolean"
    },
    "SearchResult": "quub:SearchResult",
    "place": {
      "@id": "quub:place"
    },
    "stay": {
      "@id": "quub:stay",
      "@type": "@id"
    },
    "result": {
      "@id": "quub:result",
      "@type": "xsd:string"
    },
    "count": {
      "@id": "quub:count",
      "@type": "xsd:integer"
    },
    "total_found": {
      "@id": "quub:total_found",
      "@type": "xsd:integer"
    },
    "offset": {
      "@id": "quub:offset",
      "@type": "xsd:integer"
    },
    "limit": {
      "@id": "quub:limit",
      "@type": "xsd:integer"
    },
    "has_more": {
      "@id": "quub:has_more",
      "@type": "xsd:boolean"
    },
    "sort": {
      "@id": "quub:sort",
      "@type": "xsd:string"
    },
    "hotels": {
      "@id": "quub:hotels",
      "@container": "@list"
    },
    "retryable": {
      "@id": "quub:retryable",
      "@type": "xsd:boolean"
    },
    "retry_after_seconds": {
      "@id": "quub:retry_after_seconds",
      "@type": "xsd:integer"
    },
    "note": {
      "@id": "quub:note",
      "@type": "xsd:string"
    },
    "suggestions": {
      "@id": "quub:suggestions",
      "@container": "@list"
    },
    "checked": {
      "@id": "quub:checked",
      "@type": "xsd:dateTime"
    },
    "offers_valid_until": {
      "@id": "quub:offers_valid_until",
      "@type": "xsd:dateTime"
    },
    "priced_for": {
      "@id": "quub:priced_for",
      "@type": "xsd:string"
    },
    "agent_margin_percent": {
      "@id": "quub:agent_margin_percent",
      "@type": "xsd:decimal"
    },
    "notes": {
      "@id": "quub:notes",
      "@container": "@list"
    },
    "Rate": "quub:Rate",
    "cancellation_summary": {
      "@id": "quub:cancellation_summary",
      "@type": "xsd:string"
    },
    "max_occupancy": {
      "@id": "quub:max_occupancy",
      "@type": "xsd:integer"
    },
    "total": {
      "@id": "quub:total",
      "@type": "xsd:decimal"
    },
    "per_night": {
      "@id": "quub:per_night",
      "@type": "xsd:decimal"
    },
    "taxes_included": {
      "@id": "quub:taxes_included",
      "@container": "@list"
    },
    "taxes_at_property": {
      "@id": "quub:taxes_at_property",
      "@container": "@list"
    },
    "due_at_property_total": {
      "@id": "quub:due_at_property_total",
      "@type": "xsd:decimal"
    },
    "HotelResult": "quub:HotelResult",
    "hotel": {
      "@id": "quub:hotel"
    },
    "rates": {
      "@id": "quub:rates",
      "@container": "@list"
    },
    "rates_error": {
      "@id": "quub:rates_error",
      "@type": "xsd:string"
    },
    "DestinationSummary": "quub:DestinationSummary",
    "slug": {
      "@id": "quub:slug",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "quub:country",
      "@type": "xsd:string"
    },
    "updated": {
      "@id": "quub:updated",
      "@type": "xsd:string"
    },
    "guide_url": {
      "@id": "quub:guide_url",
      "@type": "xsd:string"
    },
    "api_url": {
      "@id": "quub:api_url",
      "@type": "xsd:string"
    },
    "Fact": "quub:Fact",
    "label": {
      "@id": "quub:label",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "quub:value",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "quub:source",
      "@type": "xsd:string"
    },
    "TouristTax": "quub:TouristTax",
    "found": {
      "@id": "quub:found",
      "@type": "xsd:boolean"
    },
    "destination": {
      "@id": "quub:destination"
    },
    "rule": {
      "@id": "quub:rule"
    },
    "calculation": {
      "@id": "quub:calculation"
    },
    "needs": {
      "@id": "quub:needs",
      "@container": "@list"
    },
    "PrebookRequest": "quub:PrebookRequest",
    "hotel_id": {
      "@id": "quub:hotel_id",
      "@type": "xsd:string"
    },
    "expected_total": {
      "@id": "quub:expected_total",
      "@type": "xsd:decimal"
    },
    "guest": {
      "@id": "quub:guest"
    },
    "remarks": {
      "@id": "quub:remarks",
      "@type": "xsd:string"
    },
    "Booking": "quub:Booking",
    "booking_id": {
      "@id": "quub:booking_id",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "quub:status",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "quub:state",
      "@type": "xsd:string"
    },
    "state_explained": {
      "@id": "quub:state_explained",
      "@type": "xsd:string"
    },
    "cancellation_terms": {
      "@id": "quub:cancellation_terms",
      "@type": "xsd:string"
    },
    "guest_details": {
      "@id": "quub:guest_details",
      "@type": "xsd:string"
    },
    "pay_url": {
      "@id": "quub:pay_url",
      "@type": "xsd:string"
    },
    "expires_at": {
      "@id": "quub:expires_at",
      "@type": "xsd:dateTime"
    },
    "confirmation_number": {
      "@id": "quub:confirmation_number",
      "@type": "xsd:string"
    },
    "hotel_reference": {
      "@id": "quub:hotel_reference",
      "@type": "xsd:string"
    },
    "voucher_url": {
      "@id": "quub:voucher_url",
      "@type": "xsd:string"
    },
    "refund_amount": {
      "@id": "quub:refund_amount",
      "@type": "xsd:decimal"
    },
    "cancellation_fee": {
      "@id": "quub:cancellation_fee",
      "@type": "xsd:decimal"
    },
    "hold_released": {
      "@id": "quub:hold_released",
      "@type": "xsd:boolean"
    },
    "booking_url": {
      "@id": "quub:booking_url",
      "@type": "xsd:string"
    },
    "created": {
      "@id": "quub:created",
      "@type": "xsd:dateTime"
    },
    "Status": "quub:Status",
    "explained": {
      "@id": "quub:explained",
      "@type": "xsd:string"
    },
    "time": {
      "@id": "quub:time",
      "@type": "xsd:dateTime"
    },
    "live_prices": {
      "@id": "quub:live_prices",
      "@type": "xsd:boolean"
    },
    "supplier": {
      "@id": "quub:supplier"
    },
    "holds_without_key": {
      "@id": "quub:holds_without_key"
    },
    "limits": {
      "@id": "quub:limits"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Quub API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Quub's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-22) from openapi/quub-rent-openapi.json.",
  "dcterms:created": "2026-11-22",
  "dcterms:source": [
    "openapi/quub-rent-openapi.json"
  ]
}