Mecto.SchemaValidator (mecto v0.8.0)

View Source

Validates fields extracted with Mecto.MarkupParser exist based on the schema given from Mecto.SchemaExtractor.

Summary

Functions

check(schema, nodes)

@spec check(map(), map()) :: map() | {:error, [String.t()]}