diff options
author | Julian Berman <Julian@GrayVines.com> | 2018-06-02 14:04:58 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2018-06-02 14:04:58 -0400 |
commit | c671b17a78def7f1d572d67800d7c3058dd9b986 (patch) | |
tree | cf0d0ff166c1da20b0281c08cae19dfa9dba287a /json/tests/draft6/optional/format.json | |
parent | 6e4ab6d5b63d0d86b0a11f8f92da94d08db19869 (diff) | |
parent | c268d99b5f358196ad6f848c2f48581753f88803 (diff) | |
download | jsonschema-c671b17a78def7f1d572d67800d7c3058dd9b986.tar.gz |
Merge commit 'c268d99b5f358196ad6f848c2f48581753f88803'
* commit 'c268d99b5f358196ad6f848c2f48581753f88803':
Squashed 'json/' changes from 2ca50c0..e64ebf9
Diffstat (limited to 'json/tests/draft6/optional/format.json')
-rw-r--r-- | json/tests/draft6/optional/format.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/json/tests/draft6/optional/format.json b/json/tests/draft6/optional/format.json index d192ff0..8837485 100644 --- a/json/tests/draft6/optional/format.json +++ b/json/tests/draft6/optional/format.json @@ -9,6 +9,31 @@ "valid": true }, { + "description": "a valid date-time string without second fraction", + "data": "1963-06-19T08:30:06Z", + "valid": true + }, + { + "description": "a valid date-time string with plus offset", + "data": "1937-01-01T12:00:27.87+00:20", + "valid": true + }, + { + "description": "a valid date-time string with minus offset", + "data": "1990-12-31T15:59:50.123-08:00", + "valid": true + }, + { + "description": "a invalid day in date-time string", + "data": "1990-02-31T15:59:60.123-08:00", + "valid": false + }, + { + "description": "an invalid offset in date-time string", + "data": "1990-12-31T15:59:60-24:00", + "valid": false + }, + { "description": "an invalid date-time string", "data": "06/19/1963 08:30:06 PST", "valid": false |