jService · JSON-LD Context

Jservice Context

JSON-LD context defining the semantic vocabulary for Jservice from jService.

4 Classes 12 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
jservice: https://github.com/api-evangelist/jservice/vocabulary#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Clue Category id title

Properties

Property Type Container
answer string
question string
value integer
airdate dateTime
category_id integer
game_id integer
invalid_count integer
category reference
created_at dateTime
updated_at dateTime
clues_count integer
clues set

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "jservice": "https://github.com/api-evangelist/jservice/vocabulary#",
    "Clue": "jservice:Clue",
    "Category": "jservice:Category",
    "id": "@id",
    "answer": {
      "@id": "schema:text",
      "@type": "xsd:string"
    },
    "question": {
      "@id": "schema:description",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "jservice:value",
      "@type": "xsd:integer"
    },
    "airdate": {
      "@id": "schema:datePublished",
      "@type": "xsd:dateTime"
    },
    "category_id": {
      "@id": "jservice:categoryId",
      "@type": "xsd:integer"
    },
    "game_id": {
      "@id": "jservice:gameId",
      "@type": "xsd:integer"
    },
    "invalid_count": {
      "@id": "jservice:invalidCount",
      "@type": "xsd:integer"
    },
    "category": {
      "@id": "jservice:category",
      "@type": "@id"
    },
    "title": "schema:name",
    "created_at": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "clues_count": {
      "@id": "jservice:cluesCount",
      "@type": "xsd:integer"
    },
    "clues": {
      "@id": "jservice:hasClue",
      "@container": "@set"
    },
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  }
}