app.bsky.richtext.facet

Domain Index: bsky.app

Crawl History

#main - object

Annotation of a sub-string within rich text.

Data Fields

Name Type Details
features array (required)

UNHANDLED IN ARRAYS: union

index ref (required)

Reference: #byteSlice

#link - object

Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.

Data Fields

Name Type Details
uri string (required)

Syntax Format: uri

#byteSlice - object

Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.

Data Fields

Name Type Details
byteEnd integer (required)
byteStart integer (required)
#mention - object

Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.

Data Fields

Name Type Details
did string (required)

Syntax Format: did

#tag - object

Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').

Data Fields

Name Type Details
tag string (required)

Length in Graphemes: 64 max

Length in bytes (when UTF-8 encoded): 640 max