# Introduction

## EventsGroup model

### Example

```json
{
  "events_group": {
    "id": 22,
    "locales": ["en", "pl"],
    "products": ["default"],
    "title": {
      "en": "Title",
      "pl": "Tytuł"
    },
    "slug": {
      "en": "title",
      "pl": "tytul"
    },
    "body": {
      "en": "Description",
      "pl": "Opis"
    },
    "created_at": "2022-04-12T10:01:38.071466Z",
    "updated_at": "2022-04-12T14:50:59.475870Z",
    "archived_at": null
  }
}
```

### Definition

| Key                | Type                                                                                           | Optional             | Read-only | Description
|--------------------|------------------------------------------------------------------------------------------------|----------------------|-----------| ---------
| id                 | integer                                                                                        | no                   | yes       |
| locales            | [ISO 639-1 alpha-2 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)[]              | yes                  | no        | [Locales](doc-341635#x-locale-header) the record is be available to in [Locales](doc-341635#x-locale-header)
| products           | string[]                                                                                       | yes                  | no        | [Products](doc-341635#x-product-name-header) the content is available for in [Products](doc-341635#x-product-name-header)
| title              | [LocalizedContent](doc-341959#localizedcontent-json-model) | yes                  | no        |
| body               | [LocalizedContent](doc-341959#localizedcontent-json-model) | yes                  | no        |
| slug               | [LocalizedContent](doc-341959#localizedcontent-json-model) | yes                  | yes       | Value taken from custom slug or auto-generated from `title`
| created_at         | datetime                                                                                       | no                   | yes       | Time of record creation
| updated_at         | datetime                                                                                       | no                   | yes       | Time of record last update
| archived_at        | datetime                                                                                       | no                   | yes       | Time of record archivization