{
  "description": "ClientProfileReplication is the Schema for the clientprofilereplications API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "spec defines the desired state of ClientProfileReplication",
      "properties": {
        "localClientProfile": {
          "description": "LocalClientProfile is the name of the local ClientProfile CR",
          "type": "string"
        },
        "rbd": {
          "description": "RBD contains RBD-specific replication configuration",
          "properties": {
            "poolMapping": {
              "description": "PoolMapping maps local pool names to remote pool IDs",
              "items": {
                "description": "PoolMappingSpec defines the mapping for a single pool",
                "properties": {
                  "name": {
                    "description": "Name is the pool name (must be consistent across clusters)",
                    "type": "string"
                  },
                  "remoteID": {
                    "description": "RemoteID is the pool ID on the remote cluster",
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "remoteID"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "type": "array"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "remoteClientProfile": {
          "description": "RemoteClientProfile is the name of the remote cluster's client profile",
          "type": "string"
        }
      },
      "required": [
        "localClientProfile",
        "remoteClientProfile"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "status defines the observed state of ClientProfileReplication",
      "properties": {
        "message": {
          "description": "Message provides human-readable details about the current phase",
          "type": "string"
        },
        "phase": {
          "description": "Phase indicates the current state of this CR",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
