Skip to content

Custom Templates

albert.resources.custom_templates

Attributes:

Name Type Description
CustomTemplateData
ACLEntry

CustomTemplateData

CustomTemplateData = Annotated[
    _CustomTemplateDataUnion,
    Field(discriminator="category"),
]

ACLEntry

ACLEntry = Annotated[
    TeamACL | OwnerACL | MemberACL | ViewerACL,
    Field(discriminator="type"),
]

DataTemplateInventory

Bases: EntityLink

Attributes:

Name Type Description
batch_size float | None
sheet list[Sheet | EntityLink] | None
category InventoryCategory | None

batch_size

batch_size: float | None = Field(
    default=None, alias="batchSize"
)

sheet

sheet: list[Sheet | EntityLink] | None = Field(default=None)

category

category: InventoryCategory | None = Field(default=None)

Bases: EntityLink

Attributes:

Name Type Description
type DesignType

type

type: DesignType

TemplateCategory

Bases: str, Enum

Attributes:

Name Type Description
PROPERTY_LIST
PROPERTY
BATCH
SHEET
NOTEBOOK
GENERAL
QC_BATCH

PROPERTY_LIST

PROPERTY_LIST = 'Property Task'

PROPERTY

PROPERTY = 'Property'

BATCH

BATCH = 'Batch'

SHEET

SHEET = 'Sheet'

NOTEBOOK

NOTEBOOK = 'Notebook'

GENERAL

GENERAL = 'General'

QC_BATCH

QC_BATCH = 'BatchWithQC'

Priority

Bases: str, Enum

Attributes:

Name Type Description
LOW
MEDIUM
HIGH

LOW

LOW = 'Low'

MEDIUM

MEDIUM = 'Medium'

HIGH

HIGH = 'High'

GeneralData

Bases: BaseTaggedResource

Attributes:

Name Type Description
category Literal[GENERAL]
name str | None
project SerializeAsEntityLink[Project] | None
location SerializeAsEntityLink[Location] | None
assigned_to SerializeAsEntityLink[User] | None
notebook_id NotebookId | None
priority Priority | None
sources list[TaskSource] | None
parent_id str | None

category

category: Literal[GENERAL] = GENERAL

name

name: str | None = Field(default=None)

project

project: SerializeAsEntityLink[Project] | None = Field(
    alias="Project", default=None
)

location

location: SerializeAsEntityLink[Location] | None = Field(
    alias="Location", default=None
)

assigned_to

assigned_to: SerializeAsEntityLink[User] | None = Field(
    alias="AssignedTo", default=None
)

notebook_id

notebook_id: NotebookId | None = Field(
    alias="notebookId", default=None
)

priority

priority: Priority | None = Field(default=None)

sources

sources: list[TaskSource] | None = Field(
    alias="Sources", default=None
)

parent_id

parent_id: str | None = Field(
    alias="parentId", default=None
)

JobStatus

Bases: str, Enum

Attributes:

Name Type Description
ACTIVE
INACTIVE
QUEUED

ACTIVE

ACTIVE = 'active'

INACTIVE

INACTIVE = 'inactive'

QUEUED

QUEUED = 'queued'

SamInput

Bases: BaseResource

Attributes:

Name Type Description
value str | None
unit str | None
name str

value

value: str | None = Field(alias='Value', default=None)

unit

unit: str | None = Field(alias='Unit', default=None)

name

name: str = Field(alias='Name')

SamConfig

Bases: BaseResource

Attributes:

Name Type Description
configuration_name str
configurationId str
machineId str | None
input list[SamInput] | None
job_status JobStatus | None

configuration_name

configuration_name: str = Field(alias='configurationName')

configurationId

configurationId: str

machineId

machineId: str | None = Field(default=None)

input

input: list[SamInput] | None = Field(default=None)

job_status

job_status: JobStatus | None = Field(
    default=None, alias="status"
)

Workflow

Bases: BaseResource

Attributes:

Name Type Description
id str
name str
sam_config list[SamConfig] | None

id

id: str

name

name: str

sam_config

