compsapi-com · JSON-LD Context

Compsapi Com Context

JSON-LD context defining the semantic vocabulary for Compsapi Com from compsapi-com.

5 Classes 57 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/
compsapi: https://compsapi.com/schema#

Classes

Card Item Stats SoldResponse Error

Properties

Property Type Container
graded boolean
grader string
grade string
grade_label string
card_number string
year integer
language string
first_edition boolean
flags list
item_id string
title string
last_sold dateTime
price decimal
units_sold integer
total_sales decimal
format string
bids integer
us_sale boolean
native_price decimal
native_currency string
best_offer boolean
condition string
shipping_cost decimal
free_shipping_pct decimal
url string
image string
card reference
best_offer_confidence string
asking_price decimal
asking_gap_pct decimal
count integer
used_for_stats integer
median decimal
mean decimal
p25 decimal
p75 decimal
min decimal
max decimal
outliers_removed integer
newest_sale dateTime
oldest_sale dateTime
ok boolean
query string
page integer
ms integer
no_results boolean
next_page boolean
days integer
size integer
cached boolean
cached_age_s integer
source string
filters
count_before_filters integer
stats reference
items list
error string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://compsapi.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "compsapi": "https://compsapi.com/schema#",
    "Card": "compsapi:Card",
    "graded": {
      "@id": "compsapi:graded",
      "@type": "xsd:boolean"
    },
    "grader": {
      "@id": "compsapi:grader",
      "@type": "xsd:string"
    },
    "grade": {
      "@id": "compsapi:grade",
      "@type": "xsd:string"
    },
    "grade_label": {
      "@id": "compsapi:grade_label",
      "@type": "xsd:string"
    },
    "card_number": {
      "@id": "compsapi:card_number",
      "@type": "xsd:string"
    },
    "year": {
      "@id": "compsapi:year",
      "@type": "xsd:integer"
    },
    "language": {
      "@id": "compsapi:language",
      "@type": "xsd:string"
    },
    "first_edition": {
      "@id": "compsapi:first_edition",
      "@type": "xsd:boolean"
    },
    "flags": {
      "@id": "compsapi:flags",
      "@container": "@list"
    },
    "Item": "compsapi:Item",
    "item_id": {
      "@id": "compsapi:item_id",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "compsapi:title",
      "@type": "xsd:string"
    },
    "last_sold": {
      "@id": "compsapi:last_sold",
      "@type": "xsd:dateTime"
    },
    "price": {
      "@id": "compsapi:price",
      "@type": "xsd:decimal"
    },
    "units_sold": {
      "@id": "compsapi:units_sold",
      "@type": "xsd:integer"
    },
    "total_sales": {
      "@id": "compsapi:total_sales",
      "@type": "xsd:decimal"
    },
    "format": {
      "@id": "compsapi:format",
      "@type": "xsd:string"
    },
    "bids": {
      "@id": "compsapi:bids",
      "@type": "xsd:integer"
    },
    "us_sale": {
      "@id": "compsapi:us_sale",
      "@type": "xsd:boolean"
    },
    "native_price": {
      "@id": "compsapi:native_price",
      "@type": "xsd:decimal"
    },
    "native_currency": {
      "@id": "compsapi:native_currency",
      "@type": "xsd:string"
    },
    "best_offer": {
      "@id": "compsapi:best_offer",
      "@type": "xsd:boolean"
    },
    "condition": {
      "@id": "compsapi:condition",
      "@type": "xsd:string"
    },
    "shipping_cost": {
      "@id": "compsapi:shipping_cost",
      "@type": "xsd:decimal"
    },
    "free_shipping_pct": {
      "@id": "compsapi:free_shipping_pct",
      "@type": "xsd:decimal"
    },
    "url": {
      "@id": "compsapi:url",
      "@type": "xsd:string"
    },
    "image": {
      "@id": "compsapi:image",
      "@type": "xsd:string"
    },
    "card": {
      "@id": "compsapi:card",
      "@type": "@id"
    },
    "best_offer_confidence": {
      "@id": "compsapi:best_offer_confidence",
      "@type": "xsd:string"
    },
    "asking_price": {
      "@id": "compsapi:asking_price",
      "@type": "xsd:decimal"
    },
    "asking_gap_pct": {
      "@id": "compsapi:asking_gap_pct",
      "@type": "xsd:decimal"
    },
    "Stats": "compsapi:Stats",
    "count": {
      "@id": "compsapi:count",
      "@type": "xsd:integer"
    },
    "used_for_stats": {
      "@id": "compsapi:used_for_stats",
      "@type": "xsd:integer"
    },
    "median": {
      "@id": "compsapi:median",
      "@type": "xsd:decimal"
    },
    "mean": {
      "@id": "compsapi:mean",
      "@type": "xsd:decimal"
    },
    "p25": {
      "@id": "compsapi:p25",
      "@type": "xsd:decimal"
    },
    "p75": {
      "@id": "compsapi:p75",
      "@type": "xsd:decimal"
    },
    "min": {
      "@id": "compsapi:min",
      "@type": "xsd:decimal"
    },
    "max": {
      "@id": "compsapi:max",
      "@type": "xsd:decimal"
    },
    "outliers_removed": {
      "@id": "compsapi:outliers_removed",
      "@type": "xsd:integer"
    },
    "newest_sale": {
      "@id": "compsapi:newest_sale",
      "@type": "xsd:dateTime"
    },
    "oldest_sale": {
      "@id": "compsapi:oldest_sale",
      "@type": "xsd:dateTime"
    },
    "SoldResponse": "compsapi:SoldResponse",
    "ok": {
      "@id": "compsapi:ok",
      "@type": "xsd:boolean"
    },
    "query": {
      "@id": "compsapi:query",
      "@type": "xsd:string"
    },
    "page": {
      "@id": "compsapi:page",
      "@type": "xsd:integer"
    },
    "ms": {
      "@id": "compsapi:ms",
      "@type": "xsd:integer"
    },
    "no_results": {
      "@id": "compsapi:no_results",
      "@type": "xsd:boolean"
    },
    "next_page": {
      "@id": "compsapi:next_page",
      "@type": "xsd:boolean"
    },
    "days": {
      "@id": "compsapi:days",
      "@type": "xsd:integer"
    },
    "size": {
      "@id": "compsapi:size",
      "@type": "xsd:integer"
    },
    "cached": {
      "@id": "compsapi:cached",
      "@type": "xsd:boolean"
    },
    "cached_age_s": {
      "@id": "compsapi:cached_age_s",
      "@type": "xsd:integer"
    },
    "source": {
      "@id": "compsapi:source",
      "@type": "xsd:string"
    },
    "filters": {
      "@id": "compsapi:filters"
    },
    "count_before_filters": {
      "@id": "compsapi:count_before_filters",
      "@type": "xsd:integer"
    },
    "stats": {
      "@id": "compsapi:stats",
      "@type": "@id"
    },
    "items": {
      "@id": "compsapi:items",
      "@container": "@list"
    },
    "Error": "compsapi:Error",
    "error": {
      "@id": "compsapi:error",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "compsapi-com API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects compsapi-com'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-10-30) from openapi/compsapi-com-openapi.json.",
  "dcterms:created": "2026-10-30",
  "dcterms:source": [
    "openapi/compsapi-com-openapi.json"
  ]
}