Distribution

distribution

Specify distributions for sampling values.

#distribution

allOf

annotation

type

object

properties

  • fixed

nonNegativeNumber

  • discrete

A number is sampled from the array with each number having the given probability.

type

array

items

type

object

properties

  • probability

allOf

nonNegativeNumber

maximum

1

  • value

nonNegativeNumber

  • uniform

oneOf

A number is sampled uniformly from the given values

type

array

items

nonNegativeNumber

A number is sampled uniformly in the given interval [min, max]

type

object

properties

  • min

nonNegativeNumber

  • max

nonNegativeNumber

  • normal

A number is sampled from a normal or Gaussian distribution.

type

object

properties

  • mean

nonNegativeNumber

  • standardDeviation

nonNegativeNumber

  • gamma

A number is sampled from a Gamma distribution.

type

object

properties

  • alpha

shape parameter

nonNegativeNumber

  • beta

scale parameter

nonNegativeNumber

patternProperties

  • ^ann:

additionalProperties

False