world.treeline.companion.profile

Profile for a trail or running animal companion (e.g., dog, horse, cat, pack animal) on Treeline.

Repository @treeline.world did:plc:sjejpugpajgvxweilujzjcmq namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritycompanion.treeline.world
Commit rev3n344shk3bk2v
Indexed
cid bafyreihvapm77gsqc5y55zeck57kd4n6djefovudktjji34seh7v2bfvfu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Profile for a trail or running animal companion (e.g., dog, horse, cat, pack animal) on Treeline.",
      "key": "tid",
      "record": {
        "properties": {
          "accountDid": {
            "description": "Optional dedicated ATProto/Bluesky account DID belonging to the companion.",
            "format": "did",
            "type": "string"
          },
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Companion portrait avatar image. Clients must strip all EXIF metadata from the image blob before upload.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "bio": {
            "description": "Short bio, trail temperament, or notes about the companion.",
            "maxGraphemes": 500,
            "maxLength": 5000,
            "type": "string"
          },
          "birthDate": {
            "description": "Companion birth date or approximate birth timestamp (ISO 8601 UTC).",
            "format": "datetime",
            "type": "string"
          },
          "breed": {
            "description": "Optional breed or mix description.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "coHandlers": {
            "description": "DIDs of co-handlers authorized to tag this companion on their own activities.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "createdAt": {
            "description": "Record creation timestamp (ISO 8601 UTC).",
            "format": "datetime",
            "type": "string"
          },
          "defaultRole": {
            "description": "Default participation role when tagging this companion on new activities.",
            "knownValues": [
              "trail",
              "canicross",
              "bikejoring",
              "skijoring",
              "sled",
              "riding",
              "pack",
              "carried",
              "other"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "firstAdventureDate": {
            "description": "Date of the companion's first logged trail adventure (ISO 8601 UTC).",
            "format": "datetime",
            "type": "string"
          },
          "initialDistanceMeters": {
            "default": 0,
            "description": "Prior lifetime distance in meters logged before tracking on Treeline.",
            "minimum": 0,
            "type": "integer"
          },
          "labels": {
            "description": "Optional self-label values applied by the author.",
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "langs": {
            "description": "Optional human languages of this record's text (name, breed, bio) as BCP-47 tags.",
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "name": {
            "description": "Display name of the companion.",
            "maxGraphemes": 80,
            "maxLength": 800,
            "type": "string"
          },
          "showOnLeaderboards": {
            "default": true,
            "description": "Whether activities with this companion may appear on companion leaderboards.",
            "type": "boolean"
          },
          "sizeClass": {
            "description": "Approximate size bracket of the companion.",
            "knownValues": [
              "toy",
              "small",
              "medium",
              "large",
              "giant"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "species": {
            "description": "Animal species of the companion.",
            "knownValues": [
              "dog",
              "horse",
              "cat",
              "goat",
              "llama",
              "burro",
              "other"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "status": {
            "default": "active",
            "description": "Lifecycle status of the companion.",
            "knownValues": [
              "active",
              "retired",
              "memorial"
            ],
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "name",
          "species",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "world.treeline.companion.profile",
  "lexicon": 1
}