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