JSON schema validate input based on list at runtime

前端 未结 0 1992
南笙
南笙 2020-12-20 17:31

I\'d like to know if I can define a schema to perform validation based on list of values at runtime. Example:

people:
- joe
- fred
- anna

bestfriend: ike


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题