]> git.proxmox.com Git - ceph.git/blame - ceph/src/rapidjson/bin/jsonschema/tests/draft3/maxLength.json
update sources to v12.1.0
[ceph.git] / ceph / src / rapidjson / bin / jsonschema / tests / draft3 / maxLength.json
CommitLineData
31f18b77
FG
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": 10,
24 "valid": true
25 },
26 {
27 "description": "two supplementary Unicode code points is long enough",
28 "data": "\uD83D\uDCA9\uD83D\uDCA9",
29 "valid": true
30 }
31 ]
32 }
33]