UCDavisLibrary / fin-server

Fedora backed UC Davis Library DAMS Server
MIT License
5 stars 0 forks source link

Adding 'directParent' to es-record-transform #229

Closed jrmerz closed 3 years ago

jrmerz commented 4 years ago

currently es records have 'parent' which is the ldp:hasParent property. This does not have to be the direct parent path, but rather the parent http://fedora.info/definitions/v4/repository#Container container. An example where this happens is http://fedora.info/definitions/v4/repository#Pairtree containers. The directParent property will be the parent path. So for /collection/foo/bar/baz.text the directParent will be /collection/foo/bar.