Backfill in-progress. Some lexicons and records may be missing or incomplete.

network.slices.tools.richtext.facet

slices.network

Documentation

main object

Annotation of a sub-string within rich text.

Properties

index ref #byteSlice Required

No description provided.

View raw schema
{
  "type": "object",
  "required": [
    "index",
    "features"
  ],
  "properties": {
    "index": {
      "ref": "#byteSlice",
      "type": "ref"
    },
    "features": {
      "type": "array",
      "items": {
        "refs": [
          "#link",
          "#bold",
          "#italic",
          "#code",
          "#codeBlock"
        ],
        "type": "union"
      }
    }
  },
  "description": "Annotation of a sub-string within rich text."
}
bold object

Facet feature for bold text.

This object has no properties defined.

View raw schema
{
  "type": "object",
  "required": [],
  "properties": {},
  "description": "Facet feature for bold text."
}
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.

Properties

byteEnd integer Required

No description provided.

minimum: 0
byteStart integer Required

No description provided.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "byteStart",
    "byteEnd"
  ],
  "properties": {
    "byteEnd": {
      "type": "integer",
      "minimum": 0
    },
    "byteStart": {
      "type": "integer",
      "minimum": 0
    }
  },
  "description": "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."
}
code object

Facet feature for inline code.

This object has no properties defined.

View raw schema
{
  "type": "object",
  "required": [],
  "properties": {},
  "description": "Facet feature for inline code."
}
codeBlock object

Facet feature for fenced code blocks.

Properties

lang string Optional

Optional language identifier for syntax highlighting.

View raw schema
{
  "type": "object",
  "required": [],
  "properties": {
    "lang": {
      "type": "string",
      "description": "Optional language identifier for syntax highlighting."
    }
  },
  "description": "Facet feature for fenced code blocks."
}
italic object

Facet feature for italic text.

This object has no properties defined.

View raw schema
{
  "type": "object",
  "required": [],
  "properties": {},
  "description": "Facet feature for italic text."
}
link object

Facet feature for a URL.

Properties

uri string uri Required

A valid URI.

View raw schema
{
  "type": "object",
  "required": [
    "uri"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "uri"
    }
  },
  "description": "Facet feature for a URL."
}

Lexicon Garden

@