app.racethesky.teamMembership

racethesky.app

Documentation

A player's claim to be on a Race the Sky team. Only the account holder can write to their own repo, so the presence of this record is the proof of membership — and its absence is the proof of departure. A player races for one team at a time, so the record key is always 'self'.

main record

A player's claim to be on a Race the Sky team. Only the account holder can write to their own repo, so the presence of this record is the proof of membership — and its absence is the proof of departure. A player races for one team at a time, so the record key is always 'self'.

Record Key literal:self Fixed literal value

Properties

createdAt string datetime Required

Client-reported time the player joined.

teamId string Required

The team being joined. Deliberately not the team's join code: records are public, and a published join code would let anyone onto the squad.

maxLength: 64 bytes
teamName string Optional

The team's display name when the player joined, so the record reads as something human without a lookup. Advisory — the team's own record is authoritative and the name may since have changed.

maxLength: 64 bytes
View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "teamId",
      "createdAt"
    ],
    "properties": {
      "teamId": {
        "type": "string",
        "maxLength": 64,
        "description": "The team being joined. Deliberately not the team's join code: records are public, and a published join code would let anyone onto the squad."
      },
      "teamName": {
        "type": "string",
        "maxLength": 64,
        "description": "The team's display name when the player joined, so the record reads as something human without a lookup. Advisory — the team's own record is authoritative and the name may since have changed."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-reported time the player joined."
      }
    }
  },
  "description": "A player's claim to be on a Race the Sky team. Only the account holder can write to their own repo, so the presence of this record is the proof of membership — and its absence is the proof of departure. A player races for one team at a time, so the record key is always 'self'."
}

Lexicon Garden

@