support.supper.richtext.facet

supper.support

Documentation

Annotations over UTF-8 byte ranges. Readers render recognized features only. Ranges must be nonempty, end-exclusive, within plaintext and on code point boundaries.

main object

Annotations over UTF-8 byte ranges. Readers render recognized features only. Ranges must be nonempty, end-exclusive, within plaintext and on code point boundaries.

Properties

index ref #byteSlice Required

No description available.

View raw schema
{
  "description": "Annotations over UTF-8 byte ranges. Readers render recognized features only. Ranges must be nonempty, end-exclusive, within plaintext and on code point boundaries.",
  "properties": {
    "features": {
      "items": {
        "closed": false,
        "refs": [
          "#bold",
          "#italic",
          "#underline",
          "#code",
          "#link",
          "#mention"
        ],
        "type": "union"
      },
      "maxLength": 16,
      "type": "array"
    },
    "index": {
      "ref": "#byteSlice",
      "type": "ref"
    }
  },
  "required": [
    "index",
    "features"
  ],
  "type": "object"
}
bold object

Bold text.

This object has no properties defined.

View raw schema
{
  "description": "Bold text.",
  "properties": {},
  "type": "object"
}
byteSlice object

No description available.

Properties

byteEnd integer Required

No description available.

minimum: 0
byteStart integer Required

No description available.

minimum: 0
View raw schema
{
  "properties": {
    "byteEnd": {
      "minimum": 0,
      "type": "integer"
    },
    "byteStart": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "byteStart",
    "byteEnd"
  ],
  "type": "object"
}
code object

Code text.

This object has no properties defined.

View raw schema
{
  "description": "Code text.",
  "properties": {},
  "type": "object"
}
italic object

Italic text.

This object has no properties defined.

View raw schema
{
  "description": "Italic text.",
  "properties": {},
  "type": "object"
}
link object

No description available.

Properties

uri string uri Required

An absolute HTTP or HTTPS URL. Readers must reject other schemes and must not execute markup.

maxLength: 8000 bytes
View raw schema
{
  "properties": {
    "uri": {
      "description": "An absolute HTTP or HTTPS URL. Readers must reject other schemes and must not execute markup.",
      "format": "uri",
      "maxLength": 8000,
      "type": "string"
    }
  },
  "required": [
    "uri"
  ],
  "type": "object"
}
mention object

Account identity, independent of a cached handle or preferred profile client.

Properties

did string did Required

A decentralized identifier (DID).

maxLength: 2048 bytes
View raw schema
{
  "description": "Account identity, independent of a cached handle or preferred profile client.",
  "properties": {
    "did": {
      "format": "did",
      "maxLength": 2048,
      "type": "string"
    }
  },
  "required": [
    "did"
  ],
  "type": "object"
}
underline object

Underline text.

This object has no properties defined.

View raw schema
{
  "description": "Underline text.",
  "properties": {},
  "type": "object"
}

Lexicon Garden

@