Fix wrong json schema reference (#961)

`examples` is a new keyword introduce in `draft-06`.

Source : [JSON Schema Draft 6 MetaSchema](http://json-schema.org/draft-06/schema)
master
Romain DARY 2019-03-03 16:46:16 +01:00 committed by Evgeny Poberezkin
parent 6c20483b66
commit d10720734d
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ JSON Schema specification defines several annotation keywords that describe sche
- `title` and `description`: information about the data represented by that schema
- `$comment` (NEW in draft-07): information for developers. With option `$comment` Ajv logs or passes the comment string to the user-supplied function. See [Options](#options).
- `default`: a default value of the data instance, see [Assigning defaults](#assigning-defaults).
- `examples` (NEW in draft-07): an array of data instances. Ajv does not check the validity of these instances against the schema.
- `examples` (NEW in draft-06): an array of data instances. Ajv does not check the validity of these instances against the schema.
- `readOnly` and `writeOnly` (NEW in draft-07): marks data-instance as read-only or write-only in relation to the source of the data (database, api, etc.).
- `contentEncoding`: [RFC 2045](https://tools.ietf.org/html/rfc2045#section-6.1 ), e.g., "base64".
- `contentMediaType`: [RFC 2046](https://tools.ietf.org/html/rfc2046), e.g., "image/png".