REPOSITORY SOURCE

builtin-components-v3.json

tests/fixtures/builtin-components-v3.json

1{
2  "format": 1,
3  "components": [
4    {
5      "authority": "place",
6      "name": "AnimationState",
7      "persistence": "session",
8      "predicted": false,
9      "schema": {
10        "fields": {
11          "clip": {
12            "maxLength": 256,
13            "minLength": 1,
14            "type": "string"
15          },
16          "loop": {
17            "type": "boolean"
18          },
19          "speed": {
20            "max": 8,
21            "min": -8,
22            "type": "number"
23          },
24          "time": {
25            "max": 1000000000,
26            "min": 0,
27            "type": "number"
28          }
29        },
30        "type": "object"
31      },
32      "version": 1,
33      "visibility": "public"
34    },
35    {
36      "authority": "place",
37      "name": "AudioEmitter",
38      "persistence": "session",
39      "predicted": false,
40      "schema": {
41        "fields": {
42          "asset": {
43            "maxLength": 256,
44            "minLength": 1,
45            "type": "string"
46          },
47          "gain": {
48            "max": 4,
49            "min": 0,
50            "type": "number"
51          },
52          "loop": {
53            "type": "boolean"
54          },
55          "playing": {
56            "type": "boolean"
57          },
58          "range": {
59            "max": 10000,
60            "min": 0.001,
61            "type": "number"
62          },
63          "spatial": {
64            "type": "boolean"
65          }
66        },
67        "type": "object"
68      },
69      "version": 1,
70      "visibility": "public"
71    },
72    {
73      "authority": "trusted",
74      "name": "AuthorityDomain",
75      "persistence": "session",
76      "predicted": false,
77      "schema": {
78        "fields": {
79          "domain": {
80            "maxLength": 256,
81            "minLength": 1,
82            "type": "string"
83          },
84          "epoch": {
85            "type": "uint64"
86          },
87          "owner": {
88            "maxLength": 256,
89            "type": "string"
90          },
91          "profile": {
92            "type": "enum",
93            "values": [
94              "browser-owned",
95              "trusted-host"
96            ]
97          }
98        },
99        "type": "object"
100      },
101      "version": 1,
102      "visibility": "public"
103    },
104    {
105      "authority": "trusted",
106      "name": "BehaviorState",
107      "persistence": "session",
108      "predicted": false,
109      "schema": {
110        "fields": {
111          "enabled": {
112            "type": "boolean"
113          },
114          "module": {
115            "maxLength": 256,
116            "minLength": 1,
117            "type": "string"
118          },
119          "stateComponent": {
120            "maxLength": 256,
121            "minLength": 1,
122            "type": "string"
123          }
124        },
125        "type": "object"
126      },
127      "version": 1,
128      "visibility": "server"
129    },
130    {
131      "authority": "player",
132      "name": "CharacterMotor",
133      "persistence": "session",
134      "predicted": true,
135      "schema": {
136        "fields": {
137          "crouched": {
138            "type": "boolean"
139          },
140          "grounded": {
141            "type": "boolean"
142          },
143          "platform": {
144            "maxLength": 256,
145            "type": "string"
146          },
147          "velocity": {
148            "items": [
149              {
150                "max": 1000,
151                "min": -1000,
152                "type": "number"
153              },
154              {
155                "max": 1000,
156                "min": -1000,
157                "type": "number"
158              },
159              {
160                "max": 1000,
161                "min": -1000,
162                "type": "number"
163              }
164            ],
165            "type": "tuple"
166          }
167        },
168        "type": "object"
169      },
170      "version": 1,
171      "visibility": "public"
172    },
173    {
174      "authority": "place",
175      "name": "Collider",
176      "persistence": "authored",
177      "predicted": false,
178      "schema": {
179        "fields": {
180          "asset": {
181            "maxLength": 256,
182            "minLength": 1,
183            "type": "string"
184          },
185          "enabled": {
186            "type": "boolean"
187          },
188          "friction": {
189            "max": 4,
190            "min": 0,
191            "type": "number"
192          },
193          "groups": {
194            "integer": true,
195            "max": 4294967295,
196            "min": 0,
197            "type": "number"
198          },
199          "restitution": {
200            "max": 1,
201            "min": 0,
202            "type": "number"
203          },
204          "sensor": {
205            "type": "boolean"
206          }
207        },
208        "type": "object"
209      },
210      "version": 1,
211      "visibility": "public"
212    },
213    {
214      "authority": "player",
215      "name": "InputOwner",
216      "persistence": "session",
217      "predicted": true,
218      "schema": {
219        "fields": {
220          "player": {
221            "maxLength": 256,
222            "minLength": 1,
223            "type": "string"
224          }
225        },
226        "type": "object"
227      },
228      "version": 1,
229      "visibility": "owner"
230    },
231    {
232      "authority": "place",
233      "name": "Interaction",
234      "persistence": "authored",
235      "predicted": false,
236      "schema": {
237        "fields": {
238          "action": {
239            "maxLength": 256,
240            "minLength": 1,
241            "type": "string"
242          },
243          "enabled": {
244            "type": "boolean"
245          },
246          "label": {
247            "maxLength": 256,
248            "minLength": 1,
249            "type": "string"
250          },
251          "radius": {
252            "max": 100,
253            "min": 0.001,
254            "type": "number"
255          }
256        },
257        "type": "object"
258      },
259      "version": 1,
260      "visibility": "public"
261    },
262    {
263      "authority": "place",
264      "name": "KinematicPlatform",
265      "persistence": "session",
266      "predicted": false,
267      "schema": {
268        "fields": {
269          "blocked": {
270            "type": "boolean"
271          },
272          "targetPosition": {
273            "items": [
274              {
275                "max": 10000,
276                "min": -10000,
277                "type": "number"
278              },
279              {
280                "max": 10000,
281                "min": -10000,
282                "type": "number"
283              },
284              {
285                "max": 10000,
286                "min": -10000,
287                "type": "number"
288              }
289            ],
290            "type": "tuple"
291          },
292          "targetYaw": {
293            "max": 3.141592653589793,
294            "min": -3.141592653589793,
295            "type": "number"
296          }
297        },
298        "type": "object"
299      },
300      "version": 1,
301      "visibility": "public"
302    },
303    {
304      "authority": "place",
305      "name": "Light",
306      "persistence": "authored",
307      "predicted": false,
308      "schema": {
309        "fields": {
310          "color": {
311            "items": [
312              {
313                "max": 1,
314                "min": 0,
315                "type": "number"
316              },
317              {
318                "max": 1,
319                "min": 0,
320                "type": "number"
321              },
322              {
323                "max": 1,
324                "min": 0,
325                "type": "number"
326              }
327            ],
328            "type": "tuple"
329          },
330          "innerAngle": {
331            "max": 3.141592653589793,
332            "min": 0,
333            "type": "number"
334          },
335          "intensity": {
336            "max": 100000,
337            "min": 0,
338            "type": "number"
339          },
340          "kind": {
341            "type": "enum",
342            "values": [
343              "point",
344              "spot",
345              "directional"
346            ]
347          },
348          "outerAngle": {
349            "max": 3.141592653589793,
350            "min": 0,
351            "type": "number"
352          },
353          "range": {
354            "max": 100000,
355            "min": 0,
356            "type": "number"
357          },
358          "shadows": {
359            "type": "boolean"
360          }
361        },
362        "type": "object"
363      },
364      "version": 1,
365      "visibility": "public"
366    },
367    {
368      "authority": "place",
369      "name": "MaterialRef",
370      "persistence": "authored",
371      "predicted": false,
372      "schema": {
373        "fields": {
374          "slots": {
375            "items": {
376              "fields": {
377                "asset": {
378                  "maxLength": 256,
379                  "minLength": 1,
380                  "type": "string"
381                },
382                "slot": {
383                  "maxLength": 256,
384                  "minLength": 1,
385                  "type": "string"
386                }
387              },
388              "type": "object"
389            },
390            "maxItems": 16,
391            "type": "array"
392          }
393        },
394        "type": "object"
395      },
396      "version": 1,
397      "visibility": "public"
398    },
399    {
400      "authority": "place",
401      "name": "Parent",
402      "persistence": "session",
403      "predicted": true,
404      "schema": {
405        "fields": {
406          "entity": {
407            "maxLength": 256,
408            "minLength": 1,
409            "type": "string"
410          }
411        },
412        "type": "object"
413      },
414      "version": 1,
415      "visibility": "public"
416    },
417    {
418      "authority": "trusted",
419      "name": "PersistentIdentity",
420      "persistence": "persistent",
421      "predicted": false,
422      "schema": {
423        "fields": {
424          "id": {
425            "maxLength": 256,
426            "minLength": 1,
427            "type": "string"
428          }
429        },
430        "type": "object"
431      },
432      "version": 1,
433      "visibility": "public"
434    },
435    {
436      "authority": "player",
437      "name": "PlaceMembership",
438      "persistence": "session",
439      "predicted": true,
440      "schema": {
441        "fields": {
442          "place": {
443            "maxLength": 256,
444            "minLength": 1,
445            "type": "string"
446          }
447        },
448        "type": "object"
449      },
450      "version": 1,
451      "visibility": "public"
452    },
453    {
454      "authority": "place",
455      "name": "PlatformRoute",
456      "persistence": "session",
457      "predicted": false,
458      "schema": {
459        "fields": {
460          "time": {
461            "max": 1000000000,
462            "min": 0,
463            "type": "number"
464          }
465        },
466        "type": "object"
467      },
468      "version": 1,
469      "visibility": "public"
470    },
471    {
472      "authority": "place",
473      "name": "RenderMesh",
474      "persistence": "authored",
475      "predicted": false,
476      "schema": {
477        "fields": {
478          "asset": {
479            "maxLength": 256,
480            "minLength": 1,
481            "type": "string"
482          },
483          "castShadow": {
484            "type": "boolean"
485          },
486          "lodBias": {
487            "max": 4,
488            "min": -4,
489            "type": "number"
490          },
491          "receiveShadow": {
492            "type": "boolean"
493          },
494          "visible": {
495            "type": "boolean"
496          }
497        },
498        "type": "object"
499      },
500      "version": 1,
501      "visibility": "public"
502    },
503    {
504      "authority": "place",
505      "name": "RigidBody",
506      "persistence": "session",
507      "predicted": false,
508      "schema": {
509        "fields": {
510          "angularVelocity": {
511            "items": [
512              {
513                "max": 10000,
514                "min": -10000,
515                "type": "number"
516              },
517              {
518                "max": 10000,
519                "min": -10000,
520                "type": "number"
521              },
522              {
523                "max": 10000,
524                "min": -10000,
525                "type": "number"
526              }
527            ],
528            "type": "tuple"
529          },
530          "gravityScale": {
531            "max": 10,
532            "min": -10,
533            "type": "number"
534          },
535          "kind": {
536            "type": "enum",
537            "values": [
538              "fixed",
539              "dynamic",
540              "kinematic"
541            ]
542          },
543          "linearVelocity": {
544            "items": [
545              {
546                "max": 10000,
547                "min": -10000,
548                "type": "number"
549              },
550              {
551                "max": 10000,
552                "min": -10000,
553                "type": "number"
554              },
555              {
556                "max": 10000,
557                "min": -10000,
558                "type": "number"
559              }
560            ],
561            "type": "tuple"
562          },
563          "mass": {
564            "max": 1000000,
565            "min": 0,
566            "type": "number"
567          },
568          "sleeping": {
569            "type": "boolean"
570          }
571        },
572        "type": "object"
573      },
574      "version": 1,
575      "visibility": "public"
576    },
577    {
578      "authority": "place",
579      "name": "Tags",
580      "persistence": "authored",
581      "predicted": false,
582      "schema": {
583        "fields": {
584          "values": {
585            "items": {
586              "maxLength": 64,
587              "minLength": 1,
588              "type": "string"
589            },
590            "maxItems": 64,
591            "type": "array"
592          }
593        },
594        "type": "object"
595      },
596      "version": 1,
597      "visibility": "public"
598    },
599    {
600      "authority": "player",
601      "name": "Transform",
602      "persistence": "session",
603      "predicted": true,
604      "schema": {
605        "fields": {
606          "position": {
607            "items": [
608              {
609                "max": 1000000,
610                "min": -1000000,
611                "type": "number"
612              },
613              {
614                "max": 1000000,
615                "min": -1000000,
616                "type": "number"
617              },
618              {
619                "max": 1000000,
620                "min": -1000000,
621                "type": "number"
622              }
623            ],
624            "type": "tuple"
625          },
626          "rotation": {
627            "type": "quaternion"
628          },
629          "scale": {
630            "items": [
631              {
632                "max": 10000,
633                "min": 0.0001,
634                "type": "number"
635              },
636              {
637                "max": 10000,
638                "min": 0.0001,
639                "type": "number"
640              },
641              {
642                "max": 10000,
643                "min": 0.0001,
644                "type": "number"
645              }
646            ],
647            "type": "tuple"
648          }
649        },
650        "type": "object"
651      },
652      "version": 2,
653      "visibility": "public"
654    }
655  ]
656}
657