建议我如何在输入jsonschema中使用远程json文件。以下是我正在使用的两个文件,它们的异常网址为未知
first.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"ReferenceTosecondSchema": {
"$ref": "second.json#/definitions/ExternalType"
}
}
}
second.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"definitions": {
"ExternalType": {
"type": "object",
"additionalProperties": false,
"properties": {
"src": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"src"
]
}
}
}