static site frontend for mapped.at mapped.at
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update lexicons

+30 -54
+4 -5
lexicons/at.mapped.test.activityType.json lexicons/at/mapped/activity.json
··· 1 1 { 2 - "id": "at.mapped.test.activityType", 2 + "id": "at.mapped.activity", 3 3 "lexicon": 1, 4 4 "defs": { 5 5 "main": { 6 6 "key": "tid", 7 7 "type": "record", 8 - "description": "A user-defined activity type (e.g., Hiking, Cycling, Kayaking). Users can create custom activity types.", 8 + "description": "An activity like Hiking, Cycling, Kayaking", 9 9 "record": { 10 10 "type": "object", 11 11 "required": [ ··· 20 20 "description": { 21 21 "type": "string", 22 22 "description": "Optional description of the activity type", 23 - "maxLength": 256 23 + "maxLength": 300 24 24 } 25 25 } 26 26 } 27 27 } 28 - }, 29 - "$type": "com.atproto.lexicon.schema" 28 + } 30 29 }
+8 -5
lexicons/at.mapped.test.location.json lexicons/at/mapped/location.json
··· 1 1 { 2 - "id": "at.mapped.test.location", 2 + "id": "at.mapped.location", 3 3 "defs": { 4 4 "main": { 5 5 "type": "object", ··· 10 10 "properties": { 11 11 "name": { 12 12 "type": "string", 13 + "maxLength": 50, 13 14 "description": "The name of the location." 14 15 }, 15 16 "altitude": { 16 - "type": "string" 17 + "type": "string", 18 + "maxLength": 20 17 19 }, 18 20 "latitude": { 19 - "type": "string" 21 + "type": "string", 22 + "maxLength": 20 20 23 }, 21 24 "longitude": { 22 - "type": "string" 25 + "type": "string", 26 + "maxLength": 20 23 27 } 24 28 }, 25 29 "description": "A physical location in the form of a WGS84 coordinate." 26 30 } 27 31 }, 28 - "$type": "com.atproto.lexicon.schema", 29 32 "lexicon": 1 30 33 }
+3 -5
lexicons/at.mapped.test.post.json lexicons/at/mapped/post.json
··· 1 1 { 2 2 "lexicon": 1, 3 - "id": "at.mapped.test.post", 4 - "$type": "com.atproto.lexicon.schema", 5 - "description": "A post representing either an activity or a travel experience", 6 - "revision": 1, 3 + "id": "at.mapped.post", 7 4 "defs": { 8 5 "main": { 6 + "description": "A post representing either an activity or a travel experience", 9 7 "key": "tid", 10 8 "type": "record", 11 9 "record": { ··· 22 20 "text": { 23 21 "type": "string", 24 22 "description": "Caption or description text for the post", 25 - "maxLength": 512 23 + "maxLength": 500 26 24 }, 27 25 "timestamp": { 28 26 "type": "string",
+15 -14
lexicons/at.mapped.test.trail.json lexicons/at/mapped/trail.json
··· 1 1 { 2 - "lexicon": 1, 3 - "id": "at.mapped.test.trail", 4 - "$type": "com.atproto.lexicon.schema", 5 - "description": "A trail or route record containing GeoJSON geometry", 6 - "revision": 1, 7 2 "defs": { 8 3 "main": { 4 + "description": "A trail", 9 5 "key": "tid", 10 - "type": "record", 11 6 "record": { 12 - "type": "object", 13 - "required": [ 14 - "name" 15 - ], 16 7 "properties": { 17 8 "name": { 18 9 "type": "string", 10 + "maxLength": 50, 19 11 "description": "Display name of the trail or route" 20 12 }, 21 13 "activityType": { ··· 25 17 }, 26 18 "polyline": { 27 19 "type": "string", 20 + "maxLength": 1000, 28 21 "description": "Encoded Polyline representing the trail geometry" 29 22 }, 30 23 "locations": { ··· 32 25 "description": "Optional array of location references along the trail", 33 26 "items": { 34 27 "type": "ref", 35 - "ref": "at.mapped.test.location" 28 + "ref": "at.mapped.location" 36 29 } 37 30 } 38 - } 39 - } 31 + }, 32 + "required": [ 33 + "name" 34 + ], 35 + "type": "object" 36 + }, 37 + "type": "record" 40 38 } 41 - } 39 + }, 40 + "id": "at.mapped.trail", 41 + "$type": "com.atproto.lexicon.schema", 42 + "lexicon": 1 42 43 }
-25
lexicons/com.atproto.repo.strongRef.json
··· 1 - { 2 - "id": "com.atproto.repo.strongRef", 3 - "defs": { 4 - "main": { 5 - "type": "object", 6 - "required": [ 7 - "uri", 8 - "cid" 9 - ], 10 - "properties": { 11 - "cid": { 12 - "type": "string", 13 - "format": "cid" 14 - }, 15 - "uri": { 16 - "type": "string", 17 - "format": "at-uri" 18 - } 19 - } 20 - } 21 - }, 22 - "$type": "com.atproto.lexicon.schema", 23 - "lexicon": 1, 24 - "description": "A URI with a content-hash fingerprint." 25 - }