x3d_check_hierarchy
Check if a child X3D node is valid within a specified parent node according to the X3D 4.0 specification. Validate node relationships to prevent structure errors.
Instructions
Check if a parent-child node relationship is valid in X3D.
Verifies whether a child node can be placed inside a parent node
based on the X3D 4.0 specification's type constraints.
Args:
parent_node: The parent node name (e.g., Transform, Scene, Appearance).
child_node: The child node name (e.g., Shape, Material, Box).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| child_node | Yes | ||
| parent_node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |