diff options
author | Julian Berman <Julian@GrayVines.com> | 2023-03-28 15:48:18 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2023-03-28 15:48:18 -0400 |
commit | cf1f6b02ab6fcf32f46f039720fa0add728f236f (patch) | |
tree | d3e0d2a2556a71959125230bbc067b17848b7db0 | |
parent | 8b8f3551adf6e0290e58e644e799f956f4df41a8 (diff) | |
parent | c8c0bdd52999e4e1a6a38ceca814d0943f3e7962 (diff) | |
download | jsonschema-cf1f6b02ab6fcf32f46f039720fa0add728f236f.tar.gz |
Merge commit 'c8c0bdd52999e4e1a6a38ceca814d0943f3e7962'
* commit 'c8c0bdd52999e4e1a6a38ceca814d0943f3e7962':
Squashed 'json/' changes from 19947eaa1..0788c226a
-rw-r--r-- | json/tests/draft-next/optional/format/date.json | 20 | ||||
-rw-r--r-- | json/tests/draft2019-09/optional/format/date.json | 20 | ||||
-rw-r--r-- | json/tests/draft2020-12/optional/format/date.json | 20 | ||||
-rw-r--r-- | json/tests/draft7/optional/format/date.json | 20 |
4 files changed, 80 insertions, 0 deletions
diff --git a/json/tests/draft-next/optional/format/date.json b/json/tests/draft-next/optional/format/date.json index 75c6146..aa55555 100644 --- a/json/tests/draft-next/optional/format/date.json +++ b/json/tests/draft-next/optional/format/date.json @@ -220,6 +220,26 @@ "description": "invalid non-ASCII '৪' (a Bengali 4)", "data": "1963-06-1৪", "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)", + "data": "20230328", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)", + "data": "2023-W01", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)", + "data": "2023-W13-2", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)", + "data": "2022W527", + "valid": false } ] } diff --git a/json/tests/draft2019-09/optional/format/date.json b/json/tests/draft2019-09/optional/format/date.json index 64dbefb..805888c 100644 --- a/json/tests/draft2019-09/optional/format/date.json +++ b/json/tests/draft2019-09/optional/format/date.json @@ -220,6 +220,26 @@ "description": "invalid non-ASCII '৪' (a Bengali 4)", "data": "1963-06-1৪", "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)", + "data": "20230328", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)", + "data": "2023-W01", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)", + "data": "2023-W13-2", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)", + "data": "2022W527", + "valid": false } ] } diff --git a/json/tests/draft2020-12/optional/format/date.json b/json/tests/draft2020-12/optional/format/date.json index 7b89329..dfb1c80 100644 --- a/json/tests/draft2020-12/optional/format/date.json +++ b/json/tests/draft2020-12/optional/format/date.json @@ -220,6 +220,26 @@ "description": "invalid non-ASCII '৪' (a Bengali 4)", "data": "1963-06-1৪", "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)", + "data": "20230328", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)", + "data": "2023-W01", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)", + "data": "2023-W13-2", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)", + "data": "2022W527", + "valid": false } ] } diff --git a/json/tests/draft7/optional/format/date.json b/json/tests/draft7/optional/format/date.json index 06c9ea0..d723124 100644 --- a/json/tests/draft7/optional/format/date.json +++ b/json/tests/draft7/optional/format/date.json @@ -217,6 +217,26 @@ "description": "invalid non-ASCII '৪' (a Bengali 4)", "data": "1963-06-1৪", "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)", + "data": "20230328", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)", + "data": "2023-W01", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)", + "data": "2023-W13-2", + "valid": false + }, + { + "description": "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)", + "data": "2022W527", + "valid": false } ] } |