{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "bns-get-name-info",
  "title": "BnsGetNameInfoResponse",
  "description": "Get name details",
  "type": "object",
  "required": ["address", "blockchain", "last_txid", "status", "zonefile", "zonefile_hash"],
  "properties": {
    "address": {
      "type": "string"
    },
    "blockchain": {
      "type": "string",
      "pattern": "^stacks$"
    },
    "expire_block": {
      "type": "integer",
      "minimum": 0
    },
    "grace_period": {
      "type": "integer",
      "minimum": 0
    },
    "last_txid": {
      "type": "string"
    },
    "resolver": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "zonefile": {
      "type": "string"
    },
    "zonefile_hash": {
      "type": "string"
    }
  }
}
