void (JsonSchemaObject schema, boolean isSurelyValue) { suggestValuesForSchemaVariants(schema.getAnyOf(), isSurelyValue); suggestValuesForSchemaVariants(schema.getOneOf(), isSurelyValue); suggestValuesForSchemaVariants(schema.getAllOf(), isSurelyValue); if (schema.getEnum() != null) { Map<String, Map<String, String>> metadata = schema.getEnumMetadata(); for (Object o : schema.getEnum()) { if (myInsideStringLiteral && !(o instanceof String)) continue; String variant = o.toString(); if (!filtered.contains(variant)) { Map<String, String> valueMetadata = metadata == null ? null : metadata.get(StringUtil.unquoteString(variant)); String description = valueMetadata == null ? null : valueMetadata.get("description"); String deprecated = valueMetadata == null ? null : valueMetadata.get("deprecationMessage"); addValueVariant(variant, description, deprecated != null ? (variant + " (" + deprecated + ")") : null, null); } } } else if (isSurelyValue) { final JsonSchemaType type = schema.guessType(); suggestSpecialValues(type); if (type != null) { suggestByType(schema, type); } else if (schema.getTypeVariants() != null) { for (JsonSchemaType schemaType : schema.getTypeVariants()) { suggestByType(schema, schemaType); } } } }