REPOSITORY SOURCE

persistent-identity-v1.json

tests/fixtures/persistent-identity-v1.json

1{
2  "format": 1,
3  "fixture": "persistent-identity.1",
4  "entropySamples": 64,
5  "recordedAllocations": 2,
6  "log": [
7    {
8      "tick": "9007199254740993",
9      "transaction": "fixture.spawn",
10      "operations": [
11        {
12          "kind": "create",
13          "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6",
14          "components": {
15            "Tags": {
16              "values": [
17                "keeper"
18              ]
19            },
20            "PersistentIdentity": {
21              "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6"
22            }
23          }
24        },
25        {
26          "kind": "create",
27          "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
28          "components": {
29            "Tags": {
30              "values": [
31                "lantern"
32              ]
33            },
34            "PersistentIdentity": {
35              "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8"
36            }
37          }
38        }
39      ]
40    },
41    {
42      "tick": "9007199254740994",
43      "transaction": "fixture.edit",
44      "operations": [
45        {
46          "kind": "set",
47          "entity": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
48          "component": "Tags",
49          "value": {
50            "values": [
51              "lit"
52            ]
53          }
54        }
55      ]
56    },
57    {
58      "tick": "9007199254740995",
59      "transaction": "fixture.delete",
60      "operations": [
61        {
62          "kind": "destroy",
63          "entity": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6"
64        }
65      ]
66    }
67  ],
68  "checkpoints": [
69    {
70      "tick": "9007199254740993",
71      "snapshot": {
72        "format": 1,
73        "schemas": [
74          {
75            "authority": "trusted",
76            "name": "PersistentIdentity",
77            "persistence": "persistent",
78            "predicted": false,
79            "schema": {
80              "fields": {
81                "id": {
82                  "maxLength": 256,
83                  "minLength": 1,
84                  "type": "string"
85                }
86              },
87              "type": "object"
88            },
89            "version": 1,
90            "visibility": "public"
91          },
92          {
93            "authority": "place",
94            "name": "Tags",
95            "persistence": "authored",
96            "predicted": false,
97            "schema": {
98              "fields": {
99                "values": {
100                  "items": {
101                    "maxLength": 64,
102                    "minLength": 1,
103                    "type": "string"
104                  },
105                  "maxItems": 64,
106                  "type": "array"
107                }
108              },
109              "type": "object"
110            },
111            "version": 1,
112            "visibility": "public"
113          }
114        ],
115        "entities": [
116          {
117            "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
118            "components": {
119              "PersistentIdentity": {
120                "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8"
121              },
122              "Tags": {
123                "values": [
124                  "lantern"
125                ]
126              }
127            }
128          },
129          {
130            "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6",
131            "components": {
132              "PersistentIdentity": {
133                "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6"
134              },
135              "Tags": {
136                "values": [
137                  "keeper"
138                ]
139              }
140            }
141          }
142        ]
143      }
144    },
145    {
146      "tick": "9007199254740994",
147      "snapshot": {
148        "format": 1,
149        "schemas": [
150          {
151            "authority": "trusted",
152            "name": "PersistentIdentity",
153            "persistence": "persistent",
154            "predicted": false,
155            "schema": {
156              "fields": {
157                "id": {
158                  "maxLength": 256,
159                  "minLength": 1,
160                  "type": "string"
161                }
162              },
163              "type": "object"
164            },
165            "version": 1,
166            "visibility": "public"
167          },
168          {
169            "authority": "place",
170            "name": "Tags",
171            "persistence": "authored",
172            "predicted": false,
173            "schema": {
174              "fields": {
175                "values": {
176                  "items": {
177                    "maxLength": 64,
178                    "minLength": 1,
179                    "type": "string"
180                  },
181                  "maxItems": 64,
182                  "type": "array"
183                }
184              },
185              "type": "object"
186            },
187            "version": 1,
188            "visibility": "public"
189          }
190        ],
191        "entities": [
192          {
193            "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
194            "components": {
195              "PersistentIdentity": {
196                "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8"
197              },
198              "Tags": {
199                "values": [
200                  "lit"
201                ]
202              }
203            }
204          },
205          {
206            "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6",
207            "components": {
208              "PersistentIdentity": {
209                "id": "spawned:f81d4fae-7dec-4a0d-a765-00a0c91e6bf6"
210              },
211              "Tags": {
212                "values": [
213                  "keeper"
214                ]
215              }
216            }
217          }
218        ]
219      }
220    },
221    {
222      "tick": "9007199254740995",
223      "snapshot": {
224        "format": 1,
225        "schemas": [
226          {
227            "authority": "trusted",
228            "name": "PersistentIdentity",
229            "persistence": "persistent",
230            "predicted": false,
231            "schema": {
232              "fields": {
233                "id": {
234                  "maxLength": 256,
235                  "minLength": 1,
236                  "type": "string"
237                }
238              },
239              "type": "object"
240            },
241            "version": 1,
242            "visibility": "public"
243          },
244          {
245            "authority": "place",
246            "name": "Tags",
247            "persistence": "authored",
248            "predicted": false,
249            "schema": {
250              "fields": {
251                "values": {
252                  "items": {
253                    "maxLength": 64,
254                    "minLength": 1,
255                    "type": "string"
256                  },
257                  "maxItems": 64,
258                  "type": "array"
259                }
260              },
261              "type": "object"
262            },
263            "version": 1,
264            "visibility": "public"
265          }
266        ],
267        "entities": [
268          {
269            "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
270            "components": {
271              "PersistentIdentity": {
272                "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8"
273              },
274              "Tags": {
275                "values": [
276                  "lit"
277                ]
278              }
279            }
280          }
281        ]
282      }
283    }
284  ],
285  "restored": {
286    "format": 1,
287    "schemas": [
288      {
289        "authority": "trusted",
290        "name": "PersistentIdentity",
291        "persistence": "persistent",
292        "predicted": false,
293        "schema": {
294          "fields": {
295            "id": {
296              "maxLength": 256,
297              "minLength": 1,
298              "type": "string"
299            }
300          },
301          "type": "object"
302        },
303        "version": 1,
304        "visibility": "public"
305      },
306      {
307        "authority": "place",
308        "name": "Tags",
309        "persistence": "authored",
310        "predicted": false,
311        "schema": {
312          "fields": {
313            "values": {
314              "items": {
315                "maxLength": 64,
316                "minLength": 1,
317                "type": "string"
318              },
319              "maxItems": 64,
320              "type": "array"
321            }
322          },
323          "type": "object"
324        },
325        "version": 1,
326        "visibility": "public"
327      }
328    ],
329    "entities": [
330      {
331        "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8",
332        "components": {
333          "PersistentIdentity": {
334            "id": "spawned:919108f7-52d1-4320-9bac-f847db4148a8"
335          },
336          "Tags": {
337            "values": [
338              "lit"
339            ]
340          }
341        }
342      }
343    ]
344  },
345  "digest": "67fdfa979e3fb60d490e38e3f29466cad842eff77a4b482d3add0f265c67908b"
346}
347