# `AshJsonApi.Type`
[🔗](https://github.com/ash-project/ash_json_api/blob/v1.6.5/lib/ash_json_api/type.ex#L5)

The behaviour for customizing how a datatype is rendered and written in AshJsonApi.

# `json_schema`
*optional* 

```elixir
@callback json_schema(Keyword.t()) :: map()
```

# `json_write_schema`

```elixir
@callback json_write_schema(Keyword.t()) :: map()
```

---

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