Table of Contents

Class AiCatalog

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

Top-level AI Catalog document containing entries and optional host and metadata. Maps to the root object of an application/ai-catalog+json document.

public sealed class AiCatalog
Inheritance
object
AiCatalog

Properties

Entries

The list of catalog entries describing AI artifacts.

[JsonPropertyName("entries")]
public List<CatalogEntry> Entries { get; set; }

Property Value

List<CatalogEntry>

ExtensionData

Unknown properties preserved for forward compatibility (MUST ignore per VH-2).

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

Property Value

Dictionary<string, JsonElement>

Host

Optional host information for the catalog operator.

[JsonPropertyName("host")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HostInfo? Host { get; set; }

Property Value

HostInfo

Metadata

Optional open metadata map for extension data.

[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JsonElement? Metadata { get; set; }

Property Value

JsonElement?

SpecVersion

The specification version of this catalog (e.g., "1.0").

[JsonPropertyName("specVersion")]
public string SpecVersion { get; set; }

Property Value

string