From bfced3b76a7ef7d3be0e4dac148c7c8aebe2dfb7 Mon Sep 17 00:00:00 2001 From: Sam Bauers Date: Sat, 18 Apr 2020 19:31:25 +1000 Subject: [PATCH] "hostname" format does not have full method Since v6.12.0 via #1143 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 844dcb6cd..e13fdec29 100644 --- a/README.md +++ b/README.md @@ -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.