View Source AvroEx.Schema (AvroEx v1.2.0)
Link to this section Summary
Link to this section Types
Specs
alias() :: name()
Specs
doc() :: nil | String.t()
Specs
full_name() :: String.t()
Specs
json_schema() :: String.t()
Specs
name() :: String.t()
Specs
named_type() :: AvroEx.Schema.Enum.t() | AvroEx.Schema.Fixed.t() | AvroEx.Schema.Record.t()
Specs
namespace() :: nil | String.t()
Specs
schema_types() :: AvroEx.Schema.Array.t() | Enum.t() | AvroEx.Schema.Fixed.t() | AvroEx.Schema.Map.t() | AvroEx.Schema.Record.t() | AvroEx.Schema.Primitive.t() | AvroEx.Schema.Union.t()
Specs
t() :: %AvroEx.Schema{context: AvroEx.Schema.Context.t(), schema: term()}
Link to this section Functions
Specs
Specs
Specs
Specs
Specs
expand( binary() | %{ __struct__: AvroEx.Schema.Array | AvroEx.Schema.Enum | AvroEx.Schema.Fixed | AvroEx.Schema.Map | AvroEx.Schema.Primitive | AvroEx.Schema.Record | AvroEx.Schema.Union }, AvroEx.Schema.Context.t() ) :: {:ok, any()}
Specs
Specs
full_names( Enum.t() | AvroEx.Schema.Fixed.t() | AvroEx.Schema.Record.t(), namespace() ) :: [ full_name() ]
Specs
Specs
Specs
parse(json_schema(), AvroEx.Schema.Context.t()) :: {:ok, t()} | {:error, term()}