{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "Rosetta-errors-no-details",
  "type": "object",
  "title": "RosettaErrorNoDetails",
  "description": "Instead of utilizing HTTP status codes to describe node errors (which often do not have a good analog), rich errors are returned using this object. Both the code and message fields can be individually used to correctly identify an error. Implementations MUST use unique values for both fields.",
  "required": ["code", "message", "retriable"],
  "additionalProperties": false,
  "properties": {
    "code": {
      "type": "integer",
      "description": "Code is a network-specific error code. If desired, this code can be equivalent to an HTTP status code."
    },
    "message": {
      "type": "string",
      "description": "Message is a network-specific error message. The message MUST NOT change for a given code. In particular, this means that any contextual information should be included in the details field."
    },
    "retriable": {
      "type": "boolean",
      "description": "An error is retriable if the same request may succeed if submitted again."
    }
  }
}
