# is.logue.block.heading

> Published by [logue.is](https://lexicon.garden/identity/did:plc:6xpq2upvl7j6p3ct6rgbb4pd)

## Description

A heading block with hierarchical levels (1-6)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.heading)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.heading/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6xpq2upvl7j6p3ct6rgbb4pd/is.logue.block.heading/examples)

## Definitions

### `is.logue.block.heading`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `level` | `integer` | No | Heading level (1–6), corresponding to HTML tags <h1> through <h6> (1 = most important, 6 = least important) |
| `facets` | `array` | No | Facets for text formatting and features |
| `plaintext` | `string` | Yes | The content of the heading |

## Raw Schema

```json
{
  "id": "is.logue.block.heading",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "plaintext"
      ],
      "properties": {
        "level": {
          "type": "integer",
          "maximum": 6,
          "minimum": 1,
          "description": "Heading level (1–6), corresponding to HTML tags <h1> through <h6> (1 = most important, 6 = least important)"
        },
        "facets": {
          "type": "array",
          "items": {
            "ref": "is.logue.richtext.facet",
            "type": "ref"
          },
          "description": "Facets for text formatting and features"
        },
        "plaintext": {
          "type": "string",
          "description": "The content of the heading"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A heading block with hierarchical levels (1-6)"
}
```
