@hydra-cg/heracles.ts > IPropertyMapping
Describes a simple RDF mapping in Heracles’ data model.
interface:
IPropertyMapping
<Optional>
default● default: Literal | MappingsProcessor
Defined in JsonLd/IPropertyMapping.ts:37
Gets the either default literal value or a factory method to be used for this property.
readonly:
returns:
● propertyName: string
Defined in JsonLd/IPropertyMapping.ts:16
Gets the property name.
readonly:
returns:
<Optional>
required● required: boolean
Defined in JsonLd/IPropertyMapping.ts:30
Gets a value indicating whether the property is required and needs to be created anyway.
readonly:
returns:
<Optional>
type● type: string
[]
Defined in JsonLd/IPropertyMapping.ts:23
Gets the type of the resource that this property is valid for.
readonly:
returns: