...
jsondoc=http://localhost:8080/WebApi.asmx/GetDataSetAsJson; schemadata
schemadata={ "$schema": "http://json-schema.org/draft-04/schema",
...
"type":
...
"array",
...
"items":
...
{
...
...
"type":
...
"object",
...
...
"properties":
...
{
...
...
...
"ID":
...
{
...
...
...
...
"type":
...
"integer"
...
...
...
...
},
...
...
...
"Name":
...
{
...
...
...
...
"type":
...
"string"
...
...
...
...
},
...
...
...
"BirthDate":
...
{
...
...
...
...
"type":
...
"string"
...
...
...
...
},
...
...
...
"Position":
...
{
...
...
...
...
"type":
...
"string"
...
...
...
...
},
...
...
...
"Title":
...
{
...
...
...
...
"type":
...
"string"
...
...
...
...
},
...
...
...
"Email":
...
{
...
...
...
...
"type":
...
"string"
...
...
...
...
}
...
...
...
},
...
...
"required":
...
[
...
...
...
"ID",
...
...
...
"Name",
...
...
...
"BirthDate",
...
...
...
"Position",
...
...
...
"Title",
...
...
...
"Email"
...
...
...
]
...
...
}
...
}
其中,
jsondoc指定数据本身来源,一般是一个URL。
...