export default {
  "metadata": { "section": "Paragraph" },
  "definitions": {
    "ParagraphNode": {
      "metadata": {
        "tsRicosNode": true,
        "description": "Structures text content, providing a clear separation between different ideas or sections of text. Paragraphs are rendered with default styling that typically includes some space above and below the paragraph, making it visually distinct from the surrounding content.",
        "examples": ["paragraph"]
      },
      "properties": {
        "type": {
          "enum": ["PARAGRAPH"],
          "metadata": {
            "description": "Node type. \n Must be `PARAGRAPH`."
          }
        }
      },
      "optionalProperties": {
        "nodes": {
          "elements": {
            "ref": "TextNode"
          },
          "metadata": {
            "tsRicosNodesChildren": true,
            "description": "Paragraph children."
          }
        },
        "id": {
          "type": "string",
          "metadata": {
            "format": "NODE_ID",
            "description": "[Node ID](#node-ids)."
          }
        },
        "style": {
          "ref": "NodeStyle",
          "metadata": {
            "description": "Vertical padding. \n **Note:** This node requires the [`lineSpacing`](https://dev.wix.com/docs/ricos/getting-started/introduction#plugins) plugin to be enabled."
          }
        },
        "paragraphData": {
          "ref": "ParagraphData",
          "metadata": {
            "description": "Paragraph node attributes."
          }
        }
      }
    },
    "ParagraphData": {
      "optionalProperties": {
        "textStyle": {
          "ref": "TextStyle",
          "metadata": { "description": "Paragraph text styling." }
        },
        "indentation": {
          "type": "int32",
          "metadata": {
            "description": "Paragraph margin from the left side. \n The indentation is measured relative to 40px. For example, if the indentation is `2`, then the margin is equal to **80px**."
          }
        },
        "level": {
          "type": "int32",
          "metadata": {
            "internal": true,
            "description": "Paragraph level for future different paragraphs."
          }
        }
      }
    }
  }
}