Joiでカスタムキーを含む辞書を検証する最良の方法は何ですか?
var objToValidate = {
"a": { name: 1 }
"type": { name: 3 },
... // many other properties
}
var schema = ?
Joiでカスタムキーを含む辞書を検証する最良の方法は何ですか?
var objToValidate = {
"a": { name: 1 }
"type": { name: 3 },
... // many other properties
}
var schema = ?