FluxFlow.Components.Validation.Composition 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Validation.Composition --version 1.3.0
                    
NuGet\Install-Package FluxFlow.Components.Validation.Composition -Version 1.3.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="FluxFlow.Components.Validation.Composition" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Validation.Composition" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Validation.Composition" />
                    
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 FluxFlow.Components.Validation.Composition --version 1.3.0
                    
#r "nuget: FluxFlow.Components.Validation.Composition, 1.3.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 FluxFlow.Components.Validation.Composition@1.3.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=FluxFlow.Components.Validation.Composition&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Validation.Composition&version=1.3.0
                    
Install as a Cake Tool

FluxFlow.Components.Validation.Composition

Optional FluxFlow.Composition registration helpers for the standalone JSON schema validator node from FluxFlow.Components.Validation.

This package does not scan assemblies, resolve CLR types from strings, watch schema files, or own schema resources. Hosts register closed validator node types explicitly and provide any optional keyed selector or clock services.

Registration

services.AddKeyedSingleton<IJsonSchemaValueSelector<OrderMessage>>(
    "payload",
    new OrderPayloadSelector());

services
    .AddFluxFlowComposition(configuration)
    .RegisterNodes(registry =>
        registry.RegisterJsonSchemaValidator<OrderMessage>());

Use custom node type names when a host needs more than one input shape:

registry
    .RegisterJsonSchemaValidator<OrderMessage>("json.schema-validator.order")
    .RegisterJsonSchemaValidator<HttpMessage>("json.schema-validator.http");

Node Types

Type Node Optional resources Ports
json.schema-validator JsonSchemaValidatorNode<TInput> selector, clock Input, Output, Valid, Invalid

Output emits JsonSchemaValidationResult<TInput>. Valid and Invalid emit the original TInput message with the input correlation id.

selector is an optional keyed IJsonSchemaValueSelector<TInput> resource for selecting the value to validate. clock is an optional keyed TimeProvider resource for deterministic result and diagnostic timestamps.

Configuration

{
  "FluxFlow": {
    "Composition": {
      "workflows": {
        "main": {
          "nodes": {
            "validate-order": {
              "type": "json.schema-validator",
              "resources": {
                "selector": "payload",
                "clock": "fixed"
              },
              "configuration": {
                "schema": {
                  "type": "object",
                  "required": [ "id" ],
                  "properties": {
                    "id": { "type": "string" }
                  }
                },
                "schemaId": "orders",
                "valueSelector": "payload",
                "inputType": "app.order",
                "boundedCapacity": 128
              }
            }
          },
          "links": []
        }
      }
    }
  }
}

schemaPath is also supported and is read during composition build. The node does not perform file I/O or schema compilation in its message pump.

JsonSchemaValidatorOptions.InputType remains diagnostic metadata. The actual composition port type comes from the closed generic registration selected by the host.

Invalid JsonSchemaValidatorOptions, such as blank inputType or non-positive boundedCapacity, fail during composition build and surface as factory diagnostics when build failures are configured as diagnostics.

Design Metadata

ValidationComponentDesignMetadataProvider exposes neutral Designer metadata for the json.schema-validator composition node. Hosts can add it to a ComponentDesignMetadataCatalog to populate palettes, editors, validation views, or generated documentation.

The provider describes node options, ports, option grouping/editor hints, and resource hints for the optional selector and clock resources. Host-owned resource metadata also includes key-pattern hints for selector and clock services. These resources remain host-owned composition resources and are not exposed as editable node options.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0-rc.1 58 9/5/2026
7.0.0-rc.1 71 8/9/2026
6.0.0 103 8/3/2026
1.4.0 129 7/3/2026
1.3.0 120 7/2/2026

Adds richer Designer option hints and host-owned resource key patterns for validation composition metadata while preserving runtime behavior.