...

Text file src/github.com/qri-io/jsonschema/testdata/draft7/optional/format/time.json

Documentation: github.com/qri-io/jsonschema/testdata/draft7/optional/format

     1[
     2    {
     3        "description": "validation of time strings",
     4        "schema": {"format": "time"},
     5        "tests": [
     6            {
     7                "description": "a valid time string",
     8                "data": "08:30:06.283185Z",
     9                "valid": true
    10            },
    11            {
    12                "description": "an invalid time string",
    13                "data": "08:30:06 PST",
    14                "valid": false
    15            },
    16            {
    17                "description": "only RFC3339 not all of ISO 8601 are valid",
    18                "data": "01:01:01,1111",
    19                "valid": false
    20            }
    21        ]
    22    }
    23]

View as plain text