{
  "description": "RedisEntepriseRemoteCluster represents a remote participating cluster.",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "apiFqdnUrl": {
          "description": "The URL of the cluster, will be used for the active-active database URL.",
          "type": "string"
        },
        "apiPort": {
          "description": "The port number of the cluster's URL used for connectivity/sync",
          "type": "integer"
        },
        "dbFqdnSuffix": {
          "description": "The database URL suffix, will be used for the active-active database replication endpoint and replication endpoint SNI.",
          "type": "string"
        },
        "recName": {
          "description": "The name of the REC that the RERC is pointing at",
          "type": "string"
        },
        "recNamespace": {
          "description": "The namespace of the REC that the RERC is pointing at",
          "type": "string"
        },
        "secretName": {
          "description": "The name of the secret containing cluster credentials. Must be of the following format: \"redis-enterprise-<RERC name>\"",
          "type": "string"
        }
      },
      "required": [
        "apiFqdnUrl",
        "recName",
        "recNamespace"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "properties": {
        "internalObservedSecretResourceVersion": {
          "description": "The observed secret resource version. Used for internal purposes only.",
          "type": "string"
        },
        "local": {
          "description": "Indicates whether this object represents a local or a remote cluster.",
          "type": "boolean"
        },
        "observedGeneration": {
          "description": "The most recent generation observed for this RERC. It corresponds to the RERC's generation, which is updated by the API Server.",
          "type": "integer"
        },
        "specStatus": {
          "description": "Whether the desired specification is valid.",
          "type": "string"
        },
        "status": {
          "description": "The status of the remote cluster.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
