{
  "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",
        "null"
      ]
    },
    "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",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "spec defines the desired state of ClientProfileReplication",
      "properties": {
        "localClientProfile": {
          "description": "LocalClientProfile is the name of the local ClientProfile CR",
          "type": "string"
        },
        "rbd": {
          "additionalProperties": false,
          "description": "RBD contains RBD-specific replication configuration",
          "properties": {
            "poolMapping": {
              "description": "PoolMapping maps local pool names to remote pool IDs",
              "items": {
                "additionalProperties": false,
                "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"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "remoteClientProfile": {
          "description": "RemoteClientProfile is the name of the remote cluster's client profile",
          "type": "string"
        }
      },
      "required": [
        "localClientProfile",
        "remoteClientProfile"
      ],
      "type": "object"
    },
    "status": {
      "additionalProperties": false,
      "description": "status defines the observed state of ClientProfileReplication",
      "properties": {
        "message": {
          "description": "Message provides human-readable details about the current phase",
          "type": [
            "string",
            "null"
          ]
        },
        "phase": {
          "description": "Phase indicates the current state of this CR",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}