Carvana · JSON-LD Context

Carvana Context

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

0 Classes 9 Properties 3 Namespaces
View Context View on GitHub

Namespaces

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

Properties

Property Type Container
Partner
Vehicle
InventoryItem
Listing
InspectionReport
DeliveryOption
VendingMachine
FinancingOffer
DataProduct

JSON-LD Document

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

    "Partner": {
      "@id": "carvana:Partner",
      "@context": {
        "partnerId": "schema:identifier",
        "name": "schema:name",
        "partnerType": "carvana:partnerType",
        "apiKeyId": {
          "@id": "carvana:apiKeyId",
          "@type": "xsd:string"
        }
      }
    },

    "Vehicle": {
      "@id": "schema:Vehicle",
      "@context": {
        "vin": {
          "@id": "schema:vehicleIdentificationNumber",
          "@type": "xsd:string"
        },
        "year": {
          "@id": "schema:vehicleModelDate",
          "@type": "xsd:gYear"
        },
        "make": "schema:brand",
        "model": "schema:model",
        "trim": "carvana:trim",
        "mileage": {
          "@id": "schema:mileageFromOdometer",
          "@type": "xsd:integer"
        },
        "color": "schema:color"
      }
    },

    "InventoryItem": {
      "@id": "schema:Product",
      "@context": {
        "inventoryId": "schema:identifier",
        "vehicle": {
          "@id": "carvana:vehicle",
          "@type": "@id"
        },
        "partner": {
          "@id": "carvana:partner",
          "@type": "@id"
        },
        "status": "carvana:inventoryStatus",
        "postedAt": {
          "@id": "schema:datePosted",
          "@type": "xsd:dateTime"
        }
      }
    },

    "Listing": {
      "@id": "schema:Offer",
      "@context": {
        "listingId": "schema:identifier",
        "price": {
          "@id": "schema:price",
          "@type": "xsd:decimal"
        },
        "currency": "schema:priceCurrency",
        "availability": "schema:availability",
        "itemOffered": {
          "@id": "schema:itemOffered",
          "@type": "@id"
        }
      }
    },

    "InspectionReport": {
      "@id": "carvana:InspectionReport",
      "@context": {
        "reportId": "schema:identifier",
        "performedAt": {
          "@id": "carvana:performedAt",
          "@type": "xsd:dateTime"
        },
        "passed": {
          "@id": "carvana:passed",
          "@type": "xsd:boolean"
        },
        "findings": "schema:description"
      }
    },

    "DeliveryOption": {
      "@id": "carvana:DeliveryOption",
      "@context": {
        "deliveryType": "carvana:deliveryType",
        "estimatedAvailable": {
          "@id": "carvana:estimatedAvailable",
          "@type": "xsd:date"
        },
        "vendingMachine": {
          "@id": "carvana:vendingMachine",
          "@type": "@id"
        }
      }
    },

    "VendingMachine": {
      "@id": "schema:Place",
      "@context": {
        "vendingMachineId": "schema:identifier",
        "name": "schema:name",
        "address": "schema:address",
        "geo": "schema:geo"
      }
    },

    "FinancingOffer": {
      "@id": "schema:LoanOrCredit",
      "@context": {
        "offerId": "schema:identifier",
        "apr": {
          "@id": "carvana:apr",
          "@type": "xsd:decimal"
        },
        "termMonths": {
          "@id": "schema:loanTerm",
          "@type": "xsd:integer"
        },
        "monthlyPayment": {
          "@id": "carvana:monthlyPayment",
          "@type": "xsd:decimal"
        }
      }
    },

    "DataProduct": {
      "@id": "schema:Dataset",
      "@context": {
        "productId": "schema:identifier",
        "marketplace": "schema:provider",
        "refreshCadence": "carvana:refreshCadence"
      }
    }
  }
}