ResourceTemplateSchema

Full blueprint for a category of resources.

Usage

Source

ResourceTemplateSchema()

Defines the complete structure of a resource: its type tags, optional parent template, child templates (and their own property groups), and the attribute group templates whose property groups will be instantiated on every resource created from this template.

Attributes: name: Unique human-readable template name. slug: Snake_case identifier derived from name. version: Version string (e.g. "1.0"). types: List of ResourceTypeSchema tags. parent: Reference to the parent template, excluded from serialisation. children: Mapping of child name → child ResourceTemplateSchema for nested resource hierarchies (e.g. wells inside a plate). attribute_group_templates: Property group blueprints that will be instantiated on each ResourceSchema.