Lyo.Validation.Postgres 3.0.0

dotnet add package Lyo.Validation.Postgres --version 3.0.0
                    
NuGet\Install-Package Lyo.Validation.Postgres -Version 3.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lyo.Validation.Postgres" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lyo.Validation.Postgres" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Lyo.Validation.Postgres" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Lyo.Validation.Postgres --version 3.0.0
                    
#r "nuget: Lyo.Validation.Postgres, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Lyo.Validation.Postgres@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lyo.Validation.Postgres&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Lyo.Validation.Postgres&version=3.0.0
                    
Install as a Cake Tool

Lyo.Validation.Postgres

PostgreSQL + EF Core implementation of IValidationSchemaStore. Named validation schemas live in schema validation, table schema, with constraints_json / messages_json as jsonb.

Archetype A (Lyo domain). Hosts expose or fetch ValidationSchema JSON on their own API. This package is the database backend only.

Features

  • PostgresValidationSchemaStore. IValidationSchemaStore backed by IDbContextFactory<ValidationDbContext>.
  • JSONB WhereClause. The same AST query filters use (In, NotIn, Regex, groups).
  • Unique key. key is constrained by ux_validation_schema_key.

Examples

Registration

services.AddPostgresValidationStoreFromConfiguration(configuration);

Database schema

PostgreSQL schema validation. Table schema columns: id, unique key, target_type_name, description, constraints_json (WhereClause), messages_json, timestamps. Migrations history lives in __EFMigrationsHistory in the same schema.

Migrations

At design time set VALIDATION_CONNECTION_STRING and run dotnet ef migrations add MigrationName --project Core/Validation/Lyo.Validation.Postgres --context ValidationDbContext.

Dependencies

Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).

  • Lyo.Exceptions (direct, lyo)
  • Lyo.Json (direct, lyo)
  • Lyo.Postgres (direct, lyo)
  • Lyo.Query.Models (direct, lyo)
  • Lyo.Validation (direct, lyo)
  • Microsoft.EntityFrameworkCore.Design 10.0.5 (direct, microsoft)
  • Microsoft.Extensions.Configuration.Binder 10.0.5 (direct, microsoft)
  • Lyo.Common.Core (transitive, lyo)
  • Lyo.Common.Metadata (transitive, lyo)
  • Lyo.Health (transitive, lyo)
  • Lyo.Metrics (transitive, lyo)
  • Lyo.Parameters (transitive, lyo)
  • Lyo.Query.Evaluation (transitive, lyo)
  • Lyo.Result (transitive, lyo)
  • Lyo.Validation.Models (transitive, lyo)
  • Microsoft.Bcl.AsyncInterfaces 10.0.5 (transitive, microsoft, netstandard2.0)
  • Microsoft.EntityFrameworkCore 10.0.5 (transitive, microsoft)
  • Microsoft.EntityFrameworkCore.Relational 10.0.5 (transitive, microsoft)
  • Microsoft.Extensions.DependencyInjection.Abstractions 10.0.5 (transitive, microsoft)
  • Microsoft.Extensions.Hosting.Abstractions 10.0.5 (transitive, microsoft)
  • Microsoft.Extensions.Options 10.0.5 (transitive, microsoft)
  • Npgsql.EntityFrameworkCore.PostgreSQL 10.0.3 (transitive, third-party)
  • System.ComponentModel.Annotations 5.0.0 (transitive, microsoft)
  • System.Memory 4.6.3 (transitive, microsoft, netstandard2.0)
  • System.Text.Encoding.CodePages 10.0.5 (transitive, microsoft)
  • System.Text.Json 10.0.5 (transitive, microsoft, netstandard2.0)
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Lyo.Validation.Postgres:

Package Downloads
Lyo.Validation.Seed

EF seed of validation schemas.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 66 10/23/2026
2.0.1 117 9/14/2026
2.0.0 117 9/9/2026
1.0.13 129 8/25/2026
1.0.11 124 8/23/2026
1.0.9 118 8/22/2026
1.0.6 120 8/20/2026
1.0.4 125 8/20/2026
1.0.3 114 8/19/2026
1.0.2 114 8/19/2026
1.0.1 114 8/18/2026
1.0.0 122 8/20/2026