{
  "name": "ListZones",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudDns.ListZones",
    "service": "dns"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "maxResults": {
        "default": null,
        "format": "uint32",
        "minimum": 0.0,
        "type": [
          "integer",
          "null"
        ]
      },
      "nextToken": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      }
    },
    "title": "ListZonesRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "ZoneDescription": {
        "properties": {
          "name": {
            "type": "string"
          },
          "nameservers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "zoneId": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "zoneId"
        ],
        "type": "object"
      }
    },
    "properties": {
      "nextToken": {
        "type": [
          "string",
          "null"
        ]
      },
      "zones": {
        "items": {
          "$ref": "#/definitions/ZoneDescription"
        },
        "type": "array"
      }
    },
    "required": [
      "zones"
    ],
    "title": "ListZonesResponse",
    "type": "object"
  }
}
