json_schema v0.3.0 JsonSchema.Resolver View Source
Module containing functions for resolving types. Main function being
the resolve_type
function.
Link to this section Summary
Functions
Resolves a type given its identifier, parent identifier, its enclosing SchemaDefinition
and the schema dictionary of the whole set of parsed JSON schema files.
Link to this section Functions
Link to this function
resolve_type(identifier, parent, schema_def, schema_dict)
View Sourceresolve_type( JsonSchema.Types.typeIdentifier(), JsonSchema.Types.typeIdentifier(), JsonSchema.Types.SchemaDefinition.t(), JsonSchema.Types.schemaDictionary() ) :: {:ok, {JsonSchema.Types.typeDefinition(), JsonSchema.Types.SchemaDefinition.t()}} | {:error, JsonSchema.Parser.ParserError.t()}
Resolves a type given its identifier, parent identifier, its enclosing SchemaDefinition
and the schema dictionary of the whole set of parsed JSON schema files.