Trustpilot · JSON-LD Context

Trustpilot Context

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

14 Classes 9 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
tp: https://developers.trustpilot.com/vocabulary/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Review id title status consumer displayName email BusinessUnit websiteUrl countryCode Invitation recipientEmail recipientName referenceNumber

Properties

Property Type Container
stars integer
text string
language string
createdAt dateTime
updatedAt dateTime
verificationLevel string
reply schema:Comment
trustScore decimal
numberOfReviews integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "tp": "https://developers.trustpilot.com/vocabulary/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Review": "schema:Review",
    "id": "schema:identifier",
    "stars": {
      "@id": "schema:reviewRating",
      "@type": "xsd:integer"
    },
    "title": "schema:name",
    "text": {
      "@id": "schema:reviewBody",
      "@type": "xsd:string"
    },
    "language": {
      "@id": "schema:inLanguage",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updatedAt": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "status": "schema:status",
    "verificationLevel": {
      "@id": "tp:verificationLevel",
      "@type": "xsd:string"
    },

    "consumer": "schema:author",
    "displayName": "schema:name",
    "email": "schema:email",

    "reply": {
      "@id": "schema:comment",
      "@type": "schema:Comment"
    },

    "BusinessUnit": "schema:Organization",
    "trustScore": {
      "@id": "schema:ratingValue",
      "@type": "xsd:decimal"
    },
    "websiteUrl": "schema:url",
    "countryCode": "schema:addressCountry",
    "numberOfReviews": {
      "@id": "schema:reviewCount",
      "@type": "xsd:integer"
    },

    "Invitation": "schema:Offer",
    "recipientEmail": "schema:email",
    "recipientName": "schema:name",
    "referenceNumber": "schema:orderNumber"
  }
}