function
ValidateEmbeddedTrees
ValidateEmbeddedTrees checks the bounded descriptor language. Roots must be disjoint so the same structural node cannot be consumed by two descriptors.
Arguments
| Argument | Type | Description |
|---|---|---|
trees | []EmbeddedTree | The trees value. |
path | string | The path value. |
Returns
The declared result.
errorFull signature
func ValidateEmbeddedTrees(
trees []EmbeddedTree,
path string,
) errorRelated types
EmbeddedTreeEmbeddedTree locates a structural node or node list through literal properties. Only Children is recursively traversed; case payloads use ordinary schemas.