summaryrefslogtreecommitdiff
path: root/json/tests/draft3/optional/format/date-time.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft3/optional/format/date-time.json')
-rw-r--r--json/tests/draft3/optional/format/date-time.json38
1 files changed, 0 insertions, 38 deletions
diff --git a/json/tests/draft3/optional/format/date-time.json b/json/tests/draft3/optional/format/date-time.json
deleted file mode 100644
index 1f1e6fb..0000000
--- a/json/tests/draft3/optional/format/date-time.json
+++ /dev/null
@@ -1,38 +0,0 @@
-[
- {
- "description": "validation of date-time strings",
- "schema": { "format": "date-time" },
- "tests": [
- {
- "description": "a valid date-time string",
- "data": "1963-06-19T08:30:06.283185Z",
- "valid": true
- },
- {
- "description": "an invalid date-time string",
- "data": "06/19/1963 08:30:06 PST",
- "valid": false
- },
- {
- "description": "case-insensitive T and Z",
- "data": "1963-06-19t08:30:06.283185z",
- "valid": true
- },
- {
- "description": "only RFC3339 not all of ISO 8601 are valid",
- "data": "2013-350T01:01:01",
- "valid": false
- },
- {
- "description": "invalid non-padded month dates",
- "data": "1963-6-19T08:30:06.283185Z",
- "valid": false
- },
- {
- "description": "invalid non-padded day dates",
- "data": "1963-06-1T08:30:06.283185Z",
- "valid": false
- }
- ]
- }
-]