Add governed Dataflow audience outputs

This commit is contained in:
2026-07-31 21:00:02 +02:00
parent 8724591bf9
commit cef2ba9482
12 changed files with 1226 additions and 6 deletions
@@ -0,0 +1,149 @@
[
{
"recipient_key": "identity:alice",
"display_name": "Alice Example",
"identity_id": "identity-alice",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "monthly-notice",
"effective": true,
"effective_from": "2025-01-01",
"effective_until": null,
"preferred_target": "alice@example.test",
"preferred_contact_point_id": "contact-email-alice",
"preferred_channel": "email",
"fallback_target": "Example Street 1, 10000 Exampletown",
"fallback_contact_point_id": "contact-postal-alice",
"fallback_channel": "postal",
"preference_decision": "preference.explicit_email",
"sort_order": 10
},
{
"recipient_key": "identity:bob",
"display_name": "Bob Example",
"identity_id": "identity-bob",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "monthly-notice",
"effective": true,
"effective_from": "2025-06-01",
"effective_until": "2027-01-01",
"preferred_target": null,
"preferred_contact_point_id": null,
"preferred_channel": null,
"fallback_target": "Example Street 2, 10000 Exampletown",
"fallback_contact_point_id": "contact-postal-bob",
"fallback_channel": "postal",
"preference_decision": "preference.default_postal",
"sort_order": 20
},
{
"recipient_key": "identity:grace",
"display_name": "Grace Example",
"identity_id": "identity-grace",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "monthly-notice",
"effective": true,
"effective_from": "2024-01-01",
"effective_until": null,
"preferred_target": null,
"preferred_contact_point_id": null,
"preferred_channel": null,
"fallback_target": "Example Street 3, 10000 Exampletown",
"fallback_contact_point_id": "contact-postal-grace",
"fallback_channel": "postal",
"preference_decision": "preference.default_postal",
"sort_order": 30
},
{
"recipient_key": "identity:carol",
"display_name": "Carol Example",
"identity_id": "identity-carol",
"group_key": "employees",
"organization_unit_id": "district-south",
"function_id": "finance-officer",
"region": "south",
"purpose": "monthly-notice",
"effective": true,
"effective_from": "2025-01-01",
"effective_until": null,
"preferred_target": "carol@example.test",
"preferred_contact_point_id": "contact-email-carol",
"preferred_channel": "email",
"fallback_target": null,
"fallback_contact_point_id": null,
"fallback_channel": null,
"preference_decision": "preference.explicit_email",
"sort_order": 40
},
{
"recipient_key": "identity:dana",
"display_name": "Dana Example",
"identity_id": "identity-dana",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "newsletter",
"effective": true,
"effective_from": "2025-01-01",
"effective_until": null,
"preferred_target": "dana@example.test",
"preferred_contact_point_id": "contact-email-dana",
"preferred_channel": "email",
"fallback_target": null,
"fallback_contact_point_id": null,
"fallback_channel": null,
"preference_decision": "preference.explicit_email",
"sort_order": 50
},
{
"recipient_key": "identity:erin",
"display_name": "Erin Example",
"identity_id": "identity-erin",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "monthly-notice",
"effective": false,
"effective_from": "2024-01-01",
"effective_until": "2025-01-01",
"preferred_target": "erin@example.test",
"preferred_contact_point_id": "contact-email-erin",
"preferred_channel": "email",
"fallback_target": null,
"fallback_contact_point_id": null,
"fallback_channel": null,
"preference_decision": "preference.explicit_email",
"sort_order": 60
},
{
"recipient_key": null,
"display_name": "Malformed Synthetic Row",
"identity_id": null,
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"region": "north",
"purpose": "monthly-notice",
"effective": true,
"effective_from": "2025-01-01",
"effective_until": null,
"preferred_target": null,
"preferred_contact_point_id": null,
"preferred_channel": null,
"fallback_target": null,
"fallback_contact_point_id": null,
"fallback_channel": null,
"preference_decision": "preference.unresolved",
"sort_order": 70
}
]
@@ -0,0 +1,66 @@
[
{
"recipient_key": "identity:alice",
"display_name": "Alice Example",
"identity_id": "identity-alice",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"email": "alice@example.test",
"postal_address": null,
"account_id": null,
"portal_target": null,
"contact_point_id": "contact-email-alice",
"selected_channel": "email",
"distribution_status": "usable",
"exclusion_reason": null,
"policy_decision": "preference.explicit_email"
},
{
"recipient_key": "identity:bob",
"display_name": "Bob Example",
"identity_id": "identity-bob",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"email": null,
"postal_address": "Example Street 2, 10000 Exampletown",
"account_id": null,
"portal_target": null,
"contact_point_id": "contact-postal-bob",
"selected_channel": "postal",
"distribution_status": "suppressed",
"exclusion_reason": "preference.suppressed",
"policy_decision": "preference.suppressed"
},
{
"recipient_key": "identity:grace",
"display_name": "Grace Example",
"identity_id": "identity-grace",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"email": null,
"postal_address": "Example Street 3, 10000 Exampletown",
"account_id": null,
"portal_target": null,
"contact_point_id": "contact-postal-grace",
"selected_channel": "postal",
"distribution_status": "usable",
"exclusion_reason": null,
"policy_decision": "preference.default_postal"
},
{
"recipient_key": "identity:frank",
"display_name": "Frank Example",
"identity_id": "identity-frank",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"email": null,
"postal_address": null,
"account_id": null,
"portal_target": "portal:frank",
"contact_point_id": "contact-portal-frank",
"selected_channel": "portal",
"distribution_status": "usable",
"exclusion_reason": null,
"policy_decision": "manual.include_with_reason"
}
]
@@ -0,0 +1,36 @@
[
{
"recipient_key": "identity:alice",
"display_name": "Alice Example (duplicate manual include)",
"identity_id": "identity-alice",
"group_key": "residents",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"selected_target": "alice@example.test",
"selected_contact_point_id": "contact-email-alice",
"selected_channel": "email",
"email": "alice@example.test",
"postal_address": null,
"account_id": null,
"portal_target": null,
"preference_decision": "manual.include_duplicate",
"sort_order": 11
},
{
"recipient_key": "identity:frank",
"display_name": "Frank Example",
"identity_id": "identity-frank",
"group_key": "manual",
"organization_unit_id": "district-north",
"function_id": "resident-service",
"selected_target": "portal:frank",
"selected_contact_point_id": "contact-portal-frank",
"selected_channel": "portal",
"email": null,
"postal_address": null,
"account_id": null,
"portal_target": "portal:frank",
"preference_decision": "manual.include_with_reason",
"sort_order": 40
}
]
@@ -0,0 +1,6 @@
[
{
"recipient_key": "identity:bob",
"suppression_reason": "preference.suppressed"
}
]