{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-update-organization-data-retention-body-schema.json",
  "title": "UpdateOrganizationDataRetentionBody",
  "description": "Parameters for updating organization data retention controls.",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openai-data-retention-api-openapi.yml#/components/schemas/UpdateOrganizationDataRetentionBody",
  "type": "object",
  "properties": {
    "retention_type": {
      "type": "string",
      "enum": [
        "zero_data_retention",
        "modified_abuse_monitoring",
        "enhanced_zero_data_retention",
        "enhanced_modified_abuse_monitoring"
      ],
      "description": "The desired organization data retention type."
    }
  },
  "required": [
    "retention_type"
  ]
}