actor.rpg.master

rpg.actor

Documentation

A master record validating one player's stats for one system. Multiple GMs can validate the same player.

main record
1 example

A master record validating one player's stats for one system. Multiple GMs can validate the same player.

Record Key tid Timestamp-based ID

Properties

campaign string Optional

Name of the campaign this validation relates to

maxLength: 100 bytes
createdAt string datetime Required

When this record was created

player string did Required

DID of the player this record validates

snapshotScope string Optional

What portions of stats are validated. 'none' = inherent trust (always valid), 'custom' = selected fields only, 'full' = all fields must match

maxLength: 20 bytes
Known values: none, custom, full
Default: full
spriteCid string Optional

CID of the approved sprite blob (optional)

maxLength: 200 bytes
stats unknown Optional

Snapshot of the player's stats for this system. Omitted when snapshotScope is 'none'.

system string Required

The stat system being validated (e.g. 'dnd', 'reverie', 'rmmz')

maxLength: 50 bytes
updatedAt string datetime Optional

When this record was last modified

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "player",
      "system",
      "createdAt"
    ],
    "properties": {
      "stats": {
        "type": "unknown",
        "description": "Snapshot of the player's stats for this system. Omitted when snapshotScope is 'none'."
      },
      "player": {
        "type": "string",
        "format": "did",
        "description": "DID of the player this record validates"
      },
      "system": {
        "type": "string",
        "maxLength": 50,
        "description": "The stat system being validated (e.g. 'dnd', 'reverie', 'rmmz')"
      },
      "campaign": {
        "type": "string",
        "maxLength": 100,
        "description": "Name of the campaign this validation relates to"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this record was created"
      },
      "spriteCid": {
        "type": "string",
        "maxLength": 200,
        "description": "CID of the approved sprite blob (optional)"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this record was last modified"
      },
      "snapshotScope": {
        "type": "string",
        "default": "full",
        "maxLength": 20,
        "description": "What portions of stats are validated. 'none' = inherent trust (always valid), 'custom' = selected fields only, 'full' = all fields must match",
        "knownValues": [
          "none",
          "custom",
          "full"
        ]
      }
    }
  },
  "description": "A master record validating one player's stats for one system. Multiple GMs can validate the same player."
}

Lexicon Garden

@