{
  "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": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.2/_definitions.json#/definitions/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": "http://json-schema.org/schema#"
}