@Override
    public List<ValidationEvent> validate(Model model) {
        List<ValidationEvent> events = new ArrayList<>();
        for (ResourceShape resource : model.getResourceShapes()) {
            events.addAll(validatePropertyRedefine(resource, model));
            events.addAll(validateAgainstChildren(resource, model));
        }
        return events;
    }
Validates that the resource identifiers of children of a resource contain
all of the identifiers as their parents.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/ResourceIdentifierValidator.java