View Source AshJsonApi.Type behaviour (ash_json_api v1.4.6)

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

Summary

Callbacks

Link to this callback

json_schema(t)

View Source (optional)
@callback json_schema(Keyword.t()) :: map()
@callback json_write_schema(Keyword.t()) :: map()