Yson.Schema.value

You're seeing just the macro value, go back to Yson.Schema module for more information.
Link to this macro

value(name, resolver \\ &identity/1)

View Source (macro)

Defines a simple field.

Example

value(:referenced)

You can also specify custom resolver to parse data. It can be either a reference or an anonymous function.

Example

value(:name, &String.reverse/1)