garden.sylvanus.edit
One host's changes to someone else's shared Sylvanus garden, in the host's own account: one record per host per garden. It holds every change since the copy it builds on that this host's game has seen. The owner's game folds it into the garden, then the writer's game deletes it.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | sylvanus.garden |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.baseCidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.gameVersionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.name.properties.nicknameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.name.properties.notesNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.planting.properties.planterNameNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "One host's changes to someone else's shared Sylvanus garden, in the host's own account: one record per host per garden. It holds every change since the copy it builds on that this host's game has seen. The owner's game folds it into the garden, then the writer's game deletes it.",
"key": "any",
"record": {
"properties": {
"baseCid": {
"description": "The content id (CID) of the garden copy these build on.",
"type": "string"
},
"gameVersion": {
"description": "The version of the game that wrote it.",
"type": "string"
},
"garden": {
"description": "The garden record these change (garden.sylvanus.garden, the owner's).",
"format": "at-uri",
"type": "string"
},
"names": {
"items": {
"ref": "#name",
"type": "ref"
},
"type": "array"
},
"otherVisitors": {
"description": "Players who came by without signing in: a count, nothing more.",
"minimum": 0,
"type": "integer"
},
"plantings": {
"items": {
"ref": "#planting",
"type": "ref"
},
"type": "array"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"visitors": {
"description": "Signed-in players who came by while this host had the garden.",
"items": {
"ref": "#visitor",
"type": "ref"
},
"type": "array"
}
},
"type": "object"
},
"type": "record"
},
"name": {
"description": "A nickname or note given to a planting. Gardeners name only their own plantings; the newest wins.",
"properties": {
"at": {
"format": "datetime",
"type": "string"
},
"by": {
"description": "Who named it.",
"format": "did",
"type": "string"
},
"nickname": {
"type": "string"
},
"notes": {
"type": "string"
},
"planter": {
"description": "The planting named: its planter.",
"format": "did",
"type": "string"
},
"token": {
"description": "The planting named: its token.",
"type": "integer"
}
},
"type": "object"
},
"planting": {
"description": "A planting. Its identity is its planter and token, so the same planting merged twice is one planting.",
"properties": {
"plant": {
"description": "The plant's id in the game's plants.json.",
"minimum": 1,
"type": "integer"
},
"plantedAt": {
"format": "datetime",
"type": "string"
},
"plantedScaleMilli": {
"default": 1000,
"description": "Its size when it was planted, in thousandths: 1000 is 1.0.",
"minimum": 0,
"type": "integer"
},
"planter": {
"description": "Who planted it.",
"format": "did",
"type": "string"
},
"planterName": {
"description": "Their name when they planted it.",
"type": "string"
},
"slot": {
"description": "The tile's slot it's in.",
"type": "integer"
},
"tile": {
"description": "The tile it's on.",
"type": "integer"
},
"token": {
"description": "The planting request's own random number.",
"type": "integer"
},
"variant": {
"description": "Which of the plant's looks.",
"type": "integer"
},
"withered": {
"description": "Left by a failed hardcore session.",
"type": "boolean"
},
"yawCenti": {
"description": "Its turn, in hundredths of a degree.",
"maximum": 35999,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"visitor": {
"description": "A signed-in player who came by.",
"properties": {
"at": {
"format": "datetime",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
}
},
"type": "object"
}
},
"id": "garden.sylvanus.edit",
"lexicon": 1
}