i suggest adding a tiny bit more information here. say that it validates if the document either has a id or a valid parent and a valid name. would that make sense?

maybe also give a short example, to make people see its on the document level and not on a specific property.