# B. MicroData

## New SeoContent && SeoContentTranslation

Simple Content model + Seo traits (Seo,OG,Schema.org)

### 1. Schema.org

Implements `Seo/Model/SchemaOrgContentTrait.php` and its translation trait `Seo/Model/SchemaOrgContentTranslationTrait.php`.

It allows users to write structured data, in JSON-LD format, directly to the backoffice. Homepage structured data are
used on all pages of the site. There is an option to replace homepage structured data instead of keeping them.

### 2. OpenGraph

Implements the Open Graph protocol. It automatically defines title and description from SeoMetaData. It also defines locale,
type and url og properties from the context. Users can set the og:image in the backoffice.

Use `Seo/Model/OpenGraphContentTrait.php` and `Seo/Model/OpenGraphContentTranslationTrait.php`

\
**Both Schema.org and OpenGraph are integrated into SeoContent**
