shieldsUptimeBadge = (up) => {
  const schemaVersion = 1;
  const isError = true;
  const label = "Public Instance";
  const message = up ? "up" : "down";
  const color = up ? "brightgreen" : "red";
  return {
    schemaVersion,
    label,
    message,
    color,
    isError,
  };
}
Creates Json response that can be used for shields.io dynamic card generation.

@param {boolean} up Whether the PATs are up or not.
@returns {ShieldsResponse}  Dynamic shields.io JSON response object.

@see https://shields.io/endpoint.