Class ModuleManifest
Manifest embedded in a .tpkg package (manifest.json).
Package metadata: Name, Version (informational for logs), EntryPoints, Dependencies.
Module configuration (ContextName, settings) lives in {Name}.config.json.
XML route artifacts (Route-XML Ф5.1) ride in the same package as a third artifact type:
is the explicit ordered list of .route.xml entries,
the in-package directory file-references resolve from, and
the configuration keys the module fails fast on when the
merged context configuration provides no value. All four are optional — a package without
them behaves exactly as before.
public sealed class ModuleManifest
Inheritance
Properties
Artifacts
Explicit ordered list of XML route artifacts inside the package (e.g. "routes/orders.route.xml").
[JsonPropertyName("Artifacts")]
public List<string> Artifacts { get; set; }
Dependencies
[JsonPropertyName("Dependencies")]
public List<string> Dependencies { get; set; }
EntryPoints
[JsonPropertyName("EntryPoints")]
public List<string> EntryPoints { get; set; }
Name
[JsonPropertyName("Name")]
public string Name { get; set; }
RequiredConfigKeys
Configuration keys ({{key}} without a default) the module requires from the merged context configuration.
[JsonPropertyName("RequiredConfigKeys")]
public List<string> RequiredConfigKeys { get; set; }
Resources
In-package directory the artifacts' file references (XSLT, schemas) resolve from.
[JsonPropertyName("Resources")]
public string Resources { get; set; }
SchemaVersion
Route-format version the artifacts were packaged for; the loader refuses a newer one with a clear message.
[JsonPropertyName("SchemaVersion")]
public string? SchemaVersion { get; set; }
Version
[JsonPropertyName("Version")]
public string Version { get; set; }