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