private void addPropertiesEntry(ObjectNode propertiesNode, Map<String, List<String>> dependentRequires, MemberScope<?, ?> property) {
        String propertyName = property.getSchemaPropertyName();

        JsonNode subSchema = this.typeContext.performActionOnMember(property, this::populateFieldSchema, this::populateMethodSchema);
        propertiesNode.set(propertyName, subSchema);

        List<String> dependentRequiredForProperty = this.typeContext.performActionOnMember(property,
                this.generatorConfig::resolveDependentRequires, this.generatorConfig::resolveDependentRequires);
        if (!Util.isNullOrEmpty(dependentRequiredForProperty)) {
            dependentRequires.put(propertyName, dependentRequiredForProperty);
        }
    }
Preparation Step: add the given targetType (which was previously determined to be anything but an array type).

@param targetType object type to add
@param definition node in the JSON schema to which all collected attributes should be added
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java