@Override
        public Node toNode() {
            ObjectNode.Builder builder = ObjectNode.builder();
            builder.withMember("selector", selector.toString());
            if (message != null) {
                builder.withMember("message", message);
            }
            if (severity != Severity.ERROR) {
                builder.withMember("severity", severity.toString());
            }
            return builder.build();
        }
Get a map of ID suffixes to validators.

@return Returns an unmodifiable map.
smithy-model/src/main/java/software/amazon/smithy/model/traits/TraitValidatorsTrait.java