JSONフォーマッタ
JSONを整形・検証。
サンプルから draft-07 風 JSON Schema を推論。
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"name",
"active",
"tags"
]
}はい。
いいえ。