full diff

games.atplay.game.invitation

atplay.games +7 −2
From
bafyreigqpfhpq3azx7tv3mzb4onkk4ux24iwjqil5qqwbvdnkosp5g6h6y indexed 2026-04-11 21:27 UTC View this version
To
bafyreihomsrgkbripby6zinznop6vo3nakv2bksxvonyypgc4uy52griqy indexed 2026-07-20 09:23 UTC View this version

Compatibility

breaking 2 breaking changes, 2 non-breaking changes.

Breaking changes (2)
  • KindChanged KindChanged { vertex_id: "games.atplay.game.invitation:body.parameters", old_kind: "object", new_kind: "ref" }
  • ConstraintAdded ConstraintAdded { vertex_id: "games.atplay.game.invitation:body.parameters", sort: "ref", value: "#parameters" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "games.atplay.game.invitation#parameters" }
  • AddedEdge AddedEdge { src: "games.atplay.game.invitation:body.parameters", tgt: "games.atplay.game.invitation#parameters", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "games.atplay.game.invitation#parameters" }

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "games.atplay.game.invitation:body.parameters", sort: "ref", value: "#parameters" }

Notes

  • Breaking: KindChanged { vertex_id: "games.atplay.game.invitation:body.parameters", old_kind: "object", new_kind: "ref" }
  • Non-breaking: AddedEdge { src: "games.atplay.game.invitation:body.parameters", tgt: "games.atplay.game.invitation#parameters", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "An invitation to play a game, with everything needed to execute it",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "game": {
1010 "ref": "games.atplay.game.release",
1111 "type": "ref"
1212 },
1313 "otherPlayers": {
1414 "description": "Array of DIDs for other players in the game",
1515 "items": {
1616 "format": "did",
1717 "type": "string"
1818 },
1919 "minLength": 1,
2020 "type": "array"
2121 },
2222 "parameters": {
2323 "description": "Any parameters of play used by the game logic",
24 "properties": {},
25 "type": "object"
24 "ref": "#parameters",
25 "type": "ref"
2626 },
2727 "state": {
2828 "ref": "games.atplay.game.state",
2929 "type": "ref"
3030 }
3131 },
3232 "required": [
3333 "game",
3434 "otherPlayers",
3535 "state"
3636 ],
3737 "type": "object"
3838 },
3939 "type": "record"
40 },
41 "parameters": {
42 "description": "Open-ended container for a game's parameters. Game logic interprets the fields.",
43 "properties": {},
44 "type": "object"
4045 }
4146 },
4247 "id": "games.atplay.game.invitation",
4348 "lexicon": 1
4449}

Compare other versions