Sha256: 0d6dd1e1c7f9c2fa11f97cbbc6c61e932c45760d7a80b26f4f21f30688125b29

Contents?: true

Size: 988 Bytes

Versions: 2

Compression:

Stored size: 988 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|`1111`|
| |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.1 docs/static.md
fakeit-0.5.0 docs/static.md