Request body for creating a new template definition. Name is required; all other properties are optional and fall back to repository defaults when omitted.

interface ICreateTemplateRequest {
    color?: LfRepositoryClientV2.LFColor;
    description?: string;
    fields?: LfRepositoryClientV2.TemplateFieldAssignment[];
    isAutoAssignable?: boolean;
    name: string;
}

Implemented by

Properties

The color assigned to the template. Omit (or set null) for no color.

description?: string

The description of the template.

Optional initial field assignments. Order is preserved (each entry is appended in array order; the resulting position is 1-based). Each entry may carry the per-template isRequired and localDescription properties. Note: extended properties (the WebDAV-keyed bag) cannot be set during create because RepositoryAccess does not expose an atomic create-with-properties path for templates. To set initial properties, follow Create with a PATCH /Properties call against the returned template ID.

isAutoAssignable?: boolean

Whether the template is eligible for automatic assignment by Cloud auto-classification. Defaults to false when omitted.

name: string

The name of the template. Required. Must be unique within the repository.