Coveo · JSON-LD Context

Coveo Commerce Context

JSON-LD context defining the semantic vocabulary for Coveo Commerce from Coveo.

2 Classes 19 Properties 3 Namespaces
View Context View on GitHub

Namespaces

coveo: https://platform.cloud.coveo.com/schema#
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Product Offer

Properties

Property Type Container
ec_product_id
ec_name
ec_brand
ec_category
ec_price decimal
ec_promo_price decimal
ec_currency
ec_images list
ec_thumbnails list
ec_in_stock boolean
ec_rating decimal
ec_skus list
ec_short_desc
ec_long_desc
ec_color
ec_item_group_id
trackingId
cartId
context

JSON-LD Document

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

    "ec_product_id":     {"@id": "schema:productID"},
    "ec_name":           {"@id": "schema:name"},
    "ec_brand":          {"@id": "schema:brand"},
    "ec_category":       {"@id": "schema:category"},
    "ec_price":          {"@id": "schema:price",          "@type": "xsd:decimal"},
    "ec_promo_price":    {"@id": "coveo:promoPrice",      "@type": "xsd:decimal"},
    "ec_currency":       {"@id": "schema:priceCurrency"},
    "ec_images":         {"@id": "schema:image",          "@container": "@list"},
    "ec_thumbnails":     {"@id": "coveo:thumbnail",       "@container": "@list"},
    "ec_in_stock":       {"@id": "coveo:inStock",         "@type": "xsd:boolean"},
    "ec_rating":         {"@id": "schema:aggregateRating","@type": "xsd:decimal"},
    "ec_skus":           {"@id": "schema:sku",            "@container": "@list"},
    "ec_short_desc":     {"@id": "schema:description"},
    "ec_long_desc":      {"@id": "schema:disambiguatingDescription"},
    "ec_color":          {"@id": "schema:color"},
    "ec_item_group_id":  {"@id": "schema:isVariantOf"},

    "trackingId":        {"@id": "coveo:trackingId"},
    "cartId":            {"@id": "coveo:cartId"},
    "context":           {"@id": "coveo:context"},

    "Product":  "schema:Product",
    "Offer":    "schema:Offer"
  }
}