brotkrueml/schema

Add node identifier view helpers

Closed this issue · 0 comments

With the implementation of node identifiers (#65) nodes consisting only of the id keyword can be constructed programmatically. This should also be possible within a template using the view helpers.

  • A NodeIdentifierViewHelper is available.
  • A BlankNodeIdentifierViewHelper is available.
  • The view helpers can be assigned to every property in a type view helper.
  • In the rendered JSON-LD the node of the property consists only of the id keyword.
  • The usage is described in the documentation