JsonSchema.Types (json_schema v0.6.0)

Copy Markdown View Source

Specifies the main Elixir types used for describing the intermediate representations of JSON schema types.

Summary

Types

json_value()

@type json_value() ::
  nil | boolean() | map() | list() | integer() | number() | String.t()

propertyDictionary()

@type propertyDictionary() :: %{optional(String.t()) => typeIdentifier()}

schemaDictionary()

@type schemaDictionary() :: %{
  optional(String.t()) => JsonSchema.Types.SchemaDefinition.t()
}

schemaNode()

@type schemaNode() :: %{optional(String.t()) => json_value()}

typeDefinition()

typeDictionary()

@type typeDictionary() :: %{optional(String.t()) => typeDefinition()}

typeIdentifier()

@type typeIdentifier() :: URI.t() | String.t()