JSON.LD.Context.TermDefinition (JSON-LD.ex v1.0.0)
View SourceImplementation of the JSON-LD 1.1 Create Term Definition Algorithm.
Summary
Functions
Expands the given input according to the steps in the JSON-LD Create Term Definition algorithm.
Types
@type t() :: %JSON.LD.Context.TermDefinition{ base_url: nil | String.t(), container_mapping: nil | [String.t()], direction_mapping: false | nil | :ltr | :rtl, index_mapping: nil | String.t(), iri_mapping: String.t(), language_mapping: false | nil | String.t(), local_context: nil | map() | String.t(), nest_value: nil | String.t(), prefix_flag: boolean(), protected: boolean(), reverse_property: boolean(), type_mapping: false | nil | String.t() }
Functions
@spec create( JSON.LD.Context.t(), map(), String.t(), value(), map(), JSON.LD.Options.t(), keyword() ) :: {JSON.LD.Context.t(), map()}
Expands the given input according to the steps in the JSON-LD Create Term Definition algorithm.