#import "../fragments/oncall_schedule_rotation.fragment.graphql"

query getOncallSchedulesWithRotations($projectPath: ID!) {
  project(fullPath: $projectPath) {
    incidentManagementOncallSchedules {
      nodes {
        iid
        name
        description
        timezone
        rotations {
          nodes {
            ...OnCallRotation
          }
        }
      }
    }
  }
}
