Skip to content

Commit e9166bc

Browse files
committed
fix indentation
1 parent 1d1ec74 commit e9166bc

File tree

1 file changed

+76
-76
lines changed

1 file changed

+76
-76
lines changed

tests/draft-next/ref.json

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -951,80 +951,80 @@
951951
]
952952
},
953953
{
954-
"description": "ref with absolute-path-reference",
955-
"schema": {
956-
"$id": "http://example.com/ref/absref.json",
957-
"$defs": {
958-
"a": {
959-
"$id": "http://example.com/ref/absref/foobar.json",
960-
"type": "number"
961-
},
962-
"b": {
963-
"$id": "http://example.com/absref/foobar.json",
964-
"type": "string"
965-
}
966-
},
967-
"$ref": "/absref/foobar.json"
968-
},
969-
"tests": [
970-
{
971-
"description": "a string is valid",
972-
"data": "foo",
973-
"valid": true
974-
},
975-
{
976-
"description": "an integer is invalid",
977-
"data": 12,
978-
"valid": false
979-
}
980-
]
981-
},
982-
{
983-
"description": "$id with file URI should still resolve pointers - *nix",
984-
"schema": {
985-
"$id": "file://folder/file.json",
986-
"$defs": {
987-
"foo": {
988-
"type": "number"
989-
}
990-
},
991-
"$ref": "#/$defs/foo"
992-
},
993-
"tests": [
994-
{
995-
"description": "number is valid",
996-
"data": 1,
997-
"valid": true
998-
},
999-
{
1000-
"description": "non-number is invalid",
1001-
"data": "a",
1002-
"valid": false
1003-
}
1004-
]
1005-
},
1006-
{
1007-
"description": "$id with file URI should still resolve pointers - windows",
1008-
"schema": {
1009-
"$id": "file:///c:/folder/file.json",
1010-
"$defs": {
1011-
"foo": {
1012-
"type": "number"
1013-
}
1014-
},
1015-
"$ref": "#/$defs/foo"
1016-
},
1017-
"tests": [
1018-
{
1019-
"description": "number is valid",
1020-
"data": 1,
1021-
"valid": true
1022-
},
1023-
{
1024-
"description": "non-number is invalid",
1025-
"data": "a",
1026-
"valid": false
1027-
}
1028-
]
1029-
}
954+
"description": "ref with absolute-path-reference",
955+
"schema": {
956+
"$id": "http://example.com/ref/absref.json",
957+
"$defs": {
958+
"a": {
959+
"$id": "http://example.com/ref/absref/foobar.json",
960+
"type": "number"
961+
},
962+
"b": {
963+
"$id": "http://example.com/absref/foobar.json",
964+
"type": "string"
965+
}
966+
},
967+
"$ref": "/absref/foobar.json"
968+
},
969+
"tests": [
970+
{
971+
"description": "a string is valid",
972+
"data": "foo",
973+
"valid": true
974+
},
975+
{
976+
"description": "an integer is invalid",
977+
"data": 12,
978+
"valid": false
979+
}
980+
]
981+
},
982+
{
983+
"description": "$id with file URI should still resolve pointers - *nix",
984+
"schema": {
985+
"$id": "file://folder/file.json",
986+
"$defs": {
987+
"foo": {
988+
"type": "number"
989+
}
990+
},
991+
"$ref": "#/$defs/foo"
992+
},
993+
"tests": [
994+
{
995+
"description": "number is valid",
996+
"data": 1,
997+
"valid": true
998+
},
999+
{
1000+
"description": "non-number is invalid",
1001+
"data": "a",
1002+
"valid": false
1003+
}
1004+
]
1005+
},
1006+
{
1007+
"description": "$id with file URI should still resolve pointers - windows",
1008+
"schema": {
1009+
"$id": "file:///c:/folder/file.json",
1010+
"$defs": {
1011+
"foo": {
1012+
"type": "number"
1013+
}
1014+
},
1015+
"$ref": "#/$defs/foo"
1016+
},
1017+
"tests": [
1018+
{
1019+
"description": "number is valid",
1020+
"data": 1,
1021+
"valid": true
1022+
},
1023+
{
1024+
"description": "non-number is invalid",
1025+
"data": "a",
1026+
"valid": false
1027+
}
1028+
]
1029+
}
10301030
]

0 commit comments

Comments
 (0)