← API reference
CANONICAL TYPE REFERENCE

CreateShiftDefinitionInput

Fields for a new shift definition. The server assigns the id and both timestamps.

nameString!

Human-readable label for the shift. Must not be blank.

startTimeString!

Local clock time the shift starts, as 24-hour "HH:mm".

endTimeString!

Local clock time the shift ends, as 24-hour "HH:mm". Earlier than startTime marks the shift as overnight.

activeDays[Int!]!

ISO-8601 weekdays the shift runs on (1 = Monday … 7 = Sunday). At least one required.

View exact SDL
"""
Fields for a new shift definition. The server assigns the id and both timestamps.
"""
input CreateShiftDefinitionInput {
  """Human-readable label for the shift. Must not be blank."""
  name: String!
  """Local clock time the shift starts, as 24-hour "HH:mm"."""
  startTime: String!
  """
  Local clock time the shift ends, as 24-hour "HH:mm". Earlier than startTime marks the shift as overnight.
  """
  endTime: String!
  """
  ISO-8601 weekdays the shift runs on (1 = Monday … 7 = Sunday). At least one required.
  """
  activeDays: [Int!]!
}

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