The documentation doesn't touch on the JSONPath or XPath topics yet.
Aliasing path expressions: The documentation currently only mentions the aliasing mechanism in general but not the combination with path expression for referenceables inside logical-source.
For example declaring recordId and descriptorId:
logical-source personen_desc {
type json
source "stdin"
iterator "$..[?(@.thesaurus == 'Personenbegriffe')]"
referenceables
identifier
title
description
recordId "records[*].id"
descriptorId "related_descriptor_set[*].to_descriptor.identifier"
}
The documentation doesn't touch on the JSONPath or XPath topics yet.
Aliasing path expressions: The documentation currently only mentions the aliasing mechanism in general but not the combination with path expression for
referenceables
insidelogical-source
.For example declaring
recordId
anddescriptorId
:The following sample is from a customer ticket https://gitlab.zazuko.tools/stabs/staatsarchiv-ld-pipeline/-/issues/14#note_128
Input JSON (reduced):
Output data triples:
Mapping: