@Override
    public List<ValidationEvent> validate(Model model) {
        List<ValidationEvent> events = new ArrayList<>();
        model.shapes(StructureShape.class)
                .forEach(shape -> events.addAll(validateNames(model, shape, shape.getMemberNames())));
        model.shapes(UnionShape.class)
                .forEach(shape -> events.addAll(validateNames(model, shape, shape.getMemberNames())));
        return events;
    }
Validates that structure members and union member names do not
repeat their shape name as prefixes of their member or tag names.
smithy-linters/src/main/java/software/amazon/smithy/linters/RepeatedShapeNameValidator.java