Uber · JSON-LD Context

Uber Context

JSON-LD context defining the semantic vocabulary for Uber from Uber.

8 Classes 30 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
uber: https://developer.uber.com/vocab/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Product RideRequest Delivery RiderProfile DriverProfile Order Store BusinessLocation

Properties

Property Type Container
product_id string
display_name string
description string
capacity integer
image reference
request_id string
status string
eta integer
surge_multiplier double
start_latitude double
start_longitude double
end_latitude double
end_longitude double
tracking_url reference
pickup_eta dateTime
dropoff_eta dateTime
fee integer
currency string
currency_code string
first_name string
last_name string
email string
phone_number string
picture reference
promo_code string
uuid string
store_id string
address string
placed_at dateTime
total double

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "uber": "https://developer.uber.com/vocab/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Product": "schema:Product",
    "RideRequest": "uber:RideRequest",
    "Delivery": "uber:Delivery",
    "RiderProfile": "schema:Person",
    "DriverProfile": "schema:Person",
    "Order": "schema:Order",
    "Store": "schema:FoodEstablishment",
    "BusinessLocation": "schema:Place",

    "product_id": { "@id": "schema:identifier", "@type": "xsd:string" },
    "display_name": { "@id": "schema:name", "@type": "xsd:string" },
    "description": { "@id": "schema:description", "@type": "xsd:string" },
    "capacity": { "@id": "uber:capacity", "@type": "xsd:integer" },
    "image": { "@id": "schema:image", "@type": "@id" },

    "request_id": { "@id": "schema:identifier", "@type": "xsd:string" },
    "status": { "@id": "schema:orderStatus", "@type": "xsd:string" },
    "eta": { "@id": "uber:estimatedTimeOfArrival", "@type": "xsd:integer" },
    "surge_multiplier": { "@id": "uber:surgeMultiplier", "@type": "xsd:double" },

    "start_latitude": { "@id": "uber:startLatitude", "@type": "xsd:double" },
    "start_longitude": { "@id": "uber:startLongitude", "@type": "xsd:double" },
    "end_latitude": { "@id": "uber:endLatitude", "@type": "xsd:double" },
    "end_longitude": { "@id": "uber:endLongitude", "@type": "xsd:double" },

    "tracking_url": { "@id": "schema:url", "@type": "@id" },
    "pickup_eta": { "@id": "uber:pickupEta", "@type": "xsd:dateTime" },
    "dropoff_eta": { "@id": "uber:dropoffEta", "@type": "xsd:dateTime" },
    "fee": { "@id": "schema:price", "@type": "xsd:integer" },
    "currency": { "@id": "schema:priceCurrency", "@type": "xsd:string" },
    "currency_code": { "@id": "schema:priceCurrency", "@type": "xsd:string" },

    "first_name": { "@id": "schema:givenName", "@type": "xsd:string" },
    "last_name": { "@id": "schema:familyName", "@type": "xsd:string" },
    "email": { "@id": "schema:email", "@type": "xsd:string" },
    "phone_number": { "@id": "schema:telephone", "@type": "xsd:string" },
    "picture": { "@id": "schema:image", "@type": "@id" },
    "promo_code": { "@id": "uber:promoCode", "@type": "xsd:string" },
    "uuid": { "@id": "schema:identifier", "@type": "xsd:string" },

    "store_id": { "@id": "schema:identifier", "@type": "xsd:string" },
    "address": { "@id": "schema:address", "@type": "xsd:string" },
    "placed_at": { "@id": "schema:orderDate", "@type": "xsd:dateTime" },
    "total": { "@id": "schema:totalPrice", "@type": "xsd:double" }
  }
}