Skip to content
Alvo is pre-v0.1: the image runs from its edge tag, and no NuGet package or release is published yet.Pre-v0.1: no release yet.Roadmap and status

formats

Reusable named validation formats referenced by field.format (beyond the built-ins email/uri/phone).

Guide: Entities and fields

Reusable named validation formats referenced by field.format (beyond the built-ins email/uri/phone). Declarative and engine-agnostic (works in standalone), enforced by Alvo at the API layer and reflected into the generated OpenAPI as a pattern. For validators a regex cannot express (checksums, external lookups), a host registers an IFieldFormatValidator in embedded mode instead. Key = format name.

  • Type: map of object
  • Required: no
  • Each entry: A reusable validation format defined by a regular expression.
  • Names match ^[a-z][a-z0-9_-]{0,62}$.

Regular expression the field value must match.

  • Type: string
  • Required: yes

Human-readable description of the format (surfaced to agents and in the generated OpenAPI).

  • Type: string
  • Required: no