{
  "ok": true,
  "app": "communications",
  "contract": {
    "contract_id": "communications_inbox",
    "system_id": "communications_inbox",
    "display_name": "OWC Communications Inbox",
    "owner": "Communications project",
    "owned_records": [
      "email and SMS conversation threads",
      "message templates",
      "reply queues",
      "staff notifications",
      "internal messages and task handoffs"
    ],
    "may_request_from_accounts_core": [
      "client/staff/supplier communication permissions",
      "consent and do-not-contact state",
      "linked account context",
      "audit actor details"
    ],
    "must_not_own": [
      "account approval decisions",
      "quote totals",
      "inventory counts",
      "SMS provider compliance profile ownership"
    ],
    "required_core_response_fields": [
      "participant_account_id",
      "allowed_channels",
      "consent_state",
      "pii_visibility",
      "audit_actor"
    ],
    "handoff_inputs": [
      {
        "from_system_id": "people_access_core",
        "payload": "participant communication permissions and consent"
      }
    ],
    "handoff_outputs": [
      {
        "to_system_id": "people_access_core",
        "payload": "message sent, message received, notification opened, and task created audit events"
      }
    ],
    "required_audit_events": [
      "message_sent",
      "message_received",
      "client_response_needs_action",
      "notification_delivered"
    ],
    "production_gate": "Wait for Telnyx campaign/sender approval, signed webhook verification, consent/STOP/HELP validation, and Gmail inbound sync before live SMS/email inbox operations."
  }
}