pub.chive.graph.getHierarchy

Get hierarchical tree structure for nodes of a specific subkind

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authoritygraph.chive.pub
Indexed

Query

query · GET

Parameters

query string

Relation slug for hierarchy traversal

  • default: "broader"

subkind

requiredstring

Subkind to get hierarchy for (e.g., field)

Output

application/json

relationSlug

requiredstring

Relation used for hierarchy

roots

requiredarray

Root nodes with children

itemsref
Reference

subkind

requiredstring

Subkind of hierarchy

#hierarchyItem

object

Hierarchy node with recursive children

Properties

children

requiredarray

Child hierarchy items

itemsref
Reference

depth

requiredinteger

Depth in hierarchy (0 = root)

node

requiredref

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.