{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/screenpipe/main/json-schema/screenpipe-retention-configure-request-schema.json",
  "title": "RetentionConfigureRequest",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/screenpipe-data-retention-api-openapi.yml#/components/schemas/RetentionConfigureRequest",
  "type": "object",
  "properties": {
    "enabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "retention_days": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "enabled",
    "retention_days"
  ]
}