private JsonNode populateItemMemberSchema(TypeScope targetScope) {
        if (targetScope instanceof FieldScope && !((FieldScope) targetScope).isFakeContainerItemScope()) {
            return this.populateFieldSchema(((FieldScope) targetScope).asFakeContainerItemScope());
        }
        if (targetScope instanceof MethodScope && !((MethodScope) targetScope).isFakeContainerItemScope()) {
            return this.populateMethodSchema(((MethodScope) targetScope).asFakeContainerItemScope());
        }
        ObjectNode arrayItemDefinition = this.generatorConfig.createObjectNode();
        this.traverseGenericType(targetScope.getContainerItemType(), arrayItemDefinition);
        return arrayItemDefinition;
    }
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