Skip to content
CAI
Produce a survey ↗Verify a survey

altasoft/DomainPrimitives

This system is a .NET library and source generator framework for implementing domain primitives, which are strongly-typed value objects that enforce business rules and validation constraints. It provides a comprehensive infrastructure for defining these types, including automatic code generation, JSON/XML serialization support, and OpenAPI/Swagger integration. The library includes a set of pre-built domain primitives for common data formats and allows developers to create custom types with declarative attributes.

57.1

Adequate · 3 August 2026

4.6k

lines of production code

C#

primary language

1

bus factor · 5 authors in all

2

measurements over time

CAI band scale
CAI trend line

How it got here

2024 · Domain primitives implementation and tooling

The project established a comprehensive domain primitives library and its accompanying source generator, enabling automatic code generation for strongly-typed value objects. This period focused on implementing validation, serialization, and OpenAPI/Swagger integration for these primitives, supported by a robust test suite and example applications.

16 changes

2025–2026 · Domain primitives and OpenAPI integration

This period focused on expanding test coverage for domain primitives and serialization formats, while introducing OpenAPI schema transformers to automatically map these types to OpenAPI documentation. The work ensured that domain-specific types, including dates and strings, were properly validated, serialized, and documented.

4 changes

CAI lens gauges

Survey your own repository

altasoft/DomainPrimitives was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit f92c3b44f5 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards