∀ (range : Lean.Json) (fullRange? severity? isSilent? code? source? : Option Lean.Json) (message : Lean.Json)
  (tags? leanTags? relatedInformation? data? : Option Lean.Json),
  sizeOf
      { range := range, fullRange? := fullRange?, severity? := severity?, isSilent? := isSilent?, code? := code?,
        source? := source?, message := message, tags? := tags?, leanTags? := leanTags?,
        relatedInformation? := relatedInformation?, data? := data? } =
    1 + sizeOf range + sizeOf fullRange? + sizeOf severity? + sizeOf isSilent? + sizeOf code? + sizeOf source? +
              sizeOf message +
            sizeOf tags? +
          sizeOf leanTags? +
        sizeOf relatedInformation? +
      sizeOf data?