type: object
description: The delay distribution. Determines how response delays are distributed across requests.
oneOf:
  - title: Log normal
    description: Log normally distributed random response delay.
    type: object
    properties:
      median:
        type: number
        description: 50th percentile of the distribution in milliseconds.
      sigma:
        type: number
        description: Standard deviation of the underlying normal distribution. A larger value produces a longer tail.
      maxValue:
        type: number
        description: Maximum value in milliseconds to truncate the distribution at. Must be greater than or equal to median. Omit to disable truncation.
      type:
        type: string
        enum:
          - lognormal
    required:
      - median
      - sigma

  - title: Uniform
    description: Uniformly distributed random response delay.
    type: object
    properties:
      lower:
        type: integer
        description: Lower bound of the delay range in milliseconds (inclusive).
      upper:
        type: integer
        description: Upper bound of the delay range in milliseconds (inclusive).
      type:
        type: string
        enum:
          - uniform
    required:
      - lower
      - upper

  - title: Fixed
    description: Fixed response delay.
    type: object
    properties:
      milliseconds:
        type: integer
        description: Fixed delay duration in milliseconds.
      type:
        type: string
        enum:
          - fixed
    required:
      - milliseconds

  - title: None
    description: No delay distribution. Clears any previously configured distribution.
    type: object
    properties:
      type:
        type: string
        enum:
          - none
    required:
      - type
