Click or drag to resize

JsonLdErrorCode Enumeration

Enumeration of the error code defined in the JSON-LD processing and framing specifications.

Namespace:  VDS.RDF.JsonLd
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public enum JsonLdErrorCode
Members
  Member nameValueDescription
CollidingKeywords0 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.
CompactionToListOfLists1 The compacted document contains a list of lists as multiple lists have been compacted to the same term.
ConflictingIndexes2 Multiple conflicting indexes have been found for the same node.
ContextOverflow3 Maximum number of @context URLs exceeded.
CyclicIriMapping4 A cycle in IRI mappings has been detected.
InvalidIdValue5 An @id member was encountered whose value was not a string.
InvalidImportValue6 An invalid value for @import has been found.
InvalidIncludedValue7 An included block contains an invalid value.
InvalidIndexValue8 An @index member was encountered whose value was not a string.
InvalidNestValue9 An invalid value for @nest has been found.
InvalidPrefixValue10 An invalid value for @prefix has been found.
InvalidPropagateValue11 An invalid value for @propagate has been found.
InvalidProtectedValue12 An invalid value for @protected has been found.
InvalidReverseValue13 An invalid value for an @reverse member has been detected, i.e., the value was not a dictionary.
InvalidVersionValue14 The @version key was used in a context with an out of range value.
InvalidBaseDirection15 The value of @direction is not "ltr", "rtl", or null and thus invalid.
InvalidBaseIri16 An invalid base IRI has been detected, i.e., it is neither an absolute IRI nor null.
InvalidContainerMapping17 An @container member was encountered whose value was not one of the following strings: @list, @set, or @index.
InvalidContextEntry18 An entry in a context is invalid due to processing mode incompatibility.
InvalidContextNullification19 An attempt was made to nullify a context containing protected term definitions.
InvalidDefaultLanguage20 The value of the default language is not a string or null and thus invalid.
InvalidIriMapping21 A local context contains a term that has an invalid or missing IRI mapping.
InvalidJsonLiteral22 An invalid JSON literal was detected.
InvalidKeywordAlias23 An invalid keyword alias definition has been encountered.
InvalidLanguageMapValue24 An invalid value in a language map has been detected. It has to be a string or an array of strings.
InvalidLanguageMapping25 An @language member in a term definition was encountered whose value was neither a string nor null and thus invalid.
InvalidLanguageTaggedString26 A language-tagged string with an invalid language value was detected.
InvalidLanguageTaggedValue27 A number, true, or false with an associated language tag was detected.
InvalidLocalContext28 An invalid local context was detected.
InvalidRemoteContext29 No valid context document has been found for a referenced, remote context.
InvalidReverseProperty30 An invalid reverse property definition has been detected.
InvalidReversePropertyMap31 An invalid reverse property map has been detected. No keywords apart from @context are allowed in reverse property maps.
InvalidReversePropertyValue32 An invalid value for a reverse property has been detected. The value of an inverse property must be a node object.
InvalidScopedContext33 The local context defined within a term definition is invalid.
InvalidScriptElement34 A script element in HTML input which is the target of a fragment identifier does not have an appropriate type attribute.
InvalidSetOrListObject35 A set object or list object with disallowed members has been detected.
InvalidTermDefinition36 An invalid term definition has been detected.
InvalidTypeMapping37 An @type member in a term definition was encountered whose value could not be expanded to an absolute IRI.
InvalidTypeValue38 An invalid value for an @type member has been detected, i.e., the value was neither a string nor an array of strings.
InvalidTypedValue39 A typed value with an invalid type was detected.
InvalidValueObject40 A value object with disallowed members has been detected.
InvalidValueObjectValue41 An invalid value for the @value member of a value object has been detected, i.e., it is neither a scalar nor null.
InvalidVocabMapping42 An invalid vocabulary mapping has been detected, i.e., it is neither an absolute IRI nor null.
IriConfusedWithPrefix43 When compacting an IRI would result in an IRI which could be confused with a compact IRI (because its IRI scheme matches a term definition and it has no IRI authority).
KeywordRedefinition44 A keyword redefinition has been detected.
ListOfLists45 A list of lists was detected. List of lists are not supported in this version of JSON-LD due to the algorithmic complexity.
LoadingDocumentFailed46 The document could not be loaded or parsed as JSON.
LoadingRemoteContextFailed47 There was a problem encountered loading a remote context.
MultipleContextLinkHeaders48 Multiple HTTP Link Headers [RFC5988] using the http://www.w3.org/ns/json-ld#context link relation have been detected.
ProcessingModeConflict49 An attempt was made to change the processing mode which is incompatible with the previous specified version.
ProtectedTermRedefinition50 An attempt was made to redefine a protected term.
RecursiveContextInclusion51 A cycle in remote context inclusions has been detected.
InvalidFrame52 invalid frame
InvalidEmbedValue53 invalid @embed value
MalformedLanguageTag54 A language tag value was encountered that was not well-formed
Remarks
The error codes are converted to C# camel-case as follows: (1) Replace IRI by Iri (2) Remove @ character (3) Replace "language-tagged" by "Language Tagged" (4) Split on space character and convert each token to Sentence case (first letter uppercase, remainder lower-case) (5) Join tokens with no token separator.
See Also