{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "bns-fetch-zone-file-response",
  "title": "BnsFetchFileZoneResponse",
  "description": "Fetch a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.",
  "required": [],
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "zonefile": {
          "type": "string",
          "pattern": ".+"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "error": {
          "type": "string",
          "pattern": ".+"
        }
      }
    }
  ]
}
