ProductTemplateState
A reusable product template that can be instantiated into jobs
Fields
Unique identifier
Tenant ID
Template display name
Template description
SKU or catalogue code
Whether available for instantiation
Current version number
Lifecycle status
Possible values (2)
DRAFTUnpublished changes — cannot be instantiated
PUBLISHEDPublished and ready for instantiation
Most recently published version
Category for catalogue organisation
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Optional inkjet flatwork format: standard or wide_format
Optional inkjet flatwork feed: sheet or roll
Optional inkjet flatwork curing: aqueous or uv_led
Preferred print process used by operation inference
Ordered component specifications
Top-level operation specifications with global dependency graph
JSONSchema defining customer-facing configuration options
Referenced by (4)
Exact type SDL
"""A reusable product template that can be instantiated into jobs"""
type ProductTemplateState @iac_resource(name: "product_template") @iac_guide(ref: "product-template-guide") @iac_ops(create: "createProductTemplate", read: "getProductTemplate", update: "updateProductTemplate", delete: "deleteProductTemplate") {
"""Unique identifier"""
id: ProductTemplateID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Tenant ID"""
tenantId: TenantID! @iac_computed
"""Template display name"""
name: String!
"""Template description"""
description: String
"""SKU or catalogue code"""
sku: String
"""Whether available for instantiation"""
isActive: Boolean!
"""Current version number"""
version: Int! @iac_computed
"""Lifecycle status"""
status: TemplateStatus! @iac_computed
"""Most recently published version"""
publishedVersion: Int @iac_computed
"""Free-form tags"""
tags: [String!]
"""Category for catalogue organisation"""
category: String
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
"""Optional inkjet flatwork format: standard or wide_format"""
printFormat: String
"""Optional inkjet flatwork feed: sheet or roll"""
feedType: String
"""Optional inkjet flatwork curing: aqueous or uv_led"""
curingMethod: String
"""Preferred print process used by operation inference"""
preferredPrintProcess: String
"""Ordered component specifications"""
components: [TemplateComponentSpec!]!
"""Top-level operation specifications with global dependency graph"""
operations: [TemplateOperationSpec!]!
"""JSONSchema defining customer-facing configuration options"""
configSchema: JSON
}