Table of Contents

Class TrustSchema

Namespace
SpecWorks.AiCatalog.Models
Assembly
SpecWorks.AiCatalog.dll

Trust schema defining the trust framework and verification methods.

public sealed class TrustSchema
Inheritance
object
TrustSchema

Properties

ExtensionData

Unknown properties at the object level, preserved for round-trip fidelity.

[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

Dictionary<string, JsonElement>

GovernanceUri

Optional URI to the governance document.

[JsonPropertyName("governanceUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? GovernanceUri { get; set; }

Property Value

string

Identifier

The trust schema identifier (required).

[JsonPropertyName("identifier")]
public string Identifier { get; set; }

Property Value

string

VerificationMethods

Optional list of verification methods (e.g., "did", "x509", "dns-01").

[JsonPropertyName("verificationMethods")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? VerificationMethods { get; set; }

Property Value

List<string>

Version

The trust schema version (required).

[JsonPropertyName("version")]
public string Version { get; set; }

Property Value

string