Optional
project: ProxyProjectInstanceNode creation date time
Node Id
Node name
Node token
Node type
Node update date time
The function returns a JSON-ready object with the properties of the current object.
an object with the following properties:
Checks if the node structure is complete by verifying that all child nodes have at least one relationship.
A structure is considered complete when:
true
if all children have at least one relationshipfalse
if any child is missing relationshipsnull
if metadata or project references are missingValidates the structure of the node by checking its relationships and linked nodes.
This method performs two main validations:
The validation is performed using Zod schema validation with custom refinements.
Returns:
true
if the structure is validfalse
if any validation failsnull
if metadata or project is not availableDefine link from this node is for node
Will produce a link IS_{{node.type}}_FOR
Define link from parent to this node
Will produce a link HAS_{{parent_node.type}}
Define link from this node to children node
Will produce a link HAS_{{this_node.type}}
The Structure class represents a node structure and provides methods for manipulating and querying the structure.