Use it for
- Python API request and response contracts.
- Partial-update payloads that preserve omitted fields.
- Structured resource models with explicit validation.
Give creation, updates, responses and stored documents their own clear data contract.
Pydantic ModelsRelated models.
Deliberately different responsibilities.
Shared fields and their constraints.
Required input for a new resource.
Optional fields for partial changes.
Public identifiers and timestamps.
A response plus its document type.
A Microsoft-authored skill for Python developers shaping request schemas, response models and database document structures. It provides a reusable template and guidance, rather than a running API.
The original instructions cover camelCase aliases, optional update fields, JSON-safe serialization and schema generation. Adapt the fields to your application's rules.
The resource name, fields, required values, length limits, identifiers and timestamp conventions.
Base, Create, Update, response and InDB classes, with a schema and serialization behavior that can be inspected.
Local test groups passed.
The original template, with documented Project substitutions, was tested for validation, aliases, partial updates, serialization, document shape and schema. This is not an end-to-end agent evaluation.
Use a coding assistant that can read skill files, plus Python and Pydantic v2 to execute generated models. Local model execution needs no Azure account or service API key after dependencies are installed. Your coding assistant may need separate model access and incur its own fees.
Skill version 1.0.0 · Original author: Microsoft · MIT license. The original instructions and template are preserved. Pinned source: 4f831bbbf54e. Validate sensitive data locally according to your own data policy; the skill itself defines no data-retention service.