app.attrails.defs

attrails.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "description": "Width:height ratio so clients can lay out before the image loads.",
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "cycling": {
      "description": "Cycling of any kind.",
      "type": "token"
    },
    "easy": {
      "description": "Easy for the stated activity.",
      "type": "token"
    },
    "extreme": {
      "description": "Extreme for the stated activity.",
      "type": "token"
    },
    "gravel": {
      "description": "Mostly gravel / unpaved roads.",
      "type": "token"
    },
    "hard": {
      "description": "Hard for the stated activity.",
      "type": "token"
    },
    "hiking": {
      "description": "Hiking or trekking.",
      "type": "token"
    },
    "image": {
      "description": "A photo attached to a route or review.",
      "properties": {
        "alt": {
          "description": "Alt text for accessibility. May be empty.",
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "alt"
      ],
      "type": "object"
    },
    "mixed": {
      "description": "Mix of surfaces.",
      "type": "token"
    },
    "moderate": {
      "description": "Moderate for the stated activity.",
      "type": "token"
    },
    "other": {
      "description": "Any other activity.",
      "type": "token"
    },
    "paved": {
      "description": "Entirely paved.",
      "type": "token"
    },
    "running": {
      "description": "Running or jogging.",
      "type": "token"
    },
    "trail": {
      "description": "Singletrack, footpath or trail.",
      "type": "token"
    },
    "walking": {
      "description": "Walking.",
      "type": "token"
    }
  },
  "id": "app.attrails.defs",
  "lexicon": 1
}

Validate Record

Validate a record against app.attrails.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:q7v2r4sxk4pecbwmaucvb2vn
CID
bafyreidblgeelvyw73iuvpj7ofco427htudqfozanz7jievs4n5njuad54
Indexed At
2026-10-26 22:50 UTC
AT-URI
at://did:plc:q7v2r4sxk4pecbwmaucvb2vn/com.atproto.lexicon.schema/app.attrails.defs

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A cycling, running, hiking, walking, etc. route shared by a user. The associated track file is stored as a blob.

Lexicon Garden

@