← API reference
CANONICAL TYPE REFERENCE

IaCDiagnostic

One diagnostic, positioned relative to the artifact text

lineInt!

1-based start line, relative to the artifact text

columnInt!

1-based start column, relative to the artifact text

1-based end line; equals line when the source reports no range

1-based end column; equals column when the source reports no range

How serious the problem is

messageString!

Human-readable description of the problem

codeString

Stable machine-readable identifier for the problem, when available

View exact SDL
"""One diagnostic, positioned relative to the artifact text"""
type IaCDiagnostic {
  """1-based start line, relative to the artifact text"""
  line: Int!
  """1-based start column, relative to the artifact text"""
  column: Int!
  """1-based end line; equals line when the source reports no range"""
  endLine: Int!
  """1-based end column; equals column when the source reports no range"""
  endColumn: Int!
  """How serious the problem is"""
  severity: IaCDiagnosticSeverity!
  """Human-readable description of the problem"""
  message: String!
  """Stable machine-readable identifier for the problem, when available"""
  code: String
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.