return typeValues;
}
protected Collection<JSONSchemaType<?>> convertSchemaTypesFromJSONValues(JSONObject jsonObject, Collection<Object> jsonValues) {
List<JSONSchemaType<?>> types = Lists.newArrayList();
JSONSchemaUnionType unionType = null;
for (Object jsonValue : jsonValues) {
if (jsonValue instanceof JSONObject) {
if (unionType == null) {
unionType = new JSONSchemaUnionType();
types.add(unionType);
}
unionType.addSchema(fromJSONObject((JSONObject) jsonValue));
} else {
types.add(convertSchemaTypeFromJSONTypeValue(jsonObject, jsonValue.toString()));
}
}
return types;