code: private JsonElement parseEnumType(JsonSchema schema, JsonElement value)
        throws DataConversionException {
      if (schema.getSymbols().contains(value)) {
        return value;
      }
      throw new DataConversionException(
          "Invalid symbol: " + value.getAsString() + " allowed values: " + schema.getSymbols().toString());
    }
docs: Parses Enum type values
  @param schema
  @param value
  @return
  @throws DataConversionException