sam_config: list[SamConfig] | None = Field(
    default=None, alias="SamConfig"
)

Block

Bases: BaseTaggedResource

Attributes:

Name Type Description
workflow list[Workflow]
datatemplate list[EntityLink] | None

workflow

workflow: list[Workflow] = Field(
    default=None, alias="Workflow"
)

datatemplate

datatemplate: list[EntityLink] | None = Field(
    default=None, alias="Datatemplate"
)

QCBatchData

Bases: BaseTaggedResource

Attributes:

Name Type Description
category Literal[QC_BATCH]
project SerializeAsEntityLink[Project] | None
inventories list[DataTemplateInventory] | None
workflow list[EntityLink]
location SerializeAsEntityLink[Location] | None
batch_size_unit str | None
batch_size str | None
priority Priority
name str | None

category

category: Literal[QC_BATCH] = QC_BATCH

project

project: SerializeAsEntityLink[Project] | None = Field(
    alias="Project", default=None
)

inventories

inventories: list[DataTemplateInventory] | None = Field(
    default=None, alias="Inventories"
)

workflow

workflow: list[EntityLink] = Field(
    default=None, alias="Workflow"
)

location

location: SerializeAsEntityLink[Location] | None = Field(
    alias="Location", default=None
)

batch_size_unit

batch_size_unit: str | None = Field(
    alias="batchSizeUnit", default=None
)

batch_size

batch_size: str | None = Field(
    alias="batchSize", default=None
)

priority

priority: Priority

name

name: str | None = Field(default=None)

BatchData

Bases: BaseTaggedResource

Attributes:

Name Type Description
name str | None
category Literal[BATCH]
assigned_to SerializeAsEntityLink[User] | None
project SerializeAsEntityLink[Project] | None
location SerializeAsEntityLink[Location] | None
batch_size_unit str
inventories list[DataTemplateInventory] | None
priority Priority
workflow list[EntityLink]

name

name: str | None = Field(default=None)

category

category: Literal[BATCH] = BATCH

assigned_to

assigned_to: SerializeAsEntityLink[User] | None = Field(
    alias="AssignedTo", default=None
)

project

project: SerializeAsEntityLink[Project] | None = Field(
    alias="Project", default=None
)

location

location: SerializeAsEntityLink[Location] | None = Field(
    alias="Location", default=None
)

batch_size_unit

batch_size_unit: str = Field(
    alias="batchSizeUnit", default=None
)

inventories

inventories: list[DataTemplateInventory] | None = Field(
    default=None, alias="Inventories"
)

priority

priority: Priority

workflow

workflow: list[EntityLink] = Field(
    default=None, alias="Workflow"
)

PropertyData

Bases: BaseTaggedResource

Attributes:

Name Type Description
category Literal[PROPERTY]
name str | None
blocks list[Block]
priority Priority
location SerializeAsEntityLink[Location] | None
assigned_to SerializeAsEntityLink[User] | None
project SerializeAsEntityLink[Project] | None
inventories list[DataTemplateInventory] | None
due_date str | None

category

category: Literal[PROPERTY] = PROPERTY

name

name: str | None = Field(default=None)

blocks

blocks: list[Block] = Field(
    default_factory=list, alias="Blocks"
)

priority

priority: Priority

location

location: SerializeAsEntityLink[Location] | None = Field(
    alias="Location", default=None
)

assigned_to

assigned_to: SerializeAsEntityLink[User] | None = Field(
    alias="AssignedTo", default=None
)

project

project: SerializeAsEntityLink[Project] | None = Field(
    alias="Project", default=None
)

inventories

inventories: list[DataTemplateInventory] | None = Field(
    default=None, alias="Inventories"
)

due_date

due_date: str | None = Field(alias='dueDate', default=None)

SheetData

Bases: BaseTaggedResource

Attributes:

Name Type Description
category Literal[SHEET]
designs list[DesignLink]
formula_info list
task_rows list[EntityLink]

category

category: Literal[SHEET] = SHEET

designs

designs: list[DesignLink] = Field(
    default=None, alias="Designs"
)

