# io.k8s.api.resource.v1beta2.ResourceClaimTemplateSpec

From **Kubernetes**.

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

- Type: `object`

## Properties

### `metadata`

- Required: false
- Default: `{}`

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.

### `spec`

- Required: false
- Default: `{}`

Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

## JSON Schema

```json
{"description":"ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.","properties":{"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.resource.v1beta2.ResourceClaimSpec"}],"default":{},"description":"Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."}},"type":"object"}
```
