Sha256: 8edeb32d2383f86c65f43d8f7fd0007209e1eed67c3dd63bb03ba1856be7a501

Contents?: true

Size: 1017 Bytes

Versions: 2

Compression:

Stored size: 1017 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|
| |format=binary|`binary`|
| |format=byte|`Ynl0ZQ==`|
| |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|
| |format=int32|`2^31 - 1`|
| |format=int64|`2^63 - 1`|
|number|N/A|`2^31 - 1`|
| |maximum|maximum rounded to 2 decimal places|
| |multipleOf|maximum value meets multipleOf condition|

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fakeit-0.5.3 docs/static.md
fakeit-0.5.2 docs/static.md