Skip to content
Snippets Groups Projects
Commit 95794f7f authored by Alvaro Cabrera's avatar Alvaro Cabrera
Browse files

Basic impl for format generators (core)

parent 7a67885a
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
...@@ -26,6 +26,40 @@ ...@@ -26,6 +26,40 @@
"pattern": "\\w+@\\w+\\.\\w+" "pattern": "\\w+@\\w+\\.\\w+"
}, },
"valid": true "valid": true
},
{
"description": "should handle format (core)",
"schema": {
"type": "object",
"properties": {
"a": {
"type": "string",
"format": "date-time"
},
"b": {
"type": "string",
"format": "email"
},
"c": {
"type": "string",
"format": "hostname"
},
"d": {
"type": "string",
"format": "ipv4"
},
"e": {
"type": "string",
"format": "ipv6"
},
"f": {
"type": "string",
"format": "uri"
}
},
"required": ["a", "b", "c", "d", "e", "f"]
},
"valid": true
} }
] ]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment