Skip to content

Schema

Comprehensive schema definition system built on Pydantic that provides data modeling, validation, serialization and JSON schema generation with extensive customization capabilities.

  • Models


    Base model system providing data structure definition, inheritance patterns, and validation with support for discriminated unions and root models through configurable model classes.

    Explore

  • Fields


    Field definition system handling data type validation, computed fields, and field information with comprehensive configuration options for validation, serialization and documentation.

    Explore

  • Aliases


    Aliasing system providing field name transformation with support for validation and serialization aliases through configurable paths and multiple alias choices.

    Explore

  • Miscellaneous


    Additional schema utilities including type adaptation, schema generation helpers and validation tools that enhance the core schema functionality.

    Explore

External references

Pydantic provides the foundation for the schema system with powerful data validation and serialization capabilities that are extended and customized within the framework.

  • Core


    Core schema validation and serialization components implementing data parsing, type coercion and schema generation with extensible validation rules and error handling.

    Explore

  • Decorators


    Decorator system providing field customization, validation rules and computed field definitions with metadata handling and inheritance support.

    Explore