{
  "$schema": "http://json-schema.org/draft-07/schema",
  "type": "object",
  "title": "SearchErrorResult",
  "description": "Error search result",
  "required": ["found", "result", "error"],
  "additionalProperties": false,
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Indicates if the requested object was found or not",
      "default": false
    },
    "result": {
      "type": "object",
      "required": ["entity_type"],
      "additionalProperties": false,
      "properties": {
        "entity_type": {
          "type": "string",
          "description": "Shows the currenty category of entity it is searched in.",
          "enum": ["standard_address", "unknown_hash", "contract_address", "invalid_term"]
        }
      }
    },
    "error": {
      "type": "string"
    }
  }
}
