Table of Contents

Class ProvenanceLink

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

A provenance link describing lineage and origin of an artifact.

public sealed class ProvenanceLink
Inheritance
object
ProvenanceLink

Properties

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

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

Property Value

Dictionary<string, JsonElement>

Optional registry URI.

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

Property Value

string

The relation type (e.g., "publishedFrom", "derivedFrom") (required).

[JsonPropertyName("relation")]
public string Relation { get; set; }

Property Value

string

Optional signature reference.

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

Property Value

string

Optional digest of the source.

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

Property Value

string

The source identifier (required).

[JsonPropertyName("sourceId")]
public string SourceId { get; set; }

Property Value

string

Optional statement URI.

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

Property Value

string