# io.k8s.api.batch.v1.JobTemplateSpec

From **Kubernetes**.

JobTemplateSpec describes the data a Job should have when created from a template

- Type: `object`

## Properties

### `metadata`

- Required: false
- Default: `{}`

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

### `spec`

- Required: false
- Default: `{}`

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

## JSON Schema

```json
{"description":"JobTemplateSpec describes the data a Job should have when created from a template","properties":{"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.batch.v1.JobSpec"}],"default":{},"description":"Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"}},"type":"object"}
```
