Table of Contents

Class GovernanceEmissionPayload

Namespace
AsiBackbone.Core.Emissions
Assembly
AsiBackbone.Core.dll

Describes a minimized provider-neutral payload associated with a governance emission envelope.

public sealed class GovernanceEmissionPayload
Inheritance
GovernanceEmissionPayload
Inherited Members

Remarks

This type intentionally describes payload identity, shape, and safe diagnostics. It does not require raw protected content, provider SDK payloads, or cloud-specific envelopes.

Properties

ContentHash

Gets a hash of the payload content, when available.

public string? ContentHash { get; }

Property Value

string

ContentType

Gets the payload content type, when available.

public string? ContentType { get; }

Property Value

string

HasMetadata

Gets a value indicating whether payload metadata is present.

public bool HasMetadata { get; }

Property Value

bool

Metadata

Gets minimized provider-neutral payload metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

Property Value

IReadOnlyDictionary<string, string>

PayloadType

Gets the provider-neutral payload type.

public string PayloadType { get; }

Property Value

string

SchemaVersion

Gets the payload schema version, when available.

public string? SchemaVersion { get; }

Property Value

string

SizeBytes

Gets the payload size in bytes, when available.

public long? SizeBytes { get; }

Property Value

long?

Methods

Create(string, string?, string?, string?, long?, IReadOnlyDictionary<string, string>?)

Creates a minimized provider-neutral payload descriptor.

public static GovernanceEmissionPayload Create(string payloadType, string? schemaVersion = null, string? contentType = null, string? contentHash = null, long? sizeBytes = null, IReadOnlyDictionary<string, string>? metadata = null)

Parameters

payloadType string
schemaVersion string
contentType string
contentHash string
sizeBytes long?
metadata IReadOnlyDictionary<string, string>

Returns

GovernanceEmissionPayload