protected boolean getRequiredCheckBasedOnJsonPropertyAnnotation(MemberScope<?, ?> member) {
        JsonProperty jsonProperty = member.getAnnotationConsideringFieldAndGetterIfSupported(JsonProperty.class, NESTED_ANNOTATION_CHECK);
        return jsonProperty != null && jsonProperty.required();
    }
Look-up the given field's/method's {@link JsonProperty} annotation and consider its "required" attribute.

@param member field/method to look-up required strategy for
@return whether the field should be in the "required" list or not
jsonschema-module-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JacksonModule.java