{
  "description": "StorageProfile provides a CDI specific recommendation for storage parameters",
  "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": "StorageProfileSpec defines specification for StorageProfile",
      "properties": {
        "claimPropertySets": {
          "description": "ClaimPropertySets is a provided set of properties applicable to PVC",
          "items": {
            "description": "ClaimPropertySet is a set of properties applicable to PVC",
            "properties": {
              "accessModes": {
                "description": "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
                "items": {
                  "type": "string"
                },
                "maxItems": 4,
                "type": "array",
                "x-kubernetes-validations": [
                  {
                    "message": "Illegal AccessMode",
                    "rule": "self.all(am, am in ['ReadWriteOnce', 'ReadOnlyMany', 'ReadWriteMany', 'ReadWriteOncePod'])"
                  }
                ]
              },
              "volumeMode": {
                "description": "VolumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.",
                "enum": [
                  "Block",
                  "Filesystem"
                ],
                "type": "string"
              }
            },
            "required": [
              "accessModes",
              "volumeMode"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "maxItems": 8,
          "type": "array"
        },
        "cloneStrategy": {
          "description": "CloneStrategy defines the preferred method for performing a CDI clone",
          "type": "string"
        },
        "dataImportCronSourceFormat": {
          "description": "DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources",
          "type": "string"
        },
        "snapshotClass": {
          "description": "SnapshotClass is optional specific VolumeSnapshotClass for CloneStrategySnapshot. If not set, a VolumeSnapshotClass is chosen according to the provisioner.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "StorageProfileStatus provides the most recently observed status of the StorageProfile",
      "properties": {
        "claimPropertySets": {
          "description": "ClaimPropertySets computed from the spec and detected in the system",
          "items": {
            "description": "ClaimPropertySet is a set of properties applicable to PVC",
            "properties": {
              "accessModes": {
                "description": "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
                "items": {
                  "type": "string"
                },
                "maxItems": 4,
                "type": "array",
                "x-kubernetes-validations": [
                  {
                    "message": "Illegal AccessMode",
                    "rule": "self.all(am, am in ['ReadWriteOnce', 'ReadOnlyMany', 'ReadWriteMany', 'ReadWriteOncePod'])"
                  }
                ]
              },
              "volumeMode": {
                "description": "VolumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.",
                "enum": [
                  "Block",
                  "Filesystem"
                ],
                "type": "string"
              }
            },
            "required": [
              "accessModes",
              "volumeMode"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "maxItems": 8,
          "type": "array"
        },
        "cloneStrategy": {
          "description": "CloneStrategy defines the preferred method for performing a CDI clone",
          "type": "string"
        },
        "dataImportCronSourceFormat": {
          "description": "DataImportCronSourceFormat defines the format of the DataImportCron-created disk image sources",
          "type": "string"
        },
        "provisioner": {
          "description": "The Storage class provisioner plugin name",
          "type": "string"
        },
        "snapshotClass": {
          "description": "SnapshotClass is optional specific VolumeSnapshotClass for CloneStrategySnapshot. If not set, a VolumeSnapshotClass is chosen according to the provisioner.",
          "type": "string"
        },
        "storageClass": {
          "description": "The StorageClass name for which capabilities are defined",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
