{
  "name": "ChangeResourceRecordSets",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudDns.ChangeResourceRecordSets",
    "service": "dns"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "definitions": {
      "DnsRecordType": {
        "enum": [
          "A",
          "AAAA",
          "CNAME",
          "TXT",
          "MX",
          "NS"
        ],
        "type": "string"
      },
      "ResourceRecordSetChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "priority": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "ttl": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/definitions/DnsRecordType"
          }
        },
        "required": [
          "action",
          "content",
          "name",
          "type"
        ],
        "type": "object"
      }
    },
    "properties": {
      "changes": {
        "items": {
          "$ref": "#/definitions/ResourceRecordSetChange"
        },
        "type": "array"
      },
      "zoneId": {
        "type": "string"
      }
    },
    "required": [
      "changes",
      "zoneId"
    ],
    "title": "ChangeResourceRecordSetsRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "ok": {
        "type": "boolean"
      }
    },
    "required": [
      "ok"
    ],
    "title": "OkResponse",
    "type": "object"
  }
}
