# art.cllctv.block.heading

> Published by [cllctv.art](https://lexicon.garden/identity/did:plc:gqpqghnqiowg5424adjwmhmg)

✓ This is the authoritative definition for this NSID.

## Description

A heading block with hierarchical levels (1-6) for document structure.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:gqpqghnqiowg5424adjwmhmg/art.cllctv.block.heading)
- [Documentation](https://lexicon.garden/lexicon/did:plc:gqpqghnqiowg5424adjwmhmg/art.cllctv.block.heading/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:gqpqghnqiowg5424adjwmhmg/art.cllctv.block.heading/examples)

## Definitions

### `art.cllctv.block.heading`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes | The plain text content of the heading |
| `level` | `integer` | Yes | Heading level |
| `facets` | `array` | No | Facets for text formatting and features |
| `format` | `string` | No |  |
| `indent` | `integer` | No |  |
| `direction` | `string` | No |  |

## Raw Schema

```json
{
  "id": "art.cllctv.block.heading",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "level",
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "description": "The plain text content of the heading"
        },
        "level": {
          "type": "integer",
          "maximum": 6,
          "minimum": 1,
          "description": "Heading level"
        },
        "facets": {
          "type": "array",
          "items": {
            "ref": "art.cllctv.block.text#facet",
            "type": "ref"
          },
          "description": "Facets for text formatting and features"
        },
        "format": {
          "type": "string",
          "knownValues": [
            "left",
            "start",
            "center",
            "right",
            "end",
            "justify"
          ]
        },
        "indent": {
          "type": "integer",
          "minimum": 0
        },
        "direction": {
          "type": "string",
          "knownValues": [
            "ltr",
            "rtl"
          ]
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A heading block with hierarchical levels (1-6) for document structure."
}
```
