2016-10-23 00:44:14 +03:00
|
|
|
{
|
|
|
|
"type": "object",
|
2019-11-28 21:37:22 +03:00
|
|
|
"required": ["type", "title", "detail", "status"],
|
2016-10-23 00:44:14 +03:00
|
|
|
"properties": {
|
2019-11-28 21:37:22 +03:00
|
|
|
"type": {
|
2016-10-23 00:44:14 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "A machine unique code"
|
|
|
|
},
|
2019-11-28 21:37:22 +03:00
|
|
|
"title": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "A unique title"
|
|
|
|
},
|
|
|
|
"detail": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "A human-friendly error description"
|
|
|
|
},
|
|
|
|
"status": {
|
|
|
|
"type": "number",
|
|
|
|
"description": "HTTP response status code"
|
2016-10-23 00:44:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|