Skip to main content
Mutation

applyShootPlan

Writes a whole stripboard into the schedule in one step: a board, its shooting days, and a scene-shooting event for each scene in shooting order, with the named cast as attendees. Scenes are matched by number; numbers that match no scene or several are reported, never guessed. Requires edit access to the project.

Arguments

  • dryRunBoolean

    When true, validates the plan and reports what would be created without changing the schedule.

  • planJsonString!

    The plan as a JSON string: boardName, an optional screenplayId to pick the screenplay whose scene numbers are meant, an optional replaceBoard to clear and reuse a board of the same name, and days, each with a date (YYYY-MM-DD), optional title, locationId, locationName and notes, and strips listing scenes in shooting order by sceneNumber, with optional timeOfDay, notes and castNames.

  • projectIdID!

    ID of the project.

Returns

ShootPlanReport!

Example

mutation ApplyShootPlan($dryRun: Boolean, $planJson: String!, $projectId: ID!) {
  applyShootPlan(dryRun: $dryRun, planJson: $planJson, projectId: $projectId) {
    boardId
    boardName
    castNames
    committed
    daysCreated
    eventsCreated
    warnings
  }
}