Schemas / Play
rig.play.save
v1.0.0 · stable maturity: draft 2 fields 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
slot |
uint | required | Slot index, 0-based |
asset |
entity | optional | Optional. rig.media.asset_ref whose path is the saved .rig. Absent = this document is the saved scene |
One save slot. Format when present. Compose rig.meta.named for the label a player sees.
The slot names where a scene lives. Writing the file is the host.
JSON Schema
Resolves at https://rig.works/schemas/rig.play.save.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.play.save.schema.json",
"title": "rig.play.save",
"type": "object",
"additionalProperties": false,
"properties": {
"slot": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"asset": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
},
"required": [
"slot"
],
"x-rig-maturity": "draft"
}