AshJsonApi.Type behaviour (ash_json_api v1.4.30)

View Source

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

Summary

Callbacks

json_schema(t)

(optional)
@callback json_schema(Keyword.t()) :: map()

json_write_schema(t)

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