# net.wireservice.component.body

> Published by [wireservice.net](https://lexicon.garden/identity/did:plc:lktj64hp7lc3fzuf6iyy7lwj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.body)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.body/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.component.body/examples)

## Definitions

### `net.wireservice.component.body`

**Type**: `object`

Body text component. The primary component for article prose.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `array` | Yes | Rich text content as an array of text runs with optional formatting marks. |
| `hidden` | `boolean` | No |  |
| `identifier` | `string` | No | Unique identifier for this component, used for anchoring and cross-referencing. |
| `layout` | `string` | No | Reference to a named component layout defined in the content record. |
| `style` | `string` | No | Reference to a named component style defined in the content record. |
| `textStyle` | `string` | No | Reference to a named text style defined in the content record. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Body text component. The primary component for article prose.",
      "properties": {
        "content": {
          "description": "Rich text content as an array of text runs with optional formatting marks.",
          "items": {
            "ref": "net.wireservice.defs#textRun",
            "type": "ref"
          },
          "type": "array"
        },
        "hidden": {
          "type": "boolean"
        },
        "identifier": {
          "description": "Unique identifier for this component, used for anchoring and cross-referencing.",
          "maxLength": 256,
          "type": "string"
        },
        "layout": {
          "description": "Reference to a named component layout defined in the content record.",
          "maxLength": 256,
          "type": "string"
        },
        "style": {
          "description": "Reference to a named component style defined in the content record.",
          "maxLength": 256,
          "type": "string"
        },
        "textStyle": {
          "description": "Reference to a named text style defined in the content record.",
          "maxLength": 256,
          "type": "string"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    }
  },
  "id": "net.wireservice.component.body",
  "lexicon": 1
}
```
