Spark Ads · JSON-LD Context

Sparkads Dev Context

JSON-LD context defining the semantic vocabulary for Sparkads Dev from Spark Ads.

3 Classes 15 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/
sparkads: https://sparkads.dev/schema#

Classes

GetApiServeResponse PostApiTallyRequest PostApiTallyResponse

Properties

Property Type Container
ads list
slot
slot.forSale boolean
slot.pricingUrl string
slot.from string
layout
layout.minCards decimal
layout.maxCards decimal
layout.minCardWidth decimal
layout.gap decimal
app string
creativeIds list
creativeId string
event string
source string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://sparkads.dev/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "sparkads": "https://sparkads.dev/schema#",
    "GetApiServeResponse": "sparkads:GetApiServeResponse",
    "ads": {
      "@id": "sparkads:ads",
      "@container": "@list"
    },
    "slot": {
      "@id": "sparkads:slot"
    },
    "slot.forSale": {
      "@id": "sparkads:slot.forSale",
      "@type": "xsd:boolean"
    },
    "slot.pricingUrl": {
      "@id": "sparkads:slot.pricingUrl",
      "@type": "xsd:string"
    },
    "slot.from": {
      "@id": "sparkads:slot.from",
      "@type": "xsd:string"
    },
    "layout": {
      "@id": "sparkads:layout"
    },
    "layout.minCards": {
      "@id": "sparkads:layout.minCards",
      "@type": "xsd:decimal"
    },
    "layout.maxCards": {
      "@id": "sparkads:layout.maxCards",
      "@type": "xsd:decimal"
    },
    "layout.minCardWidth": {
      "@id": "sparkads:layout.minCardWidth",
      "@type": "xsd:decimal"
    },
    "layout.gap": {
      "@id": "sparkads:layout.gap",
      "@type": "xsd:decimal"
    },
    "PostApiTallyRequest": "sparkads:PostApiTallyRequest",
    "app": {
      "@id": "sparkads:app",
      "@type": "xsd:string"
    },
    "creativeIds": {
      "@id": "sparkads:creativeIds",
      "@container": "@list"
    },
    "creativeId": {
      "@id": "sparkads:creativeId",
      "@type": "xsd:string"
    },
    "event": {
      "@id": "sparkads:event",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "sparkads:source",
      "@type": "xsd:string"
    },
    "PostApiTallyResponse": "sparkads:PostApiTallyResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "Spark Ads API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Spark Ads'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-25) from openapi/_ae-authored/sparkads-dev-openapi-generated.yml.",
  "dcterms:created": "2026-11-25",
  "dcterms:source": [
    "openapi/_ae-authored/sparkads-dev-openapi-generated.yml"
  ]
}