Module parthenon_schema

Data Types

encoder()

encoder() = fun((binary()) -> supported_types())

schema()

schema() = #{schema_key() := schema_value()}

schema_key()

schema_key() = atom()

schema_value()

schema_value() = encoder() | schema() | {map_array, schema()}

supported_types()

supported_types() = undefined | integer() | float() | binary() | boolean() | [supported_types()]

Function Index

create/1

Function Details

create/1

create(Schema::binary() | string()) -> {ok, schema()} | {error, term()}


Generated by EDoc