{
  "description": "ResourceClaimSpec defines how a resource is to be allocated.",
  "properties": {
    "allocationMode": {
      "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.",
      "type": [
        "string",
        "null"
      ]
    },
    "parametersRef": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference",
      "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim."
    },
    "resourceClassName": {
      "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "resourceClassName"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/resourceclaimspec/resource/v1alpha2"
}