world.treeline.actor.preferences
Athlete display units, default sports, and privacy preferences for Treeline.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | actor.treeline.world |
| Indexed |
Showing version bafyreifljqvdgueebonbmb22yhhpnuii3lfjxxwkqafewpongkgwwglo7m. Show the latest
Checks
Validunlimited-stringdefs.main.record.properties.allowReuseNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.defaultPrivacyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.defaultSportNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.defaultViewDensityNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.distanceUnitsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.elevationUnitsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.temperatureUnitsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.themeModeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.unitSystemNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Athlete display units, default sports, and privacy preferences for Treeline.",
"key": "literal:self",
"record": {
"properties": {
"allowReuse": {
"default": "coAthletes",
"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'.",
"knownValues": [
"everyone",
"coAthletes",
"nobody"
],
"type": "string"
},
"defaultGear": {
"description": "Per-sport default gear. Preselected in the upload and edit pickers and used as the default for the gear backfill. One entry per sport; gear that is retired or deleted is ignored.",
"items": {
"ref": "#sportGearDefault",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"defaultHideStartEndMeters": {
"default": 0,
"description": "Default distance in meters trimmed from start and end for privacy.",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"defaultPrivacy": {
"default": "public",
"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.",
"knownValues": [
"public",
"unlisted",
"followers",
"private",
"permissioned"
],
"type": "string"
},
"defaultSport": {
"description": "Default sport category selected when recording or uploading activities.",
"type": "string"
},
"defaultViewDensity": {
"description": "How the athlete's archive and feed render activities: 'cards' (the default) or a 'compact' list. Unset means 'cards'.",
"knownValues": [
"cards",
"compact"
],
"type": "string"
},
"distanceUnits": {
"default": "km",
"description": "Preferred unit of measurement for distance.",
"knownValues": [
"km",
"mi"
],
"type": "string"
},
"elevationUnits": {
"default": "m",
"description": "Preferred unit of measurement for elevation.",
"knownValues": [
"m",
"ft"
],
"type": "string"
},
"temperatureUnits": {
"default": "c",
"description": "Preferred unit of measurement for temperature.",
"knownValues": [
"c",
"f"
],
"type": "string"
},
"themeMode": {
"description": "The athlete's chosen colour theme: 'daylight', 'dusk', or 'system' (follow the operating system). Unset means 'system'. Synced across the athlete's sessions.",
"knownValues": [
"daylight",
"dusk",
"system"
],
"type": "string"
},
"unitSystem": {
"description": "[Deprecated in v0.10: Use distanceUnits, elevationUnits, temperatureUnits] Legacy unit system.",
"knownValues": [
"metric",
"imperial"
],
"type": "string"
},
"updatedAt": {
"description": "Timestamp when preferences were last updated.",
"format": "datetime",
"type": "string"
}
},
"type": "object"
},
"type": "record"
},
"sportGearDefault": {
"properties": {
"gearUri": {
"description": "AT-URI of the world.treeline.gear.item to use by default for this sport.",
"format": "at-uri",
"maxLength": 512,
"type": "string"
},
"sport": {
"description": "Sport identifier, as used in activity.sport.",
"maxGraphemes": 64,
"maxLength": 64,
"type": "string"
}
},
"required": [
"sport",
"gearUri"
],
"type": "object"
}
},
"id": "world.treeline.actor.preferences",
"lexicon": 1
}