Skip to content

Commit

Permalink
Merge pull request #1190 from sambauers/master
Browse files Browse the repository at this point in the history
"hostname" format does not have full method
  • Loading branch information
epoberezkin committed Apr 18, 2020
2 parents 081aeb0 + bfced3b commit 3408cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -314,7 +314,7 @@ The following formats are implemented for string validation with "format" keywor

__Please note__: JSON Schema draft-07 also defines formats `iri`, `iri-reference`, `idn-hostname` and `idn-email` for URLs, hostnames and emails with international characters. Ajv does not implement these formats. If you create Ajv plugin that implements them please make a PR to mention this plugin here.

There are two modes of format validation: `fast` and `full`. This mode affects formats `date`, `time`, `date-time`, `uri`, `uri-reference`, `email`, and `hostname`. See [Options](#options) for details.
There are two modes of format validation: `fast` and `full`. This mode affects formats `date`, `time`, `date-time`, `uri`, `uri-reference`, and `email`. See [Options](#options) for details.

You can add additional formats and replace any of the formats above using [addFormat](#api-addformat) method.

Expand Down

0 comments on commit 3408cd0

Please sign in to comment.