A public graph diagnostic.
@type severity() :: :info | :warning | :error
@type t() :: %Docket.Graph.Diagnostic{ code: atom(), message: String.t(), metadata: map(), path: [term()], public_id: String.t() | nil, runtime_id: String.t() | nil, severity: severity() }