code: public static JsonSchema buildBaseSchema(Type type) {
      JsonObject jsonObject = new JsonObject();
      JsonObject dataType = new JsonObject();
      jsonObject.addProperty(COLUMN_NAME_KEY, DEFAULT_RECORD_COLUMN_NAME);
      dataType.addProperty(TYPE_KEY, type.toString());
      jsonObject.add(DATA_TYPE_KEY, dataType);
      return new JsonSchema(jsonObject);
    }
docs: Builds a {@link JsonSchema} object for a given {@link Type} object.
  @param type
  @return