← API reference
CANONICAL TYPE REFERENCE

UpsertProductionPlanInput

Input for creating or overwriting a production plan together with its full set of planned operations and edges in one transaction.

TypeID of an existing plan (ppl_…) to overwrite in place, keeping its version and createdAt. Omit — or pass an id that no longer exists — to create a new plan at the job's next version.

TypeID of the job (job_…) this plan manufactures. All referenced operations must belong to it.

nameString!

Plan name. Must not be blank.

Lifecycle state to write. Defaults to DRAFT. Setting ACTIVE archives every other active plan of the same job in the same transaction.

The plan's full set of production steps. Replaces any existing steps (delete-then-insert), so previously issued planned-operation ids are not preserved.

The plan's full set of dependency edges, addressing steps by their index in plannedOperations. Replaces any existing edges and must form a DAG.

View exact SDL
"""
Input for creating or overwriting a production plan together with its full set of planned operations and edges in one transaction.
"""
input UpsertProductionPlanInput {
  """
  TypeID of an existing plan (`ppl_…`) to overwrite in place, keeping its version and createdAt. Omit — or pass an id that no longer exists — to create a new plan at the job's next version.
  """
  id: ProductionPlanID
  """
  TypeID of the job (`job_…`) this plan manufactures. All referenced operations must belong to it.
  """
  jobId: JobID!
  """Plan name. Must not be blank."""
  name: String!
  """
  Lifecycle state to write. Defaults to DRAFT. Setting ACTIVE archives every other active plan of the same job in the same transaction.
  """
  status: ProductionPlanStatus
  """
  The plan's full set of production steps. Replaces any existing steps (delete-then-insert), so previously issued planned-operation ids are not preserved.
  """
  plannedOperations: [PlannedOperationInput!]!
  """
  The plan's full set of dependency edges, addressing steps by their index in plannedOperations. Replaces any existing edges and must form a DAG.
  """
  edges: [PlannedEdgeInput!]!
}

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