title: Pickup Display Column
type: object
required:
  - heading
  - order_statuses
  - background_colour
properties:
  heading:
    type: string
    minLength: 1
    maxLength: 255
    example: In Kitchen
    description: The display name of the heading.
  order_statuses:
    type: array
    uniqueItems: true
    minItems: 1
    description: The order statuses that should be matched.
    items:
      enum:
        - pending_acceptance
        - assigning_driver
        - scheduled
        - in_kitchen
        - packing
        - pending_collection
        - en_route
  background_colour:
    type: string
    pattern: '^#?([A-F0-9]{6})$'
    example: '#F0F0F0'
    description: The background colour of the column.
description: Represents the configuration of a column rendered in the pickup display.
x-tags:
  - Pickup Display
