{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-event-email-settings-mmo-outcome-filter-request-schema.json",
  "title": "EventEmailSettingsMmoOutcomeFilterRequest",
  "description": "Request body for PUT /organizations/{organizationId}/event-email-settings/{context}/mmo-outcome-filter. context is specified in the URL path, not in this body. Sets which primary MMO (Managed Medical Outcomes) plan outcomes trigger event emails for the context; if both approved and denied plan UDF outcomes are present for the same workflow event, both emails are still sent regardless of this filter.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-event-email-settings-api-openapi.yml#/components/schemas/EventEmailSettingsMmoOutcomeFilterRequest",
  "type": "object",
  "properties": {
    "mmoOutcomeFilter": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Primary outcome(s) to allow: \"Positive\" (approved plan outcomes) and/or \"Negative\" (denied plan outcomes). Any other value is rejected with 400. Null or empty array clears the filter (both outcome types allowed)."
    }
  }
}