to.atpota.garden.patch
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "to.atpota.garden.patch:body.planting" }
- AddedEdge AddedEdge { src: "to.atpota.garden.patch:body", tgt: "to.atpota.garden.patch:body.planting", kind: "prop", name: Some("planting") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "to.atpota.garden.patch:body.planting" }
Additional Notes
- Non-breaking: AddedEdge { src: "to.atpota.garden.patch:body", tgt: "to.atpota.garden.patch:body.planting", kind: "prop", name: Some("planting") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"record": {
7
7
"properties": {
8
8
"closesAt": {
9
9
"description": "Planting ends at this time; the flowers stay, pressed, in full bloom. Without it, the garden stays open.",
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"cols": {
14
14
"description": "Plots across.",
15
15
"maximum": 24,
16
16
"minimum": 4,
17
17
"type": "integer"
18
18
},
19
19
"createdAt": {
20
20
"format": "datetime",
21
21
"type": "string"
22
22
},
23
23
"name": {
24
24
"description": "What the garden is called, like \"autumn 2026\" or \"dame's garden\".",
25
25
"maxGraphemes": 40,
26
26
"maxLength": 400,
27
27
"type": "string"
28
28
},
29
29
"note": {
30
30
"description": "A few words for visitors.",
31
31
"maxGraphemes": 140,
32
32
"maxLength": 1400,
33
33
"type": "string"
34
34
},
35
35
"opensAt": {
36
36
"description": "Flowers can be planted from this time; without it, from createdAt.",
37
37
"format": "datetime",
38
38
"type": "string"
39
39
},
40
+
"planting": {
41
+
"description": "How many flowers each account grows in the garden's open patches. \"one\": one each, staying in the plot it was planted in; planting again does nothing until it's dug up, and only an account's first flower shows. \"move\": one each, and planting again moves it (its newest flower shows). \"many\": as many as there are free plots. Without it, \"one\".",
42
+
"knownValues": [
43
+
"one",
44
+
"move",
45
+
"many"
46
+
],
47
+
"type": "string"
48
+
},
40
49
"rows": {
41
50
"description": "Plots down.",
42
51
"maximum": 40,
43
52
"minimum": 2,
44
53
"type": "integer"
45
54
},
46
55
"season": {
47
56
"description": "For a seasonal patch.",
48
57
"knownValues": [
49
58
"spring",
50
59
"summer",
51
60
"autumn",
52
61
"winter"
53
62
],
54
63
"type": "string"
55
64
}
56
65
},
57
66
"required": [
58
67
"name",
59
68
"cols",
60
69
"rows",
61
70
"createdAt"
62
71
],
63
72
"type": "object"
64
73
},
65
74
"type": "record"
66
75
}
67
76
},
68
77
"description": "A garden on atpota.to: a grid of plots anyone can plant a flower in. atpota.to's community patches live in its own repo, one per season; anyone can keep their own garden in theirs, by convention at record key \"self\". Flowers point at it with a strong ref. It is open from opensAt (or createdAt, without one) until closesAt, if it has one.",
69
78
"id": "to.atpota.garden.patch",
70
79
"lexicon": 1
71
80
}