games.cavu.tier-madness.defs

chris.pardy.family

Documentation

award object

An end-of-game superlative and the bonus points it paid.

Properties

blurb string Required

No description available.

maxLength: 300 bytes
id string Required

No description available.

maxLength: 64 bytes
points integer Required

Points to each winner.

minimum: 0
title string Required

No description available.

maxLength: 100 bytes
winners array of stringdid Required

Everyone tied for it.

View raw schema
{
  "description": "An end-of-game superlative and the bonus points it paid.",
  "properties": {
    "blurb": {
      "maxLength": 300,
      "type": "string"
    },
    "id": {
      "maxLength": 64,
      "type": "string"
    },
    "points": {
      "description": "Points to each winner.",
      "minimum": 0,
      "type": "integer"
    },
    "title": {
      "maxLength": 100,
      "type": "string"
    },
    "winners": {
      "description": "Everyone tied for it.",
      "items": {
        "format": "did",
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "title",
    "blurb",
    "winners",
    "points"
  ],
  "type": "object"
}
cardPoints object

Points one card scored for the viewer against the other players.

Properties

item string Required

No description available.

maxLength: 300 bytes
points integer Required

No description available.

View raw schema
{
  "description": "Points one card scored for the viewer against the other players.",
  "properties": {
    "item": {
      "maxLength": 300,
      "type": "string"
    },
    "points": {
      "type": "integer"
    }
  },
  "required": [
    "item",
    "points"
  ],
  "type": "object"
}
cardResult object

How one card scored for the viewer.

Properties

doubled boolean Optional

No description available.

fromPlayers integer Required

The part of `points` scored against the other players, already counted during the reveal.

group ref #tier Required

No description available.

item string Required

No description available.

maxLength: 300 bytes
points integer Required

No description available.

yours ref #tier Required

No description available.

View raw schema
{
  "description": "How one card scored for the viewer.",
  "properties": {
    "doubled": {
      "type": "boolean"
    },
    "fromPlayers": {
      "description": "The part of `points` scored against the other players, already counted during the reveal.",
      "type": "integer"
    },
    "group": {
      "ref": "#tier",
      "type": "ref"
    },
    "item": {
      "maxLength": 300,
      "type": "string"
    },
    "points": {
      "type": "integer"
    },
    "yours": {
      "ref": "#tier",
      "type": "ref"
    }
  },
  "required": [
    "item",
    "yours",
    "group",
    "points",
    "fromPlayers"
  ],
  "type": "object"
}
gamePlayer object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

initials string Required

No description available.

maxLength: 3 bytesminLength: 3 bytes
View raw schema
{
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "initials": {
      "maxLength": 3,
      "minLength": 3,
      "type": "string"
    }
  },
  "required": [
    "did",
    "initials"
  ],
  "type": "object"
}
gameView object

The game as one viewer may see it. Secrets (other players' moves, items not yet dealt to this viewer) are left out until revealed.

Properties

awards array of ref#award Optional

The end-of-game superlatives (bonus phase on): who won each, and the points it paid them.

ballot array of string Optional

Categories to vote on (vote phase).

category string Optional

No description available.

maxLength: 300 bytes
code string Optional

The join code, for players and spectators (who already know it).

maxLength: 4 bytesminLength: 4 bytes
criteria string Optional

No description available.

maxLength: 300 bytes
criteriaOptions array of string Optional

No description available.

criteriaPicker string did Optional

A decentralized identifier (DID).

deadline integer Optional

When the server stops waiting on stalled players (ms since epoch), if it's counting down.

game string Required

No description available.

maxLength: 64 bytes
group array of ref#placement Optional

The group's median list (final phase).

hand array of ref#item Optional

Cards this viewer may see: during the deal, a player's cards so far (the next is dealt once the previous placement is committed); from the reveal on, the whole round, for everyone.

host string did Optional

A decentralized identifier (DID).

joinable boolean Optional

Whether the lobby still takes players.

mine ref #mine Optional

No description available.

phase ref #phase Required

No description available.

players array of ref#player Required

No description available.

rematch ref #rematch Optional

Game over: the rematch someone started, while it still takes players.

results array of ref#cardResult Optional

After the reveal: how each of the viewer's cards scored.

reveal ref #reveal Optional

No description available.

revealIndex integer Optional

Reveal phase: which card (in deal order) is being revealed.

minimum: 0
revealPoints array of ref#cardPoints Optional

Reveal phase: the viewer's points against the other players, for each card revealed so far.

reveals array of ref#reveal Optional

Spectators, once a round is revealed: every item's picks at once, so a spectator screen can play the reveal on timers instead of following the host.

round integer Required

No description available.

minimum: 0
totalRounds integer Required

No description available.

minimum: 1
viewer ref #viewer Required

No description available.

View raw schema
{
  "description": "The game as one viewer may see it. Secrets (other players' moves, items not yet dealt to this viewer) are left out until revealed.",
  "properties": {
    "awards": {
      "description": "The end-of-game superlatives (bonus phase on): who won each, and the points it paid them.",
      "items": {
        "ref": "#award",
        "type": "ref"
      },
      "type": "array"
    },
    "ballot": {
      "description": "Categories to vote on (vote phase).",
      "items": {
        "maxLength": 300,
        "type": "string"
      },
      "type": "array"
    },
    "category": {
      "maxLength": 300,
      "type": "string"
    },
    "code": {
      "description": "The join code, for players and spectators (who already know it).",
      "maxLength": 4,
      "minLength": 4,
      "type": "string"
    },
    "criteria": {
      "maxLength": 300,
      "type": "string"
    },
    "criteriaOptions": {
      "items": {
        "maxLength": 300,
        "type": "string"
      },
      "type": "array"
    },
    "criteriaPicker": {
      "format": "did",
      "type": "string"
    },
    "deadline": {
      "description": "When the server stops waiting on stalled players (ms since epoch), if it's counting down.",
      "type": "integer"
    },
    "game": {
      "maxLength": 64,
      "type": "string"
    },
    "group": {
      "description": "The group's median list (final phase).",
      "items": {
        "ref": "#placement",
        "type": "ref"
      },
      "type": "array"
    },
    "hand": {
      "description": "Cards this viewer may see: during the deal, a player's cards so far (the next is dealt once the previous placement is committed); from the reveal on, the whole round, for everyone.",
      "items": {
        "ref": "#item",
        "type": "ref"
      },
      "type": "array"
    },
    "host": {
      "format": "did",
      "type": "string"
    },
    "joinable": {
      "description": "Whether the lobby still takes players.",
      "type": "boolean"
    },
    "mine": {
      "ref": "#mine",
      "type": "ref"
    },
    "phase": {
      "ref": "#phase",
      "type": "ref"
    },
    "players": {
      "items": {
        "ref": "#player",
        "type": "ref"
      },
      "type": "array"
    },
    "rematch": {
      "description": "Game over: the rematch someone started, while it still takes players.",
      "ref": "#rematch",
      "type": "ref"
    },
    "results": {
      "description": "After the reveal: how each of the viewer's cards scored.",
      "items": {
        "ref": "#cardResult",
        "type": "ref"
      },
      "type": "array"
    },
    "reveal": {
      "ref": "#reveal",
      "type": "ref"
    },
    "revealIndex": {
      "description": "Reveal phase: which card (in deal order) is being revealed.",
      "minimum": 0,
      "type": "integer"
    },
    "revealPoints": {
      "description": "Reveal phase: the viewer's points against the other players, for each card revealed so far.",
      "items": {
        "ref": "#cardPoints",
        "type": "ref"
      },
      "type": "array"
    },
    "reveals": {
      "description": "Spectators, once a round is revealed: every item's picks at once, so a spectator screen can play the reveal on timers instead of following the host.",
      "items": {
        "ref": "#reveal",
        "type": "ref"
      },
      "type": "array"
    },
    "round": {
      "minimum": 0,
      "type": "integer"
    },
    "totalRounds": {
      "minimum": 1,
      "type": "integer"
    },
    "viewer": {
      "ref": "#viewer",
      "type": "ref"
    }
  },
  "required": [
    "game",
    "phase",
    "round",
    "totalRounds",
    "players",
    "viewer"
  ],
  "type": "object"
}
item object

A card, sourced from a Wikipedia article.

Properties

extract string Optional

No description available.

maxLength: 10000 bytes
id string Required

No description available.

maxLength: 300 bytes
imageUrl string uri Optional

A valid URI.

name string Required

No description available.

maxLength: 300 bytes
sourceUrl string uri Optional

A valid URI.

summary string Required

No description available.

maxLength: 1000 bytes
View raw schema
{
  "description": "A card, sourced from a Wikipedia article.",
  "properties": {
    "extract": {
      "maxLength": 10000,
      "type": "string"
    },
    "id": {
      "maxLength": 300,
      "type": "string"
    },
    "imageUrl": {
      "format": "uri",
      "type": "string"
    },
    "name": {
      "maxLength": 300,
      "type": "string"
    },
    "sourceUrl": {
      "format": "uri",
      "type": "string"
    },
    "summary": {
      "maxLength": 1000,
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "summary"
  ],
  "type": "object"
}
mine object

The viewer's own round so far (only ever sent to that player).

Properties

double string Optional

No description available.

maxLength: 300 bytes
doubleChosen boolean Optional

No description available.

placements array of ref#placement Required

As placed, before any swap.

swap array of string Optional

The swap, once chosen ([] = skipped).

maxLength: 2 items
swapChosen boolean Optional

No description available.

View raw schema
{
  "description": "The viewer's own round so far (only ever sent to that player).",
  "properties": {
    "double": {
      "maxLength": 300,
      "type": "string"
    },
    "doubleChosen": {
      "type": "boolean"
    },
    "placements": {
      "description": "As placed, before any swap.",
      "items": {
        "ref": "#placement",
        "type": "ref"
      },
      "type": "array"
    },
    "swap": {
      "description": "The swap, once chosen ([] = skipped).",
      "items": {
        "maxLength": 300,
        "type": "string"
      },
      "maxLength": 2,
      "type": "array"
    },
    "swapChosen": {
      "type": "boolean"
    }
  },
  "required": [
    "placements"
  ],
  "type": "object"
}
phase string

No description available.

Known Values (other values may be valid)
lobby vote pickCriteria deal swap double waiting reveal final scores bonus gameover
View raw schema
{
  "knownValues": [
    "lobby",
    "vote",
    "pickCriteria",
    "deal",
    "swap",
    "double",
    "waiting",
    "reveal",
    "final",
    "scores",
    "bonus",
    "gameover"
  ],
  "type": "string"
}
placement object

No description available.

Properties

item string Required

No description available.

maxLength: 300 bytes
tier ref #tier Required

No description available.

View raw schema
{
  "properties": {
    "item": {
      "maxLength": 300,
      "type": "string"
    },
    "tier": {
      "ref": "#tier",
      "type": "ref"
    }
  },
  "required": [
    "item",
    "tier"
  ],
  "type": "object"
}
player object

No description available.

Properties

bot boolean Optional

Played by the server (a Jev bot), not a person.

connected boolean Optional

No description available.

did string did Required

A decentralized identifier (DID).

forfeit boolean Optional

This round's moves didn't verify, so they don't count.

host boolean Optional

No description available.

initials string Required

No description available.

maxLength: 3 bytes
progress integer Required

Moves committed this phase, for 'waiting on…' indicators.

minimum: 0
roundPoints integer Optional

Points from the last scored round (may be negative).

score integer Required

No description available.

minimum: 0
scoreAfter integer Optional

While a round or the end-of-game bonus is being revealed: this player's total once it's banked, so a spectator screen can play it out on its own clock.

View raw schema
{
  "properties": {
    "bot": {
      "description": "Played by the server (a Jev bot), not a person.",
      "type": "boolean"
    },
    "connected": {
      "type": "boolean"
    },
    "did": {
      "format": "did",
      "type": "string"
    },
    "forfeit": {
      "description": "This round's moves didn't verify, so they don't count.",
      "type": "boolean"
    },
    "host": {
      "type": "boolean"
    },
    "initials": {
      "maxLength": 3,
      "type": "string"
    },
    "progress": {
      "description": "Moves committed this phase, for 'waiting on…' indicators.",
      "minimum": 0,
      "type": "integer"
    },
    "roundPoints": {
      "description": "Points from the last scored round (may be negative).",
      "type": "integer"
    },
    "score": {
      "minimum": 0,
      "type": "integer"
    },
    "scoreAfter": {
      "description": "While a round or the end-of-game bonus is being revealed: this player's total once it's banked, so a spectator screen can play it out on its own clock.",
      "type": "integer"
    }
  },
  "required": [
    "did",
    "initials",
    "score",
    "progress"
  ],
  "type": "object"
}
prompt object

What a rating answers, embedded rather than written as a garden.lexicon.dazzling-boarfish.rating.prompt record. Its scale is the game's.

Properties

langs array of stringlanguage Optional

No description available.

maxLength: 3 items
text string Required

No description available.

maxLength: 1024 bytes
View raw schema
{
  "description": "What a rating answers, embedded rather than written as a garden.lexicon.dazzling-boarfish.rating.prompt record. Its scale is the game's.",
  "properties": {
    "langs": {
      "items": {
        "format": "language",
        "type": "string"
      },
      "maxLength": 3,
      "type": "array"
    },
    "text": {
      "maxLength": 1024,
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "type": "object"
}
rematch object

A rematch lobby for the same table.

Properties

code string Required

No description available.

maxLength: 4 bytesminLength: 4 bytes
host string did Required

A decentralized identifier (DID).

View raw schema
{
  "description": "A rematch lobby for the same table.",
  "properties": {
    "code": {
      "maxLength": 4,
      "minLength": 4,
      "type": "string"
    },
    "host": {
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "code",
    "host"
  ],
  "type": "object"
}
reveal object

No description available.

Properties

item ref #item Required

No description available.

votes array of ref#vote Required

No description available.

View raw schema
{
  "properties": {
    "item": {
      "ref": "#item",
      "type": "ref"
    },
    "votes": {
      "items": {
        "ref": "#vote",
        "type": "ref"
      },
      "type": "array"
    }
  },
  "required": [
    "item",
    "votes"
  ],
  "type": "object"
}
scale object

A rating scale, embedded rather than written as a garden.lexicon.dazzling-boarfish.rating.scale record: the same fields, minus record bookkeeping.

Properties

description string Optional

No description available.

maxLength: 1024 bytes
langs array of stringlanguage Optional

No description available.

maxLength: 3 items
name string Required

No description available.

maxLength: 256 bytes
View raw schema
{
  "description": "A rating scale, embedded rather than written as a garden.lexicon.dazzling-boarfish.rating.scale record: the same fields, minus record bookkeeping.",
  "properties": {
    "code": {
      "refs": [
        "garden.lexicon.dazzling-boarfish.rating.scale#nominal",
        "garden.lexicon.dazzling-boarfish.rating.scale#ordinal",
        "garden.lexicon.dazzling-boarfish.rating.scale#interval",
        "garden.lexicon.dazzling-boarfish.rating.scale#ratio"
      ],
      "type": "union"
    },
    "description": {
      "maxLength": 1024,
      "type": "string"
    },
    "langs": {
      "items": {
        "format": "language",
        "type": "string"
      },
      "maxLength": 3,
      "type": "array"
    },
    "name": {
      "maxLength": 256,
      "type": "string"
    }
  },
  "required": [
    "name",
    "code"
  ],
  "type": "object"
}
tier string

No description available.

Known Values (other values may be valid)
S A B C D F
View raw schema
{
  "knownValues": [
    "S",
    "A",
    "B",
    "C",
    "D",
    "F"
  ],
  "type": "string"
}
viewer object

No description available.

Properties

did string did Optional

A decentralized identifier (DID).

role string Required

No description available.

Known values: host, player, spectator
View raw schema
{
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "role": {
      "knownValues": [
        "host",
        "player",
        "spectator"
      ],
      "type": "string"
    }
  },
  "required": [
    "role"
  ],
  "type": "object"
}
vote object

Where one player put the item being revealed.

Properties

did string did Required

A decentralized identifier (DID).

tier ref #tier Required

No description available.

View raw schema
{
  "description": "Where one player put the item being revealed.",
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "tier": {
      "ref": "#tier",
      "type": "ref"
    }
  },
  "required": [
    "did",
    "tier"
  ],
  "type": "object"
}

Lexicon Garden

@