summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/optional/format/regex.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/optional/format/regex.json')
-rw-r--r--json/tests/draft2020-12/optional/format/regex.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/json/tests/draft2020-12/optional/format/regex.json b/json/tests/draft2020-12/optional/format/regex.json
index 3449177..a036c6d 100644
--- a/json/tests/draft2020-12/optional/format/regex.json
+++ b/json/tests/draft2020-12/optional/format/regex.json
@@ -1,7 +1,10 @@
[
{
"description": "validation of regular expressions",
- "schema": { "format": "regex" },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "format": "regex"
+ },
"tests": [
{
"description": "all string formats ignore integers",