JSON-LD.ex v0.3.0 API Reference

Modules

Exceptions

Two properties which expand to the same keyword have been detected. This might occur if a keyword and an alias thereof are used at the same time

The compacted document contains a list of lists as multiple lists have been compacted to the same term

Multiple conflicting indexes have been found for the same node

A cycle in IRI mappings has been detected

An invalid base IRI has been detected, i.e., it is neither an absolute IRI nor null

An @container member was encountered whose value was not one of the following strings: @list, @set, or @index

The value of the default language is not a string or null and thus invalid

A local context contains a term that has an invalid or missing IRI mapping

An @id member was encountered whose value was not a string

An @index member was encountered whose value was not a string

An invalid keyword alias definition has been encountered

An invalid value in a language map has been detected. It has to be a string or an array of strings

An @language member in a term definition was encountered whose value was neither a string nor null and thus invalid

A language-tagged string with an invalid language value was detected

A number, true, or false with an associated language tag was detected

An invalid local context was detected

No valid context document has been found for a referenced, remote context

An invalid reverse property definition has been detected

An invalid value for a reverse property has been detected. The value of an inverse property must be a node object

An invalid value for an @reverse member has been detected, i.e., the value was not a JSON object

A set object or list object with disallowed members has been detected

An invalid term definition has been detected

An @type member in a term definition was encountered whose value could not be expanded to an absolute IRI

An invalid value for an @type member has been detected, i.e., the value was neither a string nor an array of strings

A typed value with an invalid type was detected

A value object with disallowed members has been detected

An invalid value for the @value member of a value object has been detected, i.e., it is neither a scalar nor null

An invalid vocabulary mapping has been detected, i.e., it is neither an absolute IRI nor null

A keyword redefinition has been detected

A list of lists was detected. List of lists are not supported in this version of JSON-LD due to the algorithmic complexity

The document could not be loaded or parsed as JSON

There was a problem encountered loading a remote context

Multiple HTTP Link Headers [RFC5988] using the http://www.w3.org/ns/json-ld#context link relation have been detected

A cycle in remote context inclusions has been detected