## AttributeTemplateSchema


Persisted blueprint for a single typed attribute.


Usage

``` python
AttributeTemplateSchema()
```


An [AttributeTemplateSchema](AttributeTemplateSchema.md#recap.AttributeTemplateSchema) belongs to an [AttributeGroupTemplateSchema](AttributeGroupTemplateSchema.md#recap.AttributeGroupTemplateSchema) and defines the name, type, default value, optional unit, and optional validation metadata for one data field.

Attributes: name: Human-readable attribute name (may contain spaces or mixed case). slug: Snake_case identifier derived from *name*, used for Python attribute access (e.g. `prop.values.catalog_id`). value_type: One of the `~recap.schemas.attribute.TypeName` literals -- `"int"`, `"float"`, `"bool"`, `"str"`, `"datetime"`, `"array"`, or `"enum"`. unit: Physical unit string (e.g. `"uL"`), or `None` when the attribute is dimensionless. default_value: The value stored when a resource is instantiated without an explicit override. metadata: Optional dict carrying extra validation hints:

        - ``min`` / ``max`` -- numeric bounds for ``int`` and ``float``.
        - ``choices`` -- list of allowed strings for ``enum``.
