← API reference
CANONICAL TYPE REFERENCE

ReportDraftInput

Save an editable report definition; omit id to create a report.

Reject an update if this observed authoring revision has changed. Omit when creating a report.

Report to update; omit to create a new report.

nameString!

Human-readable name displayed to report authors.

sourceXMLString

Exact report XML source; provide exactly one of sourceXML or definition.

Report definition object: outputs, parameters, sources, optional preparationScript and pinned modules.

View exact SDL
"""Save an editable report definition; omit id to create a report."""
input ReportDraftInput {
  """
  Reject an update if this observed authoring revision has changed. Omit when creating a report.
  """
  expectedRevision: Int
  """Report to update; omit to create a new report."""
  id: ReportID
  """Human-readable name displayed to report authors."""
  name: String!
  """
  Exact report XML source; provide exactly one of sourceXML or definition.
  """
  sourceXML: String
  """
  Report definition object: outputs, parameters, sources, optional preparationScript and pinned modules.
  """
  definition: JSON
}

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