{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buildertrend/json-schema/buildertrend-job-create-request-schema.json",
  "title": "JobCreateRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buildertrend-openapi.yml#/components/schemas/JobCreateRequest",
  "type": "object",
  "required": [
    "templateId",
    "name",
    "startDate",
    "jobType"
  ],
  "properties": {
    "templateId": {
      "type": "string",
      "format": "uuid",
      "description": "The `id` of a template from `GET /v1/jobs/templates`."
    },
    "name": {
      "type": "string",
      "maxLength": 50,
      "description": "The new job's name."
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "The projected start date, in the builder's time zone. The template's schedule is moved to start on it."
    },
    "jobType": {
      "type": "string",
      "description": "The job type as Buildertrend names it, e.g. `Kitchen`, `Custom` or `Basement`. Matched ignoring case. An unknown name is a `400` whose message lists the valid ones."
    }
  }
}