{
  "name": "ListDomainNames",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudGateway.ListDomainNames",
    "service": "gateway"
  },
  "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": "ListDomainNamesRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "DomainNameDescription": {
        "properties": {
          "acmeDelegationCname": {
            "type": [
              "string",
              "null"
            ]
          },
          "apiId": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificateId": {
            "type": [
              "string",
              "null"
            ]
          },
          "hostname": {
            "type": "string"
          },
          "ownershipVerificationName": {
            "type": [
              "string",
              "null"
            ]
          },
          "ownershipVerificationStatus": {
            "$ref": "#/definitions/OwnershipVerificationStatus"
          },
          "ownershipVerificationType": {
            "type": [
              "string",
              "null"
            ]
          },
          "ownershipVerificationValue": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/definitions/DomainNameStatus"
          }
        },
        "required": [
          "hostname",
          "ownershipVerificationStatus",
          "status"
        ],
        "type": "object"
      },
      "DomainNameStatus": {
        "enum": [
          "PENDING",
          "PENDING_CERTIFICATE",
          "PENDING_VERIFICATION",
          "AVAILABLE",
          "FAILED"
        ],
        "type": "string"
      },
      "OwnershipVerificationStatus": {
        "enum": [
          "PENDING",
          "VERIFIED",
          "FAILED"
        ],
        "type": "string"
      }
    },
    "properties": {
      "items": {
        "items": {
          "$ref": "#/definitions/DomainNameDescription"
        },
        "type": "array"
      },
      "nextToken": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "items"
    ],
    "title": "ListDomainNamesResponse",
    "type": "object"
  }
}
