serum v0.13.0 Serum.Project.JsonValidator

This module provides functions related to validating project JSON files.

Note

JSON format of Serum project definition is deprecated in favor of the Elixir-based format.

Link to this section Summary

Functions

Validates the given data according to schema_name schema.

Link to this section Functions

Link to this function

schema(binary)
schema(schema_name :: binary()) :: map()

Link to this function

validate(schema_name, data, path)
validate(binary(), map(), binary()) :: Serum.Result.t()

Validates the given data according to schema_name schema.