formula_info

formula_info: list = Field(
    default_factory=list, alias="FormulaInfo"
)

task_rows

task_rows: list[EntityLink] = Field(
    default_factory=list, alias="TaskRows"
)

NotebookData

Bases: BaseTaggedResource

Attributes:

Name Type Description
category Literal[NOTEBOOK]

category

category: Literal[NOTEBOOK] = NOTEBOOK

ACLType

Bases: str, Enum

Attributes:

Name Type Description
TEAM
MEMBER
OWNER
VIEWER

TEAM

TEAM = 'team'

MEMBER

MEMBER = 'member'

OWNER

OWNER = 'owner'

VIEWER

VIEWER = 'viewer'

TeamACL

Bases: ACL

Show JSON schema:
{
  "$defs": {
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "description": "The id of the user for which this ACL applies",
      "title": "Id",
      "type": "string"
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The Fine-Grain Control Level"
    },
    "type": {
      "const": "team",
      "default": "team",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "title": "TeamACL",
  "type": "object"
}

Fields:

type

type: Literal[TEAM] = TEAM

OwnerACL

Bases: ACL

Show JSON schema:
{
  "$defs": {
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "description": "The id of the user for which this ACL applies",
      "title": "Id",
      "type": "string"
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The Fine-Grain Control Level"
    },
    "type": {
      "const": "owner",
      "default": "owner",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "title": "OwnerACL",
  "type": "object"
}

Fields:

type

type: Literal[OWNER] = OWNER

MemberACL

Bases: ACL

Show JSON schema:
{
  "$defs": {
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "description": "The id of the user for which this ACL applies",
      "title": "Id",
      "type": "string"
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The Fine-Grain Control Level"
    },
    "type": {
      "const": "member",
      "default": "member",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "title": "MemberACL",
  "type": "object"
}

Fields:

type

ViewerACL

Bases: ACL

Show JSON schema:
{
  "$defs": {
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "description": "The id of the user for which this ACL applies",
      "title": "Id",
      "type": "string"
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The Fine-Grain Control Level"
    },
    "type": {
      "const": "viewer",
      "default": "viewer",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "title": "ViewerACL",
  "type": "object"
}

Fields:

type

TemplateACL

Bases: BaseResource

Attributes:

Name Type Description
fgclist list[ACLEntry]
acl_class str | None

fgclist

fgclist: list[ACLEntry] = Field(default=None)

acl_class

acl_class: str | None = Field(default=None, alias='class')

CustomTemplate

Bases: BaseTaggedResource

A custom template entity.

Attributes:

Name Type Description
name str

The name of the template.

id str

The Albert ID of the template. Set when the template is retrieved from Albert.

category TemplateCategory

The category of the template. Allowed values are Property Task, Property, Batch, Sheet, Notebook, and General.

metadata Dict[str, str | List[EntityLink] | EntityLink] | None

The metadata of the template. Allowed Metadata fields can be found using Custim Fields.

data CustomTemplateData | None

The data of the template.

team List[TeamACL] | None

The team of the template.

acl TemplateACL | None

Methods:

Name Description
add_missing_category

Initialize private attributes from the incoming data dictionary before the model is fully constructed.

name

name: str

id

id: str = Field(alias='albertId')

category

category: TemplateCategory = Field(default=GENERAL)

metadata

metadata: dict[str, MetadataItem] | None = Field(
    default=None, alias="Metadata"
)

data

data: CustomTemplateData | None = Field(
    default=None, alias="Data"
)

team

team: list[TeamACL] | None = Field(default_factory=list)

acl

acl: TemplateACL | None = Field(
    default_factory=list, alias="ACL"
)

add_missing_category

add_missing_category(
    data: dict[str, Any],
) -> dict[str, Any]

Initialize private attributes from the incoming data dictionary before the model is fully constructed.

Source code in src/albert/resources/custom_templates.py
@model_validator(mode="before")  # Must happen before construction so the data are captured
@classmethod
def add_missing_category(cls, data: dict[str, Any]) -> dict[str, Any]:
    """
    Initialize private attributes from the incoming data dictionary before the model is fully constructed.
    """

    if "Data" in data and "category" in data and "category" not in data["Data"]:
        data["Data"]["category"] = data["category"]
    return data

CustomTemplateSearchItemData

Bases: BaseAlbertModel

Show JSON schema:
{
  "$defs": {
    "DesignLink": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "type": {
          "$ref": "#/$defs/DesignType"
        }
      },
      "required": [
        "id",
        "type"
      ],
      "title": "DesignLink",
      "type": "object"
    },
    "DesignType": {
      "description": "The type of Design",
      "enum": [
        "apps",
        "products",
        "results",
        "process"
      ],
      "title": "DesignType",
      "type": "string"
    },
    "EntityLink": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        }
      },
      "required": [
        "id"
      ],
      "title": "EntityLink",
      "type": "object"
    }
  },
  "properties": {
    "Designs": {
      "default": null,
      "items": {
        "$ref": "#/$defs/DesignLink"
      },
      "title": "Designs",
      "type": "array"
    },
    "FormulaInfo": {
      "items": {},
      "title": "Formulainfo",
      "type": "array"
    },
    "TaskRows": {
      "items": {
        "$ref": "#/$defs/EntityLink"
      },
      "title": "Taskrows",
      "type": "array"
    }
  },
  "title": "CustomTemplateSearchItemData",
  "type": "object"
}

