REQ-SELF-PYDANTIC-001 pass blocking since 0.1.0
Statement: All core models shall use Pydantic v2 BaseModel with full type annotations.
Rationale: Type-safe data models are the foundation of the vnvspec API.
Verification Method: test
Last Checked: 2026-04-17 18:13 UTC
Acceptance Criteria
- Every model class inherits from pydantic.BaseModel.
- model_validate() and model_dump_json() round-trip without data loss.
Evidence
| ID | Kind | Verdict | Observed | Details |
|---|---|---|---|---|
| EV-PYTEST-0019 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/test_self_spec.py::TestPydanticModels::test_spec_round_trip, test_name: test_spec_round_trip |
| EV-PYTEST-0018 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/test_self_spec.py::TestPydanticModels::test_evidence_round_trip, test_name: test_evidence_round_trip |