club.userstyles.alpha.defs

userstyles.club

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "commentThreadView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "comment": {
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "deleted": {
          "type": "boolean"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "parentUri": {
          "format": "at-uri",
          "type": "string"
        },
        "rating": {
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "subjectUri": {
          "format": "at-uri",
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "deleted",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    },
    "commentView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "comment": {
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "parentUri": {
          "format": "at-uri",
          "type": "string"
        },
        "subjectUri": {
          "format": "at-uri",
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "subjectUri",
        "comment",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    },
    "feedFollowView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "subjectDid": {
          "format": "did",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "did",
        "subjectDid",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    },
    "feedViewItem": {
      "properties": {
        "comment": {
          "ref": "club.userstyles.alpha.defs#commentView",
          "type": "ref"
        },
        "follow": {
          "ref": "club.userstyles.alpha.defs#feedFollowView",
          "type": "ref"
        },
        "rating": {
          "ref": "club.userstyles.alpha.defs#ratingView",
          "type": "ref"
        },
        "type": {
          "enum": [
            "userstyle",
            "comment",
            "rating",
            "follow"
          ],
          "type": "string"
        },
        "userstyle": {
          "ref": "club.userstyles.alpha.defs#userstyleView",
          "type": "ref"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "followView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did",
        "createdAt"
      ],
      "type": "object"
    },
    "mozDocumentFunction": {
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "value"
      ],
      "type": "object"
    },
    "notificationView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "reason": {
          "enum": [
            "comment",
            "reply",
            "thread",
            "rating",
            "follow"
          ],
          "type": "string"
        },
        "recordUri": {
          "format": "at-uri",
          "type": "string"
        },
        "userstyle": {
          "ref": "club.userstyles.alpha.defs#userstyleView",
          "type": "ref"
        }
      },
      "required": [
        "reason",
        "recordUri",
        "author",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    },
    "profileView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "description": {
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "ratingView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "rating": {
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "subjectUri": {
          "format": "at-uri",
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "subjectUri",
        "rating",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    },
    "relationshipView": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "followedBy": {
          "format": "at-uri",
          "type": "string"
        },
        "following": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "userstyleView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "commentCount": {
          "type": "integer"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "description": {
          "maxGraphemes": 300,
          "type": "string"
        },
        "homepageUrl": {
          "format": "uri",
          "type": "string"
        },
        "ignoreUpdateUrl": {
          "type": "boolean"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "license": {
          "maxLength": 100,
          "type": "string"
        },
        "mozDocumentFunctions": {
          "items": {
            "ref": "club.userstyles.alpha.defs#mozDocumentFunction",
            "type": "ref"
          },
          "type": "array"
        },
        "previewImageCid": {
          "format": "cid",
          "type": "string"
        },
        "ratingAverage": {
          "type": "string"
        },
        "ratingCount": {
          "type": "integer"
        },
        "sourceCodeCid": {
          "format": "cid",
          "type": "string"
        },
        "title": {
          "maxGraphemes": 140,
          "minGraphemes": 1,
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "upstreamUrl": {
          "format": "uri",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "userCssVars": {
          "type": "integer"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "title",
        "sourceCodeCid",
        "createdAt",
        "indexedAt",
        "commentCount",
        "ratingCount"
      ],
      "type": "object"
    }
  },
  "id": "club.userstyles.alpha.defs",
  "lexicon": 1
}

Validate Record

Validate a record against club.userstyles.alpha.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:z6a2tfjek74wmqinw5vjzbed
CID
bafyreif5gfp4ffq6a3ee4y7yuxch657wuigcxtkaug5xg5we3ke4i5vglq
Indexed At
2026-09-01 13:42 UTC
AT-URI
at://did:plc:z6a2tfjek74wmqinw5vjzbed/com.atproto.lexicon.schema/club.userstyles.alpha.defs

Similar Lexicons

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

  • place.stream.vod.defs not from the namespace authority

    A comment view without its own `replyTo`, used to represent the parent of a reply without recursively nesting the whole thread.

  • club.userstyles.alpha.feed.comment recordnot from the namespace authority

    A comment on a userstyle. Can be a reply to another comment.

  • An account, hydrated enough to render a byline without resolving the DID.

Lexicon Garden

@