Table of Contents

Class JsonSchemas

Namespace
DotBoxD.Kernels.Serialization.Json.Schema
Assembly
DotBoxD.Kernels.Serialization.Json.dll

Exposes the versioned, machine-readable JSON Schema artifact that describes the public Safe IR module ingestion envelope accepted by Import(string). The plugin package envelope schema lives with the plugin layer in DotBoxD.Plugins.PluginPackageJsonSchemas.

public static class JsonSchemas
Inheritance
JsonSchemas
Inherited Members

Remarks

The schema is checked into schemas/v1/ and embedded into this assembly so consumers (admin UIs, upload validators, package tooling) can validate JSON before sending it to a server without inferring the contract from importer source. The schema is kept in sync with the importer's strict shape by the CMP-0012 drift test. When the JSON contract changes, bump SchemaVersion and the v{n} directory segment, and update the schema files alongside the importer/exporter.

Properties

ModuleEnvelope

JSON Schema document for the Safe IR module envelope (Import(string)).

public static string ModuleEnvelope { get; }

Property Value

string

SchemaVersion

Version of the JSON ingestion schema contract. Matches the v1 directory segment and the x-dotboxd-schema-version field embedded in each schema document.

public static string SchemaVersion { get; }

Property Value

string