Validates the structure and consistency of a ZComponent's node.

  • Parameters

    • node: NodeData

      The NodeData of the ZComponent's node to validate.

    • nodeId: string

      The expected ID of the node.

    Returns Issue[]

    An array of Issue objects, each representing a validation issue found.