github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft4/format.json (about)

     1  [
     2      {
     3          "description": "email format",
     4          "schema": { "format": "email" },
     5          "tests": [
     6              {
     7                  "description": "all string formats ignore integers",
     8                  "data": 12,
     9                  "valid": true
    10              },
    11              {
    12                  "description": "all string formats ignore floats",
    13                  "data": 13.7,
    14                  "valid": true
    15              },
    16              {
    17                  "description": "all string formats ignore objects",
    18                  "data": {},
    19                  "valid": true
    20              },
    21              {
    22                  "description": "all string formats ignore arrays",
    23                  "data": [],
    24                  "valid": true
    25              },
    26              {
    27                  "description": "all string formats ignore booleans",
    28                  "data": false,
    29                  "valid": true
    30              },
    31              {
    32                  "description": "all string formats ignore nulls",
    33                  "data": null,
    34                  "valid": true
    35              }
    36          ]
    37      },
    38      {
    39          "description": "ipv4 format",
    40          "schema": { "format": "ipv4" },
    41          "tests": [
    42              {
    43                  "description": "all string formats ignore integers",
    44                  "data": 12,
    45                  "valid": true
    46              },
    47              {
    48                  "description": "all string formats ignore floats",
    49                  "data": 13.7,
    50                  "valid": true
    51              },
    52              {
    53                  "description": "all string formats ignore objects",
    54                  "data": {},
    55                  "valid": true
    56              },
    57              {
    58                  "description": "all string formats ignore arrays",
    59                  "data": [],
    60                  "valid": true
    61              },
    62              {
    63                  "description": "all string formats ignore booleans",
    64                  "data": false,
    65                  "valid": true
    66              },
    67              {
    68                  "description": "all string formats ignore nulls",
    69                  "data": null,
    70                  "valid": true
    71              }
    72          ]
    73      },
    74      {
    75          "description": "ipv6 format",
    76          "schema": { "format": "ipv6" },
    77          "tests": [
    78              {
    79                  "description": "all string formats ignore integers",
    80                  "data": 12,
    81                  "valid": true
    82              },
    83              {
    84                  "description": "all string formats ignore floats",
    85                  "data": 13.7,
    86                  "valid": true
    87              },
    88              {
    89                  "description": "all string formats ignore objects",
    90                  "data": {},
    91                  "valid": true
    92              },
    93              {
    94                  "description": "all string formats ignore arrays",
    95                  "data": [],
    96                  "valid": true
    97              },
    98              {
    99                  "description": "all string formats ignore booleans",
   100                  "data": false,
   101                  "valid": true
   102              },
   103              {
   104                  "description": "all string formats ignore nulls",
   105                  "data": null,
   106                  "valid": true
   107              }
   108          ]
   109      },
   110      {
   111          "description": "hostname format",
   112          "schema": { "format": "hostname" },
   113          "tests": [
   114              {
   115                  "description": "all string formats ignore integers",
   116                  "data": 12,
   117                  "valid": true
   118              },
   119              {
   120                  "description": "all string formats ignore floats",
   121                  "data": 13.7,
   122                  "valid": true
   123              },
   124              {
   125                  "description": "all string formats ignore objects",
   126                  "data": {},
   127                  "valid": true
   128              },
   129              {
   130                  "description": "all string formats ignore arrays",
   131                  "data": [],
   132                  "valid": true
   133              },
   134              {
   135                  "description": "all string formats ignore booleans",
   136                  "data": false,
   137                  "valid": true
   138              },
   139              {
   140                  "description": "all string formats ignore nulls",
   141                  "data": null,
   142                  "valid": true
   143              }
   144          ]
   145      },
   146      {
   147          "description": "date-time format",
   148          "schema": { "format": "date-time" },
   149          "tests": [
   150              {
   151                  "description": "all string formats ignore integers",
   152                  "data": 12,
   153                  "valid": true
   154              },
   155              {
   156                  "description": "all string formats ignore floats",
   157                  "data": 13.7,
   158                  "valid": true
   159              },
   160              {
   161                  "description": "all string formats ignore objects",
   162                  "data": {},
   163                  "valid": true
   164              },
   165              {
   166                  "description": "all string formats ignore arrays",
   167                  "data": [],
   168                  "valid": true
   169              },
   170              {
   171                  "description": "all string formats ignore booleans",
   172                  "data": false,
   173                  "valid": true
   174              },
   175              {
   176                  "description": "all string formats ignore nulls",
   177                  "data": null,
   178                  "valid": true
   179              }
   180          ]
   181      },
   182      {
   183          "description": "uri format",
   184          "schema": { "format": "uri" },
   185          "tests": [
   186              {
   187                  "description": "all string formats ignore integers",
   188                  "data": 12,
   189                  "valid": true
   190              },
   191              {
   192                  "description": "all string formats ignore floats",
   193                  "data": 13.7,
   194                  "valid": true
   195              },
   196              {
   197                  "description": "all string formats ignore objects",
   198                  "data": {},
   199                  "valid": true
   200              },
   201              {
   202                  "description": "all string formats ignore arrays",
   203                  "data": [],
   204                  "valid": true
   205              },
   206              {
   207                  "description": "all string formats ignore booleans",
   208                  "data": false,
   209                  "valid": true
   210              },
   211              {
   212                  "description": "all string formats ignore nulls",
   213                  "data": null,
   214                  "valid": true
   215              }
   216          ]
   217      }
   218  ]