app.tempomusic.richtext.facet

Annotation of a sub-string within text. Features describe the meaning of the annotated range: mention, link, tag, or inline music reference.

Details · object
Kindobject
Authorityrichtext.tempomusic.app
Indexed

Object

object

Properties

features

requiredarray
itemsunion

index

requiredref
Reference

#byteSlice

object

Specifies the sub-string range a facet annotates. Indices are zero-indexed byte offsets, inclusive of byteStart and exclusive of byteEnd, against the UTF-8 encoding of the text field.

Properties

byteEnd

requiredinteger
  • minimum: 0

byteStart

requiredinteger
  • minimum: 0

#mention

object

Facet feature for a mention of another Tempo account by DID.

Properties

did

requiredstring · did

#music

object

Facet feature for an inline reference to a musical entity (song, album, or artist). Allows linking music inside the text body of a post, distinct from the post's primary subject.

#tag

object

Facet feature for a topical hashtag. The tag string omits any leading '#' character.

Properties

tag

requiredstring
  • maxLength: 640
  • maxGraphemes: 64

Similar lexicons

semantic match

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