# `OpenRtbEcto`
[🔗](https://github.com/AppMonet/open_rtb_ecto/blob/v1.4.6/lib/open_rtb_ecto.ex#L1)

Ecto schemas for OpenRTB 2.x & 3.0 according to the following specifications:

[OpenRTB 2.0 Spec](https://www.iab.com/wp-content/uploads/2015/06/OpenRTB_API_Specification_Version2_0_FINAL.pdf)
[OpenRTB 2.5 Spec](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf)
[OpenRTB 2.6 Spec](https://iabtechlab.com/wp-content/uploads/2022/04/OpenRTB-2-6_FINAL.pdf)

[OpenRTB 3.0 Spec](https://iabtechlab.com/wp-content/uploads/2017/09/OpenRTB-3.0-Draft-Framework-for-Public-Comment.pdf)

# `open_rtb_schema`

```elixir
@type open_rtb_schema() :: term()
```

Any of the schemas defined in the library

# `cast`

```elixir
@spec cast(open_rtb_schema(), map() | binary()) :: {:ok, struct()} | {:error, map()}
```

# `safe_cast_embeds_many`

# `safe_cast_ext`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
