Add support for references to sibling definitions and validation of required fields