Whichli · JSON-LD Context

Whichli Com Context

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

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

Classes

ApiError PollOption PollCreated Poll PollResults

Properties

Property Type Container
error string
detail
docs reference
id string
caption string
imageUrl reference
productUrl reference
publicId string
title string
mode string
visibility string
voteUrl reference
resultsUrl reference
adminUrl reference
adminToken string
expiresAt dateTime
options list
creatorName string
totalVoters integer
winner
standings list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://whichli.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "whichli": "https://whichli.com/schema#",
    "ApiError": "whichli:ApiError",
    "error": {
      "@id": "whichli:error",
      "@type": "xsd:string"
    },
    "detail": {
      "@id": "whichli:detail"
    },
    "docs": {
      "@id": "whichli:docs",
      "@type": "@id"
    },
    "PollOption": "whichli:PollOption",
    "id": {
      "@id": "whichli:id",
      "@type": "xsd:string"
    },
    "caption": {
      "@id": "whichli:caption",
      "@type": "xsd:string"
    },
    "imageUrl": {
      "@id": "whichli:imageUrl",
      "@type": "@id"
    },
    "productUrl": {
      "@id": "whichli:productUrl",
      "@type": "@id"
    },
    "PollCreated": "whichli:PollCreated",
    "publicId": {
      "@id": "whichli:publicId",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "whichli:title",
      "@type": "xsd:string"
    },
    "mode": {
      "@id": "whichli:mode",
      "@type": "xsd:string"
    },
    "visibility": {
      "@id": "whichli:visibility",
      "@type": "xsd:string"
    },
    "voteUrl": {
      "@id": "whichli:voteUrl",
      "@type": "@id"
    },
    "resultsUrl": {
      "@id": "whichli:resultsUrl",
      "@type": "@id"
    },
    "adminUrl": {
      "@id": "whichli:adminUrl",
      "@type": "@id"
    },
    "adminToken": {
      "@id": "whichli:adminToken",
      "@type": "xsd:string"
    },
    "expiresAt": {
      "@id": "whichli:expiresAt",
      "@type": "xsd:dateTime"
    },
    "options": {
      "@id": "whichli:options",
      "@container": "@list"
    },
    "Poll": "whichli:Poll",
    "creatorName": {
      "@id": "whichli:creatorName",
      "@type": "xsd:string"
    },
    "PollResults": "whichli:PollResults",
    "totalVoters": {
      "@id": "whichli:totalVoters",
      "@type": "xsd:integer"
    },
    "winner": {
      "@id": "whichli:winner"
    },
    "standings": {
      "@id": "whichli:standings",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Whichli API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Whichli'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/whichli-com-openapi.yml.",
  "dcterms:created": "2026-11-28",
  "dcterms:source": [
    "openapi/whichli-com-openapi.yml"
  ]
}