# JsonLdForArticle Reference

The `JsonLdForArticle` component renders Article-specific JSON-LD structured data in a script tag.

## Props

The `JsonLdForArticle` component accepts the following props:

### `type` (required)

**type:** `"Article" | "NewsArticle" | "BlogPosting"`

**Added in:** `seo-in-nextjs@1.0.0`

The type of article.

### `headline` (required)

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

The headline or title of the article.

### `images` (required)

**type:** `string[]`

**Added in:** `seo-in-nextjs@1.0.0`

An array of image routes associated with the article.

### `datePublished` (required)

**type:** `Date`

**Added in:** `seo-in-nextjs@1.0.0`

The date when the article was first published.

### `dateModified` (required)

**type:** `Date`

**Added in:** `seo-in-nextjs@1.0.0`

The date when the article was last modified.

### `authors` (required)

**type:** `Array<{ name: string; url: string }>`

**Added in:** `seo-in-nextjs@1.0.0`

An array of author objects. Each author must have a `name` and a `url` property.

### `scriptId`

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

A custom ID for the script tag.

### `scriptKey`

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

A custom React key for the script element.