world.treeline.gear.item

treeline.world

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "gearComponent": {
      "properties": {
        "currentDistanceMeters": {
          "default": 0,
          "description": "Cumulative distance logged on this component.",
          "minimum": 0,
          "type": "integer"
        },
        "installedDate": {
          "description": "Date when component was installed.",
          "format": "datetime",
          "type": "string"
        },
        "maxDistanceMeters": {
          "description": "Component service limit in meters.",
          "minimum": 0,
          "type": "integer"
        },
        "name": {
          "description": "Component name (e.g. Chain, Cassette, Brake Pads).",
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "An outdoor sports equipment item and mileage/maintenance tracker.",
      "key": "tid",
      "record": {
        "properties": {
          "brand": {
            "description": "Manufacturer brand name.",
            "maxLength": 100,
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when this gear record was created.",
            "format": "datetime",
            "type": "string"
          },
          "currentDistanceMeters": {
            "default": 0,
            "description": "Cumulative distance logged on Treeline activities.",
            "minimum": 0,
            "type": "integer"
          },
          "initialDistanceMeters": {
            "default": 0,
            "description": "Prior distance logged on the item before tracking on Treeline.",
            "minimum": 0,
            "type": "integer"
          },
          "maxDistanceMeters": {
            "description": "Recommended service life or replacement threshold in meters.",
            "minimum": 0,
            "type": "integer"
          },
          "model": {
            "description": "Product model identifier.",
            "maxLength": 100,
            "type": "string"
          },
          "name": {
            "description": "Athlete nickname for the gear item (e.g. Santa Cruz Hightower, Speedgoat 5).",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "notes": {
            "description": "Maintenance notes, shock tuning, tire pressures, or repairs.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "primaryCategory": {
            "description": "Broad category of outdoor gear.",
            "knownValues": [
              "footwear",
              "bike",
              "winter_sports",
              "water_sports",
              "climbing",
              "apparel_packs",
              "electronics_hardware",
              "other"
            ],
            "type": "string"
          },
          "purchaseDate": {
            "description": "Date when the item was acquired.",
            "format": "datetime",
            "type": "string"
          },
          "retired": {
            "default": false,
            "description": "Whether the gear item has been decommissioned.",
            "type": "boolean"
          },
          "subCategory": {
            "description": "Specific discipline classification (e.g. gravel_bike, trail_running_shoes).",
            "maxLength": 100,
            "type": "string"
          },
          "subComponents": {
            "description": "Tracked wearable components attached to this item.",
            "items": {
              "ref": "#gearComponent",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "primaryCategory"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "world.treeline.gear.item",
  "lexicon": 1
}

Validate Record

Validate a record against world.treeline.gear.item

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:sjejpugpajgvxweilujzjcmq
CID
bafyreiehkcipllyhvte3asnpkowu3hlr4o36seoiy6aav2iu6vntjholtq
Indexed At
2026-09-25 14:12 UTC
AT-URI
at://did:plc:sjejpugpajgvxweilujzjcmq/com.atproto.lexicon.schema/world.treeline.gear.item

Similar Lexicons

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

Lexicon Garden

@