CardDeals · JSON-LD Context

Carddeals Co Context

JSON-LD context defining the semantic vocabulary for Carddeals Co from CardDeals.

6 Classes 37 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/
carddeals: https://carddeals.co/schema#

Classes

ProviderDeal GiftCardDealProduct SearchResponse LookupResponse ProductResponse Error

Properties

Property Type Container
deal_id string
provider_name string
provider_slug string
discount_percent decimal
in_stock boolean
fetched_at dateTime
purchase_url reference
variant string
variant_label string
coupon
conditions list
seller_terms
relationship string
disclosure string
id_verification_required boolean
listings list
product_id string
name string
slug string
canonical_url reference
base_domain string
category
best_discount_percent decimal
carddeals_inventory_status string
deals list
schema_version string
as_of dateTime
currency string
affiliate_disclosure string
freshness_notice string
query
total integer
products list
not_found list
product
message string
error string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://carddeals.co/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "carddeals": "https://carddeals.co/schema#",
    "ProviderDeal": "carddeals:ProviderDeal",
    "deal_id": {
      "@id": "carddeals:deal_id",
      "@type": "xsd:string"
    },
    "provider_name": {
      "@id": "carddeals:provider_name",
      "@type": "xsd:string"
    },
    "provider_slug": {
      "@id": "carddeals:provider_slug",
      "@type": "xsd:string"
    },
    "discount_percent": {
      "@id": "carddeals:discount_percent",
      "@type": "xsd:decimal"
    },
    "in_stock": {
      "@id": "carddeals:in_stock",
      "@type": "xsd:boolean"
    },
    "fetched_at": {
      "@id": "carddeals:fetched_at",
      "@type": "xsd:dateTime"
    },
    "purchase_url": {
      "@id": "carddeals:purchase_url",
      "@type": "@id"
    },
    "variant": {
      "@id": "carddeals:variant",
      "@type": "xsd:string"
    },
    "variant_label": {
      "@id": "carddeals:variant_label",
      "@type": "xsd:string"
    },
    "coupon": {
      "@id": "carddeals:coupon"
    },
    "conditions": {
      "@id": "carddeals:conditions",
      "@container": "@list"
    },
    "seller_terms": {
      "@id": "carddeals:seller_terms"
    },
    "relationship": {
      "@id": "carddeals:relationship",
      "@type": "xsd:string"
    },
    "disclosure": {
      "@id": "carddeals:disclosure",
      "@type": "xsd:string"
    },
    "id_verification_required": {
      "@id": "carddeals:id_verification_required",
      "@type": "xsd:boolean"
    },
    "listings": {
      "@id": "carddeals:listings",
      "@container": "@list"
    },
    "GiftCardDealProduct": "carddeals:GiftCardDealProduct",
    "product_id": {
      "@id": "carddeals:product_id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "carddeals:name",
      "@type": "xsd:string"
    },
    "slug": {
      "@id": "carddeals:slug",
      "@type": "xsd:string"
    },
    "canonical_url": {
      "@id": "carddeals:canonical_url",
      "@type": "@id"
    },
    "base_domain": {
      "@id": "carddeals:base_domain",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "carddeals:category"
    },
    "best_discount_percent": {
      "@id": "carddeals:best_discount_percent",
      "@type": "xsd:decimal"
    },
    "carddeals_inventory_status": {
      "@id": "carddeals:carddeals_inventory_status",
      "@type": "xsd:string"
    },
    "deals": {
      "@id": "carddeals:deals",
      "@container": "@list"
    },
    "SearchResponse": "carddeals:SearchResponse",
    "schema_version": {
      "@id": "carddeals:schema_version",
      "@type": "xsd:string"
    },
    "as_of": {
      "@id": "carddeals:as_of",
      "@type": "xsd:dateTime"
    },
    "currency": {
      "@id": "carddeals:currency",
      "@type": "xsd:string"
    },
    "affiliate_disclosure": {
      "@id": "carddeals:affiliate_disclosure",
      "@type": "xsd:string"
    },
    "freshness_notice": {
      "@id": "carddeals:freshness_notice",
      "@type": "xsd:string"
    },
    "query": {
      "@id": "carddeals:query"
    },
    "total": {
      "@id": "carddeals:total",
      "@type": "xsd:integer"
    },
    "products": {
      "@id": "carddeals:products",
      "@container": "@list"
    },
    "LookupResponse": "carddeals:LookupResponse",
    "not_found": {
      "@id": "carddeals:not_found",
      "@container": "@list"
    },
    "ProductResponse": "carddeals:ProductResponse",
    "product": {
      "@id": "carddeals:product"
    },
    "message": {
      "@id": "carddeals:message",
      "@type": "xsd:string"
    },
    "Error": "carddeals:Error",
    "error": {
      "@id": "carddeals:error",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "CardDeals API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects CardDeals'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-03) from openapi/carddeals-co-openapi.json.",
  "dcterms:created": "2026-11-03",
  "dcterms:source": [
    "openapi/carddeals-co-openapi.json"
  ]
}