Table of Contents

Class StateBackendResponseMapping

Namespace
SEBT.Portal.Core.StateBackends.Configuration.Operations
Assembly
SEBT.Portal.Core.dll

Maps a state backend's raw JSON response into canonical domain types.

public sealed record StateBackendResponseMapping
Inheritance
object
StateBackendResponseMapping

Properties

CaseId

Optional composition of the case's opaque caseId token; a later write decodes it to recover routing fields.

public CaseIdComposition? CaseId { get; init; }

Property Value

CaseIdComposition

Disaggregation

Optional strategy for grouping records into applications and deciding case inclusion.

public StateBackendDisaggregation? Disaggregation { get; init; }

Property Value

StateBackendDisaggregation

Fields

Canonical field name → how to pull and coerce it from the record selected by Root.

public required Dictionary<string, FieldMapping> Fields { get; init; }

Property Value

Dictionary<string, FieldMapping>

MailingAddress

Optional source properties for the case mailing address, also copied to the household when it has none yet.

public MailingAddressMapping? MailingAddress { get; init; }

Property Value

MailingAddressMapping

Root

Path to the array of records within the raw response.

public required string Root { get; init; }

Property Value

string