Fields:

designs

designs: list[DesignLink] = None

formula_info

formula_info: list

task_rows

task_rows: list[EntityLink]

CustomTemplateSearchItemACL

Bases: ACL

Show JSON schema:
{
  "$defs": {
    "ACLType": {
      "enum": [
        "team",
        "member",
        "owner",
        "viewer"
      ],
      "title": "ACLType",
      "type": "string"
    },
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    },
    "UserClass": {
      "description": "The ACL class level of the user",
      "enum": [
        "guest",
        "standard",
        "trusted",
        "privileged",
        "admin"
      ],
      "title": "UserClass",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "description": "The id of the user for which this ACL applies",
      "title": "Id",
      "type": "string"
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The Fine-Grain Control Level"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name"
    },
    "userType": {
      "anyOf": [
        {
          "$ref": "#/$defs/UserClass"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "type": {
      "$ref": "#/$defs/ACLType"
    }
  },
  "required": [
    "id",
    "type"
  ],
  "title": "CustomTemplateSearchItemACL",
  "type": "object"
}

Fields:

name

name: str | None = None

user_type

user_type: UserClass | None = None

type

type: ACLType

CustomTemplateSearchItemTeam

Bases: BaseAlbertModel

Show JSON schema:
{
  "$defs": {
    "ACLType": {
      "enum": [
        "team",
        "member",
        "owner",
        "viewer"
      ],
      "title": "ACLType",
      "type": "string"
    },
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    }
  },
  "properties": {
    "id": {
      "title": "Id",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "type": {
      "anyOf": [
        {
          "$ref": "#/$defs/ACLType"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "fgc": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControlLevel"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "id",
    "name"
  ],
  "title": "CustomTemplateSearchItemTeam",
  "type": "object"
}

Fields:

id

id: str

name

name: str

type

type: ACLType | None = None

fgc

fgc: AccessControlLevel | None = None

CustomTemplateSearchItem

Bases: BaseAlbertModel, HydrationMixin[CustomTemplate]

Show JSON schema:
{
  "$defs": {
    "ACLType": {
      "enum": [
        "team",
        "member",
        "owner",
        "viewer"
      ],
      "title": "ACLType",
      "type": "string"
    },
    "AccessControlLevel": {
      "description": "The fine grain control",
      "enum": [
        "ProjectOwner",
        "ProjectEditor",
        "ProjectViewer",
        "ProjectAllTask",
        "ProjectPropertyTask",
        "InventoryOwner",
        "InventoryViewer",
        "CustomTemplateOwner",
        "CustomTemplateViewer"
      ],
      "title": "AccessControlLevel",
      "type": "string"
    },
    "CustomTemplateSearchItemACL": {
      "properties": {
        "id": {
          "description": "The id of the user for which this ACL applies",
          "title": "Id",
          "type": "string"
        },
        "fgc": {
          "anyOf": [
            {
              "$ref": "#/$defs/AccessControlLevel"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The Fine-Grain Control Level"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "userType": {
          "anyOf": [
            {
              "$ref": "#/$defs/UserClass"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "type": {
          "$ref": "#/$defs/ACLType"
        }
      },
      "required": [
        "id",
        "type"
      ],
      "title": "CustomTemplateSearchItemACL",
      "type": "object"
    },
    "CustomTemplateSearchItemData": {
      "properties": {
        "Designs": {
          "default": null,
          "items": {
            "$ref": "#/$defs/DesignLink"
          },
          "title": "Designs",
          "type": "array"
        },
        "FormulaInfo": {
          "items": {},
          "title": "Formulainfo",
          "type": "array"
        },
        "TaskRows": {
          "items": {
            "$ref": "#/$defs/EntityLink"
          },
          "title": "Taskrows",
          "type": "array"
        }
      },
      "title": "CustomTemplateSearchItemData",
      "type": "object"
    },
    "CustomTemplateSearchItemTeam": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/ACLType"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "fgc": {
          "anyOf": [
            {
              "$ref": "#/$defs/AccessControlLevel"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "name"
      ],
      "title": "CustomTemplateSearchItemTeam",
      "type": "object"
    },
    "DesignLink": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "type": {
          "$ref": "#/$defs/DesignType"
        }
      },
      "required": [
        "id",
        "type"
      ],
      "title": "DesignLink",
      "type": "object"
    },
    "DesignType": {
      "description": "The type of Design",
      "enum": [
        "apps",
        "products",
        "results",
        "process"
      ],
      "title": "DesignType",
      "type": "string"
    },
    "EntityLink": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        }
      },
      "required": [
        "id"
      ],
      "title": "EntityLink",
      "type": "object"
    },
    "SecurityClass": {
      "description": "The security class of a resource",
      "enum": [
        "shared",
        "restricted",
        "confidential",
        "private"
      ],
      "title": "SecurityClass",
      "type": "string"
    },
    "Status": {
      "description": "The status of a resource",
      "enum": [
        "active",
        "inactive"
      ],
      "title": "Status",
      "type": "string"
    },
    "UserClass": {
      "description": "The ACL class level of the user",
      "enum": [
        "guest",
        "standard",
        "trusted",
        "privileged",
        "admin"
      ],
      "title": "UserClass",
      "type": "string"
    }
  },
  "properties": {
    "name": {
      "title": "Name",
      "type": "string"
    },
    "albertId": {
      "title": "Albertid",
      "type": "string"
    },
    "createdByName": {
      "title": "Createdbyname",
      "type": "string"
    },
    "createdAt": {
      "title": "Createdat",
      "type": "string"
    },
    "category": {
      "title": "Category",
      "type": "string"
    },
    "status": {
      "anyOf": [
        {
          "$ref": "#/$defs/Status"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "resourceClass": {
      "anyOf": [
        {
          "$ref": "#/$defs/SecurityClass"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/CustomTemplateSearchItemData"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "acl": {
      "items": {
        "$ref": "#/$defs/CustomTemplateSearchItemACL"
      },
      "title": "Acl",
      "type": "array"
    },
    "team": {
      "items": {
        "$ref": "#/$defs/CustomTemplateSearchItemTeam"
      },
      "title": "Team",
      "type": "array"
    }
  },
  "required": [
    "name",
    "albertId",
    "createdByName",
    "createdAt",
    "category",
    "acl",
    "team"
  ],
  "title": "CustomTemplateSearchItem",
  "type": "object"
}

Fields:

name

name: str

id

id: str

created_by_name

created_by_name: str

created_at

created_at: str

category

category: str

status

status: Status | None = None

resource_class

resource_class: SecurityClass | None = None

data

data: CustomTemplateSearchItemData | None = None