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