refRemote.json (6cec9cad762b6476313fb1f8e931a1647822db6b) | refRemote.json (d9f0ce31900a48d1a2bfc1c8c86f79d1e831451a) |
---|---|
1[ 2 { 3 "description": "remote ref", | 1[ 2 { 3 "description": "remote ref", |
4 "schema": {"$ref": "http://localhost:1234/integer.json"}, | 4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/integer.json"}, |
5 "tests": [ 6 { 7 "description": "remote ref valid", 8 "data": 1, 9 "valid": true 10 }, 11 { 12 "description": "remote ref invalid", 13 "data": "a", 14 "valid": false 15 } 16 ] 17 }, 18 { 19 "description": "fragment within remote ref", | 5 "tests": [ 6 { 7 "description": "remote ref valid", 8 "data": 1, 9 "valid": true 10 }, 11 { 12 "description": "remote ref invalid", 13 "data": "a", 14 "valid": false 15 } 16 ] 17 }, 18 { 19 "description": "fragment within remote ref", |
20 "schema": {"$ref": "http://localhost:1234/subSchemas.json#/integer"}, | 20 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/integer"}, |
21 "tests": [ 22 { 23 "description": "remote fragment valid", 24 "data": 1, 25 "valid": true 26 }, 27 { 28 "description": "remote fragment invalid", 29 "data": "a", 30 "valid": false 31 } 32 ] 33 }, 34 { 35 "description": "ref within remote ref", 36 "schema": { | 21 "tests": [ 22 { 23 "description": "remote fragment valid", 24 "data": 1, 25 "valid": true 26 }, 27 { 28 "description": "remote fragment invalid", 29 "data": "a", 30 "valid": false 31 } 32 ] 33 }, 34 { 35 "description": "ref within remote ref", 36 "schema": { |
37 "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" | 37 "$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/refToInteger" |
38 }, 39 "tests": [ 40 { 41 "description": "ref within ref valid", 42 "data": 1, 43 "valid": true 44 }, 45 { 46 "description": "ref within ref invalid", 47 "data": "a", 48 "valid": false 49 } 50 ] 51 }, | 38 }, 39 "tests": [ 40 { 41 "description": "ref within ref valid", 42 "data": 1, 43 "valid": true 44 }, 45 { 46 "description": "ref within ref invalid", 47 "data": "a", 48 "valid": false 49 } 50 ] 51 }, |
52/* |
|
52 { 53 "description": "change resolution scope", 54 "schema": { | 53 { 54 "description": "change resolution scope", 55 "schema": { |
55 "id": "http://localhost:1234/", | 56 "id": "http://highsecure.ru/ucl-schema/remotes/", |
56 "items": { 57 "id": "folder/", 58 "items": {"$ref": "folderInteger.json"} 59 } 60 }, 61 "tests": [ 62 { 63 "description": "changed scope ref valid", 64 "data": [[1]], 65 "valid": true 66 }, 67 { 68 "description": "changed scope ref invalid", 69 "data": [["a"]], 70 "valid": false 71 } 72 ] 73 } | 57 "items": { 58 "id": "folder/", 59 "items": {"$ref": "folderInteger.json"} 60 } 61 }, 62 "tests": [ 63 { 64 "description": "changed scope ref valid", 65 "data": [[1]], 66 "valid": true 67 }, 68 { 69 "description": "changed scope ref invalid", 70 "data": [["a"]], 71 "valid": false 72 } 73 ] 74 } |
75*/ |
|
74] | 76] |