Lichess · JSON-LD Context

Lichess Context

JSON-LD context defining the semantic vocabulary for Lichess from Lichess.

55 Classes 16 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
lichess: https://lichess.org/terms/
dc: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

User Game Tournament Team Study Broadcast Puzzle Challenge id username title language bio location variant speed perf status winner moves pgn initialFen opening eco clock increment initial daysPerTurn rating rd prog players white black user aiLevel name description members leaders duration nbPlayers minRatedGames teamBattle puzzleId solution themes fen challenger destUser color timeControl chapters rounds tour

Properties

Property Type Container
url reference
createdAt dateTime
seenAt dateTime
online boolean
patron boolean
rated boolean
tournament reference
swiss reference
prov boolean
berserk boolean
team reference
open boolean
startsAt dateTime
finishesAt dateTime
isFinished boolean
berserkable boolean

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "lichess": "https://lichess.org/terms/",
    "dc": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "User": "lichess:User",
    "Game": "lichess:Game",
    "Tournament": "lichess:Tournament",
    "Team": "lichess:Team",
    "Study": "lichess:Study",
    "Broadcast": "lichess:Broadcast",
    "Puzzle": "lichess:Puzzle",
    "Challenge": "lichess:Challenge",

    "id": "schema:identifier",
    "username": "schema:alternateName",
    "title": "lichess:title",
    "url": {"@id": "schema:url", "@type": "@id"},
    "createdAt": {"@id": "schema:dateCreated", "@type": "xsd:dateTime"},
    "seenAt": {"@id": "lichess:lastSeen", "@type": "xsd:dateTime"},
    "online": {"@id": "lichess:online", "@type": "xsd:boolean"},
    "patron": {"@id": "lichess:isPatron", "@type": "xsd:boolean"},
    "language": "schema:inLanguage",
    "bio": "schema:description",
    "location": "schema:homeLocation",

    "rated": {"@id": "lichess:rated", "@type": "xsd:boolean"},
    "variant": "lichess:chessVariant",
    "speed": "lichess:timeControlBucket",
    "perf": "lichess:perf",
    "status": "lichess:gameStatus",
    "winner": "lichess:winningColor",
    "moves": "lichess:movesSan",
    "pgn": "lichess:pgn",
    "initialFen": "lichess:initialFen",
    "opening": "lichess:opening",
    "eco": "lichess:eco",
    "clock": "lichess:clock",
    "increment": "lichess:clockIncrement",
    "initial": "lichess:clockInitial",
    "daysPerTurn": "lichess:daysPerTurn",
    "tournament": {"@id": "lichess:partOfArena", "@type": "@id"},
    "swiss": {"@id": "lichess:partOfSwiss", "@type": "@id"},

    "rating": "lichess:glickoRating",
    "rd": "lichess:glickoRD",
    "prog": "lichess:ratingProgress",
    "prov": {"@id": "lichess:ratingProvisional", "@type": "xsd:boolean"},
    "berserk": {"@id": "lichess:berserked", "@type": "xsd:boolean"},
    "team": {"@id": "lichess:teamRef", "@type": "@id"},

    "players": "lichess:players",
    "white": "lichess:whitePlayer",
    "black": "lichess:blackPlayer",
    "user": "lichess:account",
    "aiLevel": "lichess:aiLevel",

    "name": "schema:name",
    "description": "schema:description",
    "members": "schema:member",
    "leaders": "lichess:leaders",
    "open": {"@id": "lichess:openMembership", "@type": "xsd:boolean"},

    "startsAt": {"@id": "schema:startDate", "@type": "xsd:dateTime"},
    "finishesAt": {"@id": "schema:endDate", "@type": "xsd:dateTime"},
    "duration": "schema:duration",
    "nbPlayers": "lichess:participantCount",
    "isFinished": {"@id": "lichess:isFinished", "@type": "xsd:boolean"},
    "berserkable": {"@id": "lichess:berserkable", "@type": "xsd:boolean"},
    "minRatedGames": "lichess:minRatedGames",
    "teamBattle": "lichess:teamBattle",

    "puzzleId": "lichess:puzzleId",
    "solution": "lichess:puzzleSolution",
    "themes": "schema:keywords",
    "fen": "lichess:fen",

    "challenger": "lichess:challenger",
    "destUser": "lichess:challenged",
    "color": "lichess:color",
    "timeControl": "lichess:timeControl",

    "chapters": "lichess:studyChapters",
    "rounds": "lichess:broadcastRounds",
    "tour": "lichess:broadcastTour"
  }
}