com.barryfrost.checkin
Schema Diff
+6 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.barryfrost.checkin:body.comment" }
- AddedEdge AddedEdge { src: "com.barryfrost.checkin:body", tgt: "com.barryfrost.checkin:body.comment", kind: "prop", name: Some("comment") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.barryfrost.checkin:body.comment" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.barryfrost.checkin:body", tgt: "com.barryfrost.checkin:body.comment", kind: "prop", name: Some("comment") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A physical location checkin on Foursquare/Swarm",
6
-
"key": "tid",
6
+
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"address": {
10
10
"description": "Formatted venue address, e.g. \"123 High Street, London, UK\"",
11
11
"maxLength": 500,
12
12
"type": "string"
13
13
},
14
14
"category": {
15
15
"description": "Primary Foursquare venue category, e.g. \"Coffee Shop\"",
16
16
"maxLength": 100,
17
17
"type": "string"
18
18
},
19
+
"comment": {
20
+
"description": "Optional user comment (Swarm \"shout\") attached to the checkin",
21
+
"maxLength": 1000,
22
+
"type": "string"
23
+
},
19
24
"createdAt": {
20
25
"description": "ISO 8601 timestamp of the checkin",
21
26
"format": "datetime",
22
27
"type": "string"
23
28
},
24
29
"location": {
25
30
"description": "The Foursquare place where the checkin occurred",
26
31
"ref": "community.lexicon.location.fsq",
27
32
"type": "ref"
28
33
},
29
34
"photos": {
30
35
"description": "Photos taken at the checkin, uploaded as PDS blobs",
31
36
"items": {
32
37
"ref": "#photo",
33
38
"type": "ref"
34
39
},
35
40
"maxLength": 8,
36
41
"type": "array"
37
42
}
38
43
},
39
44
"required": [
40
45
"createdAt",
41
46
"location"
42
47
],
43
48
"type": "object"
44
49
},
45
50
"type": "record"
46
51
},
47
52
"photo": {
48
53
"properties": {
49
54
"alt": {
50
55
"maxLength": 1000,
51
56
"type": "string"
52
57
},
53
58
"image": {
54
59
"accept": [
55
60
"image/jpeg",
56
61
"image/png",
57
62
"image/webp"
58
63
],
59
64
"maxSize": 1000000,
60
65
"type": "blob"
61
66
}
62
67
},
63
68
"required": [
64
69
"image"
65
70
],
66
71
"type": "object"
67
72
}
68
73
},
69
74
"id": "com.barryfrost.checkin",
70
75
"lexicon": 1
71
76
}