app.tempomusic.richtext.facet

lexicons.tempomusic.fan

{
  "id": "app.tempomusic.richtext.facet",
  "defs": {
    "tag": {
      "type": "object",
      "required": [
        "tag"
      ],
      "properties": {
        "tag": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        }
      },
      "description": "Facet feature for a topical hashtag. The tag string omits any leading '#' character."
    },
    "link": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "uri"
        }
      },
      "description": "Facet feature for an external URL embedded inline in text."
    },
    "main": {
      "type": "object",
      "required": [
        "index",
        "features"
      ],
      "properties": {
        "index": {
          "ref": "#byteSlice",
          "type": "ref"
        },
        "features": {
          "type": "array",
          "items": {
            "refs": [
              "#mention",
              "#link",
              "#tag",
              "#music"
            ],
            "type": "union"
          }
        }
      },
      "description": "Annotation of a sub-string within text. Features describe the meaning of the annotated range: mention, link, tag, or inline music reference."
    },
    "music": {
      "type": "object",
      "required": [
        "subject"
      ],
      "properties": {
        "subject": {
          "refs": [
            "app.tempomusic.feed.defs#songRef",
            "app.tempomusic.feed.defs#albumRef",
            "app.tempomusic.feed.defs#artistRef"
          ],
          "type": "union"
        }
      },
      "description": "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."
    },
    "mention": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      },
      "description": "Facet feature for a mention of another Tempo account by DID."
    },
    "byteSlice": {
      "type": "object",
      "required": [
        "byteStart",
        "byteEnd"
      ],
      "properties": {
        "byteEnd": {
          "type": "integer",
          "minimum": 0
        },
        "byteStart": {
          "type": "integer",
          "minimum": 0
        }
      },
      "description": "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.richtext.facet

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreidcghkwgma5kr4lhuwzzz4zw2nxswrkekexluhkojlt6c4uloviuq
Indexed At
2026-08-24 09:06 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.richtext.facet

Referenced Schemas (3)

Lexicon Garden

@