Notion · Schema

RichText

A Rich Text object represents styled text content in Notion. Rich text can include annotations like bold, italic, and color, as well as links and mentions of other Notion objects.

CollaborationDatabaseIdeasNotesProductivityProjectT1TaskWikiWorkspace

Properties

Name Type Description
type string The type of this rich text object.
text object Text content and optional link. Present when type is "text".
mention object Mention content. Present when type is "mention". Can reference users, pages, databases, dates, or link previews.
equation object Equation content in KaTeX format. Present when type is "equation".
annotations object Styling annotations applied to the text.
plain_text string The plain text content without annotations.
href stringnull The URL of any link in the text, or null.
View JSON Schema on GitHub

JSON Schema

notion-richtext-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RichText",
  "title": "RichText",
  "type": "object",
  "description": "A Rich Text object represents styled text content in Notion. Rich text can include annotations like bold, italic, and color, as well as links and mentions of other Notion objects.",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of this rich text object.",
      "enum": [
        "text",
        "mention",
        "equation"
      ]
    },
    "text": {
      "type": "object",
      "description": "Text content and optional link. Present when type is \"text\".",
      "properties": {
        "content": {
          "type": "string",
          "description": "The actual text content."
        },
        "link": {
          "type": [
            "object",
            "null"
          ],
          "description": "Optional link within the text.",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "description": "The URL the text links to."
            }
          }
        }
      }
    },
    "mention": {
      "type": "object",
      "description": "Mention content. Present when type is \"mention\". Can reference users, pages, databases, dates, or link previews.",
      "additionalProperties": true
    },
    "equation": {
      "type": "object",
      "description": "Equation content in KaTeX format. Present when type is \"equation\".",
      "properties": {
        "expression": {
          "type": "string",
          "description": "The LaTeX equation expression."
        }
      }
    },
    "annotations": {
      "type": "object",
      "description": "Styling annotations applied to the text.",
      "properties": {
        "bold": {
          "type": "boolean",
          "description": "Whether the text is bold."
        },
        "italic": {
          "type": "boolean",
          "description": "Whether the text is italic."
        },
        "strikethrough": {
          "type": "boolean",
          "description": "Whether the text has a strikethrough."
        },
        "underline": {
          "type": "boolean",
          "description": "Whether the text is underlined."
        },
        "code": {
          "type": "boolean",
          "description": "Whether the text is formatted as inline code."
        },
        "color": {
          "type": "string",
          "description": "The color of the text. Possible values include default, gray, brown, orange, yellow, green, blue, purple, pink, red, and their background variants (e.g., gray_background)."
        }
      }
    },
    "plain_text": {
      "type": "string",
      "description": "The plain text content without annotations."
    },
    "href": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The URL of any link in the text, or null."
    }
  },
  "required": [
    "type",
    "plain_text"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/notion-richtext"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.