JSON Schema

JSON Schema

[13] JSON Schema は、 JSON 用のスキーマ言語の1つです。

[14] JSONスキーマ言語は色々なものが提案されており、 その中では知名度もトップクラスです。しかし JSONスキーマを使うことはそれほど多くありません。

目次

  1. 応用
  2. メモ

応用#

[15] JSON Schema応用

メモ#

[1] JSON Schema Proposal ( 版) http://json-schema.org/

[2] JSONの可能性がグンと拡がるぞ! JSONスキーマ - 檜山正幸のキマイラ飼育記 ( 版) http://d.hatena.ne.jp/m-hiyama/20090413/1239581682

[3] JSONスキーマの功罪を、印象や感情じゃなくて考えてみようか - 檜山正幸のキマイラ飼育記 ( 版) http://d.hatena.ne.jp/m-hiyama/20090416/1239859038

[4] draft-zyp-json-schema-04 - JSON Schema: core definitions and terminology ( ( 版)) http://tools.ietf.org/html/draft-zyp-json-schema-04

[5] draft-zyp-json-schema-04 - JSON Schema: core definitions and terminology ( ( 版)) http://tools.ietf.org/html/draft-zyp-json-schema-04

[6] JSON Schema: core definitions and terminology ( ( 版)) http://json-schema.org/latest/json-schema-core.html

[7] JSON Schema: interactive and non interactive validation ( ( 版)) http://json-schema.org/latest/json-schema-validation.html

[8] JSON Hyper-Schema: Hypertext definitions for JSON Schema ( ( 版)) http://json-schema.org/latest/json-schema-hypermedia.html

[9] draft-fge-json-schema-validation-00 - JSON Schema: interactive and non interactive validation ( ( 版)) http://tools.ietf.org/html/draft-fge-json-schema-validation-00

[10] draft-luff-json-hyper-schema-00 - JSON Hyper-Schema: Hypertext definitions for JSON Schema ( ( 版)) http://tools.ietf.org/html/draft-luff-json-hyper-schema-00

[11] Is JSON Schema dead? : javascript () https://www.reddit.com/r/javascript/comments/4697m8/is_json_schema_dead/

[12] Project Open Data Metadata Schema v1.1 - Project Open Data () https://project-open-data.cio.gov/v1.1/schema/

[16] draft-wright-json-schema-01 - JSON Schema: A Media Type for Describing JSON Documents () https://tools.ietf.org/html/draft-wright-json-schema-01

[17] Collections — Kinto 8.1.5 documentation () https://kinto.readthedocs.io/en/latest/api/1.x/collections.html

A JSON schema can optionally be associated to a collection.

Once a schema is set, records will be validated during creation or update.

If the validation fails, a 400 Bad Request error response will be returned.

[18] Xユーザーのなぎせ ゆうきさん: 「ところでJSON Schemaだけど、スキーマ定義に合わなかったときに、いい感じに日本語でエラーメッセージを返したいとなるとそのまま使えないみたいな勝手の悪さがある🙄」 / X, , https://x.com/nagise/status/1876508288386523505