Files
stacks-blockchain-api/docs/api/search/search-error.schema.json
2021-08-31 09:11:03 -05:00

31 lines
827 B
JSON

{
"$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"
}
}
}