参考
http://json-schema.org/latest/json-schema-validation.html#rfc.section.7.1
https://blog.csdn.net/taiyangdao/article/details/77865622
案例
string
{
"type": "string",
"pattern": "^(\\([0-9]{3}\\))?[0-9]{3}-[0-9]{4}$",
"minLength": 2,
"maxLength": 3,
"format": "date-time|email|hostname|ipv4|ipv6|uri"
}
number
{
"type": "number",
"minimum": 0,
"maximum": 100
}
integer
{
"type": "integer"
}
object
{
"type": "object",
"properties":
{
"name": { "type": "string" },
"credit_card&