{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-state-specific-plan-settings-dto-schema.json",
  "title": "StateSpecificPlanSettingsDto",
  "description": "State-specific plan settings for an organization",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-organization-outreach-settings-resource-api-openapi.yml#/components/schemas/StateSpecificPlanSettingsDto",
  "type": "object",
  "properties": {
    "enableStateSpecificPlan": {
      "type": "boolean",
      "description": "Whether the state_specific_plan email field resolves through the mapping. Defaults to false when the organization has never saved this setting."
    },
    "stateSpecificPlanMapping": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Map of 2-letter uppercase state code to plan name"
    }
  }
}