WhichTrim · JSON-LD Context

Whichtrim Com Context

JSON-LD context defining the semantic vocabulary for Whichtrim Com from WhichTrim.

10 Classes 89 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/
whichtrim: https://whichtrim.com/schema#

Classes

Error Meta Vehicle Config Recall Complaints Ncap Trim Spec Feature

Properties

Property Type Container
error string
hint string
docs reference
generated_at dateTime
vehicles integer
makes integer
recalls integer
years list
source string
grade_method string
id string
make string
model string
year integer
segment string
powertrains list
grade string
score integer
recall_count integer
critical_count integer
active_advisory boolean
complaints integer
ncap_overall integer
best_mpg integer
best_range_mi integer
msrp_from decimal
page reference
pt string
drive string
trany string
cyl integer
displ decimal
turbo boolean
city integer
hwy integer
comb integer
kwh100 decimal
range integer
erange decimal
charge240 decimal
motor string
vclass string
co2 integer
fuel_cost integer
campaign string
component string
mfr string
reported date
owner_notified date
units integer
summary string
consequence string
remedy string
park_outside boolean
do_not_drive boolean
severity string
variants list
count integer
crash integer
fire integer
injured integer
deaths integer
comps list
by_year
excerpts list
desc string
overall integer
frontal integer
side integer
rollover integer
rollover_risk decimal
seats integer
trim_id string
trim_name string
drivetrain string
powertrain string
msrp_base decimal
sort_order integer
spec_id string
canonical_name string
spec_family string
unit string
value_numeric decimal
value_text string
source_url reference
confidence decimal
feature_id string
feature_system string
availability string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://whichtrim.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "whichtrim": "https://whichtrim.com/schema#",
    "Error": "whichtrim:Error",
    "error": {
      "@id": "whichtrim:error",
      "@type": "xsd:string"
    },
    "hint": {
      "@id": "whichtrim:hint",
      "@type": "xsd:string"
    },
    "docs": {
      "@id": "whichtrim:docs",
      "@type": "@id"
    },
    "Meta": "whichtrim:Meta",
    "generated_at": {
      "@id": "whichtrim:generated_at",
      "@type": "xsd:dateTime"
    },
    "vehicles": {
      "@id": "whichtrim:vehicles",
      "@type": "xsd:integer"
    },
    "makes": {
      "@id": "whichtrim:makes",
      "@type": "xsd:integer"
    },
    "recalls": {
      "@id": "whichtrim:recalls",
      "@type": "xsd:integer"
    },
    "years": {
      "@id": "whichtrim:years",
      "@container": "@list"
    },
    "source": {
      "@id": "whichtrim:source",
      "@type": "xsd:string"
    },
    "grade_method": {
      "@id": "whichtrim:grade_method",
      "@type": "xsd:string"
    },
    "Vehicle": "whichtrim:Vehicle",
    "id": {
      "@id": "whichtrim:id",
      "@type": "xsd:string"
    },
    "make": {
      "@id": "whichtrim:make",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "whichtrim:model",
      "@type": "xsd:string"
    },
    "year": {
      "@id": "whichtrim:year",
      "@type": "xsd:integer"
    },
    "segment": {
      "@id": "whichtrim:segment",
      "@type": "xsd:string"
    },
    "powertrains": {
      "@id": "whichtrim:powertrains",
      "@container": "@list"
    },
    "grade": {
      "@id": "whichtrim:grade",
      "@type": "xsd:string"
    },
    "score": {
      "@id": "whichtrim:score",
      "@type": "xsd:integer"
    },
    "recall_count": {
      "@id": "whichtrim:recall_count",
      "@type": "xsd:integer"
    },
    "critical_count": {
      "@id": "whichtrim:critical_count",
      "@type": "xsd:integer"
    },
    "active_advisory": {
      "@id": "whichtrim:active_advisory",
      "@type": "xsd:boolean"
    },
    "complaints": {
      "@id": "whichtrim:complaints",
      "@type": "xsd:integer"
    },
    "ncap_overall": {
      "@id": "whichtrim:ncap_overall",
      "@type": "xsd:integer"
    },
    "best_mpg": {
      "@id": "whichtrim:best_mpg",
      "@type": "xsd:integer"
    },
    "best_range_mi": {
      "@id": "whichtrim:best_range_mi",
      "@type": "xsd:integer"
    },
    "msrp_from": {
      "@id": "whichtrim:msrp_from",
      "@type": "xsd:decimal"
    },
    "page": {
      "@id": "whichtrim:page",
      "@type": "@id"
    },
    "Config": "whichtrim:Config",
    "pt": {
      "@id": "whichtrim:pt",
      "@type": "xsd:string"
    },
    "drive": {
      "@id": "whichtrim:drive",
      "@type": "xsd:string"
    },
    "trany": {
      "@id": "whichtrim:trany",
      "@type": "xsd:string"
    },
    "cyl": {
      "@id": "whichtrim:cyl",
      "@type": "xsd:integer"
    },
    "displ": {
      "@id": "whichtrim:displ",
      "@type": "xsd:decimal"
    },
    "turbo": {
      "@id": "whichtrim:turbo",
      "@type": "xsd:boolean"
    },
    "city": {
      "@id": "whichtrim:city",
      "@type": "xsd:integer"
    },
    "hwy": {
      "@id": "whichtrim:hwy",
      "@type": "xsd:integer"
    },
    "comb": {
      "@id": "whichtrim:comb",
      "@type": "xsd:integer"
    },
    "kwh100": {
      "@id": "whichtrim:kwh100",
      "@type": "xsd:decimal"
    },
    "range": {
      "@id": "whichtrim:range",
      "@type": "xsd:integer"
    },
    "erange": {
      "@id": "whichtrim:erange",
      "@type": "xsd:decimal"
    },
    "charge240": {
      "@id": "whichtrim:charge240",
      "@type": "xsd:decimal"
    },
    "motor": {
      "@id": "whichtrim:motor",
      "@type": "xsd:string"
    },
    "vclass": {
      "@id": "whichtrim:vclass",
      "@type": "xsd:string"
    },
    "co2": {
      "@id": "whichtrim:co2",
      "@type": "xsd:integer"
    },
    "fuel_cost": {
      "@id": "whichtrim:fuel_cost",
      "@type": "xsd:integer"
    },
    "Recall": "whichtrim:Recall",
    "campaign": {
      "@id": "whichtrim:campaign",
      "@type": "xsd:string"
    },
    "component": {
      "@id": "whichtrim:component",
      "@type": "xsd:string"
    },
    "mfr": {
      "@id": "whichtrim:mfr",
      "@type": "xsd:string"
    },
    "reported": {
      "@id": "whichtrim:reported",
      "@type": "xsd:date"
    },
    "owner_notified": {
      "@id": "whichtrim:owner_notified",
      "@type": "xsd:date"
    },
    "units": {
      "@id": "whichtrim:units",
      "@type": "xsd:integer"
    },
    "summary": {
      "@id": "whichtrim:summary",
      "@type": "xsd:string"
    },
    "consequence": {
      "@id": "whichtrim:consequence",
      "@type": "xsd:string"
    },
    "remedy": {
      "@id": "whichtrim:remedy",
      "@type": "xsd:string"
    },
    "park_outside": {
      "@id": "whichtrim:park_outside",
      "@type": "xsd:boolean"
    },
    "do_not_drive": {
      "@id": "whichtrim:do_not_drive",
      "@type": "xsd:boolean"
    },
    "severity": {
      "@id": "whichtrim:severity",
      "@type": "xsd:string"
    },
    "variants": {
      "@id": "whichtrim:variants",
      "@container": "@list"
    },
    "Complaints": "whichtrim:Complaints",
    "count": {
      "@id": "whichtrim:count",
      "@type": "xsd:integer"
    },
    "crash": {
      "@id": "whichtrim:crash",
      "@type": "xsd:integer"
    },
    "fire": {
      "@id": "whichtrim:fire",
      "@type": "xsd:integer"
    },
    "injured": {
      "@id": "whichtrim:injured",
      "@type": "xsd:integer"
    },
    "deaths": {
      "@id": "whichtrim:deaths",
      "@type": "xsd:integer"
    },
    "comps": {
      "@id": "whichtrim:comps",
      "@container": "@list"
    },
    "by_year": {
      "@id": "whichtrim:by_year"
    },
    "excerpts": {
      "@id": "whichtrim:excerpts",
      "@container": "@list"
    },
    "Ncap": "whichtrim:Ncap",
    "desc": {
      "@id": "whichtrim:desc",
      "@type": "xsd:string"
    },
    "overall": {
      "@id": "whichtrim:overall",
      "@type": "xsd:integer"
    },
    "frontal": {
      "@id": "whichtrim:frontal",
      "@type": "xsd:integer"
    },
    "side": {
      "@id": "whichtrim:side",
      "@type": "xsd:integer"
    },
    "rollover": {
      "@id": "whichtrim:rollover",
      "@type": "xsd:integer"
    },
    "rollover_risk": {
      "@id": "whichtrim:rollover_risk",
      "@type": "xsd:decimal"
    },
    "seats": {
      "@id": "whichtrim:seats",
      "@type": "xsd:integer"
    },
    "Trim": "whichtrim:Trim",
    "trim_id": {
      "@id": "whichtrim:trim_id",
      "@type": "xsd:string"
    },
    "trim_name": {
      "@id": "whichtrim:trim_name",
      "@type": "xsd:string"
    },
    "drivetrain": {
      "@id": "whichtrim:drivetrain",
      "@type": "xsd:string"
    },
    "powertrain": {
      "@id": "whichtrim:powertrain",
      "@type": "xsd:string"
    },
    "msrp_base": {
      "@id": "whichtrim:msrp_base",
      "@type": "xsd:decimal"
    },
    "sort_order": {
      "@id": "whichtrim:sort_order",
      "@type": "xsd:integer"
    },
    "Spec": "whichtrim:Spec",
    "spec_id": {
      "@id": "whichtrim:spec_id",
      "@type": "xsd:string"
    },
    "canonical_name": {
      "@id": "whichtrim:canonical_name",
      "@type": "xsd:string"
    },
    "spec_family": {
      "@id": "whichtrim:spec_family",
      "@type": "xsd:string"
    },
    "unit": {
      "@id": "whichtrim:unit",
      "@type": "xsd:string"
    },
    "value_numeric": {
      "@id": "whichtrim:value_numeric",
      "@type": "xsd:decimal"
    },
    "value_text": {
      "@id": "whichtrim:value_text",
      "@type": "xsd:string"
    },
    "source_url": {
      "@id": "whichtrim:source_url",
      "@type": "@id"
    },
    "confidence": {
      "@id": "whichtrim:confidence",
      "@type": "xsd:decimal"
    },
    "Feature": "whichtrim:Feature",
    "feature_id": {
      "@id": "whichtrim:feature_id",
      "@type": "xsd:string"
    },
    "feature_system": {
      "@id": "whichtrim:feature_system",
      "@type": "xsd:string"
    },
    "availability": {
      "@id": "whichtrim:availability",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "WhichTrim API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects WhichTrim'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-28) from openapi/whichtrim-com-openapi.yaml.",
  "dcterms:created": "2026-11-28",
  "dcterms:source": [
    "openapi/whichtrim-com-openapi.yaml"
  ]
}