Sha256: 561f98d6d0077966240a34f1eee71c7bab03333389269334261479f4a14391ea

Contents?: true

Size: 907 Bytes

Versions: 1

Compression:

Stored size: 907 Bytes

Contents

# Static

Static value generation rule

|Type|Property|Rule|
|---|---|---|
|complex|oneOf|first item|
| |anyOf|same as allOf|
|array|N/A|size is `1`|
| |minItems|size is minItems|
|string|N/A|`string`|
| |enum|first item|
| |pattern|Generated but always the same|
| |format=uri|`https://some.uri`|
| |format=uuid|`11111111-1111-1111-1111-111111111111`|
| |format=guid|`11111111-1111-1111-1111-111111111111`|
| |format=email|`some@email.com`|
| |format=date|today|
| |format=date-time|midnight today|
| |minLength|`1` repeats for (minLength + 10) times if no maxLength specified|
| |maxLength|`1` repeats for maxLength times|
|integer|N/A|`2^31 - 1`|
| |enum|first item|
| |maximum|maximum|
| |exclusiveMaximum|maximum - 1|
| |multipleOf|maximum value meets multipleOf condition|
|number|N/A|`2^31 - 1`|
| |maximum|maximum rounded to 2 decimal places|
| |multipleOf|maximum value meets multipleOf condition|

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakeit-0.2.1 docs/static.md