win.tomo-x.rogaining.checkpoint
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "win.tomo-x.rogaining.checkpoint:body.isGoal" }
- AddedEdge AddedEdge { src: "win.tomo-x.rogaining.checkpoint:body", tgt: "win.tomo-x.rogaining.checkpoint:body.isGoal", kind: "prop", name: Some("isGoal") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "win.tomo-x.rogaining.checkpoint:body.isGoal" }
Additional Notes
- Non-breaking: AddedEdge { src: "win.tomo-x.rogaining.checkpoint:body", tgt: "win.tomo-x.rogaining.checkpoint:body.isGoal", kind: "prop", name: Some("isGoal") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A checkpoint belonging to a rogaining event.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"description": {
14
14
"maxGraphemes": 1000,
15
15
"maxLength": 10000,
16
16
"type": "string"
17
17
},
18
18
"event": {
19
19
"description": "The event this checkpoint belongs to.",
20
20
"ref": "com.atproto.repo.strongRef",
21
21
"type": "ref"
22
22
},
23
23
"image": {
24
24
"accept": [
25
25
"image/png",
26
26
"image/jpeg",
27
27
"image/webp"
28
28
],
29
29
"description": "Image of the checkpoint.",
30
30
"maxSize": 2000000,
31
31
"type": "blob"
32
32
},
33
33
"internalImages": {
34
34
"description": "Internal images of the checkpoint, not shown to participants.",
35
35
"items": {
36
36
"accept": [
37
37
"image/png",
38
38
"image/jpeg",
39
39
"image/webp"
40
40
],
41
41
"maxSize": 2000000,
42
42
"type": "blob"
43
43
},
44
44
"maxLength": 10,
45
45
"type": "array"
46
46
},
47
+
"isGoal": {
48
+
"default": false,
49
+
"description": "Whether this checkpoint is the event finish. Goal submissions are not judged.",
50
+
"type": "boolean"
51
+
},
47
52
"location": {
48
53
"ref": "win.tomo-x.rogaining.defs#location",
49
54
"type": "ref"
50
55
},
51
56
"name": {
52
57
"maxGraphemes": 100,
53
58
"maxLength": 1000,
54
59
"type": "string"
55
60
},
56
61
"point": {
57
62
"description": "Score awarded for reaching this checkpoint.",
58
63
"minimum": 0,
59
64
"type": "integer"
60
65
},
61
66
"radiusMeters": {
62
67
"default": 30,
63
68
"description": "Allowed distance from the location for a valid submission.",
64
69
"minimum": 1,
65
70
"type": "integer"
66
71
}
67
72
},
68
73
"required": [
69
74
"event",
70
75
"name",
71
76
"point",
72
77
"location",
73
78
"createdAt",
74
79
"image",
75
80
"internalImages"
76
81
],
77
82
"type": "object"
78
83
},
79
84
"type": "record"
80
85
}
81
86
},
82
87
"id": "win.tomo-x.rogaining.checkpoint",
83
88
"lexicon": 1
84
89
}