pdftract/pdftract-dotnet/src/Pdftract/Models/Classification.cs
jedarden 0932cf1fdc feat(sdks): vendor dotnet/java/node SDKs into the monorepo
Consolidate the .NET, Java, and Node SDKs into root-level pdftract-<lang>/
directories (matching the already-tracked pdftract-go/), per the decision to
make the generated SDKs first-class monorepo members rather than separate repos.
Content imported from the standalone ~/pdftract-<lang> repos (build artifacts
excluded). Removes the broken empty-git nested clones that were polluting the
working tree.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 07:20:19 -04:00

21 lines
548 B
C#

using System.Text.Json.Serialization;
namespace Pdftract.Models;
/// <summary>
/// Represents document classification results.
/// </summary>
public record Classification
{
[JsonPropertyName("category")]
public required string Category { get; init; }
[JsonPropertyName("confidence")]
public required double Confidence { get; init; }
[JsonPropertyName("tags")]
public required List<string> Tags { get; init; }
[JsonPropertyName("heuristics")]
public required Dictionary<string, bool> Heuristics { get; init; }
}