TemplateComponentSpec
Component specification within a product template
Fields
Stable local identifier referenced by operations
Component kind
Possible values (9)
CONTENTGeneral content pages
COVERCover component
INSERTBound-in insert
MAINMain component of a single-component job
TEXTText block pages
DUST_JACKETDust jacket wrapper for case-bound books
ENDPAPEREndpapers/pastedowns
OUTSERTOutsert/wrap-around component
OTHERUncategorized component
Default component name
Default quantity when instantiated
Minimum allowed quantity (storefront hint)
Maximum allowed quantity (storefront hint)
Quantity step increment (storefront hint)
Expected page count for this component
Acceptable media families; instantiation picks one by localId
Print sides
Possible values (3)
ONE_SIDEDSingle-sided printing
TWO_SIDED_HEAD_TO_HEADDuplex, same orientation both sides
TWO_SIDED_HEAD_TO_FOOTDuplex, tumbled (rotated 180°) on back
Spread type
Possible values (3)
SINGLE_PAGEEach page is a separate PDF page
READER_SPREADPages arranged as reader spreads
PRINTER_SPREADPages arranged as printer spreads (imposed)
Finished (trimmed) dimensions
Default colour specification
Default piece geometry
Default finishing specification
Exact type SDL
"""Component specification within a product template"""
type TemplateComponentSpec {
"""Stable local identifier referenced by operations"""
localId: String!
"""Component kind"""
kind: ComponentKind!
"""Default component name"""
name: String!
"""Default quantity when instantiated"""
defaultQuantity: Int!
"""Minimum allowed quantity (storefront hint)"""
minQuantity: Int
"""Maximum allowed quantity (storefront hint)"""
maxQuantity: Int
"""Quantity step increment (storefront hint)"""
quantityStep: Int
"""Expected page count for this component"""
totalPages: Int
"""Acceptable media families; instantiation picks one by localId"""
mediaSelectors: [MediaSelector!]
"""Print sides"""
sides: PrintSides
"""Spread type"""
spreadType: SpreadType
"""Finished (trimmed) dimensions"""
finishedDimensions: LayoutDimension
"""Default colour specification"""
colors: ComponentColorInfo
"""Default piece geometry"""
layout: ComponentLayout
"""Default finishing specification"""
finishing: FinishingSpec
}