mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-06-10 23:19:35 +08:00
31 lines
827 B
JSON
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"
|
|
}
|
|
}
|
|
}
|