JSON Schema anyOf 关键字
值必须至少匹配列出的一个 Schema。
语法
{"anyOf": [{"type": "string"}, {"type": "null"}]}
说明
适用于可选类型或灵活输入结构。