Skip to content

Commit 3c47eab

Browse files
authored
test: correction for 'required' definition (#708)
1 parent 8a208e9 commit 3c47eab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/valid-data/type-date-annotation/schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$ref": "#/definitions/MyObject",
23
"$schema": "http://json-schema.org/draft-07/schema#",
34
"definitions": {
45
"MyObject": {
@@ -25,11 +26,10 @@
2526
},
2627
"required": [
2728
"defaultFormat",
28-
"dateAlias",
29+
"time",
2930
"dateOnly"
3031
],
3132
"additionalProperties": false
3233
}
33-
},
34-
"$ref": "#/definitions/MyObject"
34+
}
3535
}

0 commit comments

Comments
 (0)