{
  "type": "object",
  "title": "AddressSearchResult",
  "description": "Address search result",
  "required": ["found", "result"],
  "additionalProperties": false,
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Indicates if the requested object was found or not",
      "default": true
    },
    "result": {
      "type": "object",
      "description": "This object carries the search result",
      "required": ["entity_id", "entity_type"],
      "additionalProperties": false,
      "properties": {
        "entity_id": {
          "type": "string",
          "description": "The id used to search this query."
        },
        "entity_type": {
          "type": "string",
          "enum": ["standard_address"]
        },
        "metadata": {
          "type": "object",
          "anyOf": [
            {
              "$ref": "../address/get-address-stx-balance.schema.json"
            }
          ]
        }
      }
    }
  }
}
