at.turtleme.game.defs

turtleme.at

Schema Diff

+183 -0

From

CID
bafyreifvmkozceo...
Indexed At
2026-09-15 20:03 UTC
View this version

To

CID
bafyreibtcyd23pj...
Indexed At
2026-09-16 13:52 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

10 breaking changes, 56 non-breaking changes.

Breaking Changes (10)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#market", src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.low", kind: "prop", name: Some("low") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#market", src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.high", kind: "prop", name: Some("high") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#reef", src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.shoal", kind: "prop", name: Some("shoal") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#reef", src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.across", kind: "prop", name: Some("across") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.index", kind: "prop", name: Some("index") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.streak", kind: "prop", name: Some("streak") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.span", kind: "prop", name: Some("span") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.left", kind: "prop", name: Some("left") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.seed", kind: "prop", name: Some("seed") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#spot", src: "at.turtleme.game.defs#spot", tgt: "at.turtleme.game.defs#spot.since", kind: "prop", name: Some("since") }
Non-Breaking Changes (56)
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast.index" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast.left" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast.seed" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast.span" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#cast.streak" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#market" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#market.at" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#market.high" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#market.low" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#market.stale" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef.across" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef.laid" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef.over" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef.shoal" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#reef.swept" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#rest" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#rest.reef" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#rest.strike" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#spot" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#spot.movesAt" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#spot.since" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.bankedTurtles" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.cast" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.gp" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.items" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.market" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.outcome" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.reef" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.rest" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.shop" }
  • AddedVertex AddedVertex { vertex_id: "at.turtleme.game.defs#state.spot" }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.at", kind: "prop", name: Some("at") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.stale", kind: "prop", name: Some("stale") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.laid", kind: "prop", name: Some("laid") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.over", kind: "prop", name: Some("over") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.swept", kind: "prop", name: Some("swept") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#rest", tgt: "at.turtleme.game.defs#rest.reef", kind: "prop", name: Some("reef") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#rest", tgt: "at.turtleme.game.defs#rest.strike", kind: "prop", name: Some("strike") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#spot", tgt: "at.turtleme.game.defs#spot.movesAt", kind: "prop", name: Some("movesAt") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.bankedTurtles", kind: "prop", name: Some("bankedTurtles") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.cast", kind: "prop", name: Some("cast") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.gp", kind: "prop", name: Some("gp") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.items", kind: "prop", name: Some("items") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.market", kind: "prop", name: Some("market") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.outcome", kind: "prop", name: Some("outcome") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.reef", kind: "prop", name: Some("reef") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.rest", kind: "prop", name: Some("rest") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.shop", kind: "prop", name: Some("shop") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.spot", kind: "prop", name: Some("spot") }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state.cast", tgt: "at.turtleme.game.defs#cast", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state.market", tgt: "at.turtleme.game.defs#market", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state.reef", tgt: "at.turtleme.game.defs#reef", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state.rest", tgt: "at.turtleme.game.defs#rest", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.turtleme.game.defs#state.spot", tgt: "at.turtleme.game.defs#spot", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast.index" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast.left" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast.seed" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast.span" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#cast.streak" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#market" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#market.at" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#market.high" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#market.low" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#market.stale" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef.across" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef.laid" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef.over" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef.shoal" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#reef.swept" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#rest" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#rest.reef" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#rest.strike" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#spot" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#spot.movesAt" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#spot.since" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.bankedTurtles" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.cast" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.gp" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.items" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.market" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.outcome" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.reef" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.rest" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.shop" }
  • AddedVertex { vertex_id: "at.turtleme.game.defs#state.spot" }

