File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ trap clean EXIT
1010cat << 'EOF ' > "$TMP/schema.json"
1111{
1212 "$schema": "http://json-schema.org/draft-07/schema#",
13- "allOf": [ { "$ref": "https://jsonplaceholder.typicode .com/todos/1 " } ]
13+ "allOf": [ { "$ref": "https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema " } ]
1414}
1515EOF
1616
@@ -20,7 +20,7 @@ test "$CODE" = "1" || exit 1
2020
2121cat << EOF > "$TMP /expected.txt"
2222error: The JSON document is not a valid JSON Schema
23- at identifier https://jsonplaceholder.typicode .com/todos/1
23+ at identifier https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2424 at location "/allOf/0/\$ ref"
2525EOF
2626
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ trap clean EXIT
1010cat << 'EOF ' > "$TMP/schema.json"
1111{
1212 "$schema": "http://json-schema.org/draft-07/schema#",
13- "allOf": [ { "$ref": "https://jsonplaceholder.typicode .com/todos/1 " } ]
13+ "allOf": [ { "$ref": "https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema " } ]
1414}
1515EOF
1616
1919test " $CODE " = " 1" || exit 1
2020
2121cat << EOF > "$TMP /expected.txt"
22- Resolving over HTTP: https://jsonplaceholder.typicode .com/todos/1
22+ Resolving over HTTP: https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2323error: The JSON document is not a valid JSON Schema
24- at identifier https://jsonplaceholder.typicode .com/todos/1
24+ at identifier https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2525 at location "/allOf/0/\$ ref"
2626EOF
2727
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ trap clean EXIT
1010cat << 'EOF ' > "$TMP/schema.json"
1111{
1212 "$schema": "http://json-schema.org/draft-07/schema#",
13- "allOf": [ { "$ref": "https://jsonplaceholder.typicode .com/todos/1 " } ]
13+ "allOf": [ { "$ref": "https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema " } ]
1414}
1515EOF
1616
@@ -24,7 +24,7 @@ test "$CODE" = "1" || exit 1
2424
2525cat << EOF > "$TMP /expected.txt"
2626error: The JSON document is not a valid JSON Schema
27- at identifier https://jsonplaceholder.typicode .com/todos/1
27+ at identifier https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2828 at location "/allOf/0/\$ ref"
2929EOF
3030
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ trap clean EXIT
1010cat << 'EOF ' > "$TMP/schema.json"
1111{
1212 "$schema": "http://json-schema.org/draft-07/schema#",
13- "allOf": [ { "$ref": "https://jsonplaceholder.typicode .com/todos/1 " } ]
13+ "allOf": [ { "$ref": "https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema " } ]
1414}
1515EOF
1616
2323test " $CODE " = " 1" || exit 1
2424
2525cat << EOF > "$TMP /expected.txt"
26- Resolving over HTTP: https://jsonplaceholder.typicode .com/todos/1
26+ Resolving over HTTP: https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2727error: The JSON document is not a valid JSON Schema
28- at identifier https://jsonplaceholder.typicode .com/todos/1
28+ at identifier https://schemas.sourcemeta .com/self/api/schemas/stats/jsonschema/2020-12/schema
2929 at location "/allOf/0/\$ ref"
3030EOF
3131
You can’t perform that action at this time.
0 commit comments