world.treeline.actor.preferences
Schema Diff
+10 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "world.treeline.actor.preferences:body.allowReuse" }
- AddedEdge AddedEdge { src: "world.treeline.actor.preferences:body", tgt: "world.treeline.actor.preferences:body.allowReuse", kind: "prop", name: Some("allowReuse") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "world.treeline.actor.preferences:body.allowReuse" }
Additional Notes
- Non-breaking: AddedEdge { src: "world.treeline.actor.preferences:body", tgt: "world.treeline.actor.preferences:body.allowReuse", kind: "prop", name: Some("allowReuse") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Athlete display units, default sports, and privacy preferences for Treeline.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
+
"allowReuse": {
10
+
"default": "coAthletes",
11
+
"description": "Who may save this athlete's public activities as their own: 'coAthletes' (tagged co-athletes and confirmed group matches, the default), 'everyone' (co-athletes save as an activity; anyone else saves as a route), or 'nobody'. Unset means 'coAthletes'.",
12
+
"knownValues": [
13
+
"everyone",
14
+
"coAthletes",
15
+
"nobody"
16
+
],
17
+
"type": "string"
18
+
},
9
19
"defaultHideStartEndMeters": {
10
20
"default": 0,
11
21
"description": "Default distance in meters trimmed from start and end for privacy.",
12
22
"maximum": 100000,
13
23
"minimum": 0,
14
24
"type": "integer"
15
25
},
16
26
"defaultPrivacy": {
17
27
"default": "public",
18
28
"description": "Default visibility setting for new activities ('public' or 'unlisted'). Restricted/private training logs and groups/circles belong to ATProto Permissioned Spaces (Proposal 0016). Historical values ('followers', 'private', 'permissioned') are retained for schema compatibility.",
19
29
"knownValues": [
20
30
"public",
21
31
"unlisted",
22
32
"followers",
23
33
"private",
24
34
"permissioned"
25
35
],
26
36
"type": "string"
27
37
},
28
38
"defaultSport": {
29
39
"description": "Default sport category selected when recording or uploading activities.",
30
40
"type": "string"
31
41
},
32
42
"distanceUnits": {
33
43
"default": "km",
34
44
"description": "Preferred unit of measurement for distance.",
35
45
"knownValues": [
36
46
"km",
37
47
"mi"
38
48
],
39
49
"type": "string"
40
50
},
41
51
"elevationUnits": {
42
52
"default": "m",
43
53
"description": "Preferred unit of measurement for elevation.",
44
54
"knownValues": [
45
55
"m",
46
56
"ft"
47
57
],
48
58
"type": "string"
49
59
},
50
60
"temperatureUnits": {
51
61
"default": "c",
52
62
"description": "Preferred unit of measurement for temperature.",
53
63
"knownValues": [
54
64
"c",
55
65
"f"
56
66
],
57
67
"type": "string"
58
68
},
59
69
"unitSystem": {
60
70
"description": "[Deprecated in v0.10: Use distanceUnits, elevationUnits, temperatureUnits] Legacy unit system.",
61
71
"knownValues": [
62
72
"metric",
63
73
"imperial"
64
74
],
65
75
"type": "string"
66
76
},
67
77
"updatedAt": {
68
78
"description": "Timestamp when preferences were last updated.",
69
79
"format": "datetime",
70
80
"type": "string"
71
81
}
72
82
},
73
83
"type": "object"
74
84
},
75
85
"type": "record"
76
86
}
77
87
},
78
88
"id": "world.treeline.actor.preferences",
79
89
"lexicon": 1
80
90
}