private void generateArrayDefinition(GenericTypeDetails typeDetails, ObjectNode definition) {
        definition.put(this.getKeyword(SchemaKeyword.TAG_TYPE), this.getKeyword(SchemaKeyword.TAG_TYPE_ARRAY));
        definition.set(this.getKeyword(SchemaKeyword.TAG_ITEMS), this.populateItemMemberSchema(typeDetails.getScope()));
        if (typeDetails.isNullable()) {
            this.makeNullable(definition);
        }
    }
Preparation Step: add the given targetType (which was previously determined to be an array type).

@param typeDetails details around (possibly generic) array type to add subschema for
@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