Prn
Prn =
string
Names a Definition entity as a Pyn Resource Name.
Remarks
Section titled “Remarks”A PRN reads prn:<workspace>:<app>[:<resource>/<key>[/<path>...]]. The Workspace segment is
empty in every PRN a Definition contains. Resources are mutation, query, role, search,
template, union, metric and dimension; App Events use the resource path app/event/<key>.
A Template PRN extends with /property/<key>, /relation/<key>, /event/<key>, /role/<key>,
/state/<key> and /state/<key>/transition/<key>, and an Event PRN with /listener/<key> and
/schedule/<key>.
Example
Section titled “Example”PRNs from the HRIS app
'prn::hris'; // App'prn::hris:template/employment'; // Template'prn::hris:template/employment/property/hireDate'; // Property'prn::hris:template/employment/relation/company'; // Relation'prn::hris:template/employment/role/admin'; // Template Role'prn::hris:template/employment/state/draft/transition/start'; // Transition
