ink.igav.galaxius.temp.period

galaxius-gm.igav.ink

Documentation

A period record, written by the game master; a link in a game's ledger.

main record

A period record, written by the game master; a link in a game's ledger.

Record Key any Any valid record key

Properties

batch blob Required

The batch blob: the period's lines (envelopes, bot orders, refusals, key changes) as gzip-compressed JSON Lines.

maxSize: 1.0 MB
encryption unknown Optional

An encryption descriptor, absent in sandbox games until M4.

index integer Required

The period's index, from zero.

minimum: 0
keyChanges array of ref #keyChange Required

The session key changes that took effect during this period.

maxLength: 100 items
secret string Required

The secret for this period, revealed here as 64 lowercase hex digits; hashing it gives the previous link's commitment.

maxLength: 64 bytes
stateRoot string Required

The root of the state after the period's last tick, as 64 lowercase hex digits.

maxLength: 64 bytes
ticks ref #tickRange Required

The tick range the period covers.

View raw schema
{
  "description": "A period record, written by the game master; a link in a game's ledger.",
  "key": "any",
  "record": {
    "properties": {
      "batch": {
        "accept": [
          "application/gzip"
        ],
        "description": "The batch blob: the period's lines (envelopes, bot orders, refusals, key changes) as gzip-compressed JSON Lines.",
        "maxSize": 1000000,
        "type": "blob"
      },
      "encryption": {
        "description": "An encryption descriptor, absent in sandbox games until M4.",
        "type": "unknown"
      },
      "game": {
        "description": "A strongRef to the game this period belongs to.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "index": {
        "description": "The period's index, from zero.",
        "minimum": 0,
        "type": "integer"
      },
      "keyChanges": {
        "description": "The session key changes that took effect during this period.",
        "items": {
          "ref": "#keyChange",
          "type": "ref"
        },
        "maxLength": 100,
        "type": "array"
      },
      "previous": {
        "description": "A strongRef to the previous period; absent for period zero.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "secret": {
        "description": "The secret for this period, revealed here as 64 lowercase hex digits; hashing it gives the previous link's commitment.",
        "maxLength": 64,
        "type": "string"
      },
      "stateRoot": {
        "description": "The root of the state after the period's last tick, as 64 lowercase hex digits.",
        "maxLength": 64,
        "type": "string"
      },
      "ticks": {
        "description": "The tick range the period covers.",
        "ref": "#tickRange",
        "type": "ref"
      }
    },
    "required": [
      "game",
      "index",
      "ticks",
      "stateRoot",
      "batch",
      "secret",
      "keyChanges"
    ],
    "type": "object"
  },
  "type": "record"
}
keyChange object

No description available.

Properties

seat integer Required

The seat whose key changed.

minimum: 1
sessionKey string Required

The seat's new Ed25519 public key as a did:key multikey.

maxLength: 128 bytes
View raw schema
{
  "properties": {
    "join": {
      "description": "The join record that brought the new key.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "seat": {
      "description": "The seat whose key changed.",
      "minimum": 1,
      "type": "integer"
    },
    "sessionKey": {
      "description": "The seat's new Ed25519 public key as a did:key multikey.",
      "maxLength": 128,
      "type": "string"
    }
  },
  "required": [
    "seat",
    "sessionKey"
  ],
  "type": "object"
}
tickRange object

No description available.

Properties

from integer Required

The first tick the period covers.

minimum: 0
to integer Required

The last tick the period covers.

minimum: 0
View raw schema
{
  "properties": {
    "from": {
      "description": "The first tick the period covers.",
      "minimum": 0,
      "type": "integer"
    },
    "to": {
      "description": "The last tick the period covers.",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "from",
    "to"
  ],
  "type": "object"
}

Lexicon Garden

@