JSON 架构草案 4 规范是否有架构?

Is there a schema for the JSON Schema draft 4 spec?

是否有描述 JSON Schema draft 4 规范的 JSON 架构? IE。描述模式格式的模式。

是的。它是 $schema 属性 的 JSON 模式中的 referenced

"$schema": "http://json-schema.org/draft-04/schema#"

来自documentation

The $schema keyword is both used as a JSON Schema version identifier and the location of a resource which is itself a JSON Schema, which describes any schema written for this particular version.

This keyword MUST be located at the root of a JSON Schema. The value of this keyword MUST be a URI [RFC3986] and a valid JSON Reference [json-reference]; this URI MUST be both absolute and normalized. The resource located at this URI MUST successfully describe itself. It is RECOMMENDED that schema authors include this keyword in their schemas.