diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-06-29 09:59:08 +0200 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-06-29 09:59:08 +0200 |
commit | 03ec4a1ac23f61052c8718d8a9a443092022204a (patch) | |
tree | 6d04f862915862e7282d70ca850e1e3807aa76f6 /json/tests/draft2019-09/optional/format/duration.json | |
parent | 0287da9b483b957e7d6ff385ec8ccb6de506c091 (diff) | |
parent | 02434de22eb0fb4eb60744c5f38c4895b5d4dd02 (diff) | |
download | jsonschema-03ec4a1ac23f61052c8718d8a9a443092022204a.tar.gz |
Merge commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02'
* commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02':
Squashed 'json/' changes from 1326f36e..17fa9589
Diffstat (limited to 'json/tests/draft2019-09/optional/format/duration.json')
-rw-r--r-- | json/tests/draft2019-09/optional/format/duration.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/json/tests/draft2019-09/optional/format/duration.json b/json/tests/draft2019-09/optional/format/duration.json index 4514738..b8124d7 100644 --- a/json/tests/draft2019-09/optional/format/duration.json +++ b/json/tests/draft2019-09/optional/format/duration.json @@ -87,6 +87,26 @@ "description": "weeks cannot be combined with other units", "data": "P1Y2W", "valid": false + }, + { + "description": "null value should be ignored", + "data": null, + "valid": true + }, + { + "description": "number value should be ignored", + "data": 1, + "valid": true + }, + { + "description": "list value should be ignored", + "data": [], + "valid": true + }, + { + "description": "object value should be ignored", + "data": {}, + "valid": true } ] } |