Я не нашел хорошего и простого решения для этой проблемы.
Может кто-нибудь мне помочь?
Это моя настоящая json-схема файл
Код: Выделить всё
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Response",
"description": "A Response object",
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "describes response status"
},
"msg": {
"type": "string",
"description": "user msgs"
}
},
"required": ["result"],
"additionalProperties": false
}
Подробнее здесь: https://stackoverflow.com/questions/391 ... son-schema
Мобильная версия