Base Models & Structures

This module provides foundation classes for data representation, ensuring consistent camelCase naming for frontend integration across both msgspec and Pydantic.

Msgspec Structures

High-performance structures for efficient serialization.

class BaseStruct[source]

Bases: Struct

Base msgspec structure for API responses.

class CamelizedBaseStruct[source]

Bases: BaseStruct

Camelized base msgspec structure for frontend responses.

Pydantic Schemas

Validation-ready schemas for request parsing and complex data logic.

class CamelizedBaseSchema[source]

Bases: BaseModel

Camelized Base pydantic schema.