{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-project-data-retention-schema.json", "title": "ProjectDataRetention", "description": "Represents a project's data retention control setting.", "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/ProjectDataRetention", "type": "object", "properties": { "object": { "type": "string", "enum": [ "project.data_retention" ], "description": "The object type, which is always `project.data_retention`.", "x-stainless-const": true }, "type": { "type": "string", "enum": [ "organization_default", "none", "zero_data_retention", "modified_abuse_monitoring", "enhanced_zero_data_retention", "enhanced_modified_abuse_monitoring" ], "description": "The configured project data retention type." } }, "required": [ "object", "type" ], "x-oaiMeta": { "name": "The project data retention object" } }