Debian Codegraph @

spec/JSON-Schema-Test-Suite/tests/draft2020-12/vocabulary.json

raw ◀ ▶
1 Debian patch touch this file
•1 [
2 {
3 "description": "schema that uses custom metaschema with with no validation vocabulary",
4 "schema": {
5 "$id": "https://schema/using/no/validation",
6 "$schema": "http://localhost:1234/draft2020-12/metaschema-no-validation.json",
7 "properties": {
8 "badProperty": false,
9 "numberProperty": {
10 "minimum": 10
11 }
12 }
13 },
14 "tests": [
15 {
16 "description": "applicator vocabulary still works",
17 "data": {
18 "badProperty": "this property should not exist"
19 },
20 "valid": false
21 },
22 {
23 "description": "no validation: valid number",
24 "data": 20,
25 "valid": true
26 },
27 {
28 "description": "no validation: invalid number, but it still validates",
29 "data": 1,
30 "valid": true
31 }
32 ]
33 }
34 ]