JSONについて https://www.publickey1.jp/blog/17/jsonrfc_8259ecma-404_2nd_editonutf-8.html が面白いし、参考になる。
コメント記述の経緯は https://qiita.com/yokra9/items/1ac03876415d7fd47a65 。https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.8.3 が参照されている。
スキーマのホームは https://json-schema.org/specification.html。
ダラーやアットマークについては:
- $schema, $id, $comment は https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-02 にある。最新版が分かりにくい。
- $ref : https://swagger.io/docs/specification/using-ref/ $ref の値の文字列はJSON参照 https://datatracker.ietf.org/doc/html/draft-pbryan-zyp-json-ref-03
- $oid : https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/ の Type Representations
- @id : JSON-LD https://json-ld.org/ の記法。https://www.w3.org/TR/json-ld11/ $id と意味が違う。あぶない。
JSONの参照の仕様がイッパイある。
- JSON Path (S. Gössner {ガ|ゴ}スナー): https://datatracker.ietf.org/wg/jsonpath/about/、 https://www.ietf.org/archive/id/draft-goessner-dispatch-jsonpath-00.html、実装は https://jsonpath.com/ 、ソースコードは https://github.com/json-path/JsonPath、説明は https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html、オリジナルは https://goessner.net/articles/JsonPath/ か?規格化はうまくいってないのかな?
- JSON Pointer : https://www.rfc-editor.org/rfc/rfc6901
- JSON Reference : https://datatracker.ietf.org/doc/html/draft-pbryan-zyp-json-ref-03