app.streetseen.spot
Schema Diff
+6 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.streetseen.spot:body.aspectRatio" }
- AddedEdge AddedEdge { src: "app.streetseen.spot:body", tgt: "app.streetseen.spot:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.streetseen.spot:body.aspectRatio" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.streetseen.spot:body", tgt: "app.streetseen.spot:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
1
1
{
2
2
"id": "app.streetseen.spot",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"image",
11
11
"label",
12
12
"createdAt",
13
13
"dateSeen",
14
14
"latitude",
15
-
"longitude"
15
+
"longitude",
16
+
"aspectRatio"
16
17
],
17
18
"properties": {
18
19
"image": {
19
20
"type": "blob",
20
21
"accept": [
21
22
"image/png",
22
23
"image/jpeg",
23
24
"image/webp",
24
25
"image/avif"
25
26
],
26
27
"maxSize": 2000000,
27
28
"description": "The photo of the spot"
28
29
},
29
30
"label": {
30
31
"type": "string",
31
32
"maxLength": 3000,
32
33
"minLength": 1,
33
34
"description": "The label of the spot",
34
35
"maxGraphemes": 300
35
36
},
36
37
"artist": {
37
38
"type": "string",
38
39
"maxLength": 3000,
39
40
"minLength": 1,
40
41
"description": "The name of the artist",
41
42
"maxGraphemes": 300
42
43
},
43
44
"dateSeen": {
44
45
"type": "string",
45
46
"format": "datetime",
46
47
"description": "The date and time when the spot was seen"
47
48
},
48
49
"latitude": {
49
50
"type": "integer",
50
51
"description": "The latitude of the spot"
51
52
},
52
53
"createdAt": {
53
54
"type": "string",
54
55
"format": "datetime",
55
56
"description": "The date and time when the spot was created"
56
57
},
57
58
"longitude": {
58
59
"type": "integer",
59
60
"description": "The longitude of the spot"
61
+
},
62
+
"aspectRatio": {
63
+
"type": "integer",
64
+
"description": "The aspect ratio of the image (width / height)"
60
65
}
61
66
}
62
67
},
63
68
"description": "A spot is a photographed piece of street"
64
69
}
65
70
},
66
71
"$type": "com.atproto.lexicon.schema",
67
72
"lexicon": 1
68
73
}