Skip to content

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 DotBoxD.Kernels.Serialization.Json.JsonImporter.Import(System.String). The plugin package envelope schema lives with the plugin layer in DotBoxD.Plugins.PluginPackageJsonSchemas.

public static class JsonSchemas

objectJsonSchemas

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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 DotBoxD.Kernels.Serialization.Json.Schema.JsonSchemas.SchemaVersion and the v{n} directory segment, and update the schema files alongside the importer/exporter.

JSON Schema document for the Safe IR module envelope (DotBoxD.Kernels.Serialization.Json.JsonImporter.Import(System.String)).

public static string ModuleEnvelope { get; }

string

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; }

string