app.winesky.collectionItem
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 3 non-breaking changes.
Non-Breaking Changes (3)
- AddedVertex AddedVertex { vertex_id: "app.winesky.collectionItem:body.imageSet" }
- AddedEdge AddedEdge { src: "app.winesky.collectionItem:body", tgt: "app.winesky.collectionItem:body.imageSet", kind: "prop", name: Some("imageSet") }
- AddedEdge AddedEdge { src: "app.winesky.collectionItem:body.imageSet", tgt: "app.winesky.collectionItem#strongRef", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.winesky.collectionItem:body.imageSet" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.winesky.collectionItem:body", tgt: "app.winesky.collectionItem:body.imageSet", kind: "prop", name: Some("imageSet") }
- Non-breaking: AddedEdge { src: "app.winesky.collectionItem:body.imageSet", tgt: "app.winesky.collectionItem#strongRef", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"drink": {
5
5
"properties": {
6
6
"alcoholContent": {
7
7
"maximum": 1000,
8
8
"minimum": 0,
9
9
"type": "integer"
10
10
},
11
11
"appellation": {
12
12
"maxLength": 256,
13
13
"type": "string"
14
14
},
15
15
"category": {
16
16
"enum": [
17
17
"BEER",
18
18
"WINE",
19
19
"SPIRIT",
20
20
"CIDER",
21
21
"RTD",
22
22
"SAKE",
23
23
"OTHER"
24
24
],
25
25
"maxLength": 64,
26
26
"type": "string"
27
27
},
28
28
"country": {
29
29
"maxLength": 128,
30
30
"type": "string"
31
31
},
32
32
"drinkId": {
33
33
"maxLength": 64,
34
34
"type": "string"
35
35
},
36
36
"name": {
37
37
"maxLength": 512,
38
38
"type": "string"
39
39
},
40
40
"producer": {
41
41
"maxLength": 512,
42
42
"type": "string"
43
43
},
44
44
"region": {
45
45
"maxLength": 256,
46
46
"type": "string"
47
47
},
48
48
"varietals": {
49
49
"items": {
50
50
"maxLength": 128,
51
51
"type": "string"
52
52
},
53
53
"type": "array"
54
54
},
55
55
"vintage": {
56
56
"type": "integer"
57
57
}
58
58
},
59
59
"required": [
60
60
"category",
61
61
"country",
62
62
"producer",
63
63
"name"
64
64
],
65
65
"type": "object"
66
66
},
67
67
"main": {
68
68
"description": "A drink in a user's Collection. References the parent Collection via at-uri and embeds the drink description.",
69
69
"key": "tid",
70
70
"record": {
71
71
"properties": {
72
72
"collection": {
73
73
"format": "at-uri",
74
74
"type": "string"
75
75
},
76
76
"createdAt": {
77
77
"format": "datetime",
78
78
"type": "string"
79
79
},
80
80
"drink": {
81
81
"ref": "#drink",
82
82
"type": "ref"
83
83
},
84
+
"imageSet": {
85
+
"ref": "#strongRef",
86
+
"type": "ref"
87
+
},
84
88
"review": {
85
89
"ref": "#strongRef",
86
90
"type": "ref"
87
91
}
88
92
},
89
93
"required": [
90
94
"collection",
91
95
"drink",
92
96
"createdAt"
93
97
],
94
98
"type": "object"
95
99
},
96
100
"type": "record"
97
101
},
98
102
"strongRef": {
99
103
"properties": {
100
104
"atUri": {
101
105
"format": "at-uri",
102
106
"type": "string"
103
107
},
104
108
"cid": {
105
109
"format": "cid",
106
110
"type": "string"
107
111
}
108
112
},
109
113
"required": [
110
114
"cid",
111
115
"atUri"
112
116
],
113
117
"type": "object"
114
118
}
115
119
},
116
120
"id": "app.winesky.collectionItem",
117
121
"lexicon": 1
118
122
}