Module cuttlefish_schema

Data Types

schema()

schema() = {[cuttlefish_translation:translation()], [cuttlefish_mapping:mapping()], [cuttlefish_validator:validator()]}

Function Index

file/1
files/1
merger/1
string_fun_factory/0this exists so that we can create the fun using non exported functions for unit testing.
strings/1

Function Details

file/1

file(Filename::string()) -> schema() | cuttlefish_error:errorlist()

files/1

files(ListOfSchemaFiles::[string()]) -> schema() | cuttlefish_error:errorlist()

merger/1

merger(ListOfFunInputPairs::[{fun((string(), schema()) -> schema() | cuttlefish_error:errorlist()), string()}]) -> schema() | cuttlefish_error:errorlist()

string_fun_factory/0

string_fun_factory() -> fun((string(), schema()) -> schema() | cuttlefish_error:errorlist())

this exists so that we can create the fun using non exported functions for unit testing

strings/1

strings(ListOfStrings::[string()]) -> schema() | cuttlefish_error:errorlist()


Generated by EDoc