【发布时间】:2018-05-01 03:44:16
【问题描述】:
{
"operation": {
"type": "string",
"enum": ["create","update"]
},
"payload": {
// I have to add json file refs: based on the value of operation(create,update)
}
}
如果操作是创建比 ("$ref": "create" ) json 文件。
如果它比 ($ref - "update") json 文件更新
【问题讨论】:
标签: arrays json schema jsonschema