Skip to content

Commit 2bbe6d3

Browse files
author
daniesac
committed
Issue 22: Any string will validate on the "date" field, even though
"format":"date-time" is set.
1 parent 07ba71c commit 2bbe6d3

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"type":"object",
3+
"$schema":"http://json-schema.org/draft-04/schema#",
4+
"properties":{
5+
"date":{
6+
"type":"string",
7+
"format":"date-time"
8+
}
9+
}
10+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"date":""
3+
}

0 commit comments

Comments
 (0)