]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / request / node_modules / har-validator / node_modules / is-my-json-valid / test / json-schema-draft4 / maxLength.json
1 [
2     {
3         "description": "maxLength validation",
4         "schema": {"maxLength": 2},
5         "tests": [
6             {
7                 "description": "shorter is valid",
8                 "data": "f",
9                 "valid": true
10             },
11             {
12                 "description": "exact length is valid",
13                 "data": "fo",
14                 "valid": true
15             },
16             {
17                 "description": "too long is invalid",
18                 "data": "foo",
19                 "valid": false
20             },
21             {
22                 "description": "ignores non-strings",
23                 "data": 100,
24                 "valid": true
25             }
26         ]
27     }
28 ]