SpatialOS concepts: schema and snapshots
Schema is a set of definitions which represent your game’s Actors and subobjects in SpatialOS. Schema is defined in
.schema files and written in schemalang.
When you use the GDK, the schema files and their contents are generated automatically so you do not have to write or edit schema files manually.
SpatialOS uses schema to generate APIs specific to the SpatialOS entity components in your project. You can then use these APIs in your game’s worker types so their instances can interact with SpatialOS entity components.
You can find out how to use schema in the schema reference documentation
You can find out how to use snapshots in the snapshot reference documentation.
—— 2019-05-21 Page added with editorial review