{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get the puzzle of the day: one shared puzzle per UTC day, selected to target the current average rating of established players and to favor popular, frequently-played puzzles. The pick is stable for the whole UTC day and never repeats a previous day's puzzle.",
"errors": [
{
"description": "No puzzle could be selected for the day.",
"name": "NoDailyPuzzle"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"day": {
"description": "the UTC day the puzzle belongs to, as YYYY-MM-DD.",
"type": "string"
},
"puzzle": {
"ref": "org.lichess.puzzle.defs#puzzleView",
"type": "ref"
}
},
"required": [
"day",
"puzzle"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "org.lichess.puzzle.getDaily",
"lexicon": 1
}