Additional Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#reef", src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.shoal", kind: "prop", name: Some("shoal") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#reef", src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.across", kind: "prop", name: Some("across") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.index", kind: "prop", name: Some("index") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.streak", kind: "prop", name: Some("streak") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.span", kind: "prop", name: Some("span") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.left", kind: "prop", name: Some("left") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#cast", src: "at.turtleme.game.defs#cast", tgt: "at.turtleme.game.defs#cast.seed", kind: "prop", name: Some("seed") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#spot", src: "at.turtleme.game.defs#spot", tgt: "at.turtleme.game.defs#spot.since", kind: "prop", name: Some("since") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#market", src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.low", kind: "prop", name: Some("low") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.turtleme.game.defs#market", src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.high", kind: "prop", name: Some("high") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.at", kind: "prop", name: Some("at") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#market", tgt: "at.turtleme.game.defs#market.stale", kind: "prop", name: Some("stale") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.laid", kind: "prop", name: Some("laid") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.over", kind: "prop", name: Some("over") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#reef", tgt: "at.turtleme.game.defs#reef.swept", kind: "prop", name: Some("swept") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#rest", tgt: "at.turtleme.game.defs#rest.reef", kind: "prop", name: Some("reef") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#rest", tgt: "at.turtleme.game.defs#rest.strike", kind: "prop", name: Some("strike") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#spot", tgt: "at.turtleme.game.defs#spot.movesAt", kind: "prop", name: Some("movesAt") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.bankedTurtles", kind: "prop", name: Some("bankedTurtles") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.cast", kind: "prop", name: Some("cast") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.gp", kind: "prop", name: Some("gp") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.items", kind: "prop", name: Some("items") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.market", kind: "prop", name: Some("market") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.outcome", kind: "prop", name: Some("outcome") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.reef", kind: "prop", name: Some("reef") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.rest", kind: "prop", name: Some("rest") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.shop", kind: "prop", name: Some("shop") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state", tgt: "at.turtleme.game.defs#state.spot", kind: "prop", name: Some("spot") }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state.cast", tgt: "at.turtleme.game.defs#cast", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state.market", tgt: "at.turtleme.game.defs#market", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state.reef", tgt: "at.turtleme.game.defs#reef", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state.rest", tgt: "at.turtleme.game.defs#rest", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.turtleme.game.defs#state.spot", tgt: "at.turtleme.game.defs#spot", kind: "ref", name: None }
1 1
{
2 2
  "id": "at.turtleme.game.defs",
3 3
  "defs": {
4 4
    "net": {
5 5
      "type": "object",
6 6
      "properties": {
7 7
        "setAt": {
8 8
          "type": "string",
9 9
          "format": "datetime"
10 10
        },
11 11
        "holding": {
12 12
          "type": "integer",
13 13
          "minimum": 0,
14 14
          "description": "What the net would yield if hauled now. A readout for drawing, not a promise: nothing is banked until it is hauled, and the server works the figure out again at that point."
15 15
        }
16 16
      },
17 17
      "description": "The drift net, when it is in the water. Absent when it is not."
18 18
    },
19 +
    "cast": {
20 +
      "type": "object",
21 +
      "required": [
22 +
        "seed",
23 +
        "streak",
24 +
        "left",
25 +
        "index",
26 +
        "span"
27 +
      ],
28 +
      "properties": {
29 +
        "left": {
30 +
          "type": "integer",
31 +
          "minimum": 0,
32 +
          "description": "Strikes the cast has left, landed or missed."
33 +
        },
34 +
        "seed": {
35 +
          "type": "integer",
36 +
          "description": "What the run's windows are drawn from."
37 +
        },
38 +
        "span": {
39 +
          "type": "number",
40 +
          "description": "How wide the window is now, at this level and this streak. Worked out by turtle meat, not asked for."
41 +
        },
42 +
        "index": {
43 +
          "type": "integer",
44 +
          "minimum": 0,
45 +
          "description": "The earliest placement a strike may still name. Placements only go forward."
46 +
        },
47 +
        "streak": {
48 +
          "type": "integer",
49 +
          "minimum": 0,
50 +
          "description": "Strikes landed in a row, which is what narrows the window and quickens the marker."
51 +
        }
52 +
      },
53 +
      "description": "A run of strikes. The seed is what every window of the run is drawn from, and it is turtle meat's, so a client can render the bar without being able to widen it or move the gold sliver."
54 +
    },
55 +
    "reef": {
56 +
      "type": "object",
57 +
      "required": [
58 +
        "across",
59 +
        "shoal"
60 +
      ],
61 +
      "properties": {
62 +
        "laid": {
63 +
          "type": "boolean",
64 +
          "description": "Whether the shoal has gone down yet. It goes down on the first sweep, clear of it."
65 +
        },
66 +
        "over": {
67 +
          "type": "string",
68 +
          "description": "How the board ended, or null while it is still being played.",
69 +
          "knownValues": [
70 +
            "clear",
71 +
            "scattered",
72 +
            "left"
73 +
          ]
74 +
        },
75 +
        "shoal": {
76 +
          "type": "integer",
77 +
          "description": "How many sea turtles are under it, which the nets in the corner count down."
78 +
        },
79 +
        "swept": {
80 +
          "type": "integer",
81 +
          "minimum": 0,
82 +
          "description": "How many patches have been opened."
83 +
        },
84 +
        "across": {
85 +
          "type": "integer",
86 +
          "description": "How many patches across the board is. It is square."
87 +
        }
88 +
      },
89 +
      "description": "A reef board, as much of it as a player is allowed to know. Where the shoal lies is deliberately absent: a board laid out in the page is a board whose shoal is sitting in memory, and a player who looked would not be guessing at anything."
90 +
    },
91 +
    "rest": {
92 +
      "type": "object",
93 +
      "properties": {
94 +
        "reef": {
95 +
          "type": "string",
96 +
          "format": "datetime",
97 +
          "description": "After a reef, however it ended."
98 +
        },
99 +
        "strike": {
100 +
          "type": "string",
101 +
          "format": "datetime",
102 +
          "description": "After a run of strikes, however it ended. Null when the water has never been worked."
103 +
        }
104 +
      },
105 +
      "description": "The moments two stretches of water are worth working again. Held as the moment it is up rather than a countdown, so closing the page does not hand the time back."
106 +
    },
107 +
    "spot": {
108 +
      "type": "object",
109 +
      "required": [
110 +
        "since"
111 +
      ],
112 +
      "properties": {
113 +
        "since": {
114 +
          "type": "string",
115 +
          "format": "datetime",
116 +
          "description": "When this spot appeared."
117 +
        },
118 +
        "movesAt": {
119 +
          "type": "string",
120 +
          "format": "datetime",
121 +
          "description": "When it wanders off, drawn from the moment it appeared and nothing else, so that both sides get the same answer without being told it."
122 +
        }
123 +
      },
124 +
      "description": "A fishing spot. Where it is on the water is the page's business; when it leaves is not, because casting at water nobody is standing over has to be refusable."
125 +
    },
19 126
    "skill": {
20 127
      "type": "object",
21 128
      "required": [
22 129
        "xp"
23 130
      ],
24 131
      "properties": {
25 132
        "xp": {
26 133
          "type": "integer",
27 134
          "minimum": 0
28 135
        }
29 136
      }
30 137
    },
31 138
    "state": {
32 139
      "type": "object",
33 140
      "required": [
34 141
        "did",
35 142
        "seq",
36 143
        "proof"
37 144
      ],
38 145
      "properties": {
146 +
        "gp": {
147 +
          "type": "integer",
148 +
          "minimum": 0,
149 +
          "description": "Coins. Held here rather than by the client because a shop, an exchange and a player's own claim about what they can afford are the same question."
150 +
        },
39 151
        "did": {
40 152
          "type": "string",
41 153
          "format": "did"
42 154
        },
43 155
        "net": {
44 156
          "ref": "#net",
45 157
          "type": "ref"
46 158
        },
47 159
        "seq": {
48 160
          "type": "integer",
49 161
          "minimum": 0,
50 162
          "description": "Increases whenever the state changes, and never otherwise. Publishing a receipt whose sequence has already been counted is a no-op rather than an error."
51 163
        },
164 +
        "cast": {
165 +
          "ref": "#cast",
166 +
          "type": "ref",
167 +
          "description": "The run of strikes being played, when there is one. Null between casts."
168 +
        },
169 +
        "reef": {
170 +
          "ref": "#reef",
171 +
          "type": "ref",
172 +
          "description": "The reef board being played, when there is one. Null between boards."
173 +
        },
174 +
        "rest": {
175 +
          "ref": "#rest",
176 +
          "type": "ref",
177 +
          "description": "When the two stretches of water that rest are worth working again."
178 +
        },
179 +
        "shop": {
180 +
          "type": "unknown",
181 +
          "description": "What each of the shop's shelves is holding right now, keyed by item, for a page that has to draw a counter. A shelf nobody has traded at is absent and sits at its usual quantity."
182 +
        },
183 +
        "spot": {
184 +
          "ref": "#spot",
185 +
          "type": "ref",
186 +
          "description": "The fishing spot being stood over, when there is one. Null when there is not."
187 +
        },
188 +
        "items": {
189 +
          "type": "unknown",
190 +
          "description": "How many of each kind the player is carrying, keyed by item. Which of the inventory's slots a stack sits in is the client's business and is not recorded."
191 +
        },
52 192
        "proof": {
53 193
          "type": "string",
54 194
          "maxLength": 4096,
55 195
          "description": "A compact JWS over these figures, signed by turtle meat. Writing it into at.turtleme.player.state is what puts a player on the leaderboard; not writing it is how they stay off."
56 196
        },
57 197
        "stats": {
58 198
          "type": "unknown",
59 199
          "description": "Lifetime tallies."
60 200
        },
201 +
        "market": {
202 +
          "ref": "#market",
203 +
          "type": "ref",
204 +
          "description": "What a sea turtle is going for, as turtle meat last fetched it. Present only on the methods that need a price, and null when none recent enough to trade on could be had."
205 +
        },
61 206
        "cooking": {
62 207
          "ref": "#skill",
63 208
          "type": "ref"
64 209
        },
65 210
        "fishing": {
66 211
          "ref": "#skill",
67 212
          "type": "ref"
213 +
        },
214 +
        "outcome": {
215 +
          "type": "unknown",
216 +
          "description": "What the call just did, in facts rather than sentences: what was caught, bought, cooked or refused. The page puts it into words, because phrasing is not a number anyone else can see. Absent on a read. An outcome carrying `stale: true` means another call settled first and nothing was written; the state beside it is what is actually true."
217 +
        },
218 +
        "bankedTurtles": {
219 +
          "type": "integer",
220 +
          "minimum": 0,
221 +
          "description": "Turtles held at the Grand Exchange rather than in the inventory."
68 222
        }
69 223
      },
70 224
      "description": "A player's progress as the server holds it, with a receipt for publishing it. Every method returns this, so that a client always leaves a call holding something it can write to its own repository."
225 +
    },
226 +
    "market": {
227 +
      "type": "object",
228 +
      "required": [
229 +
        "high",
230 +
        "low"
231 +
      ],
232 +
      "properties": {
233 +
        "at": {
234 +
          "type": "string",
235 +
          "format": "datetime",
236 +
          "description": "When turtle meat fetched it."
237 +
        },
238 +
        "low": {
239 +
          "type": "integer",
240 +
          "minimum": 1,
241 +
          "description": "What sellers are getting, so what a sell offer fills at, before the 2% tax."
242 +
        },
243 +
        "high": {
244 +
          "type": "integer",
245 +
          "minimum": 1,
246 +
          "description": "What buyers are paying, so what a buy offer fills at."
247 +
        },
248 +
        "stale": {
249 +
          "type": "boolean",
250 +
          "description": "True when the price service could not be reached and this is the last quote that arrived. Still traded on, up to a point, because a price from twenty minutes ago is a price."
251 +
        }
252 +
      },
253 +
      "description": "The Grand Exchange quote the server settles against, fetched from the Old School RuneScape Wiki's real-time API rather than taken from the caller. The graph on the page is drawn from the same API directly; this is the number a trade actually happens at."
71 254
    }
72 255
  },
73 256
  "$type": "com.atproto.lexicon.schema",
74 257
  "lexicon": 1
75 258
}

Compare Other Versions

Lexicon Garden

@