definitions.json (6cec9cad762b6476313fb1f8e931a1647822db6b) definitions.json (d9f0ce31900a48d1a2bfc1c8c86f79d1e831451a)
1[
2 {
3 "description": "valid definition",
1[
2 {
3 "description": "valid definition",
4 "schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"},
5 "tests": [
6 {
7 "description": "valid definition schema",
8 "data": {
9 "definitions": {
10 "foo": {"type": "integer"}
11 }
12 },
13 "valid": true
14 }
15 ]
16 },
17 {
18 "description": "invalid definition",
5 "tests": [
6 {
7 "description": "valid definition schema",
8 "data": {
9 "definitions": {
10 "foo": {"type": "integer"}
11 }
12 },
13 "valid": true
14 }
15 ]
16 },
17 {
18 "description": "invalid definition",
19 "schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
19 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"},
20 "tests": [
21 {
22 "description": "invalid definition schema",
23 "data": {
24 "definitions": {
25 "foo": {"type": 1}
26 }
27 },
28 "valid": false
29 }
30 ]
31 }
32]
20 "tests": [
21 {
22 "description": "invalid definition schema",
23 "data": {
24 "definitions": {
25 "foo": {"type": 1}
26 }
27 },
28 "valid": false
29 }
30 ]
31 }
32]