Spdx.Compliance
0.1.0
See the version list below for details.
dotnet add package Spdx.Compliance --version 0.1.0
NuGet\Install-Package Spdx.Compliance -Version 0.1.0
<PackageReference Include="Spdx.Compliance" Version="0.1.0" />
<PackageVersion Include="Spdx.Compliance" Version="0.1.0" />
<PackageReference Include="Spdx.Compliance" />
paket add Spdx.Compliance --version 0.1.0
#r "nuget: Spdx.Compliance, 0.1.0"
#:package Spdx.Compliance@0.1.0
#addin nuget:?package=Spdx.Compliance&version=0.1.0
#tool nuget:?package=Spdx.Compliance&version=0.1.0
Spdx.Compliance
Spdx.Compliance is an offline .NET 10 library for evaluating SPDX license fields and CycloneDX 1.6 component occurrences against a caller-supplied distribution policy.
dotnet add package Spdx.Compliance --version 0.1.0
- Load a versioned JSON policy with
CompliancePolicy.Load. An optional correction catalog must match the SHA-256 recorded in that policy. - Call
ComplianceEngine.Evaluatefor one field, with optional SPDX document scope, recorded choices for independent and nested ORs, and delivery evidence. - Call
CycloneDxComplianceAnalyzer.Analyzefor a CycloneDX 1.6 JSON stream. Inspect each occurrence's decision, declared and observed licenses, and independent correction finding. - Call
GetActionSummary()on either evaluation to see current choices and evidence checks, plus branch conditions for eligible routes.
A verified correction confirms the expected supplier statement. Distribution depends on the applicable policy rules and evidence. A complete document report describes the evaluated occurrences and does not issue a release approval.
The package depends on Spdx.Expressions and NuGet.Versioning. All policy data and evidence are supplied by
the application. Evaluation performs no network or filesystem access.
See the policy schema, API and runnable example for 0.1.0 in the source repository.
| Product | Versions 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. |
-
net10.0
- NuGet.Versioning (>= 7.9.0)
- Spdx.Expressions (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.