app.atmobb.richtext.block

lexicons.atmobb.app

Documentation

code object

A code block.

Properties

lang string Optional

No description available.

maxLength: 64 bytes
text string Required

No description available.

maxLength: 100000 bytesmaxGraphemes: 10000 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "lang": {
      "type": "string",
      "maxLength": 64
    },
    "text": {
      "type": "string",
      "maxLength": 100000,
      "maxGraphemes": 10000
    }
  },
  "description": "A code block."
}
image object

An embedded image.

Properties

alt string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
image blob Required

No description available.

maxSize: 2.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "image"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "maxLength": 10000,
      "maxGraphemes": 1000
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 2000000
    }
  },
  "description": "An embedded image."
}
quote object

A quote block, optionally attributed to another record (e.g. the reply being quoted).

Properties

text string Required

No description available.

maxLength: 100000 bytesmaxGraphemes: 10000 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 100000,
      "maxGraphemes": 10000
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "app.atmobb.richtext.facet",
        "type": "ref"
      }
    },
    "subject": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "A quote block, optionally attributed to another record (e.g. the reply being quoted)."
}
text object

A paragraph of rich text.

Properties

text string Required

No description available.

maxLength: 100000 bytesmaxGraphemes: 10000 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 100000,
      "maxGraphemes": 10000
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "app.atmobb.richtext.facet",
        "type": "ref"
      }
    }
  },
  "description": "A paragraph of rich text."
}

Lexicon Garden

@