Skip to content

Commit d0901b2

Browse files
committed
Failing test case for issue 62
Properties w/multiple types and patterns
1 parent 13c2162 commit d0901b2

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+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"type": "object",
4+
"properties": {
5+
"only_as_1": {
6+
"pattern": "^a+$",
7+
"type": ["string", "null"]
8+
}
9+
}
10+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"only_as_1": "bbb"
3+
}

0 commit comments

Comments
 (0)