{
  "title": "BnsGetSubdomainAtTx",
  "description": "Fetches the list of subdomain operations processed by a given transaction. The returned array includes subdomain operations that have not yet been accepted as part of any subdomain’s history (checkable via the accepted field). If the given transaction ID does not correspond to a Stacks transaction that introduced new subdomain operations, and empty array will be returned.",
  "required": [
    "accepted",
    "block_height",
    "domain",
    "fully_qualified_subdomain",
    "missing",
    "owner",
    "parent_zonefile_hash",
    "parent_zonefile_index",
    "resolver",
    "sequence",
    "signature",
    "txid",
    "zonefile_hash",
    "zonefile_offset"
  ],
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "accepted": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "block_height": { "type": "integer", "minimum": 0 },
      "domain": {
        "type": "string",
        "pattern": "^([a-z0-9\\-_.+]{3,37})$|^([a-z0-9\\-_.+]){3,37}$"
      },
      "fully_qualified_subdomain": {
        "type": "string",
        "pattern": "^([a-z0-9\\-_.+]{3,37}).([a-z0-9\\-_.+]{3,37})$"
      },
      "missing": { "type": "string" },
      "owner": {
        "type": "string",
        "pattern": "^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+)$"
      },
      "parent_zonefile_hash": {
        "type": "string",
        "pattern": "^[0-9a-fA-F]{40}"
      },
      "parent_zonefile_index": {
        "type": "integer",
        "minimum": 0
      },
      "resolver": {
        "type": "string"
      },
      "sequence": {
        "type": "integer",
        "minimum": 0
      },
      "signature": {
        "type": "string"
      },
      "txid": {
        "type": "string",
        "pattern": "^[0-9a-fA-F]{64}"
      },
      "zonefile_hash": {
        "type": "string",
        "pattern": "^[0-9a-fA-F]{40}"
      },
      "zonefile_offset": {
        "type": "integer",
        "minimum": 0
      }
    }
  }
}
