Skip to content
Snippets Groups Projects
Commit 829d6326 authored by Tomasz Ducin's avatar Tomasz Ducin
Browse files

core formats examples

parent 4d588c61
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,14 @@ Below is the list of supported keywords:
- `$ref` — Resolve internal references only, and/or external if provided.
- `required` — All required properties are guaranteed, if not can be omitted.
- `pattern` — Generate samples based on RegExp values.
- `format` — Core formats only: `date-time`, `email`, `hostname`, `ipv4`, `ipv6` and `uri`.
- `format` — Core formats only:
[`date-time`](http://json-schema.org/latest/json-schema-validation.html#anchor108),
[`email`](http://json-schema.org/latest/json-schema-validation.html#anchor111),
[`hostname`](http://json-schema.org/latest/json-schema-validation.html#anchor114),
[`ipv4`](http://json-schema.org/latest/json-schema-validation.html#anchor117),
[`ipv6`](http://json-schema.org/latest/json-schema-validation.html#anchor120)
and [`uri`](http://json-schema.org/latest/json-schema-validation.html#anchor123)
-- [demo »](http://json-schema-faker.js.org/#gist/f58db80cbf52c12c623166090240d964)
- `enum` — Returns any of these enumerated values.
- `minLength`, `maxLength` — Applies length constraints to string values.
- `minimum`, `maximum` — Applies constraints to numeric values.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment