Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JSONSchema本身有JSONSchema吗?_Json_Jsonschema - Fatal编程技术网

JSONSchema本身有JSONSchema吗?

JSONSchema本身有JSONSchema吗?,json,jsonschema,Json,Jsonschema,JSONSchema本身有JSONSchema吗?我正在构建一个产品,需要我验证用户是否提供了有效的JSONSchema。我在谷歌上搜索了很多,但似乎找不到一个例子。这正是$schema关键字中的内容: …或者可能是扩展其中一个模式的模式。关键字$schema标识正在使用的模式类型,在本例中,URI碰巧也是关联元模式的$id。元模式可能会不时更新,并且只提供信息(不构成规范的一部分)。

JSONSchema本身有JSONSchema吗?我正在构建一个产品,需要我验证用户是否提供了有效的JSONSchema。我在谷歌上搜索了很多,但似乎找不到一个例子。

这正是
$schema
关键字中的内容:


…或者可能是扩展其中一个模式的模式。

关键字
$schema
标识正在使用的模式类型,在本例中,URI碰巧也是关联元模式的
$id
。元模式可能会不时更新,并且只提供信息(不构成规范的一部分)。