| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "JSONRPCErrorError": { |
| 5 | "properties": { |
| 6 | "code": { |
| 7 | "format": "int64", |
| 8 | "type": "integer" |
| 9 | }, |
| 10 | "data": true, |
| 11 | "message": { |
| 12 | "type": "string" |
| 13 | } |
| 14 | }, |
| 15 | "required": [ |
| 16 | "code", |
| 17 | "message" |
| 18 | ], |
| 19 | "type": "object" |
| 20 | }, |
| 21 | "RequestId": { |
| 22 | "anyOf": [ |
| 23 | { |
| 24 | "type": "string" |
| 25 | }, |
| 26 | { |
| 27 | "format": "int64", |
| 28 | "type": "integer" |
| 29 | } |
| 30 | ] |
| 31 | } |
| 32 | }, |
| 33 | "description": "A response to a request that indicates an error occurred.", |
| 34 | "properties": { |
| 35 | "error": { |
| 36 | "$ref": "#/definitions/JSONRPCErrorError" |
| 37 | }, |
| 38 | "id": { |
| 39 | "$ref": "#/definitions/RequestId" |
| 40 | } |
| 41 | }, |
| 42 | "required": [ |
| 43 | "error", |
| 44 | "id" |
| 45 | ], |
| 46 | "title": "JSONRPCError", |
| 47 | "type": "object" |
| 48 | } |