A pair of property name and value.
new
PropertyValue(values: { id?: URL | null; name?: ; value?: ; },unnamed 1?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },)
Constructs a new instance of PropertyValue with the given values.
protected
readonly
_contextLoader: DocumentLoader | undefined
protected
readonly
_documentLoader: DocumentLoader | undefined
readonly
name:
The name of a property.
readonly
value:
The value of a property.
[Symbol.for("Deno.customInspect")](inspect: Deno.inspect,options: Deno.InspectOptions,): string
protected
_getCustomInspectProxy(): Record<string, unknown>
clone(values?: { id?: URL | null; name?: ; value?: ; },options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): PropertyValue
Clones this instance, optionally updating it with the given values.
protected
isCompactable(): boolean
The type URI of PropertyValue: http://schema.org#PropertyValue
.
fromJsonLd(json: unknown,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Promise<PropertyValue>
Converts a JSON-LD structure to an object of this type.